Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roblox-public-stats

A tiny, dependency-light Python client for Roblox's public, unauthenticated stats endpoints: game/universe visit counts and favorites, concurrent-player counts, group game rosters, and basic user/group lookups.

No login. No cookie. No .ROBLOSECURITY. Nothing that can get an account banned, because there is no account involved -- these are the same read-only JSON endpoints www.roblox.com itself calls to render a game page, called directly.

This exists because every other "Roblox API" package on PyPI is built around the authenticated web API (trading, inventory, messaging -- things that need a login cookie and carry real ban risk for the account behind it). If you just want visit counts, favorite counts, or a group's list of games for analytics, none of that machinery is necessary, and pulling it in is pure risk for no benefit. This package is the other half: read-only, public, no credentials.

Install

pip install roblox-public-stats

Usage

from roblox_public_stats import get_games, get_group_games, get_group_info

# One or many universe IDs -> visits, playing, favoritedCount, etc.
games = get_games([383310974, 994732206])  # Adopt Me, Blox Fruits
for g in games:
    print(g["name"], g["visits"], g["playing"])

# Every public game a group has published. NB: different shape than
# get_games() above -- this endpoint returns placeVisits, not visits/playing.
group_games = get_group_games(295182)  # Uplift Games
for g in group_games:
    print(g["name"], g["placeVisits"])

# Basic group metadata (name, member count, description)
info = get_group_info(295182)

What it wraps

  • games.roblox.com/v1/games?universeIds=... -- batch game details (visits, playing, favoritedCount, maxPlayers, created/updated, genre)
  • games.roblox.com/v2/groups/{groupId}/games -- paginated list of a group's published games (fields: id, name, placeVisits, created, updated -- a different shape than the endpoint above, confirmed against the live API)
  • groups.roblox.com/v1/groups/{groupId} -- group name/description/member count
  • users.roblox.com/v1/users/{userId} -- basic user profile fields

All of these are the same endpoints your browser fetches when you load a public Roblox game or group page. Nothing here requires or accepts a Roblox session cookie.

Why this exists

Built out of a running series of small scripts written to answer real questions about Roblox game economics (visit-count power laws, how much of a studio's traffic sits in one title) -- see roblox-brainrot-genre-economics for the analysis this grew out of. Packaged up because the ad-hoc version of this code had been rewritten three separate times across different scripts.

License

MIT

About

A tiny, dependency-light Python client for Roblox's public, unauthenticated stats API (games, groups, users) -- no cookie, no login, no ban risk.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages