稳定、快速、免费的 API 接口服务
查询域名whois信息
接口地址: https://api.qlwc.cn/api/whois
返回格式: JSON/HTML
请求方式: GET
请求示例: https://api.qlwc.cn/api/whois?domain=baidu.com
请求参数说明:
名称 | 必填 | 类型 | 说明 |
---|---|---|---|
?domain= | 是 | baidu.com | 本接口有两个模式/?domain=域名{则返回JSON}/?domain=html{格式HTML界面} |
返回参数说明:
名称 | 类型 | 说明 |
---|
返回示例:
{ "status": "success", "query_time": "2024-12-27 08:23:35", "domain_info": { "domain": "baidu.com", "whois_server": "whois.verisign-grs.com" }, "registration_info": { "registrar": "s.", "registrant": "'s agreement with the sponsoring", "status": [ "clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited", "serverDeleteProhibited", "serverTransferProhibited", "serverUpdateProhibited", "codes," ] }, "contact_info": { "admin_email": "abusecomplaints@markmonitor.com" }, "dates": { "creation_date": "1999-10-11 19:05:17", "expiration_date": "displayed in this record is the date the", "updated_date": "2023-11-30 14:00:19" }, "name_servers": [ "ns1.baidu.com", "ns2.baidu.com", "ns3.baidu.com", "ns4.baidu.com", "ns7.baidu.com" ] }
请求参数设置:
参数名称 | 参数值 |
---|---|
{ "status": "success", "query_time": "2024-12-27 08:23:35", "domain_info": { "domain": "baidu.com", "whois_server": "whois.verisign-grs.com" }, "registration_info": { "registrar": "s.", "registrant": "'s agreement with the sponsoring", "status": [ "clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited", "serverDeleteProhibited", "serverTransferProhibited", "serverUpdateProhibited", "codes," ] }, "contact_info": { "admin_email": "abusecomplaints@markmonitor.com" }, "dates": { "creation_date": "1999-10-11 19:05:17", "expiration_date": "displayed in this record is the date the", "updated_date": "2023-11-30 14:00:19" }, "name_servers": [ "ns1.baidu.com", "ns2.baidu.com", "ns3.baidu.com", "ns4.baidu.com", "ns7.baidu.com" ] }
错误码格式说明:
名称 | 类型 | 说明 |
---|
代码示例:
暂无示例