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
| Field | Type | Required | Description |
|---|---|---|---|
category | string | Yes | Product type: spot / linear |
coins | string | No | List of currency aliases (return all wallet balances if not provided). Multiple currencies separated by English commas |
Response Parameters
| Field Name | Type | Description |
|---|---|---|
isMarginMode | boolean | Whether margin mode is enabled. Currently always true. |
accountId | integer | Account ID (users may own multiple sub-accounts, such as spot and futures accounts) |
currencyWalletList | object[] | Wallet information list from the settlement currency dimension (e.g., one entry for USDT, one for BTC) |
accountMode | string | Account mode: CROSS (cross-margin), ISOLATED (isolated margin) |
currencyWalletList Fields
| Field | Type | Description |
|---|---|---|
currency | string | Settlement currency name (e.g., USDT, BTC, ETH) |
equity | string | Net asset value of the coin ( = wallet balance + unrealized PnL + realized PnL) |
walletBalance | string | Cash balance (amount available for transfer in this currency) |
marginBalance | string | Margin balance (equals the MB contributed by remaining assets + the current asset's actual remaining MB) |
availableBalance | string | Available balance (= sum of AB contributions from remaining assets + current asset's actual remaining AB, non-negative) |
assetFrozenAmount | string | Frozen 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
}