Get full certificate details by SHA-256 fingerprint
Returns the complete certificate record: SANs, issuer info, crypto-hygiene metadata, and CT log metadata (log_id, leaf_index). The reconciled_from_crtsh boolean (task #796) is true when the record was ingested via the crt.sh reconciliation/backfill path (stored log_id == 'crt.sh') rather than observed directly in a CT log — such records reflect crt.sh's observation timing, not CertIndex's own CT-crawl detection latency.
Raw bytes (task #586): by default raw_pem is null to keep LLM context small. Pass include_raw=true to fetch the raw certificate bytes from cold storage and receive them as PEM in raw_pem; this also backfills any NULL crypto-hygiene fields (key_type / key_size / signature_algorithm / is_weak_crypto) by parsing the DER. A long-expired certificate whose raw bytes were dropped by the retention sweep returns HTTP 410 raw_swept with a log_id / leaf_index pointer so you can re-fetch the leaf from the upstream CT log.
Null crypto semantics (task #745): is_weak_crypto is null (not false) whenever key_type / key_size / signature_algorithm are all null — the crypto was never assessed for that record. Only a boolean value is an actual assessment.
Request
- Base URL: https://api.ctindex.io
- URL: https://api.ctindex.io/mcp-api/get_certificate/{sha256}
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
Query parameters
When true, return the cert PEM in raw_pem (mirrors the REST ?include_raw=true). Best-effort: served from cold storage, or materialized on demand from the upstream source when not stored. Also backfills NULL crypto-hygiene fields from the DER. Defaults to false to keep LLM context small.
When true, attach RDAP + DNS + ASN/hosting context for the certificate's primary hostname under enrichment (task #501).
Cookies
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.