Skip to content

Score history

GET
/api/v1/history/{domain}
curl --request GET \
--url https://qsafe.sh/api/v1/history/example.com

The last 30 public scans of the domain, newest first. Never scans.

domain
required
string

Example

example.com

Hostname, e.g. example.com.

Score history.

Media typeapplication/json
object
domain
required
string

Example

example.com
scans
required
Array<object>
object
id
required

Scan id.

string
created_at
required

Unix time in milliseconds.

integer
score
required
integer
<= 100
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

Example

{
"domain": "example.com",
"scans": [
{
"band": "green"
}
]
}

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