Whois查询

Whois查询 GET 频率:60次/每分钟
https://api.71ywl.com/api/index.php?qy=whois

接口描述

查询域名是否已被注册以及显示详细信息注册和到期时间版

请求参数

参数名 类型 必填 示例 说明
keyword string 71ywl.com 查询域名
type string json或text(默认json)

请求示例

https://api.71ywl.com/api/index.php?qy=whois?keyword=请求数据

响应示例

{
    "code": 200,
    "msg": "success",
    "data": {
        "domain": "71ywl.com",
        "registration_info": {
            "creation_date": "2026-02-05 23:23:23",
            "expiration_date": "2027-02-05 23:23:23",
            "update_date": "2026-03-16 23:53:01",
            "registrar": "Alibaba Cloud Computing Ltd. d/b/a HiChina (www.net.cn)",
            "registrant_organization": "",
            "registrant_email": ""
        },
        "technical_info": {
            "domain_status": "ok https://icann.org/epp#ok",
            "name_servers": "DNS13.HICHINA.COM,DNS14.HICHINA.COM",
            "whois_server": "grs-whois.hichina.com",
            "cache_time": "2026-04-09,05:00:25"
        },
        "raw_whois": "Domain Name: 71YWL.COM Registry Domain ID: 3064749615_DOMAIN_COM-VRSN Registrar WHOIS Server: grs-whois.hichina.com Registrar URL: http://wanwang.aliyun.com Updated Date: 2026-03-16T15:53:01Z Creation Date: 2026-02-05T15:23:23Z Registry Expiry Date: 2027-02-05T15:23:23Z Registrar: Alibaba Cloud Computing Ltd. d/b/a HiChina (www.net.cn) Registrar IANA ID: 1599 Registrar Abuse Contact Email: DomainAbuse@service.aliyun.com Registrar Abuse Contact Phone: +86.95187 Domain Status: ok https://icann.org/epp#ok Name Server: DNS13.HICHINA.COM Name Server: DNS14.HICHINA.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/>>> Last update of whois database: 2026-04-08T21:00:15Z <<<For more information on Whois status codes, please visit https://icann.org/eppNOTICE: The expiration date displayed in this record is the date theregistrar's sponsorship of the domain name registration in the registry iscurrently set to expire. This date does not necessarily reflect the expirationdate of the domain name registrant's agreement with the sponsoringregistrar. Users may consult the sponsoring registrar's Whois database toview the registrar's reported date of expiration for this registration.TERMS OF USE: You are not authorized to access or query our Whoisdatabase through the use of electronic processes that are high-volume andautomated except as reasonably necessary to register domain names ormodify existing registrations; the Data in VeriSign Global RegistryServices' ("VeriSign") Whois database is provided by VeriSign forinformation purposes only, and to assist persons in obtaining informationabout or related to a domain name registration record. VeriSign does notguarantee its accuracy. By submitting a Whois query, you agree to abideby the following terms of use: You agree that you may use this Data onlyfor lawful purposes and that under no circumstances will you use this Datato: (1) allow, enable, or otherwise support the transmission of massunsolicited, commercial advertising or solicitations via e-mail, telephone,or facsimile; or (2) enable high volume, automated, electronic processesthat apply to VeriSign (or its computer systems). The compilation,repackaging, dissemination or other use of this Data is expresslyprohibited without the prior written consent of VeriSign. You agree not touse electronic processes that are automated and high-volume to access orquery the Whois database except as reasonably necessary to registerdomain names or modify existing registrations. VeriSign reserves the rightto restrict your access to the Whois database in its sole discretion to ensureoperational stability. VeriSign may restrict or terminate your access to theWhois database for failure to abide by these terms of use. VeriSignreserves the right to modify these terms at any time.The Registry database contains ONLY .COM, .NET, .EDU domains andRegistrars."
    }
}

返回参数

参数名 类型 说明

响应码

状态码 说明
200 请求成功
203 秘钥错误或不存在
204 服务器错误
211 接口不存在
212 当前接口已下架
213 当前接口正处于审核期
214 API本地文件不存在,请联系管理员检查
215 管理员设置当前接口必须携带ckey请求!
216 付费接口请携带ckey请求!
217 ckey不存在!
218 当前ckey无权限调用此接口,请将此接口添加到ckey调用能力中后重试!
219 访问频率超过限制!请稍后重试!
220 本地API逻辑错误!请联系管理员检查!
221 状态码与管理员配置的状态码不一致,请联系管理员!
222 禁止访问!请联系管理员 (已被加入黑名单)
223 积分不足!请充值后重试
224 余额不足!请充值后重试
225 您已设置仅白名单ip访问!请将当前ip添加到白名单中

代码示例

curl
curl -X GET "https://api.71ywl.com/api/index.php?qy=whois?keyword=xxx"
php
<?php
$url = "https://api.71ywl.com/api/index.php?qy=whois?keyword=xxx";
$response = file_get_contents($url);
echo $response;
?>
python
import requests

url = "https://api.71ywl.com/api/index.php?qy=whois?keyword=xxx"
response = requests.get(url)
print(response.json())
javascript
fetch("https://api.71ywl.com/api/index.php?qy=whois?keyword=xxx")
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));