接口地址:https://api.dzzui.com/api/whois
请求方式:GET/POST
返回格式:JSON

请求参数说明:

名称 必填 类型 说明
 domainstring域名

返回参数说明:

名称 类型 说明
 codestring状态码
 msgstring提示信息
 datastring内容

返回示例:

{
    "code": "200",
    "msg": "成功",
    "data": "Domain Name: qq.com
Registry Domain ID: 2895300_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.markmonitor.com
Registrar URL: http://www.markmonitor.com
Updated Date: 2023-10-19T03:26:56+0000
Creation Date: 1995-05-04T04:00:00+0000
Registrar Registration Expiration Date: 2033-07-27T00:00:00+0000
Registrar: MarkMonitor Information Technology (Shanghai) Co., Ltd.
Registrar IANA ID: 3838
Registrar Abuse Contact Email: abusecomplaints@markmonitor.com
Registrar Abuse Contact Phone: +1.2086851750
Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)
Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)
Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)
Registrant Organization: 深圳市腾讯计算机系统有限公司
Registrant State/Province: Guang Dong
Registrant Country: CN
Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/qq.com
Admin Organization: 深圳市腾讯计算机系统有限公司
Admin State/Province: Guang Dong
Admin Country: CN
Admin Email: Select Request Email Form at https://domains.markmonitor.com/whois/qq.com
Tech Organization: 深圳市腾讯计算机系统有限公司
Tech State/Province: Guang Dong
Tech Country: CN
Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/qq.com
Name Server: ns3.qq.com
Name Server: ns2.qq.com
Name Server: ns1.qq.com
Name Server: ns4.qq.com
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2023-10-20T12:37:39+0000 <<<

" }

状态码参照:

  状态码 说明
  200成功
  201域名或IP格式不正确
  204失败

PHP演示: