Skip to main content
POST
/
api
/
v4
/
collateral-account
/
balance
Collateral Account Balance
curl --request POST \
  --url https://whitebit.com/api/v4/collateral-account/balance \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "ticker": "BTC",
  "request": "<string>",
  "nonce": "<string>"
}
'
{
  "BTC": 1,
  "USDT": 1000,
  "ETH": 5.5
}

Authorizations

X-TXC-APIKEY
string
header
required

API Key authentication for private endpoints.

Required headers:

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

Body

application/json
ticker
string

Asset to be filtered. For example: BTC

If not specified, returns balances for all assets.

Example:

"BTC"

request
string

Request signature

nonce
string

Unique request identifier

Response

Successful response - returns collateral balances by asset

Object with asset tickers as keys and balance amounts as values

{key}
number

Balance amount for the asset