跳到主要内容

Get Subaccount Apikey List

Frequency limit: 10 times/1s (User ID)

Description

Get sub-account api list

HTTP request

  • POST /api/v2/user/virtual-subaccount-apikey-list
Request Example
curl -X POST "https://api.bitget.com/api/v2/user/virtual-subaccount-apikey-list?subAccountUid=9837924274" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d \'{"subAccountUid": "1"}'

Request parameters

ParameterTypeRequiredDescription
subAccountUidStringYesSub-account uid
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1682661432874,
"data": [
{
"subAccountUid": "9837924274",
"label": "1682396356594",
"subAccountApiKey": "bg_ab5735b8a90f2d4c02771b36e8dbebf4",
"permList": [
"spot_trade",
"contract_order",
"contract_position"
],
"ipList": [
"127.127.127.127"
]
}
]
}

Response Parameters

ParameterTypeDescription
subAccountUidStringSub-account uid
subAccountApiKeyStringSub-account ApiKey
ipListListSub-account ApiKey ip whitelist
permListListapikey permissions
contract_order Futures order
contract_position Contract position
spot_trade Spot trade
margin_trade Spot margin trading
copytrading_trade Copy trading
wallet_transfer Wallet transfer
wallet_withdraw Wallet withdraw
Wallet withdrawals are invalid when the read-only permission type is selected, and there is no read-only permission for withdrawing coins.
labelStringSub-account ApiKey note