跳到主要内容

Query Sub Account Futures Asset info (V3)

HTTP Request

GET /sapi/v3/broker/subAccount/futuresSummary

Request Parameters

NameTypeMandatoryDescription
subAccountIdSTRINGNO
futuresTypeINTYES1:USD Margined Futures, 2:COIN Margined Futures
pageLONGNOdefault 1
sizeLONGNOdefault 10, max 20
recvWindowLONGNO
timestampLONGYES

Example Response


USDT Margined Futures:

{

data:[

{
"subAccountId":"1,
"totalInitialMargin":"0.0000000000, // initial margin
"totalMaintenanceMargin":"0.0000000000, // maintenance margin
"totalWalletBalance":"577.6799732808, // wallet balance
"totalUnrealizedProfit":"0.0000000000, // unrealized profit
"totalMarginBalance":"577.6799732808, // margin balance
"totalPositionInitialMargin":"0.0000000000, // position initial margin
"totalOpenOrderInitialMargin":"0.0000000000, // open order initial margin
"futuresEnable":true, // if enable futures
"asset":USD"
},
{
"futuresEnable": false,
"subAccountId": "2"
}

],
"timestamp": 1583127900000

}

COIN Margined Futures:

{

data:[

{
"subAccountId":"1,
"totalWalletBalanceOfUsdt":"6.73252085685700,
"totalUnrealizedProfitOfUsdt":"0.00000000000000,
"totalMarginBalanceOfUsdt":"6.73252085685700,
"futuresEnable”:true
},
{
"futuresEnable": false,
"subAccountId": "2"
}

],
"timestamp": 1583127900000

}