whois 查询 API
生活随笔
收集整理的這篇文章主要介紹了
whois 查询 API
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
whois 查詢 API
whois api查詢接口,免費、開源、穩(wěn)定
官網(wǎng)地址: 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
請求參數(shù)說明
| 字段名稱 | 類型 | 必填 | 說明 |
|---|---|---|---|
| domain | String | 是 | 域名 |
| type | String | 否 | whois數(shù)據(jù)返回類型(text 文本串/json json格式數(shù)據(jù)) |
返回示例
{
"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": "阿里云計算有限公司(萬網(wǎng))"
},
"status": 0
},
"msg": ""
}
返回參數(shù)說明
| 字段名稱 | 類型 | 說明 |
|---|---|---|
| status | Int | 域名查詢狀態(tài)(0 獲取到域名whois信息/1 域名解析失敗/2 域名未注冊/3 暫不支持此域名后綴查詢/4 域名查詢失敗/5 請求數(shù)據(jù)錯誤) |
| data | Map/String | 域名whois詳細數(shù)據(jù) |
| msg | String | 消息 |
總結(jié)
以上是生活随笔為你收集整理的whois 查询 API的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Dubbo源码学习--环境搭建及基础准备
- 下一篇: 多田野尼桑RF8v8发动机爆发顺序?