Apps

๐ŸŽฎ Get the Player History of One Steam Game

Baseurl: https://www.steamwebapi.com/steam/api/apps/730/players?key=YOUR_API_KEY

๐Ÿ’ฌ **What this endpoint does:**
- Returns the player history of one Steam game: players right now, 24-hour, 7-day, 30-day and all-time peaks, 30-day average and low, gain against the last month, hours played, rank and trend.
- Adds a chart series for the requested range and the monthly table with average players, gain, % gain and peak players back to the game's release (as far as July 2012).
- Includes the daily rank history.

๐Ÿ› ๏ธ **Features:**
- `range=24h`, `7d` and `30d` return hourly values, `90d` and `1y` daily values (average, peak with time, low), `all` monthly values.
- Every value is the mean of the measurements in its hour; peaks and averages derive from those hourly values. `samples` and `hours` show how many measurements stand behind a value.
- Busy games are measured every 5 minutes, games with at least 10 players at least hourly, quieter games less often; `samplinginterval` gives the current interval in seconds.

๐ŸŒ **How to use:**
- Draw a game chart from `series` and a history table from `months`.
- Use the catalog endpoint with `sort=players`, `peak30d`, `change24h` or `peakalltime` for top lists.
get/steam/api/apps/{appid}/players

Request

  • Base URL: https://www.steamwebapi.com
  • URL: https://www.steamwebapi.com/steam/api/apps/{appid}/players
  • Auth: API key in query parameter key

Path parameters

appidstring required

Query parameters

Your API key for authentication. Retrieve it from your Dashboard (top-right corner).

range'24h' | '7d' | '30d' | '90d' | '1y' | 'all'

Chart range: 24h, 7d and 30d hourly, 90d and 1y daily, all monthly.

no_cache'0' | '1'

Bypass the response cache for this request.

formatstring

Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, pgsql, mongo.

pretty'0' | '1'

Pretty-print the JSON response.

Response

Request was successful and the player history is returned.

Changes

No recorded changes to this operation across all 1 revision of this API.