Skip to content

Saved results for many domains

POST
/api/v1/bulk
curl --request POST \
--url https://qsafe.sh/api/v1/bulk \
--header 'Content-Type: application/json' \
--data '{ "domains": [ "example.com", "cloudflare.com" ] }'

Looks up saved results for up to 50 domains in one call. It never scans: for each domain with status: not_scanned, call the scan URL it gives you (rate limits apply per scan). This is how the /bulk page works.

Media typeapplication/json
object
domains
required

An array of domains, or one string separated by spaces, commas or new lines.

One of:
Array<string>
<= 50 items

Example

{
"domains": [
"example.com",
"cloudflare.com"
]
}

One entry per input, duplicates removed.

Media typeapplication/json
object
count
required
integer
results
required
Array
One of:
Saved
object
domain
string
status
Allowed value: saved
score
integer
band

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
string
kex
string | null
scanned_at
string format: date-time
scan_id
string
permalink
string format: uri

Example

{
"results": [
{
"status": "saved",
"band": "green"
}
]
}

The request body isn’t valid.

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