检测域名注册状态
接口地址 https://apis.kit9.cn/api/domain_registration/api.php
请求方式 GET/POST
返回格式 JSON
HTTP/HTTPS 支持
请求示例 https://apis.kit9.cn/api/domain_registration/api.php?domain=kit9.cn
参数说明
| 参数 | 必填 | 类型 | 说明 |
|---|---|---|---|
| domain | 是 | String | 网址 |
返回参数
| 名称 | 类型 | 说明 | ||
|---|---|---|---|---|
| code | number | 状态码 200为正常,其它为异常 | ||
| msg | string | 状态说明 | ||
| data | array | 数组 | ||
| state | string | 注册类型 0为未注册 1为已注册 2为不支持的域名类型 3为域名不正确 | ||
| result | string | 注册结果 | ||
返回示例
{
"code": 200,
"msg": "success",
"data": {
"state": 1,
"result": "域名已注册"
}
}