免费 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 消息
posted @ 2018-07-07 16:57  ZhiChao&  阅读(4969)  评论(0编辑  收藏  举报