跳到主要内容

获取所有子账户合约资产信息

限速规则: 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"

请求参数

参数名参数类型是否必须描述
productTypeString产品类型
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
}

返回参数

返回字段参数类型字段说明
>userIdString子账户userId
>assetListArray子账户下合约资产集合
>>marginCoinString保证金币种
>>lockedString锁定数量(保证金币种)
>>availableString账户可用数量
>>crossedMaxAvailableString全仓最大可用来开仓余额(保证金币种)
>>isolatedMaxAvailableString逐仓最大可用来开仓余额(保证金币种)
>>maxTransferOutString最大可转出
>>accountEquityString账户权益(保证金币种)
>>usdtEquityString折算USDT账户权益
>>btcEquityString折算BTC账户权益
>>unrealizedPLString未平仓损益
>>couponString体验金