ROBLOX Web API

Pagination

Long lists come back a page at a time, linked by an opaque cursor — never an offset you compute yourself.

How a page is shaped#

A paged endpoint answers with the page and two cursors:

A page
{
  "previousPageCursor": null,
  "nextPageCursor": "eyJvIjoxMH0",
  "data": [
    {
      "id": 1,
      "name": "Roblox"
    }
  ]
}

previousPageCursor is null on the first page; nextPageCursor is null on the last one. Treat both as opaque tokens — pass one back exactly as received in the cursor query parameter to get the next or previous page. Do not parse, store the meaning of, or construct one yourself; what is inside is an internal detail this API may change without notice, and a hand-built cursor is not guaranteed to be accepted.

Page size#

limit accepts exactly four values:

limit
10
25
50
100

10 is the default when limit is omitted. Anything else — 0, a negative number, 11, 10000 — is a 400, not a silent clamp, with the general-purpose body (see Errors):

400 Bad Request — an out-of-range limit
{
  "errors": [
    {
      "code": 0,
      "message": "Something went wrong with the request, see response status code."
    }
  ]
}

Sort order#

Where an endpoint’s own reference lists a sortOrder parameter, it accepts Asc (the default) or Desc, matched case-insensitively — desc, DESC and Desc are all the same request. Anything else is the same 400 as an out-of-range limit.

Following the cursor to the end#

Keep requesting with the last response’s nextPageCursor until it comes back null:

Walk every page
key="rbx_live_YOUR_KEY"
base="http://rbx.jumpathy.dev/v2/api/users/v1/users/search?keyword=bob&limit=100"
cursor=""

while :; do
  url="$base"
  [ -n "$cursor" ] && url="$base&cursor=$cursor"
  page=$(curl -s -H "Authorization: Bearer $key" "$url")
  echo "$page" | jq '.data[]'
  cursor=$(echo "$page" | jq -r '.nextPageCursor // empty')
  [ -z "$cursor" ] && break
done

Multi-get: many ids in one call#

A handful of endpoints answer many ids at once instead of paging — always a POST (so a large id list can go in the body, not a URL) and always shaped as { data: [...] }, never a bare array:

Request
{
  "userIds": [
    1,
    156,
    999999999
  ]
}
Response
{
  "data": [
    {
      "id": 1,
      "name": "Roblox"
    },
    {
      "id": 156,
      "name": "builderman"
    }
  ]
}

Notice id 999999999 went in and came back absent, not as an error entry. A multi-get never fails for an individual id that does not exist — missing ids are simply missing from data. Each endpoint caps how many ids one call accepts; going over the cap is the one way a multi-get itself 400s.