Find servers
GET
/v1/serversServers online now, busiest first, or nearest first with near. Only listed servers, whose player counts were checked against their player lists, unless status=flagged.
Query parameters
Section titled “Query parameters”qstringWords in the server's name or map
mapstringPart of the map name
min_playersintegerAt least this many real players
has_playersbooleanOnly servers with real players
not_fullbooleanOnly servers with a free slot
passwordbooleanfalse for servers without a passwordvacbooleanOnly VAC-secured servers
plugin[]string[]Plugins it runs: SourceMod, AMX Mod X, War3FT…
statusstringlisted (the default) or flagged, the fakes with their reasonssortstringplayers (the default), name, or nearby with neargamestringA game's slug from /v1/games, or its Steam app id
modestringThe game mode, read from the map name (or the plugin, for Warcraft 3)
bomb-defusalhostage-rescuearenasurfclimbzombies+18
countrystringThe server's country, ISO 3166-1 alpha-2
tag[]string[]What it offers, read from its name; all must match
free_vipvippublicclassicdeathmatchrespawn+12
langstringThe language its name says it's in ([RU], [PL]…)
bgcsdeenesfr+8
nearstringThe player's location, latitude,longitude, for nearest first
pageintegerThe page, from 1 Default
1.per_pageintegerHow many on a page Default
25.Response
Section titled “Response”200 A page of servers. The answer is { "data": … }, with meta and links for the pages; data is Server[].
Server
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 |