Skip to main content

Revocation Status API

developer
GET/v1/domain/ocsp

Checks certificate revocation using independently verified live OCSP responses, stapled OCSP responses and CRLs when published. Reports issuer policy separately from actual cryptographically verified revocation evidence.

What It Does

Retrieves the served certificate and issuer, discovers their revocation endpoints, and performs bounded OCSP/CRL requests. Verifies signatures, issuer trust, certificate association and freshness, and captures stapling during TLS. Missing or unverifiable evidence remains unknown; a verified revoked result takes precedence over other good results.

Why It's Useful

Certificate revocation checking is in transition. With Let's Encrypt and other CAs moving from OCSP to CRL-based revocation, this endpoint helps identify which domains still rely on OCSP responders and which have transitioned. OCSP stapling verification remains relevant for servers that still support it.

Use Cases

Security Operations

Certificate Revocation Monitoring

Monitor certificate revocation status to detect compromised or misissued certificates.

Detect certificate revocation before it causes user-facing issues.

Performance Engineer

Performance Optimization

Verify OCSP stapling is enabled to reduce TLS handshake latency.

Improve TLS performance by confirming stapling configuration.

Security Architect

OCSP Deprecation Assessment

Audit which domains still depend on OCSP responders versus CRL-based revocation in a post-Let's Encrypt OCSP world.

Plan certificate revocation strategy as the industry transitions away from OCSP.

Parameters

NameLocationTypeRequiredDescription
domainquerystringRequiredThe domain to check OCSP status forExample: example.com
portquerynumberOptionalPort to connect to (default: 443)Example: 443

Response Fields

Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.

FieldTypeDescription
domainstringThe queried domain
portnumberThe port used for connection
tlsVerifiedbooleanWhether the served certificate passes hostname and public-CA trust verification.
issuerstring | nullIssuer name from the served certificate.
expected_methodstringExpected revocation-check method for this CA: "ocsp" | "crl" | "none". Drives client expectations rather than reporting a live revocation status.
responder_activeboolean | nullWhether the CA still operates an OCSP responder (per 2026-05 policy snapshot). null when issuer is unknown.
deprecated_sincestring | nullISO date the CA retired OCSP (e.g., 2025-08-06 for Let's Encrypt). null when still active.
ocspResponderstring | nullOCSP responder URL discovered in the served certificate, or null.
ocspDeprecatedbooleanConvenience boolean — true when this CA has deprecated OCSP entirely.
policy_notestringPer-CA policy explanation (what to expect for revocation checks from this CA).
revocation_endpointsobject | nullOCSP and CRL URLs extracted from the served certificate extensions, with source provenance.
must_staplebooleanPhase 2: parsed from the TLS Feature OID (1.3.6.1.5.5.7.1.24) value 5. true means the cert requires OCSP stapling.
must_staple_warningstring | nullWarning when required stapling is missing or cannot be verified.
notestringHuman-readable explanation of the check result
limitationsarrayEnvironment limitations for this check
live_ocspobjectDirect OCSP result, independent signature/trust/association/freshness verification and status.
ocsp_staplingobjectOCSP response captured during TLS, with independent verification and status.
revocation_checkobjectCRL status, signature/issuer/trust/freshness verification and revocation evidence.

Code Examples

Replace YOUR_API_KEY with your API key. This endpoint requires the developer plan or higher; see plans and usage limits.

cURL
curl --request GET 'https://api.edgedns.dev/v1/domain/ocsp?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch(
  "https://api.edgedns.dev/v1/domain/ocsp?domain=example.com",
  {
    "method": "GET",
    "headers": {
      "Authorization": "Bearer YOUR_API_KEY"
    }
  }
);

if (!response.ok) {
  throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    'GET',
    "https://api.edgedns.dev/v1/domain/ocsp?domain=example.com",
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)

Read the full Revocation Status guide

Learn the concepts, choose a practical workflow, and interpret the observations from Revocation Status before acting on them. Run supported checks via MCP or through REST.

Read the guide →

    Related Endpoints

    External References

    Learn more about the standards and protocols behind this endpoint.

    Try This Endpoint

    Test the Revocation Status endpoint live in the playground.

    Revocation Status API Reference | EdgeDNS