Skip to main content

Query Sub Account Api Key

Query Sub Account Api Key

GET /sapi/v1/broker/subAccountApi

Parameters:

NameTypeMandatoryDescription
subAccountIdSTRINGYES
subAccountApiKeySTRINGNO
pageLONGNOdefault 1
sizeLONGNOdefault 500, max 500
recvWindowLONGNO
timestampLONGYES

Caution:

  • You need to enable "trade" option for the api key which requests this endpoint

Response:

[
{
"apikey":"vmP*************",
"subaccountId": "1",
"canTrade": true,
"marginTrade": true,
"futuresTrade": false
},
{
"apikey":"5VN*************",
"subaccountId": "1",
"canTrade": true,
"marginTrade": false,
"futuresTrade": false
}
]