BYTETOOLS

Rblxdb (Roblox IDs) API

Free Roblox API with no key: searchable music codes and decal IDs, each checked and flagged as working or not, with artist, genre and duration. Tested live example.

No API key requiredCORS enabledHTTPSFree tier

Endpoint tested and returned HTTP 200 on 2026-08-21

What is the Rblxdb (Roblox IDs) API?

Rblxdb is a free, key-free API serving verified Roblox music codes and decal IDs. Each record carries the asset id, name, artist, genre and duration, plus an `isWorking` flag and the timestamp of when that status was last checked.

Roblox asset lists rot faster than almost any other kind of game data, because audio and decals are moderated and removed continuously. A code that worked last month may simply do nothing today. Rblxdb exists for the `isWorking` boolean and the `verifiedAt` timestamp beside it — our capture showed entries re-checked within the previous day. Any list without those two fields is, in practice, a list of guesses.

Attribution is built into the payload rather than buried in terms of service: every response includes an `attribution` object with plain text, a URL and a ready-made HTML anchor, which the licence asks you to display. Note also that asset ids are strings, deliberately — Roblox ids have grown past the range JavaScript numbers hold exactly, so parsing `"93678463857913"` as a number is a precision bug waiting to happen. Responses are cached for an hour, and the free terms cover non-commercial projects.

Quick facts

Base URL
https://rblxdb.com/api/v1
Authentication
No key or account, and cross-origin requests are allowed, so browser code can call it directly. The licence covers non-commercial use and asks that you display the attribution block returned with each response.
Rate limit
No rate-limit headers are returned. Responses are cached for an hour upstream, so repeated identical queries cost little.
Pricing
Free for non-commercial projects.
CORS
Enabled — callable directly from browser JavaScript
Official docs
Read the docs

How to use the Rblxdb (Roblox IDs) API

Every request below was executed against the live API on 2026-08-21, and the response shown is the real body it returned — not an illustration.

1. Search Roblox music codes for a genre

GET https://rblxdb.com/api/v1/songs?q=phonk&limit=2

curl
curl 'https://rblxdb.com/api/v1/songs?q=phonk&limit=2'
JavaScript (fetch)
const res = await fetch("https://rblxdb.com/api/v1/songs?q=phonk&limit=2");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();
console.log(data);
Python (requests)
import requests

res = requests.get("https://rblxdb.com/api/v1/songs?q=phonk&limit=2", timeout=20)
res.raise_for_status()
print(res.json())
Response — HTTP 200
{
  "count": 2,
  "source": "https://rblxdb.com",
  "attribution": {
    "text": "Roblox ID data from rblxdb",
    "url": "https://rblxdb.com",
    "html": "<a href=\"https://rblxdb.com/music\" rel=\"noopener\">Roblox music codes by rblxdb</a>"
  },
  "songs": [
    {
      "id": "93678463857913",
      "name": "Phonk Empire Ride",
      "artist": "TRXPHONK",
      "genre": "dance",
      "durationSec": 121,
      "upVotes": 0,
      "isWorking": true,
      "verifiedAt": "2026-08-20T08:33:13.839Z",
      "url": "https://rblxdb.com/music/phonk-empire-ride-93678463857913"
    },
    {
      "id": "86546408922506",
      "name": "Soccer Champions (Brazilian Phonk)",
      "artist": "Phylum Digital",
      "genre": "dance",
      "durationSec": 30,
      "upVotes": 0,
      "isWorking": true,
      "verifiedAt": "2026-08-19T21:33:18.309Z",
      "url": "https://rblxdb.com/music/soccer-champions-brazilian-phonk-86546408922506"
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
qqueryOptionalSearch term matched against song or decal names. phonk
genrequeryOptionalFilter music results by genre. dance
workingqueryOptionalRestrict results to codes currently verified as working. true
themequeryOptionalFilter decals by theme on the `/decals` endpoint. anime
limitqueryOptionalNumber of results, 1 to 100. 2

Response fields

countinteger
Number of records returned in this response.
sourcestring
The origin site, echoed for attribution purposes.
attributionobject
`text`, `url` and a pre-built `html` anchor. The licence asks you to display one of these alongside the data.
songs[].idstring
The Roblox asset id, as a STRING. Roblox ids exceed the range JavaScript numbers represent exactly — never parse it as a number.
songs[].name / artist / genrestring
Track metadata. Genre is a small controlled vocabulary suitable for filtering.
songs[].durationSecinteger
Track length in seconds, which is genuinely numeric unlike the id.
songs[].upVotesinteger
Community votes. Frequently zero on newer entries, so do not sort by it alone.
songs[].isWorkingboolean
Whether the code still resolves on Roblox. The single most valuable field here.
songs[].verifiedAtstring
ISO 8601 timestamp of the last check. Read it alongside `isWorking` — an old check on a true flag is weaker evidence than a recent one.

What you can build with the Rblxdb (Roblox IDs) API

  • Build a searchable Roblox music code directory
  • Filter a code list down to entries verified as still working
  • Add a decal ID lookup to a builder's toolkit
  • Show track duration and artist alongside a code in a Roblox game UI
  • Refresh a cached code list nightly and flag newly broken entries

Common errors and how to fix them

404

Wrong path, or a URL missing the version segment.

Fix: The routes are `/api/v1/songs` and `/api/v1/decals`; unversioned paths return the site's HTML page instead.

Truncated or wrong asset ids

`id` was parsed as a number.

Fix: Keep it a string end to end. Roblox ids are long enough that a numeric round-trip silently changes the last digits.

An empty result set

The combination of `q`, `genre` and `working` matched nothing.

Fix: Drop `working=true` first when debugging — the verified set is smaller than the full catalogue.

Stale working status

`verifiedAt` is old for that record.

Fix: Surface the check date next to the status rather than presenting `isWorking` as absolute; moderation can remove an asset at any time.

Rblxdb (Roblox IDs) API — frequently asked questions

Is there a free Roblox music codes API?

Yes. Rblxdb serves searchable music codes and decal IDs with no key, no account and cross-origin requests allowed, so it can be called straight from browser JavaScript. It is free for non-commercial projects.

How does it know whether a code still works?

It re-checks entries against Roblox and records the outcome in `isWorking` with a `verifiedAt` timestamp. Read both — a true flag verified months ago is much weaker evidence than one verified yesterday.

Why is the asset id a string?

Because Roblox asset ids have grown beyond the range JavaScript can represent exactly as a number. Parsing them numerically corrupts the trailing digits, so the API returns strings and you should keep them that way.

Do I have to credit rblxdb?

The terms ask you to, and the API makes it easy — every response contains an `attribution` object with plain text, a URL and a ready-made HTML anchor you can drop into your page.

Tools that pair with this API

Rblxdb (Roblox IDs) is an independent third-party service and is not affiliated with ByteTools or ByteVancer. Details on this page were verified on 2026-08-21; always check the official documentation before relying on this API in production, as terms and limits can change.