Skip to main content

Get Sub Account APIKey

Get Sub Account APIKey

Query APIKeys for a specified sub-account. If apiKey is provided, only the specified APIKey is returned.

Request frequency limit: 5/s, 150/min

Request URL

GET /deepcoin/sub-account/sub-account-apikey

Request Parameters

Field NameRequiredTypeDescription
subAccttruestringSub-account name
apiKeyfalsestringAPIKey

Request Example

GET /deepcoin/sub-account/sub-account-apikey?subAcct=demo_sub_account

Response Parameters

Field NameTypeDescription
subAcctstringSub-account name
labelstringAPIKey label
apiKeystringAPIKey
permstringAPIKey permissions
ipstringBound IP addresses
createTimeint64Create time in milliseconds

Response Example

{
"code": 0,
"msg": "success",
"data": [
{
"subAcct": "demo_sub_account",
"label": "demo api key",
"apiKey": "ed5c28e6-5b90-417d-91eb-f22053c05842",
"perm": "read_only,trade",
"createTime": 1782871200000
}
]
}