Statroblox API
Everything on Statroblox, from your own code: live players every five minutes, history, leaderboards, creators, trending events and revenue estimates for every game we index. JSON over HTTPS, read-only, with an API key that comes with Pro ($9/month). Any list or history on the site also downloads as CSV.
Get a key
On Pro, open your account and create a key. It starts with sr_ and is shown once: we store only a hash of it, so copy it somewhere safe. You can have up to 5 keys and revoke any of them at once. Keep keys on a server; don’t put one in a web page or an app.
Make a request
Base URL https://statroblox.com/api/v1/public. Send the key in the Authorization header:
curl -H "Authorization: Bearer sr_…" \ "https://statroblox.com/api/v1/public/leaderboards/trending?limit=10"
const res = await fetch("https://statroblox.com/api/v1/public/games/994732206", {
headers: { Authorization: `Bearer ${process.env.STATROBLOX_KEY}` },
})
const game = await res.json() // { name, playing, estRevenue30d, ... }Endpoints
All GET, relative to the base URL. They take the same parameters and return the same JSON as the pages of this site (games carry universeId, the id in every other endpoint).
/games?q=&genre=&sort=&page=&pageSize=- Search and filter every indexed game (Discover). Paged; sort by players, visits, revenue, RPV, rating and more.
/games/{universeId}- One game in detail: players, visits, ratings, revenue estimate with range and confidence, monetization, ranks, passes, codes.
/games/{universeId}/history?metric=&range=- Players, visits, favorites, like ratio or up votes over 1d, 1w, 1m or all time.
/games/{universeId}/visits-daily?range=- Daily visit counts.
/games/{universeId}/similar- Competitors: same genre, nearest by players.
/games/{universeId}/insights- All-time peak, 7- and 30-day averages, busiest hour, genre rank, the creator's other games.
/leaderboards/{kind}?limit=- earning, engagement, playing, rpv, new-rising, established, trending, chart (up to 500 games).
/creators/{user|group}/{id}- A creator's games and totals.
/feed?limit=- Trending events: surges, drops, new entries, updates and milestones.
/genres- Genres and subgenres with game and player counts.
/platform/stats- Players across every tracked game right now, with the 24-hour change and peak.
/lists, /lists/{id}- Your own lists and their games.
Limits
- 60 requests a minute and 10,000 a day (UTC) per key. Each response carries
X-Quota-LimitandX-Quota-Remaining. - Numbers refresh every five minutes for tracked games and every few hours for the rest of the catalog: poll accordingly.
- Revenue, RPV and playtime are estimates; see the methodology.
Errors
Errors are JSON: { "error": { "code": "…", "message": "…" } }
401 invalid_api_key- No key, a malformed key, or a revoked one.
402 pro_required- The key's account is no longer on Pro.
429 rate_limited- More than 60 requests in a minute. Wait for Retry-After seconds; these don't count against the daily quota.
429 quota_exceeded- The key used its 10,000 requests for the day. The quota resets at 00:00 UTC (Retry-After says when).
400, 404- A bad parameter, or a game we don't index. The message says which.
CSV export
Add format=csv to /games, /leaderboards/{kind}, /creators/…, /lists/{id} or /games/{id}/history to get a spreadsheet instead of JSON. On the site, the CSV button on Discover, every leaderboard, your lists and a game’s player chart does the same. Search exports hold up to 1,000 games (pageSize, default 500); a history export has every metric of the chosen range in one file.
curl -H "Authorization: Bearer sr_…" -o playing.csv \ "https://statroblox.com/api/v1/public/leaderboards/playing?limit=500&format=csv"
Without Pro, CSV downloads on the site still work, with the revenue columns left empty except for the games you’ve unlocked.
Free alternatives
For questions in Claude, ChatGPT and other assistants, the MCP connector is free and needs no key. Questions about the API: support@statroblox.com.