跳到主要内容

查询虚拟子账户Apikey列表

限速规则:5次/秒/UID

描述

查询虚拟子账户Apikey列表

HTTP请求

  • GET /api/v2/user/virtual-subaccount-apikey-list
请求示例
curl -X GET "https://api.bitget.com/api/v2/user/virtual-subaccount-apikey-list?subAccountUid=1" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
subAccountUidString子账户UID
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1682661432874,
"data": [
{
"subAccountUid": "1",
"label": "1682396356594",
"subAccountApiKey": "xx_xxx",
"permList": [
"spot_trade",
"margin_trade",
"contract_trade"
],
"ipList": [
"127.0.0.1"
]
}
]
}

返回参数

返回字段参数类型字段说明
subAccountUidString子账户UID
subAccountApiKeyString子账户Apikey
ipListStringip列表
permListList子账户apiKey 权限
spot_trade: 现货交易
margin_trade: 现货杠杆交易
contract_trade: 合约交易读写
read:读取权限
labelString备注