使用指南

WHOIS域名查询

所属分类:数据查询
接口状态:正常
调用次数:33次
收费类型: 免费(每日上限10000次)
密匙要求:

接口简介

提供域名WHOIS信息查询服务,支持全球主流顶级域名的注册信息查询。可查询域名的注册状态、注册时间、过期时间、注册商、DNS服务器等详细信息。

接口信息

请求方式: GET

接口地址:

https://api.dlck.cn/api/whois.php

请求参数说明

参数名 参数类型 是否必填 参数说明
domain String 要查询的域名(如:example.com)
api_key 字符串 登录后在「个人中心」获取的密钥,用于接口权限验证

调用测试

请求参数:

登录后在个人中心获取API密钥

响应结果:

等待测试...

响应示例

成功响应(200):

{ "code": 200, "msg": "查询成功", "data": { "domain": "example.com", "status": "registered", "available": false, "creation_date": "1995-08-15T04:00:00Z", "expiration_date": "2025-08-14T04:00:00Z", "update_date": "2024-01-10T10:30:00Z", "registrar": "Example Registrar, LLC", "registrant": "Example Corporation", "registrant_email": "admin@example.com", "name_servers": [ "ns1.example.com", "ns2.example.com" ], "dnssec": "signedDelegation", "roid": "D1234567-EXAMPLE", "raw_data": "WHOIS原始响应数据..." } }

使用示例

单域名查询 https://api.dlck.cn/api/whois.php?api_key=YOUR_API_KEY&domain=example.com 批量域名查询 curl -X POST https://api.dlck.cn/api/whois.php \ -H "Content-Type: application/json" \ -H "API-Key: YOUR_API_KEY" \ -d '{"domains": ["example.com", "example.cn", "example.net"]}'