cURL
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": "{{request}}", "nonce": "{{nonce}}" } '
{ "BTC": 1, "USDT": 1000, "ETH": 5.5 }
API Key authentication for private endpoints.
Required headers:
Asset to be filtered. For example: BTC
If not specified, returns balances for all assets.
"BTC"
Request signature
"{{request}}"
Unique request identifier
"{{nonce}}"
Successful response - returns collateral balances by asset
Object with asset tickers as keys and balance amounts as values
Balance amount for the asset
Was this page helpful?