小小API是一个稳定 快速 的 API 接口服务   点击加入QQ群

whois查询

GEThttps://v2.xxapi.cn/api/whois

接口描述

免费API提供高效的域名Whois查询服务,支持查询1000多个Whois服务器的信息,数据缓存一天,确保快速稳定的使用体验。适用于域名信息检索和管理的多种场景。

请求参数

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: 'https://v2.xxapi.cn/api/whois?domain=xxhzm.cn'
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
	"code": 200,
	"msg": "数据请求成功",
	"data": {
		"Domain Name": "xxhzm.cn",
		"Sponsoring Registrar": "广州云讯信息科技有限公司",
		"Registrar URL": "",
		"Registrant": "张子阳",
		"Registrant Contact Email": "2595557847@qq.com",
		"Registration Time": "2021-07-24 18:23:46",
		"Expiration Time": "2025-07-24 18:23:46",
		"DNS Serve": [
			"ns3.dnsv2.com",
			"ns4.dnsv2.com"
		]
	}
}