Query Sub Account Api Key
HTTP Request
GET /sapi/v1/broker/subAccountApi
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
subAccountId | STRING | YES | |
subAccountApiKey | STRING | NO | |
page | LONG | NO | default 1 |
size | LONG | NO | default 500, max 500 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Caution:
- You need to enable "trade" option for the api key which requests this endpoint
Example Response
[
{
"apikey":"vmP*************",
"subaccountId": "1",
"canTrade": true,
"marginTrade": true,
"futuresTrade": false
},
{
"apikey":"5VN*************",
"subaccountId": "1",
"canTrade": true,
"marginTrade": false,
"futuresTrade": false
}
]