跳到主要内容

获取所有子账户现货资产

限速规则 10次/1s (UID)

描述

获取所有子账户现货资产(仅返回有资产账户信息)。
仅限非代理商(非ND Broker)用户调用。

HTTP请求

  • GET /api/v2/spot/account/subaccount-assets
请求示例
curl "https://api.bitget.com/api/v2/spot/account/subaccount-assets" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \

请求参数

N/A

返回示例
{
"code": "00000",
"message": "success",
"requestTime": 1695808949356,
"data": [
{
"userId": "**********",
"assetsList": [
{
"coin": "BTC",
"available": "1.1",
"limitAvailable": "12.1",
"frozen": "0",
"locked": "1.1",
"uTime": "1337654897651"
}
]
},
{
"userId": "**********",
"assetsList": [
{
"coin": "ETH",
"available": "12.1",
"limitAvailable": "12.1",
"frozen": "0",
"locked": "1.1",
"uTime": "1337654897651"
}
]
}
]
}

返回参数

返回字段参数类型字段说明
userIdString用户ID
assetsListArray现货资产列表
> coinString币种名称
> availableString可用资产
> limitAvailableString受限可用
用于现货跟单场景
> frozenString冻结资产
> lockedString锁仓资产
> uTimestring更新时间, Unix毫秒时间戳