Skip to main content
POST
/
api
/
v1
/
account
/
balance
Trading balance by currency
curl --request POST \
  --url https://whitebit.com/api/v1/account/balance \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "currency": "BTC"
}
'
{
  "available": "0.2",
  "freeze": "1.02"
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication requires three headers:

  • X-TXC-APIKEY: Your API key
  • X-TXC-PAYLOAD: Base64-encoded JSON payload
  • X-TXC-SIGNATURE: HMAC SHA512 signature of the payload

Body

application/json
currency
string
required

Currency's ticker. Example: BTC

Example:

"BTC"

request
string

Request path

nonce
integer

Nonce for request

Response

Successful response

available
string

Available balance of currency for trading

Example:

"0.2"

freeze
string

Balance of currency on orders

Example:

"1.02"