API
API for scripts and agents
Check any domain for post-quantum TLS from code, with a JSON result for programs and a Markdown report for coding agents.
Updated
Free and keyless. Two endpoints, both GET, both with CORS enabled. The OpenAPI 3.1 description is at /openapi.json, and a plain-text summary for LLMs is at /llms.txt.
Check a domain: JSON
curl -s "https://ispostquantumready.com/api/scan?domain=example.com"
domain is a public domain name. A full URL is accepted and the scheme and path are ignored. IP addresses, ports other than 443 and internal names are rejected with HTTP 400.
Abbreviated response:
{
"host": "example.com",
"redirectHost": null,
"scannedAt": "2026-12-03T18:00:00.000Z",
"verdict": {
"status": "ready",
"headline": "Post-quantum key exchange negotiated",
"summary": "When offered the same choice as a modern browser, the server picked X25519MLKEM768 ..."
},
"findings": [
{ "id": "key-exchange", "label": "Key exchange (browser-like offer)", "level": "good",
"value": "X25519MLKEM768 over TLSv1.3", "detail": "Hybrid post-quantum key exchange ..." }
],
"edge": { "id": "cloudflare", "name": "Cloudflare" },
"probes": {
"browser": { "ok": true, "group": "X25519MLKEM768", "pq": true, "protocol": "TLSv1.3",
"certificate": { "keyLabel": "ECDSA P-256", "pqSignature": false } },
"classical": { "ok": true, "group": "X25519", "protocol": "TLSv1.3" },
"legacy": { "ok": true, "group": "X25519", "protocol": "TLSv1.2" },
"pqOnly": null
}
}
Check a domain: Markdown report for a coding agent
curl -s "https://ispostquantumready.com/api/report?domain=example.com"
Returns text/markdown: what was observed, what was not verified, a task description, the likely fix for the detected stack, and commands to verify the change. It is designed to be pasted straight into a coding agent.
Reading the result
verdict.status | Meaning |
|---|---|
ready | The server negotiated a post-quantum hybrid group (X25519MLKEM768) when offered the same choice as a modern browser. |
supported-not-preferred | It accepts post-quantum only when nothing else is offered, and picks a classical group otherwise. Fix the group preference order. |
not-ready | TLS 1.3 with classical key exchange only. |
not-ready-tls12 | Only TLS 1.2 was negotiated. Post-quantum key exchange needs TLS 1.3, so enable that first. |
pq-intolerant | The connection fails when a post-quantum key share is offered, but works with classical groups. Real browsers may be affected. |
unreachable | No handshake succeeded. Nothing could be assessed. |
probes.browser.groupis the negotiated key-exchange group.probes.browser.pqistruefor ML-KEM hybrids. Note that Node/OpenSSL reports classical P-256 asprime256v1.probes.browser.certificatedescribes the certificate. A classical certificate (RSA, ECDSA) is expected today, because public CAs do not yet issue post-quantum certificates.pqSignaturewill befalsefor essentially every site.redirectHost, when set, means the domain redirects to another hostname. Scan that one too, since it is usually where visitors end up. For exampleamazon.comredirects towww.amazon.com, and the two can differ.findingsare human-readable summaries of the same data, with alevelofgood,warn,badorinfo.
Errors
Errors are JSON: { "error": "...", "message": "..." }.
| HTTP | When |
|---|---|
400 | Invalid domain, IP address, non-443 port, internal name, domain that does not resolve, or one that resolves to a private or reserved address. |
429 | Rate limit: about 12 new scans per minute per IP. Wait a minute and retry. |
503 | At capacity. Retry in a few seconds. |
Caching, limits and etiquette
- Results are cached for 10 minutes per hostname, and cached responses do not count toward the rate limit. Add
&fresh=1to request a new scan; it is honoured only when the cached result is at least a minute old. - One hostname per call. To check many, space the calls out and handle
429with a backoff. - Each scan makes a handful of ordinary TLS handshakes plus one
HEAD /request to port 443. Nothing else is probed. - Only the public edge is tested. The CDN-to-origin hop, other subdomains, mail servers, VPNs and internal traffic are separate TLS connections that this API cannot see.
- Domains that are checked are recorded (domain, result, time) for usage statistics, never linked to a caller. See privacy. Do not check domains you consider confidential.
Using it from an AI agent
Paste this into your agent's instructions or tool description:
To check whether a website uses post-quantum TLS, call
GET https://ispostquantumready.com/api/scan?domain=<domain> (JSON) and read verdict.status:
"ready" means it negotiated the hybrid X25519MLKEM768 key exchange. Anything
else needs work. If redirectHost is set, check that hostname too. For a fix
plan, call GET https://ispostquantumready.com/api/report?domain=<domain> and follow the
Markdown task it returns. A classical (RSA/ECDSA) certificate is normal today
and is not itself a failure. Only the public edge is tested, so always list
CDN-to-origin hops and other subdomains as unverified.