SeerMarTech 文档控制台

WHOIS 概览 Live

POST/v3/domain_analytics/whois/overview/live

获取域名 WHOIS 注册信息摘要:注册商、创建/过期日期、名称服务器等。

参考价:¥0.3200 / 次(实际以请求返回为准)

请求体

参数类型必填说明
targetstring目标域名

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/domain_analytics/whois/overview/live" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{"target": "example.com"}]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/domain_analytics/whois/overview/live", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{"target": "example.com"}], timeout=120, ) print(resp.json()["tasks"][0]["result"][0])

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/domain_analytics/whois/overview/live", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" }, body: JSON.stringify([{ target: "example.com" }]), } ); console.log((await resp.json()).tasks[0].result[0]);

响应字段(常用)

字段说明
created_datetime注册日期
expiration_datetime过期日期
registrar注册商
name_serversDNS 服务器

业务场景

WHOIS 概览 Live