Skip to main content

Get Wallet Balance

Description​

Query wallet balance

HTTP Request​

  • GET /api/v3/account/wallet-balance
  • Supported Products: spot / linear
  • Rate Limit: 10 requests per second per UID

Request Parameters​

FieldTypeRequiredDescription
categorystringYesProduct type: spot / linear
coinsstringNoList of currency aliases (return all wallet balances if not provided). Multiple currencies separated by English commas

Response Parameters​

Field NameTypeDescription
isMarginModebooleanWhether margin mode is enabled. Currently always true.
accountIdintegerAccount ID (users may own multiple sub-accounts, such as spot and futures accounts)
currencyWalletListobject[]Wallet information list from the settlement currency dimension (e.g., one entry for USDT, one for BTC)
accountModestringAccount mode: CROSS (cross-margin), ISOLATED (isolated margin)

currencyWalletList Fields​

FieldTypeDescription
currencystringSettlement currency name (e.g., USDT, BTC, ETH)
equitystringNet asset value of the coin ( = wallet balance + unrealized PnL + realized PnL)
walletBalancestringCash balance (amount available for transfer in this currency)
marginBalancestringMargin balance (equals the MB contributed by remaining assets + the current asset's actual remaining MB)
availableBalancestringAvailable balance (= sum of AB contributions from remaining assets + current asset's actual remaining AB, non-negative)
assetFrozenAmountstringFrozen amount (frozen balance)

Request Example​

{
"coin": "usdt",
"network_name": "trc20",
"address": "Txxxx",
"amount": "10.5",
"fee": "1",
"type": 0,
"withdraw_order_id": "client-001"
}

Response Example​

HTTP/1.1 200 OK
Content-Type: application/json

{
"code": 200,
"message": "Success",
"data": {
"isMarginMode": true,
"accountId": 123456,
"currencyWalletList": [
{
"currency": "USDT",
"equity": "1000",
"walletBalance": "1000",
"marginBalance": "1000",
"availableBalance": "900",
"assetFrozenAmount": "0"
}
],
"accountMode": "CROSS"
},
"extras": null
}