Leaderboard
GET
/api/v1/leaderboard
const url = 'https://qsafe.sh/api/v1/leaderboard';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/leaderboardThe listed domains with their latest score and 30-day trend. Only domains in the public list are included.
Responses
Section titled “Responses”Leaderboard rows.
Media typeapplication/json
object
domains
Array<object>
object
name
string
domain
string
category
string
score
integer | null
band
label
string | null
ready
True when the band is green.
boolean
scanned_at
string | null format: date-time
trend_30d
Score change over 30 days.
integer | null
scan_id
string | null
Example
{ "domains": [ { "band": "green" } ]}