安全与信任 · DomScan 产品

网站漏洞扫描器 API 参考

检查一个公开网页中的软件和安全配置特征,并将受支持且带版本信息的组件与软件包安全公告及漏洞利用数据进行比对。结果会显示已完成检查的证据和覆盖范围;未发现问题并不能证明应用不存在漏洞。

你将获得什么

检查一个公开网页中的软件和安全配置特征,并将受支持且带版本信息的组件与软件包安全公告及漏洞利用数据进行比对。结果会显示已完成检查的证据和覆盖范围;未发现问题并不能证明应用不存在漏洞。

同步RESTMCPSDK交互式工具

适合选择此产品的场景

适用对象

使用范围明确的被动检查来补充分诊和调查,而不是替代授权测试或人工审查。

适合选择此产品的场景

需要被动的暴露版本和配置证据时选择。它不会利用目标,也不证明网站没有漏洞。

你将获得什么

检查一个公开网页中的软件和安全配置特征,并将受支持且带版本信息的组件与软件包安全公告及漏洞利用数据进行比对。结果会显示已完成检查的证据和覆盖范围;未发现问题并不能证明应用不存在漏洞。

端点

集成之前,先了解每个端点接受和返回的内容、支持的模式及其限制。

GET /v1/vulnerabilities 查看 API 参考

积分和身份验证

8-12 需要身份验证。确切费用(包括按项目计价的部分)请参阅 API 参考。

操作示例

使用文档化的操作来收集、评估、补充、验证、比较、保护或监测公开证据。

GET/v1/vulnerabilities积分: 8-12

查询参数

参数类型必需
urlstring可选
domainstring可选
modestring
允许的值 standarddeep
默认值 standard
可选

响应字段

字段类型
targetobject
target.requested_urlstring
target.final_urlstring
target.hostnamestring
scanobject
scan.modestring
scan.statusstring
scan.checked_atstring
scan.duration_msinteger
scan.disclaimerstring
summaryobject
summary.posturestring
summary.risk_levelstring
summary.finding_countinteger
summary.version_affected_countinteger
summary.misconfiguration_countinteger
summary.urgent_countinteger
summary.severity_countsobject
findings[]object[]
findings[]object
findings[].fingerprintstring
findings[].classificationstring
findings[].severitystring
findings[].prioritystring
findings[].titlestring
findings[].summarystring
findings[].componentobject
findings[].component.technology_idstring
findings[].component.namestring
findings[].component.detected_versionstring
findings[].component.version_kindstring
findings[].component.confidencestring
findings[].component.confidence_scoreinteger
findings[].component.ecosystemstring
findings[].component.packagestring
findings[].component.purlstring
findings[].advisoryobject
findings[].advisory.idstring
findings[].advisory.aliases[]string[]
findings[].advisory.cves[]string[]
findings[].advisory.published_atstring | null
findings[].advisory.modified_atstring | null
findings[].advisory.cvss[]object[]
findings[].advisory.cvss[]object
findings[].advisory.cvss[].typestring
findings[].advisory.cvss[].vectorstring
findings[].advisory.fixed_versions[]string[]
findings[].advisory.affected_ranges[]object[]
findings[].advisory.affected_ranges[]object
findings[].advisory.references[]string[]
findings[].exploitationobject
findings[].exploitation.cisa_kevboolean | null
findings[].exploitation.kev_added_atstring | null
findings[].exploitation.kev_required_actionstring | null
findings[].exploitation.known_ransomware_usestring | null
findings[].exploitation.epss_probabilitynumber | null
findings[].exploitation.epss_percentilenumber | null
findings[].exploitation.epss_datestring | null
findings[].evidenceobject
findings[].evidence.confidencestring
findings[].evidence.observed[]string[]
findings[].evidence.limitations[]string[]
findings[].remediationobject
findings[].remediation.summarystring
findings[].remediation.fixed_versions[]string[]
findings[].sources[]string[]
components[]object[]
components[]object
components[].technology_idstring
components[].namestring
components[].detected_versionstring | null
components[].version_kindstring | null
components[].confidencestring
components[].advisory_statusstring
components[].matched_advisoriesinteger
coverageobject
coverage.target_responsestring
coverage.technology_detectionstring
coverage.package_advisoriesstring
coverage.known_exploitationstring
coverage.exploitation_probabilitystring
coverage.detected_componentsinteger
coverage.versioned_componentsinteger
coverage.advisory_eligible_componentsinteger
coverage.advisory_checked_componentsinteger
coverage.advisory_deferred_componentsinteger
coverage.advisory_query_limitinteger
coverage.relay_usedboolean
coverage.limitations[]string[]
sources[]object[]
sources[]object
sources[].idstring
sources[].namestring
sources[].ownerstring
sources[].urlstring
sources[].statusstring
sources[].retrieved_atstring | null
sources[].cache_hitboolean
sources[].expected_freshnessstring
sources[].fallback_behaviorstring
sources[].coststring
_metaobject

请求示例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/vulnerabilities?url=https%3A%2F%2Fexample.com&domain=example.com&mode=standard"
const response = await fetch("https://domscan.net/v1/vulnerabilities?url=https%3A%2F%2Fexample.com&domain=example.com&mode=standard", {
  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/vulnerabilities?url=https%3A%2F%2Fexample.com&domain=example.com&mode=standard",
    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/vulnerabilities?url=https%3A%2F%2Fexample.com&domain=example.com&mode=standard", 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/vulnerabilities?url=https%3A%2F%2Fexample.com&domain=example.com&mode=standard")
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))

响应示例

{
  "target": {
    "requested_url": "https://www.example.com/",
    "final_url": "https://www.example.com/",
    "hostname": "www.example.com"
  },
  "scan": {
    "mode": "standard",
    "status": "complete",
    "checked_at": "2026-10-09T10:15:30.000Z",
    "duration_ms": 3120,
    "disclaimer": "A clean result means DomScan did not detect an issue within the documented scan coverage. Automated scanning cannot prove that an application is vulnerability-free or replace an authorized penetration test."
  },
  "summary": {
    "posture": "review",
    "risk_level": "medium",
    "finding_count": 2,
    "version_affected_count": 0,
    "misconfiguration_count": 2,
    "urgent_count": 0,
    "severity_counts": {
      "critical": 0,
      "high": 0,
      "medium": 1,
      "low": 1,
      "info": 0,
      "unknown": 0
    }
  },
  "findings": [
    {
      "fingerprint": "configuration:content-security-policy:www.example.com",
      "classification": "security_misconfiguration",
      "severity": "medium",
      "priority": "elevated",
      "title": "Content Security Policy is not advertised",
      "summary": "The observed response did not include a Content-Security-Policy header.",
      "evidence": {
        "confidence": "high",
        "observed": [
          "Public response did not include the expected content-security-policy protection."
        ],
        "limitations": [
          "header_policy_can_vary_by_path_or_response_status"
        ]
      },
      "remediation": {
        "summary": "Deploy a restrictive Content Security Policy in report-only mode first, then enforce it.",
        "fixed_versions": []
      },
      "sources": [
        "target_response"
      ]
    },
    {
      "fingerprint": "configuration:referrer-policy:www.example.com",
      "classification": "security_misconfiguration",
      "severity": "low",
      "priority": "normal",
      "title": "Referrer Policy is not advertised",
      "summary": "The response did not include an explicit Referrer-Policy header.",
      "evidence": {
        "confidence": "high",
        "observed": [
          "Public response did not include the expected referrer-policy protection."
        ],
        "limitations": [
          "header_policy_can_vary_by_path_or_response_status"
        ]
      },
      "remediation": {
        "summary": "Choose and deploy a Referrer-Policy that matches the application privacy and analytics requirements.",
        "fixed_versions": []
      },
      "sources": [
        "target_response"
      ]
    }
  ],
  "components": [
    {
      "technology_id": "jquery",
      "name": "jQuery",
      "detected_version": "3.7.1",
      "version_kind": "asset",
      "confidence": "high",
      "advisory_status": "checked",
      "matched_advisories": 0
    },
    {
      "technology_id": "cloudflare",
      "name": "Cloudflare",
      "detected_version": null,
      "version_kind": null,
      "confidence": "high",
      "advisory_status": "mapping_unavailable",
      "matched_advisories": 0
    }
  ],
  "coverage": {
    "target_response": "checked",
    "technology_detection": "checked",
    "package_advisories": "checked",
    "known_exploitation": "not_requested",
    "exploitation_probability": "not_requested",
    "detected_components": 2,
    "versioned_components": 1,
    "advisory_eligible_components": 1,
    "advisory_checked_components": 1,
    "advisory_deferred_components": 0,
    "advisory_query_limit": 20,
    "relay_used": true,
    "limitations": [
      "Only exact reviewed technology-to-package mappings are checked against OSV.",
      "Versionless or semantically incompatible detections are not reported as vulnerable.",
      "This passive scan does not send exploit payloads or prove exploitability.",
      "Response headers and exposed versions can vary by path, edge location, or authentication state."
    ]
  },
  "sources": [
    {
      "id": "target_response",
      "name": "Observed public response",
      "owner": "Target website",
      "url": "https://domscan.net/tech-stack-api",
      "status": "checked",
      "retrieved_at": "2026-10-09T10:15:30.000Z",
      "cache_hit": false,
      "expected_freshness": "Live at scan time",
      "fallback_behavior": "Unavailable signals remain unknown and never imply that the target is unaffected",
      "cost": "none"
    },
    {
      "id": "osv",
      "name": "OSV",
      "owner": "Google Open Source Security Team",
      "url": "https://google.github.io/osv.dev/",
      "status": "checked",
      "retrieved_at": "2026-10-09T10:15:29.000Z",
      "cache_hit": false,
      "expected_freshness": "OSV targets advisory freshness within 15 minutes",
      "fallback_behavior": "Use a fresh cached result when available; otherwise mark the component advisory check unknown",
      "cost": "none"
    },
    {
      "id": "cisa_kev",
      "name": "CISA Known Exploited Vulnerabilities Catalog",
      "owner": "Cybersecurity and Infrastructure Security Agency",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "status": "not_requested",
      "retrieved_at": null,
      "cache_hit": false,
      "expected_freshness": "Catalog changes are checked hourly",
      "fallback_behavior": "Use a fresh cached catalog when available; otherwise leave exploitation status unknown",
      "cost": "none"
    },
    {
      "id": "first_epss",
      "name": "Exploit Prediction Scoring System",
      "owner": "FIRST",
      "url": "https://www.first.org/epss/",
      "status": "not_requested",
      "retrieved_at": null,
      "cache_hit": false,
      "expected_freshness": "Scores are generated daily",
      "fallback_behavior": "Return the advisory without an EPSS value and mark exploitation probability unknown",
      "cost": "none"
    }
  ],
  "_meta": {
    "served_by": "pop=MAD country=ES",
    "analysis_status": "complete"
  }
}

HTTP 状态码

  • 200 成功
  • 400 请求错误
  • 401 未授权
  • 402 需要付款
  • 429 请求过多
  • 503 服务不可用

常见问题

在哪里可以找到 网站漏洞扫描器 的请求和响应参考?

使用 网站漏洞扫描器 的 API 参考来查看参数、响应字段、示例、状态码和支持的操作模式。

应如何解读 网站漏洞扫描器 返回的未知或不完整结果?

“未知”或“部分”表示我们无法完全确认结果。请在据此采取行动时,留意状态、置信度、时效性和任何限制。

网站漏洞扫描器 如何计费?

价格取决于检查类型和您选择的模式。API 参考会显示当前的积分消耗、是否需要 API 密钥以及按项目计价的信息。

客户评价

4.9/5,基于 34 条已验证买家评价

Having those checks in one place is what sold me on DomScan.

已验证买家 · 2026年11月

It suits the domain hunts, watching certificates and domain expiry hassles I have done manually for years.

已验证买家 · 2026年11月

被这些公司的人员使用

InstantOutseerMongoDBRespondentSage Expense ManagementInstantlyD.R. HortonWhatConvertsAdobeLLM Pulse