Latest saved result
GET
/api/v1/result/{domain}
const url = 'https://qsafe.sh/api/v1/result/example.com?scan=m4k2x9c1a7';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://qsafe.sh/api/v1/result/example.com?scan=m4k2x9c1a7'Returns the newest public result for the domain, or a specific scan with scan. Never scans.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
Example
example.comHostname, e.g. example.com.
Query Parameters
Section titled “Query Parameters”scan
string
Example
m4k2x9c1a7A scan id from an earlier response.
Responses
Section titled “Responses”The saved report.
Media typeapplication/json
object
scan_id
required
string
Example
m4k2x9c1a7permalink
required
string format: uri
Example
https://qsafe.sh/r/example.com?scan=m4k2x9c1a7cached
required
True when a saved result was returned.
boolean
private
required
boolean
domain
required
string
Example
example.commethodology_version
string
Example
1scanned_at
string format: date-time
score
required
integer
Example
92band
required
Green 85-100 (Quantum-ready), yellow 65-84 (Almost ready), orange 40-64 (Not yet), red 0-39 (Not yet, at risk).
string
label
required
string
Example
Quantum-readyverdict
One-sentence summary.
string
breakdown
object
key_exchange
integer
protocol
integer
certificate
integer
transport
integer
caps_applied
Array<string>
key_exchange
required
object
negotiated
string | null
Example
X25519MLKEM768post_quantum
boolean
pq_groups_supported
Array<string>
prefers_pq
boolean
tls_versions
object
key
additional properties
boolean
certificate
object
subject
string
issuer
string
sans
Array<string>
not_before
string format: date-time
not_after
string format: date-time
days_left
integer
key_type
string
key_bits
integer
signature_algorithm
string
chain_length
integer
valid
boolean
validate_error
string
hsts
object
present
boolean
max_age
integer | null
include_subdomains
boolean
preload
boolean
http_redirects_to_https
boolean | null
stack
What terminates TLS, edge first.
Array<object>
object
id
string
name
string
kind
string
evidence
Array<string>
findings
required
Array<object>
object
id
required
string
severity
required
string
title
required
string
saw
required
What we saw in this scan.
string
why
required
Why it matters.
string
fix
required
What to do next.
string
snippet
Copy-paste config for the detected stack.
string
snippet_where
Where the snippet goes.
string
fix_guide
The stack guide the advice came from.
string
dns
object
ip
string
ipv4
Array<string>
ipv6
Array<string>
cnames
Array<string>
scan_ms
integer
Example
{ "scan_id": "m4k2x9c1a7", "permalink": "https://qsafe.sh/r/example.com?scan=m4k2x9c1a7", "domain": "example.com", "methodology_version": "1", "score": 92, "band": "green", "label": "Quantum-ready", "key_exchange": { "negotiated": "X25519MLKEM768" }, "tls_versions": { "TLS 1.0": false, "TLS 1.1": false, "TLS 1.2": true, "TLS 1.3": true }, "stack": [ { "kind": "cdn" } ], "findings": [ { "id": "KEX_CLASSICAL_ONLY", "severity": "high" } ]}Nothing saved for that domain or scan.
Media typeapplication/problem+json
object
type
required
string
Example
about:blanktitle
required
string
Example
rate_limitedstatus
required
integer
Example
429detail
required
string
Example
Too many scans from your network. Try again in a minute.Example
{ "type": "about:blank", "title": "rate_limited", "status": 429, "detail": "Too many scans from your network. Try again in a minute."}Not a valid public hostname, or it can’t be scanned (e.g. private IP, no HTTPS).
Media typeapplication/problem+json
object
type
required
string
Example
about:blanktitle
required
string
Example
rate_limitedstatus
required
integer
Example
429detail
required
string
Example
Too many scans from your network. Try again in a minute.Example
{ "type": "about:blank", "title": "rate_limited", "status": 429, "detail": "Too many scans from your network. Try again in a minute."}