跳至主要内容

獲取幣種資產列表

GET

/az/spot/balances

限流規則​

10/s/apikey

請求參數​

參數類型是否必須默認值描述取值範圍
currenciesstringfalse幣種列表,逗號分隔,eg: usdt,btc
queryAccountIdlongfalse查詢賬戶id,不傳遞默認使用當前賬戶id。主賬戶不允許被查詢
filterIsDisplayFalsebooleanfalsetrue是否過濾掉 isDisplay 爲 false 的幣種

Response

{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"totalUsdtAmount": "0", //折算USDT總資產
"availableUsdtAmount": "0", //折算USDT可用資產
"totalBtcAmount": "0", //折算BTC總資產
"assets": [ //參數內容參考獲取單個幣種資產接口
{
"currency": "string",
"currencyId": 0,
"frozenAmount": "0", //不可用(凍結+鎖倉+跟單+委託+提現)
"freeze": "0", //凍結
"lock": "0", //鎖倉
"trade": "0", //委託
"withdraw": "0", //提現
"availableAmount": "0", //可用數量
"totalAmount": "0", //總數量
"convertBtcAmount": "0", //折算BTC數量
"convertUsdtAmount": "0", //折算USDT數量
"convertAvailableUsdtAmount": "0" //折算USDT可用數量
}
]
}
}