跳到主要内容

获取子账户API key 列表

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

描述

独立经纪商母账户获取子账户ApiKey 信息

HTTP请求

  • GET /api/v2/broker/manage/subaccount-apikey-list
请求示例
curl "https://api.bitget.com/api/v2/broker/manage/subaccount-apikey-list?subUid=12345678" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
subUidString子账户uid
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695786824200,
"data": [
{
"subUid": "***********",
"label": " old remark ",
"apiKey": "bg_**********************",
"secretKey": "xxxxxx",
"permType": "readonly",
"permList": [
"spot_trade"
],
"ipList": [
"127.0.0.1"
]
}
]
}

返回参数

返回字段参数类型字段说明
subUidString子账户uid
labelStringapikey备注
apikeyStringapikey
secretKeyString私钥
permTypeString权限类型:
read_and_write 读写权限
readonly 只读权限
permListList权限数组,权限枚举:
contract_order 合约订单
contract_position 合约持仓
spot_trade 现货交易
margin_trade 现货杠杆交易
copytrading_trade 跟单交易
wallet_transfer 钱包划转
ipListList<String>IP数组