Balances
GET /v1/api/balances
This endpoint returns a list of all asset balances for the authenticated account.
Headers
Header Field | Type | Comments |
---|---|---|
credentials_secret | JWT | JWT Auth Token cf Authentication |
Balances Response
Name | Type | Comments |
---|---|---|
balance_response | Balance[] | See structure below |
Balance
Object
Name | Type | Comments |
---|---|---|
deliverable_id | integer | Id of deliverable |
symbol | string | Asset name e.g BTC , USD . For USD-REFERENCE see note below |
timestamp | integer | μs utc timestamp when the balance was last updated |
cash_balance | float | Total balance for that asset |
reserved_balance | float | Balance allocated to open orders and margin |
available_balance | float | Balance Available for trading |
withdrawable_balance | float | Balance Available for withdrawal |
Responses
{
"balance_response": [
{
"deliverable_id": "2",
"symbol": "USD-REFERENCE",
"cash_balance": "102728361.56",
"available_balance": "102319776.09",
"reserved_balance": "-408585.47",
"withdrawable_balance": "0",
"timestamp": "1670240745339389000"
},
{
"deliverable_id": "2",
"symbol": "USD",
"cash_balance": "101810298.8985343677",
"available_balance": "101724852.530344405",
"reserved_balance": "-85446.3681899627",
"withdrawable_balance": "101724852.530344405",
"timestamp": "1670240745339389000"
},
{
"deliverable_id": "3",
"symbol": "BTC",
"cash_balance": "13.1947",
"available_balance": "13.1947",
"reserved_balance": "0",
"withdrawable_balance": "13.1947",
"timestamp": "1670240745174805000"
},
{
"deliverable_id": "4",
"symbol": "ETH",
"cash_balance": "512",
"available_balance": "512",
"reserved_balance": "0",
"withdrawable_balance": "512",
"timestamp": "1670240745174805000"
}
]
}