域名whois信息查询API


接口描述

域名whois信息查询接口,查询域名的所有者等信息,whois可以用来查询域名是否已经被注册,以及注册域名的详细信息的数据库例如:域名所有人、域名注册商、域名注册日期、域名过期日期等信息。

GET https://www.idcd.com/api/domain/whois

输入参数

以下请求参数列表仅列出了接口请求参数,不包含公共参数,完整公共参数列表见 公共请求参数。

参数名称 类型 必选 描述
domain String 域名

输出参数

参数名称 类型 必选 描述
parserType String 解析类型
domainName String 域名
whoisServer String 域名whois服务器
nameServers String 解析服务器
creationDate String 注册日期
expirationDate String 过期日期
updatedDate String 更新日期
states String 域名状态
owner String 域名持有人
registrar String 注册服务商
dnssec String DNS安全扩展
raw_text String 域名注册英文信息

示例

  1. 输入示例
curl --location --request GET 'https://www.idcd.com/api/domain/whois?domain=www.idcd.com' \
--header 'ClientID: df77f2de-2924-4499-adda-1c4cc243625a' \
--header 'Nonce: v0j38hHHUEqFwoh0Gc8Rbfi737xtIpLL' \
--header 'Timestamp: 1716085926' \
--header 'Signature: 5b1230f42bad2ffd5ad09890a8ebb47c02d74668be0cf7bb54a0f6a14996117b' \
--header 'SignatureMethod: HmacSHA256'
  1. 输出示例
{
    "status": true,
    "code": 200,
    "message": "Success",
    "request_id": "2f78b67f-f8a4-4db3-b7cf-5f597cf3ce4b",
    "data": {
        "parserType": "common",
        "domainName": "idcd.com",
        "whoisServer": "grs-whois.hichina.com",
        "nameServers": [
            "fifty.dnspod.net",
            "hunting.dnspod.net"
        ],
        "creationDate": "2000-03-08 00:58:30",
        "expirationDate": "2026-03-08 00:58:30",
        "updatedDate": "2022-03-04 13:21:30",
        "states": [
            "ok"
        ],
        "owner": "",
        "registrar": "Alibaba Cloud Computing Ltd. d/b/a HiChina (www.net.cn)",
        "dnssec": "unsigned",
        "raw_text": "Domain Name: idcd.com\r\nRegistry Domain ID: 21745540_DOMAIN_COM-VRSN\r\nRegistrar WHOIS Server: grs-whois.hichina.com\r\nRegistrar URL: http://wanwang.aliyun.com\r\nUpdated Date: 2022-03-04T05:21:30Z\r\nCreation Date: 2000-03-07T16:58:30Z\r\nRegistrar Registration Expiration Date: 2026-03-07T16:58:30Z\r\nRegistrar: Alibaba Cloud Computing Ltd. d/b/a HiChina (www.net.cn)\r\nRegistrar IANA ID: 1599\r\nReseller:\r\nDomain Status: ok https://icann.org/epp#ok\r\nRegistrant City: \r\nRegistrant State/Province: si chuan\r\nRegistrant Country: CN\r\nRegistrant Email:https://whois.aliyun.com/whois/whoisForm\r\nRegistry Registrant ID: Not Available From Registry\r\nName Server: FIFTY.DNSPOD.NET\r\nName Server: HUNTING.DNSPOD.NET\r\nDNSSEC: unsigned\r\nRegistrar Abuse Contact Email: DomainAbuse@service.aliyun.com\r\nRegistrar Abuse Contact Phone: +86.95187\r\nURL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\r\n>>>Last update of WHOIS database: 2024-05-25T06:19:43Z