适用对象
单一决策使用专用检查,需要上下文时再构建更完整的资料。
尝试搜索产品、目标、端点路径或 API 主题。
获取域名的全面配置文件,包括 WHOIS、DNS 和托管信息。
单一决策使用专用检查,需要上下文时再构建更完整的资料。
多个注册、DNS、Web 和信任信号需要一起使用时,选择宽泛的域名快照。
获取域名的全面配置文件,包括 WHOIS、DNS 和托管信息。
集成之前,先了解每个端点接受和返回的内容、支持的模式及其限制。
1-5 需要身份验证。确切费用(包括按项目计价的部分)请参阅 API 参考。
使用文档化的操作来收集、评估、补充、验证、比较、保护或监测公开证据。
| 参数 | 类型 | 必需 |
|---|---|---|
| domain | string | 必需 |
| 字段 | 类型 |
|---|---|
domain | string |
registered | boolean | null |
registrar | string | null |
registrar_url | string | null |
registrar_iana_id | string | null |
created_date | string | null |
updated_date | string | null |
expiry_date | string | null |
age_days | integer |
days_until_expiry | integer |
nameservers[] | string[] |
status[] | string[] |
dnssec | boolean |
events[] | object[] |
events[] | object |
events[].action | string |
events[].date | string |
contacts | object |
contacts.registrant_name | string | null |
contacts.registrant_org | string | null |
contacts.registrant_country | string | null |
contacts.admin_email | string | null |
contacts.tech_email | string | null |
privacy | object |
privacy.is_private | boolean |
privacy.privacy_service | string | null |
raw_rdap_link | string | null |
source_summary | object |
source_summary.source | string |
source_summary.authoritative_source | string |
source_summary.cache_status | string |
source_summary.fallback_used | boolean |
source_summary.relay_configured | boolean |
source_summary.registered | boolean | null |
source_summary.status_count | integer |
source_summary.nameserver_count | integer |
source_summary.event_count | integer |
source_summary.date_fields_present[] | string[] |
source_summary.contact_field_count | integer |
source_summary.privacy_detected | boolean |
checked_at | string |
query_time_ms | integer |
meta | object |
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/profile?domain=example.com"const response = await fetch("https://domscan.net/v1/profile?domain=example.com", {
headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://domscan.net/v1/profile?domain=example.com",
headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/profile?domain=example.com", nil)
if err != nil {
panic(err)
}
req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, err := io.ReadAll(resp.Body)
if err != nil {
panic(err)
}
fmt.Println(resp.Status, string(data))
}require "json"
require "net/http"
uri = URI("https://domscan.net/v1/profile?domain=example.com")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body)){
"domain": "example.com",
"registered": true,
"registrar": "Example Registrar, Inc.",
"registrar_url": "https://registrar.example.net",
"registrar_iana_id": "9999",
"created_date": "2019-03-11T14:22:08Z",
"updated_date": "2026-03-10T09:41:55Z",
"expiry_date": "2027-03-11T14:22:08Z",
"age_days": 2769,
"days_until_expiry": 153,
"status": [
"client transfer prohibited"
],
"nameservers": [
"ns1.example.net",
"ns2.example.net"
],
"dnssec": false,
"events": [
{
"action": "registration",
"date": "2019-03-11T14:22:08Z"
},
{
"action": "expiration",
"date": "2027-03-11T14:22:08Z"
},
{
"action": "last changed",
"date": "2026-03-10T09:41:55Z"
}
],
"contacts": {
"registrant_name": null,
"registrant_org": null,
"registrant_country": null,
"admin_email": null,
"tech_email": null
},
"privacy": {
"is_private": false,
"privacy_service": null
},
"raw_rdap_link": "https://rdap.example.net/domain/example.com",
"source_summary": {
"source": "rdap",
"authoritative_source": "rdap",
"cache_status": "miss",
"fallback_used": false,
"relay_configured": true,
"registered": true,
"status_count": 1,
"nameserver_count": 2,
"event_count": 3,
"date_fields_present": [
"created_date",
"updated_date",
"expiry_date"
],
"contact_field_count": 0,
"privacy_detected": false
},
"checked_at": "2026-10-09T10:15:30.000Z",
"query_time_ms": 386,
"meta": {
"served_by": "pop=MAD country=ES",
"cached": false
}
}
200 成功400 请求错误401 未授权402 需要付款429 请求过多使用 域名配置文件 的 API 参考来查看参数、响应字段、示例、状态码和支持的操作模式。
“未知”或“部分”表示我们无法完全确认结果。请在据此采取行动时,留意状态、置信度、时效性和任何限制。
价格取决于检查类型和您选择的模式。API 参考会显示当前的积分消耗、是否需要 API 密钥以及按项目计价的信息。
Having those checks in one place is what sold me on DomScan.
It suits the domain hunts, watching certificates and domain expiry hassles I have done manually for years.
被这些公司的人员使用