Get Subaccount Apikey List
Rate Limit: 5 req/sec/UID
Description
Get sub-account api list
HTTP Request
- GET /api/v2/user/virtual-subaccount-apikey-list
Request Example
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"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
subAccountUid | String | Yes | Sub-account uid |
Response Example
{
"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"
]
}
]
}
Response Parameters
Parameter | Type | Description |
---|---|---|
subAccountUid | String | Sub-account uid |
subAccountApiKey | String | Sub-account ApiKey |
permList | List | Sub-account permissionsspot_trade : Spot trademargin_trade : Spot Marign tradecontract_trade : Futures trade read-writeread : Read permissions |
label | String | Sub-account apikey note |
ipList | List | ip whitelist |