MusicBrainz API
Music
- Our call
- HTTP 200
- Latency
- 630 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://musicbrainz.org/ws/2/artist?query=radiohead&fmt=json&limit=1Press Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://musicbrainz.org/ws/2/artist?query=radiohead&fmt=json&limit=1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://musicbrainz.org/ws/2/artist?query=radiohead&fmt=json&limit=1'import requests
r = requests.get("https://musicbrainz.org/ws/2/artist?query=radiohead&fmt=json&limit=1", timeout=10)
r.raise_for_status()
print(r.json())MusicBrainz docsMore Music APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://musicbrainz.org/ws/2/artist?query=radiohead&fmt=json&limit=1- Result
- HTTP 200 in 630 ms (632 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 3,248 bytes, a JSON object
- Fields
createdcountoffsetartists- Rate-limit headers
- limit 400, remaining 208
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Music
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- musicbrainz.org answered 200 in 5927 ms on 2026-11-06 Measured
MusicBrainz is listed in Music. MusicBrainz needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 34 Music APIs: 9 need no key, 14 need an API key and 11 use OAuth, and 9 of them are marked as allowing browser calls. 4 others have the same setup, such as Bandsintown, Gaana and Genrenator.
MusicBrainz and other Music APIs
| Fact | MusicBrainz (this page) | LRCLIB | Radio Browser | Cucutime | Gaana |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Yes | Yes | Not recorded |
| Our test call Measured by us | 630 ms | 328 ms | 695 ms | Not tested | Not tested |
| Browser call Measured by us | Allowed | Allowed | Allowed | — | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does MusicBrainz need an API key?
MusicBrainz needs no key: you can call it without signing up.
Can I call MusicBrainz from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the MusicBrainz docs?
At https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2. When we checked, the link answered 200 in 5927 ms.
What are some alternatives to MusicBrainz?
Other Music APIs in the list include Bandsintown, Gaana, Genrenator and JioSaavn.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.