Skip to main content

Get Wallet Balance

Get your futures wallet balance — total + available + per-symbol breakdown of locked margin.

HTTP

MethodGET
Endpoint/trade/api/v2/futures/wallet_balance
Rate limit20 requests per 60 seconds

Request Parameters

None.

Example

import requests

headers, path = sign_request("GET", "/trade/api/v2/futures/wallet_balance")
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())

Response

{
"data": {
"base_asset_balances": [
{
"base_asset": "USDT",
"balances": {
"total_balance": "60960.82599588",
"total_available_balance": "60910.77418715",
"total_blocked_balance": "50.05180873",
"total_position_margin": "56.83032573",
"total_open_order_margin": "-6.778517"
}
}
],
"asset": [
{
"symbol": "DOGEUSDT",
"base_asset": "USDT",
"exchange": "EXCHANGE_2",
"blocked_balance": "50.04968529",
"position_margin": "50.04959675",
"open_order_margin": "0.00008854"
}
]
}
}

Response Parameters

data has two arrays.

base_asset_balances — overall totals per quote/settlement asset (USDT)

FieldTypeDescription
base_assetstringSettlement asset, currently USDT.
balances.total_balancestringTotal wallet balance (USDT).
balances.total_available_balancestringAvailable for new orders/positions or for Add Margin.
balances.total_blocked_balancestringLocked in open orders + active positions.
balances.total_position_marginstringSum of position_margin across all open positions.
balances.total_open_order_marginstringMargin reserved for open orders. May be negative for reduce-only orders.

asset — per-symbol breakdown of locked margin

FieldTypeDescription
symbolstringSymbol.
base_assetstringSettlement asset (USDT).
exchangestringExchange identifier.
blocked_balancestringTotal locked balance for this symbol.
position_marginstringMargin held against the open position on this symbol.
open_order_marginstringMargin reserved for open orders on this symbol.