免费 whois 查询 API


whois 查询 API

whois api查询接口,免费、开源、稳定

官网地址: https://api.devopsclub.cn

开源地址: https://github.com/spdir/apiTools

接口地址: https://api.devopsclub.cn/api/whoisquery

接口文档: https://api.devopsclub.cn/docs/whoisquery

请求示例

GET请求

https://api.devopsclub.cn/api/whoisquery?domain=devopsclub.cn&type=json

请求参数说明

字段名称 类型 必填 说明
domain String 域名
type String whois数据返回类型(text 文本串/json json格式数据)

返回示例

{
    "code"0,
    "data": {
        "data": {
            "domainName""devopsclub.cn",
            "domainStatus""ok",
            "expirationTime""2024-05-18 22:00:04",
            "nameServer": [
                "dns15.hichina.com",
                "dns16.hichina.com"
            ],
            "registrant""马智超",
            "registrantContactEmail""aery_mzc9123@163.com",
            "registrantID""al49ebxdhyhntmy",
            "registrationTime""2019-05-18 22:00:04",
            "roid""20190518s10001s12090676-cn",
            "sponsoringRegistrar""阿里云计算有限公司(万网)"
        },
        "status"0
    },
    "msg"""
}

返回参数说明

字段名称 类型 说明
status Int 域名查询状态(0 获取到域名whois信息/1 域名解析失败/2 域名未注册/3 暂不支持此域名后缀查询/4 域名查询失败/5 请求数据错误)
data Map/String 域名whois详细数据
msg String 消息


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM