安全与信任 · DomScan 产品

SSL 证书 API 参考

获取 SSL 证书信息,包括颁发者、有效期和安全等级。

你将获得什么

获取 SSL 证书信息,包括颁发者、有效期和安全等级。

同步批量RESTMCPSDK交互式工具

适合选择此产品的场景

适用对象

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

适合选择此产品的场景

需要在可用范围内检查公开 TLS 证书证据、有效性、名称和链相关信号时选择。

你将获得什么

获取 SSL 证书信息,包括颁发者、有效期和安全等级。

端点

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

GET /v1/certificates 查看 API 参考
POST /v1/certificates/bulk 查看 API 参考
GET /v1/ssl/deep-scan 查看 API 参考阅读指南
GET /v1/ssl/expiring 查看 API 参考阅读指南

积分和身份验证

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

操作示例

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

GET/v1/certificates积分: 2

查询参数

参数类型必需
domainstring必需
include_subdomainsboolean
默认值 true
可选
include_expiredboolean
默认值 false
可选
limitinteger
默认值 100
可选
cursorstring可选

响应字段

字段类型
has_moreboolean
next_cursorstring | null
cache_age_sinteger
domainstring
certificates[]object[]
certificates[]object
certificates[].idstring
certificates[].issuerobject
certificates[].common_namestring
certificates[].san[]string[]
certificates[].not_beforestring
certificates[].not_afterstring
certificates[].is_expiredboolean
certificates[].is_wildcardboolean
certificates[].fingerprint_sha256string
summaryobject
summary.total_foundinteger
summary.returnedinteger
summary.unique_subdomainsinteger
summary.issuers[]string[]
summary.earliest_certstring | null
summary.latest_certstring | null
paginationobject
pagination.limitinteger
pagination.offsetinteger
pagination.returnedinteger
pagination.totalinteger
pagination.has_moreboolean
pagination.next_cursorstring | null
intelligence_summaryobject
intelligence_summary.data_sourcestring
intelligence_summary.ct_log_sources[]string[]
intelligence_summary.source_countinteger
intelligence_summary.cache_statusstring
intelligence_summary.returned_countinteger
intelligence_summary.total_foundinteger
intelligence_summary.truncatedboolean
intelligence_summary.limitinteger
intelligence_summary.include_subdomainsboolean
intelligence_summary.include_expiredboolean
intelligence_summary.unique_name_countinteger
intelligence_summary.unique_subdomainsinteger
intelligence_summary.issuer_countinteger
intelligence_summary.wildcard_cert_countinteger
intelligence_summary.active_cert_countinteger
intelligence_summary.expired_cert_countinteger
intelligence_summary.expiring_within_30_days_countinteger
intelligence_summary.earliest_certstring | null
intelligence_summary.latest_certstring | null
intelligence_summary.latest_expirystring | null
intelligence_summary.has_moreboolean
intelligence_summary.next_cursorstring | null
intelligence_summary.warning_codestring | null
metaobject

请求示例

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/certificates?domain=example.com&include_subdomains=true&include_expired=false&limit=25&cursor=example"
const response = await fetch("https://domscan.net/v1/certificates?domain=example.com&include_subdomains=true&include_expired=false&limit=25&cursor=example", {
  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/certificates?domain=example.com&include_subdomains=true&include_expired=false&limit=25&cursor=example",
    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/certificates?domain=example.com&include_subdomains=true&include_expired=false&limit=25&cursor=example", 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/certificates?domain=example.com&include_subdomains=true&include_expired=false&limit=25&cursor=example")
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",
  "certificates": [
    {
      "id": "16234550871",
      "issuer": {
        "name": "R11",
        "organization": "Let's Encrypt"
      },
      "common_name": "www.example.com",
      "san": [
        "example.com",
        "www.example.com"
      ],
      "not_before": "2026-09-14T08:12:44",
      "not_after": "2026-12-13T08:12:43",
      "is_expired": false,
      "is_wildcard": false
    },
    {
      "id": "16198877412",
      "issuer": {
        "name": "R11",
        "organization": "Let's Encrypt"
      },
      "common_name": "api.example.com",
      "san": [
        "api.example.com"
      ],
      "not_before": "2026-08-20T14:03:10",
      "not_after": "2026-11-18T14:03:09",
      "is_expired": false,
      "is_wildcard": false
    }
  ],
  "summary": {
    "total_found": 14,
    "returned": 2,
    "unique_subdomains": 3,
    "issuers": [
      "Let's Encrypt"
    ],
    "earliest_cert": "2026-08-20T14:03:10",
    "latest_cert": "2026-09-14T08:12:44"
  },
  "pagination": {
    "limit": 2,
    "offset": 0,
    "returned": 2,
    "total": 14,
    "has_more": true,
    "next_cursor": "2"
  },
  "intelligence_summary": {
    "data_source": "crt.sh",
    "ct_log_sources": [
      "crt.sh"
    ],
    "source_count": 1,
    "cache_status": "live",
    "returned_count": 2,
    "total_found": 14,
    "truncated": true,
    "limit": 2,
    "include_subdomains": true,
    "include_expired": false,
    "unique_name_count": 3,
    "unique_subdomains": 3,
    "issuer_count": 1,
    "wildcard_cert_count": 0,
    "active_cert_count": 2,
    "expired_cert_count": 0,
    "expiring_within_30_days_count": 0,
    "earliest_cert": "2026-08-20T14:03:10",
    "latest_cert": "2026-09-14T08:12:44",
    "latest_expiry": "2026-12-13T08:12:43",
    "has_more": true,
    "next_cursor": "2",
    "warning_code": null
  },
  "meta": {
    "source": "crt.sh",
    "ct_log_sources": [
      "crt.sh"
    ],
    "query_time_ms": 1240,
    "cached": false,
    "page": {
      "limit": 2,
      "offset": 0,
      "returned": 2,
      "total": 14,
      "has_more": true,
      "next_cursor": "2"
    },
    "served_by": "pop=MAD country=ES"
  }
}

HTTP 状态码

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

常见问题

在哪里可以找到 SSL 证书 的请求和响应参考?

使用 SSL 证书 的 API 参考来查看参数、响应字段、示例、状态码和支持的操作模式。

应如何解读 SSL 证书 返回的未知或不完整结果?

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

SSL 证书 如何计费?

价格取决于检查类型和您选择的模式。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