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 Name | Required | Type | Description |
|---|---|---|---|
| subAcct | true | string | Sub-account name |
| apiKey | false | string | APIKey |
Request Example
GET /deepcoin/sub-account/sub-account-apikey?subAcct=demo_sub_account
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| subAcct | string | Sub-account name |
| label | string | APIKey label |
| apiKey | string | APIKey |
| perm | string | APIKey permissions |
| ip | string | Bound IP addresses |
| createTime | int64 | Create 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
}
]
}