综合查询
GET
/api/lookup/comprehensive?domain=zun.com&ip=1.2.3.4同时返回域名WHOIS信息和IP状态信息,domain 和 ip 至少提供一个。
查询参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| domain | string | 可选 | 域名(与ip至少提供一个) |
| ip | string | 可选 | IP地址(与domain至少提供一个) |
请求示例
bash
curl "https://api.ogmiao.com/api/lookup/comprehensive?domain=zun.com&ip=1.2.3.4"响应示例
JSON
{
"whois": { "...": "WHOIS查询结果" },
"ip": { "...": "IP状态查询结果" }
}