API
JSON API
提供与报告相同的数据,适用于脚本和电子表格。需在 X-API-Key 标头中提供 Pro 密钥;每分钟 600 次请求。
评估域名权重
curl https://domainweight.com/api/v1/domain/github.com -H "X-API-Key: YOUR_KEY"
即将到期的域名
GET https://domainweight.com/api/v1/expiring?status=available&chrome=yes&min_ref=50&sort=chrome&page_n=1
过滤器:tld, min_ref, chrome=yes, status=available|dropping, sort=chrome|weight|links|drop|price, page_n。
每页 50 条结果。
Pro
在 X-API-Key 标头中使用 Pro 密钥:每分钟 600 次请求、批量查询、包含每个域名排除原因的隐藏到期列表部分,以及 CSV 导出。
curl -X POST https://domainweight.com/api/v1/bulk \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"domains": ["github.com", "example.org"]}'
每次请求最多 500 个域名。
GET https://domainweight.com/api/v1/expiring?include_hidden=1&page_n=1 GET https://domainweight.com/api/v1/expiring.csv?status=available&include_hidden=1
CSV 端点也接受将密钥作为 ?key= 传入,以便从浏览器或电子表格下载。