Skip to content

Instantly share code, notes, and snippets.

@Decicus
Last active November 26, 2023 00:05
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Decicus/5d6eb057da4b5f228a4f1c2334ce1e2f to your computer and use it in GitHub Desktop.
Save Decicus/5d6eb057da4b5f228a4f1c2334ce1e2f to your computer and use it in GitHub Desktop.
Steam - GetServerList (DayZ)

GetServerList

  • API endpoint: https://api.steampowered.com/IGameServersService/GetServerList/v1/?filter=\gamedir\dayz\name_match\*Experimental*&limit=5000&key=
  • The filter parameter can be any of these: https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol#Filter
  • The limit parameter is maximum amount of servers to return. I haven't tested anything higher than 10000 (ten thousand).
    • It seems this accepts pretty much any number, but the highest amount of servers I've gotten listed is 20,000 (twenty thousand).
  • The key parameter is your Steam API key, which I'm sure you already have, but if not: https://steamcommunity.com/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment