查询域名Whois
本API用于查询域名的Whois注册信息。支持查询注册商、注册时间、过期时间、更新时间、域名状态、DNS服务器以及注册人信息(如未隐私保护)。内置常见顶级域名后缀服务器列表,并支持通过IANA动态查询未知后缀的服务器地址,支持自动编码转换。
接口信息
GET / POST
https://api.xunjinlu.fun/api/whois/index.php
Method
GET / POST
分类
实用工具
Calls
139
KEY
无需 KEY
计费
免费
QPM
不限制
鉴权方式
无需密钥
作者
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| key | string | 否 | 平台 API 访问密钥(选填) | sk_xxxxxxxxxxxxxxxx |
| domain | string | 是 | 需要查询的域名(支持自动提取URL中的域名,例如:google.com 或 https://google.com) |
[
{
"name": "key",
"type": "string",
"required": false,
"description": "平台 API 访问密钥(选填)",
"example": "sk_xxxxxxxxxxxxxxxx"
},
{
"name": "domain",
"type": "string",
"required": true,
"description": "需要查询的域名(支持自动提取URL中的域名,例如:google.com 或 https://google.com)",
"example": ""
}
]
返回示例
{
"code": 200,
"msg": "success",
"data": {
"domain": "google.com",
"tld": "com",
"whois_server": "whois.verisign-grs.com",
"registrar_whois_server": "whois.markmonitor.com",
"status": "已注册",
"registrar": "MarkMonitor Inc.",
"registrar_url": "http://www.markmonitor.com",
"registrar_iana_id": "292",
"registrar_abuse_email": "abusecomplaints@markmonitor.com",
"registrar_abuse_phone": "+1.2083895740",
"create_time": "1997-09-15 09:00:00",
"expire_time": "2028-09-13 09:00:00",
"update_time": "2019-09-09 15:39:04",
"domain_status": [
"clientDeleteProhibited",
"clientTransferProhibited",
"clientUpdateProhibited",
"serverDeleteProhibited",
"serverTransferProhibited",
"serverUpdateProhibited"
],
"dns_servers": [
"ns1.google.com",
"ns2.google.com",
"ns3.google.com",
"ns4.google.com"
],
"dnssec": "unsigned",
"registrant": {
"name": "Domain Administrator",
"organization": "Google LLC",
"country": "US"
},
"admin": {
"name": "Domain Administrator",
"organization": "Google LLC",
"country": "US"
},
"tech": {
"name": "Domain Administrator",
"organization": "Google LLC",
"country": "US"
},
"billing": {},
"raw": "Domain Name: google.com\nRegistry Domain ID: 2138514_DOMAIN_COM-VRSN\n...",
"query_sources": [
"registry",
"registrar"
],
"response_time": "1850ms"
},
"api_info": {
"developer": "尋鯨錄",
"blog": "https://www.xunjinlu.fun",
"api_platform": "https://api.xunjinlu.fun"
}
}
接口反馈
暂无详细文档
快速上手
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
免责声明
使用本平台接口即表示同意本声明。
- 数据来源:接口数据来自第三方公开网络或用户上传,本平台不保证准确性、完整性、实时性,请以官方信息为准。
- 合法性与安全性:本平台无法核实每个接口的安全性、合法性,使用者自行承担相关风险。
- 用途限制:标注“学习专用”的接口禁止商用;严禁用于违法违规行为(如诈骗、赌博、侵权等)。违规后果由使用者自行承担。
- 损害免责:使用本接口产生的任何直接或间接损失,本平台不承担责任。
- 第三方上传:用户/商户上传的接口若侵权或违法,由上传者承担全部责任。
- 监督配合:本平台依法记录访问日志,如发现违法活动将配合执法部门处理,并有权随时限制或封禁服务。
注:本平台保留最终解释权,并可能随时更新本声明。
在线测试
请求地址
https://api.xunjinlu.fun/api/whois/index.php
Method
参数
Response
等待中
// 结果将在此处显示