跳到主要内容

Query Sub Account Margin Asset info

HTTP Request

GET /sapi/v1/broker/subAccount/marginSummary

Request Parameters

NameTypeMandatoryDescription
subAccountIdSTRINGNO
pageLONGNOdefault 1
sizeLONGNOdefault 10, max 20
recvWindowLONGNO
timestampLONGYES
  • If subaccountId is not sent, the size must be sent

Example Response

{

data:[

{
"marginEnable": true, //if enable margin
"subAccountId": "367537027503425913",
"totalAssetOfBtc": "0.03558520", // margin asset
"totalLiabilityOfBtc": "0.34585210", //liability
"totalNetAssetOfBtc" :"0.23334213", // net asset
"marginLevel": "0.009" // margin level
},
{
"marginEnable": false,
"subAccountId": "367537027503435242"
}

],
"timestamp": 1583127900000

}