获取所有子账户合约资产信息
限速规则: 1次/10s (uid)
描述
查询所有子账户的合约资产信息。仅限非代理商(非ND Broker)用户调用。
HTTP请求
- GET /api/v2/mix/account/sub-account-assets
请求示例
curl "https://api.bitget.com/api/v2/mix/account/sub-account-assets?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": [
{
"userId": 1234567890,
"assetList": [
{
"marginCoin": "USDT",
"locked": "0",
"available": "23.123",
"crossedMaxAvailable": "23.123",
"isolatedMaxAvailable": "23.123",
"maxTransferOut": "23.123",
"accountEquity": "23.123",
"usdtEquity": "23.123",
"btcEquity": "0.001403612744",
"unrealizedPL": "0",
"coupon": ""
}
]
},
{
"userId": 1234567890,
"assetList": [
{
"marginCoin": "USDT",
"locked": "0",
"available": "11",
"crossedMaxAvailable": "11",
"isolatedMaxAvailable": "11",
"maxTransferOut": "11",
"accountEquity": "11",
"usdtEquity": "11",
"btcEquity": "0.000667722189",
"unrealizedPL": "0",
"coupon": ""
}
]
}
],
"msg": "success",
"requestTime": 1630901215622
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
>userId | String | 子账户userId |
>assetList | Array | 子账户下合约资产集合 |
>>marginCoin | String | 保证金币种 |
>>locked | String | 锁定数量(保证金币种) |
>>available | String | 账户可用数量 |
>>crossedMaxAvailable | String | 全仓最大可用来开仓余额(保证金币种) |
>>isolatedMaxAvailable | String | 逐仓最大可用来开仓余额(保证金币种) |
>>maxTransferOut | String | 最大可转出 |
>>accountEquity | String | 账户权益(保证金币种) |
>>usdtEquity | String | 折算USDT账户权益 |
>>btcEquity | String | 折算BTC账户权益 |
>>unrealizedPL | String | 未平仓损益 |
>>coupon | String | 体验金 |