Skip to main content

Get Spot Balance in Sub-Account

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

GET /account/subs/spot-balance

Request parameters

Parameter NameRequiredTypeNotes
sub_user_nametruestringSub-account username.
ccyfalsestringCurrency name.
  • Returns spot balance data of all currencies by default.

Return parameters

Parameter NameTypeNotes
ccystringCurrency name
availablestringBalance available
frozenstringFrozen balance

Request example

GET /account/subs/spot-balance?sub_user_name=sub2&ccy=CET

Response example

{
"code": 0,
"data": [
{
"ccy": "CET",
"available": "41232.366264748",
"frozen": "3702.28145353364"
}
],
"message": "OK"
}