Post-Quantum Registry

API and badges

Everything in the registry is available as JSON. No key is required. New tests are limited to 12 per minute per client; reading stored results is not limited.

Test a site

GET /api/check?domain=example.com

{
  "cached": false,
  "site": {
    "domain": "example.com",
    "status": "pq",              // pq | classical | legacy | unreachable
    "postQuantum": true,
    "postQuantumGroups": ["X25519MLKEM768"],
    "prefersPostQuantum": true,
    "tlsVersion": "TLSv1.3",
    "cipher": "TLS_AES_256_GCM_SHA384",
    "certificate": { "issuer": "...", "signatureAlgorithm": "..." },
    "lastChecked": "2026-12-02T12:00:00.000Z"
  }
}

A result less than 10 minutes old is returned from the registry ("cached": true) instead of re-testing. POST /api/check with a JSON body {"domain": "example.com"} does the same.

Browse the registry

GET /api/sites?status=pq&category=banking&q=bank&page=1
GET /api/sites?format=csv
GET /api/stats

status accepts pq, classical, legacy, unreachable or not (classical and legacy together). JSON pages hold 100 sites. The CSV export returns everything that matches.

Status badge

An SVG that always shows the latest stored result for a site. Put it in a README, a status page or a security page.

<a href="https://YOUR-REGISTRY-HOST/site/example.com">
  <img src="https://YOUR-REGISTRY-HOST/badge/example.com" alt="Post-quantum status">
</a>

Each site’s registry page has a ready-made snippet with the right address filled in.

Scheduled re-testing

GET /api/cron/rescan re-tests the sites that have gone longest without a check. It requires an Authorization: Bearer $CRON_SECRET header and is meant to be called by a scheduler.