MusicBrainz Scraper — 6 Entity Types · Tags & Aliases avatar

MusicBrainz Scraper — 6 Entity Types · Tags & Aliases

Pricing

from $2.00 / 1,000 record scrapeds

Go to Apify Store
MusicBrainz Scraper — 6 Entity Types · Tags & Aliases

MusicBrainz Scraper — 6 Entity Types · Tags & Aliases

Search MusicBrainz artists, releases, release-groups, recordings, labels and works. Tags, aliases, life-span, MBIDs. No login, no API key, handles rate limiting for you.

Pricing

from $2.00 / 1,000 record scrapeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

19 days ago

Last modified

Features

Limited permissions

Share

MusicBrainz Scraper — Artists, Releases & Works · 6 Entity Types

Why use this scraper

MusicBrainz is the largest open, community-maintained music metadata database on the web, the backend that tags your music player and powers dozens of commercial catalogs, and it does have a public API. The friction is everything around it: the official API enforces a strict 1 request/second rate limit per client, requires a specific User-Agent header format or it silently rejects requests, and returns deeply nested XML or JSON that needs its own parsing layer before it's usable. For anyone who just wants a clean list of artists, releases or recordings matching a query, building that plumbing is pure overhead before any real work starts.

This actor wraps the MusicBrainz search API across all six of its entity types, artist, release, release-group, recording, label and work, handles the rate limiting and request formatting, and returns flat, ready-to-use JSON records with names, types, countries, life-spans, tags, aliases and MusicBrainz IDs (MBIDs). No API key, no account, no rate-limit bookkeeping on your side.

Overview

Input is a single entity type and a free-text query. Output is one record per matching entity, ranked by MusicBrainz's own relevance score, up to maxItems. A search for an artist like "radiohead" returns the exact match first, followed by same-named or related entities MusicBrainz's search considers plausible matches, each with its own score so you can filter low-confidence hits out downstream. Because MusicBrainz's data is community-curated and deliberately comprehensive, records carry rich detail: full tag sets (genres and descriptive terms attached by the community), aliases in multiple scripts and languages, and precise life-span dates.

Pricing is pay-per-record plus a small per-run start fee, so a 100-record pull costs the same whether it takes one API call or several behind the scenes to assemble.

Supported inputs

  • entity (required): one of artist, release, release-group, recording, label, work. Determines both which MusicBrainz index is searched and which fields the resulting records carry.
  • query (required): the full-text search term, matched against the chosen entity type's name, title or related fields using MusicBrainz's own search relevance ranking.
  • maxItems: maximum records to return, default 100, up to 2000 for bulk catalog pulls.
  • debug: verbose run logs, off by default.

Use cases

  • Music streaming and library apps resolving a user-entered artist or album name to a canonical MBID, then using that ID to cross-reference other MusicBrainz-linked databases (cover art, lyrics, relationships).
  • Catalog deduplication for labels and distributors reconciling internal artist or release names against MusicBrainz's canonical records, using aliases to catch alternate spellings and transliterations.
  • Metadata enrichment pipelines backfilling genre tags, country of origin and life-span dates for an existing music catalog that only has bare artist or track names.
  • Discography and fan-site builders pulling a complete, tagged list of an artist's releases or recordings (entity: "release" or "recording" with the artist's name as the query) instead of maintaining it by hand.
  • Academic and industry researchers studying genre tagging patterns or the relationships between artists, labels and works at scale, since tags reflect genuine community folksonomy rather than a fixed taxonomy.

How it works

The actor queries the MusicBrainz web service search endpoint for the selected entity type with the given query, respecting MusicBrainz's required request pacing and identification so requests are served normally rather than throttled or blocked. The raw JSON MusicBrainz returns is flattened into one record per match: names, MBIDs, disambiguation text (MusicBrainz's way of distinguishing same-named entities), type, country, life-span, tags, aliases and the match score, with entity-specific fields included only when that entity type carries them (a release record, for example, carries different fields than an artist record).

Input configuration

Example 1, search for an artist

{
"entity": "artist",
"query": "radiohead",
"maxItems": 20
}

Example 2, search for a release (album)

{
"entity": "release",
"query": "OK Computer",
"maxItems": 10
}

Example 3, search for a recording (track)

{
"entity": "recording",
"query": "Paranoid Android",
"maxItems": 15
}

Example 4, search for a record label

{
"entity": "label",
"query": "XL Recordings",
"maxItems": 10
}

Output sample

Real output from an artist / "radiohead" run (2026-11-06):

{
"entity": "artist",
"mbid": "a74b1b7f-71a5-4011-9441-d0b5e4122711",
"name": "Radiohead",
"score": 100,
"disambiguation": null,
"tags": ["rock", "electronic", "post-rock", "alternative rock", "experimental", "british", "indie rock", "britpop", "art rock", "oxford"],
"type": "Group",
"country": "GB",
"lifespan": { "begin": "1991", "ended": null },
"sortName": "Radiohead",
"aliases": ["Radiohead", "r/head", "レディオヘッド", "Radiohead & Thom Yorke"],
"url": "https://musicbrainz.org/artist/a74b1b7f-71a5-4011-9441-d0b5e4122711"
}

A second real match from the same run, showing how disambiguation separates same-named entities:

{
"entity": "artist",
"mbid": "c74f4726-2671-4011-81b6-f70da905c05a",
"name": "On a Friday",
"score": 64,
"disambiguation": "pre-Radiohead group, until 1991",
"tags": ["indie pop", "uk", "oxford", "united kingdom"],
"type": "Group",
"lifespan": { "begin": "1985", "end": "1991", "ended": true },
"sortName": "On a Friday",
"aliases": ["Radiohead", "Shindig"],
"url": "https://musicbrainz.org/artist/c74f4726-2671-4011-81b6-f70da905c05a"
}

Key output fields

FieldTypeDescription
entitystringThe entity type requested (artist, release, release-group, recording, label, work).
mbidstringMusicBrainz ID, the stable unique identifier for this entity across the whole MusicBrainz ecosystem.
namestringPrimary name or title.
scoreintegerMusicBrainz's own relevance score (0-100) for how well this result matches the query.
disambiguationstring or nullShort note MusicBrainz uses to tell apart same-named entities.
tagsarrayCommunity-assigned genre and descriptive tags.
typestringSub-type where applicable (e.g. "Group" vs "Person" for artists).
countrystringISO country code, where MusicBrainz has one on record.
lifespanobjectbegin/end dates and an ended flag, where applicable.
aliasesarrayAlternate names, including transliterations and historical names.
urlstringDirect link to the entity's MusicBrainz page.

Pricing

Pay-per-event: a one-time $0.00005 actor-start fee per run, plus a per-record charge for each entity returned. A 100-record pull costs a small fraction of a cent above the start fee.

What makes this richer than the competition

automation-lab/musicbrainz-scraper (2 users/30d) covers artists, releases and recordings with genres, tags, countries, dates and MBIDs, a similar core feature set, priced per result plus a $0.001 start fee. chrisp1211/musicbrainz-scraper-max (2 users/30d) returns mbid, name, sort name, type, country and area per result at $0.0006/record with no login required, but without MusicBrainz's full tag and alias data. This actor's distinct angle is covering all six MusicBrainz entity types in one input, including label and work, which neither of those two covers, alongside the full tag and multi-script alias set MusicBrainz exposes for deeper catalog and research use cases.

Notes & limitations

MusicBrainz is community-maintained, so coverage depth varies by entity: a well-known artist like Radiohead carries dozens of tags and aliases, while a lesser-known label or work may return a bare name and MBID with little else attached, which reflects the underlying database rather than a gap in this actor. The score field is MusicBrainz's own relevance ranking, not a guarantee of an exact match, low-confidence results (same name, different entity) are included rather than silently dropped, filter on score downstream if an exact match is required. This actor only searches; it does not fetch an entity's full relationship graph (works credited, band members, label history), which would require a separate lookup per MBID.

FAQ

Do I need a MusicBrainz account or API key? No, MusicBrainz's search API is open and free; this actor handles the required request pacing on your behalf.

What does score mean? MusicBrainz's own 0-100 relevance score for how well each result matches the query text, not a certainty measure.

Can I search for a specific artist's full discography? Yes, use entity: "release" or "release-group" with the artist's name as query and a high maxItems.

Why do some records have more fields filled in than others? MusicBrainz's metadata depth depends on community contribution; well-documented artists and major labels carry more tags, aliases and dates than obscure ones.

Does this return audio or streaming links? No, MusicBrainz is a metadata database, not an audio source; url links to the MusicBrainz catalog page only.

What's the maximum number of records per run? 2,000, suitable for bulk catalog or discography pulls.

For AI Agents & LLM Apps

Call this actor from any MCP-compatible client via https://mcp.apify.com, or synchronously from any HTTP client:

curl "https://api.apify.com/v2/acts/gio21~musicbrainz-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity": "artist", "query": "radiohead", "maxItems": 10}'

This returns the matched entities directly in the response, useful for an LLM agent that needs to resolve a free-text artist or album mention to a canonical MusicBrainz record and MBID in a single call.

Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the MetaBrainz Foundation or the MusicBrainz project. All trademarks mentioned are the property of their respective owners.

SEO Keywords

MusicBrainz scraper, MusicBrainz API alternative, scrape MusicBrainz artists, music metadata scraper, MBID lookup tool, music catalog enrichment API.