APIKey 信息
该接口用于为指定 API Key 配置 IP 白名单。配置后,仅白名单内的 IP 地址可使用该 API Key 发起请求。
HTTP请求
- POST
/api/v3/apiKeyInfo
接口权限要求: 账户信息写 / SPOT_ACCOUNT_WRITE
权重(IP): 1
请求参数
| 参数名 | 数据类型 | 是否必须 | 说明 |
|---|---|---|---|
| apiKey | string | yes | apikey |
| ipWhiteList | string | yes | ip白名单,多个用逗号隔开,目前最大支持20个IP,可选(新增/覆盖) |
| note | string | no | 备注 |
| timestamp | string | yes | 时间 |
| signature | string | yes | 签名 |
返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| note | string | APIKey的备注 |
| apikey | string | API公钥 |
| ipWhiteList | string | APIKey绑定的ip地址 |
响应
{
"note": "note2",
"apikey": "mx0npKfh57kEEVmyLa",
"ipWhiteList": "162.133.62.1"
}