Get certificate history for a host
get_certificate_historyCertificates logged in certificate transparency for one hostname (or a whole domain with include_subdomains): issuer organisation and DN, not_before and not_after dates, every SAN on the certificate, revocation status and SHA-256 where certspotter has them. Summarises first and last issuance and the issuers used, which shows CA changes and renewal cadence. Default source certspotter (unexpired); include_expired uses crt.sh for the full history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname, for example "api.example.com" or "example.com". | |
| limit | No | Max certificates returned, newest first (1-100). | |
| source | No | auto = certspotter first (fast, unexpired certificates), crt.sh if it fails or throttles. crtsh = crt.sh only (includes expired with include_expired). | auto |
| include_expired | No | Also include names from expired certificates (uses crt.sh). Finds retired hosts; slower. | |
| include_subdomains | No | Also include certificates for names under the host. |