Skip to main content

Query Sub Account Api Key

HTTP Request

GET /sapi/v1/broker/subAccountApi

Request 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

Example Response

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