跳到主要内容

获取币种资产列表

GET: /v1/spot/balances

Parameters

参数数据类型是否必须默认值描述取值范围
currenciesstringfalse币种列表,逗号分隔,eg: usdt,btc
queryAccountIdlongfalse查询账户id不传递的话默认使用当前账户id
filterIsDisplayFalsebooleanfalsetrue

限流规则

10/s/apikey

Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": {
"totalBtcAmount": 0,
"totalUsdtAmount": 0,
"assets": [ //参数内容参考获取单个币种资产接口
{
"currency": "string",
"currencyId": 0,
"frozenAmount": 0, //不可用(全部冻结=冻结+锁仓+跟单+委托+提现)
"freeze": 0, //冻结
"lock": 0, //锁仓
"copyTrade": 0, //跟单
"trade": 0, //委托
"withdraw": 0, //提现
"availableAmount": 0,
"totalAmount": 0,
"convertBtcAmount": 0,
"convertUsdtAmount": 0 //折算USDT数量
}
]
}
}