Tutorial · Games
Track Steam's most played games and player counts
Get Steam's most played games chart as records: rank, title, current players, today's peak players, price and store link. Run it every hour or day to see which games gain or lose players.
What you get
Each result is one record. The main fields:
rankPosition in the most played chart.titleThe game.current_playersPlayers in the game right now.peak_playersToday's highest player count.pricePrice as the store shows it, such as Free To Play.urlThe game's Steam store page.
A real record from a run on 26 November 2026, shortened:
{
"rank": 1,
"title": "Counter-Strike 2",
"current_players": 634139,
"peak_players": 1207614,
"price": "Free To Play",
"url": "https://store.steampowered.com/app/730/CounterStrike_2?snr=1_7001_7005__7003"
}
The API page lists every field with its type.
Try it without code
-
Open the API page
Go to the Steam Most Played Games API in the catalog and check its sample records.
-
Run it live
Pick the inputs and click Run live. A live run in the page returns up to 3 records and needs no account; sign up to run more. New accounts get 5,000 free records.
-
Download the records
Copy the JSON, or turn it into a spreadsheet with the free JSON to CSV converter.
Run it from code
Create an API key under API keys in the console with the run scope, then send one request. No input is needed for the full chart. enrich_records set to true also reads each game's store page for its description and tags, which takes longer; search keeps only games matching some words.
curl https://api.cleanedweb.com/v1/catalog/public/apis/generated_f80d01628134b88658420cf2/endpoints/generated_f80d01628134b88658420cf2_search/run \
-H "Authorization: Bearer $CLEANEDWEB_API_KEY" \
-H "Idempotency-Key: steam-player-counts-$(date +%s)" \
-H "Content-Type: application/json" \
-d '{"input":{"enrich_records":false},"max_items":100}'
The same run in Python. A run that takes longer than the request waits answers 202; the loop reads its result with the same idempotency key, so nothing runs twice.
import os, time, uuid, requests
API = "https://api.cleanedweb.com/v1/catalog/public/apis/generated_f80d01628134b88658420cf2/endpoints/generated_f80d01628134b88658420cf2_search"
headers = {"Authorization": f"Bearer {os.environ['CLEANEDWEB_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4())}
r = requests.post(f"{API}/run", headers=headers, timeout=120,
json={"input": {"enrich_records":False}, "max_items": 100})
while r.status_code == 202: # still running: read the result with the same key
time.sleep(int(r.headers.get("Retry-After", 10)))
r = requests.get(f"{API}/result", headers=headers, timeout=120)
r.raise_for_status()
for record in r.json()["records"]:
print(record["rank"], record["title"], record["current_players"])
Runs are charged per record delivered ($1 per 1,000); a run that returns nothing costs nothing. See Run a catalog API for every option and scheduled runs to run it every day.
Use it from AI assistants and automation tools
- Claude Connect CleanedWeb and ask: “Show me Steam's ten most played games right now with their current and peak player counts.”
- ChatGPT Add the connector and ask the same question in a chat.
- n8n Run the API from the verified CleanedWeb node, one item per record, on a schedule.
- Agent prompts Ready-made prompts for this API, such as an export to a spreadsheet.
Questions
How often does the chart change?
Steam updates player counts continuously. Schedule a run every hour or every day and store each run with its time to build a history.
Can I get player counts for one game only?
The chart lists the most played games. Use search to keep the games that match a name, or the Steam Game Details API for one game's store page.
Is it legal to scrape this data?
CleanedWeb reads public pages only, without signing in. Whether you may collect and reuse the data depends on the site's terms and the law where you operate, so check both, and handle any personal data accordingly. CleanedWeb is not affiliated with the site.
What happens when the site changes?
The API is maintained: CleanedWeb checks it and repairs the extraction when the site's pages change, and keeps the fields stable within a major version. See source changes.
Related
- Scrape Steam reviews Every review of a game, with playtime and votes.
- Track PlayStation Store prices Prices and discounts on the PlayStation Store.
More tutorials
-
Scrape Steam reviews
Every review of a game, with recommendation, votes and playtime.
-
Track PlayStation Store prices
Base price, sale price and free status of PlayStation games.
-
Scrape AliExpress reviews
Ratings, translated review text, variant and buyer country.
Need data from another site?
Browse the catalog of maintained website APIs, or ask for a site it does not cover yet. 5,000 records are free once; after that you pay per record delivered.