跳到主要内容

Query Sub Account Spot Asset info

Query Sub Account Spot Asset info

GET /sapi/v1/broker/subAccount/spotSummary

Weight(UID): 3000

Parameters:

NameTypeMandatoryDescription
subAccountIdSTRINGNO
pageLONGNOdefault 1
sizeLONGNOdefault 10, max 20
recvWindowLONGNO
timestampLONGYES
  • If subaccountId is not sent, the size must be sent
  • Requests per UID are limited to 60 requests per minute

Response:

{

data:[

{
"subAccountId": "367537027503425913",
"totalBalanceOfBtc": "0.0355852154360000" //spot asset
},
{
"subAccountId": "367537027503421232",
"totalBalanceOfBtc": "0.0233852154360000"
}

],
"timestamp": 1583432900000

}