Skip to main content
Certificates and TLS

Post-Quantum Cryptography (PQC) readiness API

Check whether your domain is ready for Post-Quantum Cryptography (PQC) in plain English. We test live TLS 1.3 hybrid key exchange (X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024, and retired Kyber drafts), detect ~1.5 KB ClientHello firewall drops, verify IPv6 and HTTP/3 QUIC parity, check mail server STARTTLS with MTA-STS and DANE, distinguish CDN edge protection from your origin, and generate a downloadable CycloneDX 1.6 external CBOM.

POSTapi.middle.network/v1/tools/pqc-readiness
2 units a callCached up to 10 minLive target probe

Request builder & body

Send JSON: { "input": { … } } with these fields. Fields not listed are ignored. Edit or toggle options below to build your exact query live across every language.

1 field active
  • stringrequired
    The host name or domain to test for post-quantum TLS readiness.
    Up to 253 characters · Example "example.com"
  • integeroptional
    TCP port to test TLS 1.3 post-quantum key exchange on.
    1 to 65535 · Default 443
  • booleanoptional
    Also check primary MX mail server STARTTLS post-quantum support, MTA-STS, DANE, and DNSSEC.
    Default true
  • list of stringsoptional
    Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @SA, @AF, @APAC), or ["all"]. See GET /v1/probes for the active list; leave out for the default set.
    Up to 64 items · Example ["all"]

Response

The same result shape every tool uses. status is the worst finding, summary and each finding come in plain and tech, and data holds the raw Post-Quantum Cryptography (PQC) readiness detail.

  • 200The test ran. RateLimit headers show what’s left today.
  • 400The input broke the schema, or the target is not valid (with suggestions when it looks like a typo).
  • 401No API key, or the key is not valid or was revoked.
  • 403The target’s owner has asked not to be tested (optedOut), or active tools are disabled on this server (activeTool).
  • 429Too many checks: per minute, per day, or at the same target.
  • 503The server is at its concurrent-run limit. Try again in a few seconds.
Request
curl -X POST https://api.middle.network/v1/tools/pqc-readiness \
  -H "Authorization: Bearer $MN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"domain":"cloudflare.com"}}'
$result = Invoke-RestMethod -Method Post `
  -Uri "https://api.middle.network/v1/tools/pqc-readiness" `
  -Headers @{ Authorization = "Bearer $env:MN_API_KEY" } `
  -ContentType "application/json" `
  -Body '{"input":{"domain":"cloudflare.com"}}'
$result.status; $result.summary.plain
const res = await fetch("https://api.middle.network/v1/tools/pqc-readiness", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MN_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"input":{"domain":"cloudflare.com"}}),
});
const result = await res.json();
console.log(result.status, result.summary.plain);
import os, requests

res = requests.post("https://api.middle.network/v1/tools/pqc-readiness",
    headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"},
    json={"input": {"domain": "cloudflare.com"}})
result = res.json()
print(result["status"], result["summary"]["plain"])
body := bytes.NewBufferString("{\"input\":{\"domain\":\"cloudflare.com\"}}")
req, _ := http.NewRequest("POST", "https://api.middle.network/v1/tools/pqc-readiness", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("MN_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
io.Copy(os.Stdout, res.Body)
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MN_API_KEY"));
using var content = new StringContent("{\"input\":{\"domain\":\"cloudflare.com\"}}", Encoding.UTF8, "application/json");
var res = await http.PostAsync("https://api.middle.network/v1/tools/pqc-readiness", content);
Console.WriteLine(await res.Content.ReadAsStringAsync());
{
  "input": {
    "domain": "cloudflare.com"
  }
}
Insomnia
200 sample
{
  "tool": "pqc-readiness",
  "target": "cloudflare.com",
  "status": "pass",
  "summary": {
    "tech": "…",
    "plain": "…"
  },
  "findings": [
    {
      "level": "pass",
      "tech": "…",
      "plain": "…"
    }
  ],
  "data": {},
  "ms": 420,
  "at": "2026-01-01T00:00:00.000Z"
}

Put your key in MN_API_KEY. No key yet? Here’s how to get one. Need all 79 endpoints? Download the full Postman collection. More in this group: SSL/TLS checker, Certificate transparency, Certificate / CSR decoder, JA4 fingerprint decoder.

Try it without code

The same test runs free in your browser, no key needed.

Open the Post-Quantum Cryptography (PQC) readiness