Roblox experience
A Roblox experience (game) by place id or universe id: name, description, link, creator, players online now, visits, favourites, up and down votes and like ratio, max players per server, genre, price, created and updated dates, icon, thumbnails, social links and game passes with prices. With include=servers (one more read) also servers: public servers right now with server id, players, max players, frame rate and ping.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
place_id | string | Place id, the number in roblox.com/games/<place_id> (2753915549 = Blox Fruits). Example: 2753915549 |
universe_id | string | Universe id instead of place_id. |
include | servers | servers: add the public servers list. |
servers_limit | integer | How many servers with include=servers: 10, 25 (default), 50 or 100. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/roblox/v1/game?place_id=2753915549" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/roblox/v1/game",
params={"place_id": "2753915549"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/roblox/v1/game");
url.searchParams.set("place_id", "2753915549");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).