Skip to content

Latest saved result

GET
/api/v1/result/{domain}
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.

domain
required
string

Example

example.com

Hostname, e.g. example.com.

scan
string

Example

m4k2x9c1a7

A scan id from an earlier response.

The saved report.

Media typeapplication/json
object
scan_id
required
string

Example

m4k2x9c1a7
permalink
required
string format: uri

Example

https://qsafe.sh/r/example.com?scan=m4k2x9c1a7
cached
required

True when a saved result was returned.

boolean
private
required
boolean
domain
required
string

Example

example.com
methodology_version
string

Example

1
scanned_at
string format: date-time
score
required
integer
<= 100

Example

92
band
required

Green 85-100 (Quantum-ready), yellow 65-84 (Almost ready), orange 40-64 (Not yet), red 0-39 (Not yet, at risk).

string
Allowed values: green yellow orange red
label
required
string

Example

Quantum-ready
verdict

One-sentence summary.

string
breakdown
object
key_exchange
integer
<= 45
protocol
integer
<= 20
certificate
integer
<= 20
transport
integer
<= 15
caps_applied
Array<string>
key_exchange
required
object
negotiated
string | null

Example

X25519MLKEM768
post_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
Allowed values: cdn platform server
evidence
Array<string>
findings
required
Array<object>
object
id
required
string
severity
required
string
Allowed values: high medium low info pass
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:blank
title
required
string

Example

rate_limited
status
required
integer

Example

429
detail
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:blank
title
required
string

Example

rate_limited
status
required
integer

Example

429
detail
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."
}