跳到主要内容

查询子账号 APIKey

查询子账号 APIKey

查询指定子账号的 APIKey。传入 apiKey 时,仅返回指定 APIKey 信息。

请求频率限制:5次/秒,150次/分钟

请求地址

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

请求参数

字段名是否必填类型字段描述
subAcctstring子账号账户名称
apiKeystringAPIKey

请求示例

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

响应参数

字段名类型字段描述
subAcctstring子账号账户名称
labelstringAPIKey 备注名称
apiKeystringAPIKey
permstringAPIKey 权限
ipstring绑定 IP 地址
createTimeint64创建时间,毫秒时间戳

响应示例

{
"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
}
]
}