This document covers all endpoints related to your account configuration and asset balances. All endpoints require API Key authentication.
1. Get Spot Account Balance
GET /api/v1/asset/spot
Retrieve the overall asset summary and coin-specific details of your spot account.
Permission: read
Parameters: None
Success Response (200 OK):
{
"code": "0",
"msg": "",
"data": [
{
"total_asset_usdt": "15000.00",
"asset_list": [
{
"currency_name": "BTC",
"quantity": "0.1",
"available": "0.1",
"frozen": "0.0"
}
]
}
]
}
2. Get Contract Account Balance
GET /api/v1/asset/contract
Retrieve the overall asset summary, P&L, and coin-specific details of your contract account.
Permission: read
Parameters: None
Success Response (200 OK):
3. Get Funding Account Balance
GET /api/v1/asset/funding
Retrieve the overall asset summary and coin-specific details of your funding account (used for deposits, withdrawals, and transfers).
Permission: read
Parameters: None
Success Response (200 OK):
4. Get Positions
GET /api/v1/account/positions
Retrieve information about your current open positions.
Permission: read
Query Parameters:
Name
Type
Required
Description
Instrument type, e.g., SWAP. Returns all if omitted.
Instrument ID to query a single position.
Success Response (200 OK):
Last updated