A game's top servers
GET
/v1/leaderboards/{game}A game’s top servers by average real players over the last 7 days, offline hours counting as empty. Fakes aren’t ranked.
Path parameters
Section titled “Path parameters”gamestring · requiredIts slug or Steam app id
Query parameters
Section titled “Query parameters”per_pageintegerHow many on a page Default
25.Response
Section titled “Response”200 The top servers. The answer is { "data": … }; data is Ranked[].
Ranked
Section titled “Ranked”rankintegeraverage_players_7dnumberserverServerServer
Section titled “Server”addressstringip:port
namestring | nullgameGameRefmapstring | nullmodestring | nullIts game mode
bomb-defusalhostage-rescuearenasurfclimbzombies+18
playersintegerReal players now; bots are counted apart
botsintegermax_playersintegeronlinebooleanstatusstringlisted: checked and real. flagged: its numbers look fake, see flagged_reasons
listedpendingflagged
countrystring | nulltagsstring[]What it offers, read from its name
free_vipvippublicclassicdeathmatchrespawn+12
languagestring | nullThe language its name says it's in
passwordbooleanvacbooleanconnect_urlstringsteam://connect/ip:port, to join
last_checked_atstring | nulllinksobjectGameRef
Section titled “GameRef”app_idintegerslugstringnamestringErrors
Section titled “Errors”Errors are problem details with a detail written to be shown to people.
| Status | When |
|---|---|
400 |
A parameter isn’t valid |
401 |
No API key, or one that isn’t valid or was revoked |
429 |
Over a rate limit (60 a minute, 10000 a day per key); see Retry-After |
503 |
History or rankings are briefly unavailable |