FreeAPI.watch

MusicBrainz

The open music encyclopedia — artists, releases, recordings, and relationships, maintained by the MetaBrainz Foundation. The canonical free replacement for the discontinued Echo Nest and the shrinking Spotify metadata endpoints.

Status
🟢 Online · 476 ms
30-day uptime
93.17%
Free tier
No key, 1 request/second, requires an identifying User-Agent
Auth
No key required
Last 30 days

Free alternatives (live ranking)

Compare MusicBrainz with…

Paid alternatives

Official docs ↗

Frequently Asked Questions

Does MusicBrainz require an API key?

No, MusicBrainz is freely accessible without registration or an API key.

What is MusicBrainz's free tier?

No key, 1 request/second, requires an identifying User-Agent

Is MusicBrainz currently online?

We check MusicBrainz every hour. The current status is shown at the top of this page. You can also see the 30-day uptime history in the chart above.

Implementation notes

When to use MusicBrainz

MusicBrainz is the open music metadata database and, more importantly, the ID space the rest of the open music ecosystem is keyed on. Artists, release groups, releases, recordings, works, labels, and the relationships between all of them, with no key and no signup. Use it when you need canonical identity for music entities rather than one vendor's view of them — deduplicating a library, matching a scraped tracklist to real releases, or building anything that will later want cover art, listening history, or audio fingerprinting. The API is deliberately slow and strict because a nonprofit foundation runs it on donated hardware, which makes it a poor fit for per-request user-facing lookups and an excellent fit for a background enrichment job whose results you store permanently. Search uses Lucene syntax, which is genuinely powerful and worth ten minutes of reading before you write your first query rather than after.

Common pitfalls

Quick start (bash)

curl -s -H 'User-Agent: my-app/1.0 ([email protected])' 'https://musicbrainz.org/ws/2/artist?query=artist:Radiohead&fmt=json&limit=1' | jq '.artists[0].id, .artists[0].name'
# that id is the MBID - store it; it joins to Cover Art Archive, ListenBrainz and AcoustID
# 1 req/s enforced: browse 100 releases in one call instead of looping
curl -s -H 'User-Agent: my-app/1.0 ([email protected])' 'https://musicbrainz.org/ws/2/release?artist=a74b1b7f-71a5-4011-9441-d0b5e4122711&limit=100&fmt=json' | jq '.releases | length'

Embed this badge

Add a live status badge to your README, docs, or website.

MusicBrainz status badge

Markdown

[![MusicBrainz Status](https://api.freeapi.watch/badge/musicbrainz.svg)](https://freeapi.watch/musicbrainz)

HTML

<a href="https://freeapi.watch/musicbrainz"><img src="https://api.freeapi.watch/badge/musicbrainz.svg" alt="MusicBrainz Status"/></a>