域名whois信息获取
接口地址 https://apis.kit9.cn/api/domain_whois/api.php
请求方式 GET/POST
返回格式 JSON
HTTP/HTTPS 支持
请求示例 https://apis.kit9.cn/api/domain_whois/api.php?url=qq.cn
参数说明
| 参数 | 必填 | 类型 | 说明 |
|---|---|---|---|
| url | 是 | String | 网址 |
返回参数
| 名称 | 类型 | 说明 | ||
|---|---|---|---|---|
| code | number | 状态码 200为正常,其它为异常 | ||
| msg | string | 状态说明 | ||
| data | array | 数组 | ||
| registrar | string | 注册商 | ||
| reguser | string | 注册人 | ||
| string | 邮箱 | |||
| create_time | string | 创建时间 | ||
| expiration_time | string | 到期时间 | ||
| dns | string | 域名dns | ||
| status | string | 域名状态 | ||
返回示例
{
"code": 200,
"msg": "success",
"data": {
"registrar": "北京新网数码信息技术有限公司",
"reguser": "中国联合网络通信有限公司黑龙江省分公司",
"email": "151026@qq.com",
"create_time": "2003-03-21 22:42:05",
"expiration_time": "2024-03-21 22:42:05",
"dns": [
"ns.hlhrptt.net.cn",
"ns1.hlhrptt.net.cn"
],
"status": "ok"
}
}