WHOIS查询

查询域名whois详细信息


接口地址 https://py.yun.re/whois
请求方式 GET
返回格式 JSON
请求示例 https://py.yun.re/whois?url=baidu.com

请求参数说明

参数名称 参数类型 是否必填 备注内容
url string 域名

返回参数说明

参数名称 参数类型 参数说明
code txt 状态码
msg txt 信息
data txt 查询数据

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {}
}

错误代码

名称 类型 说明
code int 错误代码
msg string 内容