curl
curl qsafe.sh/example.com example.com scanned 2026-12-05 09:12 UTC
92/100 Quantum-ready Post-quantum key exchange is on and preferred.
Key exchange X25519MLKEM768 post-quantum TLS versions 1.2, 1.3 Certificate ECDSA 256 · 61 days left · valid HSTS max-age 31536000, includeSubDomains Served by Cloudflare
Full report: https://qsafe.sh/r/example.com?scan=m4k2x9c1a7 JSON: curl qsafe.sh/example.com?json Rescan: curl qsafe.sh/example.com?freshPlain http:// works for curl, so you don’t need to type https://. Browsers are redirected to HTTPS and to the full report page.
Options
Section titled “Options”Add these as query parameters. You can combine them, e.g. ?fresh&json.
| Option | What it does |
|---|---|
?json |
The full report as JSON, the same as /api/v1/scan. |
?fresh |
Run a new scan instead of reusing a result under an hour old. Counts against limits. |
?private |
Don’t publish the result: no permalink history, badge, share image or certificate. Always runs fresh. |
?plain |
No ANSI colours, for logs and CI. |
?scan=<id> |
Show a specific earlier scan. |
Fail a build when the score drops below a threshold:
score=$(curl -fsS "https://qsafe.sh/api/v1/scan?domain=example.com" | jq .score)echo "qsafe score: $score"test "$score" -ge 85Use /api/v1/result/<domain> instead if you only want to read the last saved score without scanning.