获取账户信息列表
限速规则: 10次/1s (uid)
描述
查询某产品类型下所有账户信息
HTTP请求
- GET /api/v2/mix/account/accounts
请求示例
curl "https://api.bitget.com/api/v2/mix/account/accounts?productType=USDT-FUTURES" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
productType | String | 是 | 产品类型USDT-FUTURES USDT专业合约COIN-FUTURES 混合合约USDC-FUTURES USDC专业合约SUSDT-FUTURES USDT专业合约模拟盘SCOIN-FUTURES 混合合约模拟盘SUSDC-FUTURES USDC专业合约模拟盘 |
返回示例
{
"code": "00000",
"data": [
{
"marginCoin": "USDT",
"locked": "0.31876482",
"available": "10575.26735771",
"crossedMaxAvailable": "10580.56434289",
"isolatedMaxAvailable": "10580.56434289",
"maxTransferOut": "10572.92904289",
"accountEquity": "10582.90265771",
"usdtEquity": "10582.902657719473",
"btcEquity": "0.204885807029",
"crossedRiskRate": "0",
"unrealizedPL": "",
"coupon": "0",
"unionTotalMagin": "111,1",
"unionAvailable": "1111.1",
"unionMm": "111",
"assetList": [
{
"coin": "BTC",
"balance": "1.2"
}
]
}
],
"msg": "success",
"requestTime": 1630901215622
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
>marginCoin | String | 保证金币种 |
>locked | String | 锁定数量(保证金币种) |
>available | String | 账户可用数量 |
>crossedMaxAvailable | String | 全仓最大可用来开仓余额(保证金币种) |
>isolatedMaxAvailable | String | 逐仓最大可用来开仓余额(保证金币种) |
>maxTransferOut | String | 最大可转出 |
>accountEquity | String | 账户权益(保证金币种), 包含未实现盈亏(根据mark price计算) |
>usdtEquity | String | 折算USDT账户权益 |
>btcEquity | String | 折算BTC账户权益 |
>crossedRiskRate | String | 全仓时风险率 |
>unrealizedPL | String | 未实现盈亏 |
>coupon | String | 体验金 |
>unionTotalMargin | String | 联合保证金 |
>unionAvailable | String | 总可用 |
>unionMm | String | 维持保证金 |
>assetList | List | 联合保证金币种数据 |
>>coin | String | 币种 |
>>balance | String | 余额 |