稳定、快速、免费的 API 接口服务
Whois查询工具
接口地址: https://api.52vmy.cn/api/query/whois
返回格式: JSON
请求方式: GET
请求示例: https://api.52vmy.cn/api/query/whois?url=hx0.cn
接口定制: 点此加入用户群
默认QPS: 每2秒最多4次 携带Token可无视限制
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| url | 是 | string | URL地址 |
| type | 否 | string | 返回格式默认JSON可选text |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|
返回示例:
{
"code": 200,
"msg": "成功",
"data": {
"DomainName": "hx0.cn",
"ROID": "20240202s10001s56066899-cn",
"DomainStatus": "ok",
"Registrant": "上海彩虹海网络科技有限公司",
"RegistrantContactEmail": "2364908802@qq.com",
"SponsoringRegistrar": "腾讯云计算(北京)有限责任公司",
"NameServer": [
"leg.dnspod.net",
"icy.dnspod.net"
],
"RegistrationTime": "2024-02-02 04:04:21",
"ExpirationTime": "2027-02-02 04:04:21",
"DNSSEC": null
}
}
PHP代码示例:
$url = $_GET["url"]; $type = $_GET["type"]; $url = "https://api.52vmy.cn/api/query/whois?url=".$url."&type=".$type; echo file_get_contents($url);