SteamDB Data API
Pull Steam app details, live player-count charts, patch history, active promotions, and current sales from SteamDB โ structured JSON via Anysite's REST API. No SteamDB account required.
What SteamDB data unlocks
SteamDB (steamdb.info) is the community's authoritative view into the Steam catalog โ a layer on top of Valve's platform that exposes data not available from Steam's own API: real-time and all-time peak player counts for every game, historical price lows, current and upcoming sales with discount percentages and expiry dates, active free-game promotions, and full build/patch history by app ID. Anysite wraps SteamDB's six data surfaces into structured REST endpoints: per-app details with review counts, player statistics, genre tags, and lowest price ever recorded; patch and build history (every update ID, title, and publication timestamp); full-text catalog search; the live player-count leaderboard ranked in real time; the current free-game promotions list; and the full active-sales feed with historical-low flags. All returned as structured JSON โ no scraping, no fragile SteamDB session, no Valve rate-limit fights.
All SteamDB Endpoints
| Endpoint | What It Returns |
|---|---|
/api/steamdb/apps |
Full SteamDB app record by Steam app ID โ name, type, developer, publisher, genres, tags, categories, review counts (positive/negative/total), current players, 24h and all-time peak player counts, current price, historical low price, DLC count, depot count, Steam Deck compatibility, and Steam store URL. |
/api/steamdb/apps/patches |
Build and patch history for a Steam application โ each entry includes the build ID, patch title, publication timestamp (Unix), URL, and a flag indicating whether full patch notes are available. |
/api/steamdb/apps/search |
Search the SteamDB catalog by keyword โ returns ranked app results with app ID, name, image URL, SteamDB page URL, Steam store availability flag, Steam store URL, and last-updated timestamp. |
/api/steamdb/charts |
Live SteamDB player-count leaderboard โ returns the top N games ranked by current player count, each with rank, app ID, name, image URL, current players, 24h peak, and all-time peak. |
/api/steamdb/promotions |
Current free-game promotions and giveaways on Steam โ each record includes app ID, sub ID, name, promotion type, image URL, SteamDB page URL, and start/end timestamps for the promotion window. |
/api/steamdb/sales |
Current discounted Steam games โ each record includes app ID, name, image URL, discount percentage, current price, deal type, rating, release date, historical-low flag, Steam store URL, and sale end/start timestamps. Optionally filter by minimum discount percentage. |
What You Can Build
Game deal tracker
Monitor the live sales feed and compare against historical low prices to surface the best current deals. The is_historical_low flag on every sales record tells you instantly whether a discount is a record low โ no additional lookups required.
Player analytics dashboard
Pull the live player-count leaderboard and per-app player stats to track which titles are gaining or losing audiences. Combine the current-players field with all-time peak to compute an "activity ratio" for market-sizing or competitor benchmarking.
Game release monitoring
Watch the patch history endpoint for any app to detect updates, major releases, and DLC drops the moment they hit Steam. Pair with the full app record to check whether a patch ships alongside a price change or a review-score shift.
Free game alert system
Poll the promotions endpoint to catch free-game giveaways before they expire. Each record includes precise start and end timestamps so you can alert users only during the active promotion window and automatically dismiss expired offers.
Quick Start
Authenticate every request with your Anysite API key in the access-token header. All endpoints accept POST with a JSON body.
# Get full app record for CS2 (app ID 730)
curl https://api.anysite.io/api/steamdb/apps -H "access-token: YOUR_API_KEY" -d '{"appid": 730}'
# Get the live top-10 player-count chart
curl https://api.anysite.io/api/steamdb/charts -H "access-token: YOUR_API_KEY" -d '{"count": 10}'
# Get current Steam sales with at least 50% discount
curl https://api.anysite.io/api/steamdb/sales -H "access-token: YOUR_API_KEY" -d '{"count": 20, "min_discount": 50}'
# Find active free game promotions
curl https://api.anysite.io/api/steamdb/promotions -H "access-token: YOUR_API_KEY" -d '{"count": 10}'
# Search the catalog for a title
curl https://api.anysite.io/api/steamdb/apps/search -H "access-token: YOUR_API_KEY" -d '{"query": "portal", "count": 5}'
# Get patch history for Portal 2 (620)
curl https://api.anysite.io/api/steamdb/apps/patches -H "access-token: YOUR_API_KEY" -d '{"appid": 620, "count": 10}'
Plans
Every SteamDB endpoint is included in all Anysite plans โ there's no per-endpoint pricing to track. Use MCP Unlimited for flat-rate access through your AI tools, or a credit plan for REST & CLI at scale.
Frequently Asked Questions
/api/steamdb/charts endpoint and the players_now field in /api/steamdb/apps reflect SteamDB's live leaderboard, which is updated in near real-time by SteamDB's own data pipeline. Typical freshness is within a few minutes of the actual Steam player count./api/steamdb/apps response includes a price object with four fields: currency (e.g. "USD"), current_price, converted_price (in your local currency), and lowest_price โ the all-time historical low recorded by SteamDB. Note that for free-to-play titles (such as CS2), both current_price and converted_price return null; only lowest_price is populated. The sales endpoint adds an is_historical_low boolean flag so you can surface record-deal games in a single query.min_discount (integer, percentage) in the /api/steamdb/sales request to return only games discounted at least that much. For example, "min_discount": 75 returns only titles at 75% off or more. Combine with a high count to scan the full active sale list in one call./api/steamdb/apps/patches endpoint returns the SteamDB build history for a Steam application โ each build entry includes a numeric build ID, a title, the Unix publication timestamp, the SteamDB URL for that build, and a boolean indicating whether Valve published patch notes for it. This covers the full history tracked by SteamDB, not just recent patches.Related Endpoints
Start querying SteamDB data today
App details, player counts, patch history, active promotions, and sale pricing โ via REST, MCP, or CLI. No SteamDB account required.