Get Certificate
Return full certificate details for the given SHA-256.
Raw cert bytes were moved out of the hot certificates table in task #66; pass ?include_raw=true to opt in to the join against certificates_raw. Without that flag the route never touches the cold table and never allocates the cert body in memory.
Request
- Base URL: https://api.ctindex.io
- URL: https://api.ctindex.io/v1/certificates/{sha256}
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
Query parameters
When true, fetch the raw cert bytes from cold storage and return them as PEM in raw_pem. Defaults to false so the hot detail path stays small (task #66 hot/cold split). A 202 raw_pending response means the upstream fetch continues in the background — retry the same call at most 3 times; a 410 raw_unavailable response is TERMINAL (task #755): stop retrying and fetch the leaf from the upstream CT log via log_id/leaf_index.
When true, attach RDAP registration + live DNS + ASN/hosting context for the certificate's primary hostname under enrichment (task #501). Opt-in; a slow/failed source degrades to a partial block and never fails the lookup.
When true, parse the raw cert bytes and attach the parsed_extensions view (EKU, SAN types, basic constraints, SCT list — GH #205). Best-effort: when the raw bytes are not in cold storage the view is omitted rather than failing the lookup.
Cookies
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.