Music Releases & Discography API

Music releases from the open MusicBrainz database, by artist name or barcode: title, artist, album/single/EP type, release date, country, barcode, label, catalog number, format and status, with the release group each belongs to.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

Data from musicbrainz.org/ws/2/release

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Artistsoptional
Artist names to list releases for, for example radiohead. One per line, or separated by commas.
Example: radiohead
Barcodesoptional
Release barcodes (UPC or EAN) to look up. One per line, or separated by commas.
Example: 827565057665
Release typeoptional
Only this kind of release for the artist searches; any keeps all.
Maximum resultsoptional
The most releases to return for each artist or barcode (1 to 1,000).
Example: 2

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/musicbrainz-releases/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/musicbrainz-releases/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"artists":["radiohead"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

artistslist
Artist names to list releases for, for example radiohead.
example: radiohead
barcodeslist
Release barcodes (UPC or EAN) to look up.
example: 827565057665
release_typetext
Only this kind of release for the artist searches; any keeps all.
default: anyexample: albumone of: any, album, single, ep
max_resultsnumber
The most releases to return for each artist or barcode (1 to 1,000).
default: 100example: 2

What's in each record

16 fields: 13 here, 3 technical ones under Technical details.

Basics

  • Title

    The release title.

    Example The King of Limbs

  • Artist

    The artist as credited on the release.

    Example Radiohead

  • Primary type

    Album, Single, EP, Broadcast or Other.

    Example Album

  • Secondary types

    Extra kinds such as Live, Compilation or Soundtrack.

    Example Live

  • Barcode

    The barcode of the release.

    Example 827565057658

  • Label

    The first record label named on the release.

    Example Ticker Tape Ltd

  • Catalog number

    The first catalog number named on the release.

    Example TICK001S

  • Format

    Medium formats, such as CD or 12" Vinyl; several are joined with a plus sign.

    Example CD + 10" Vinyl

  • Track count

    Total tracks on the release.

    Example 16

  • Status

    Release status, such as Official.

    Example Official

Location

  • Country

    Country or region code of the release.

    Example GB

Dates

  • Release date

    Release date as entered: a year, a month or a day.

    Example May 9, 2011

Technical detailsField names and types for developers, and the 3 fields hidden above

Hidden by default

These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idThe MusicBrainz id of the release.
  • Release group ID release_group_idId of the release group (the album, single or EP this edition belongs to).
  • Search words search_termThe artist or barcode that found this release.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
titletextTitle3 of 3
artisttextArtist3 of 3
release_group_idtextRelease group ID (hidden)3 of 3
primary_typetextPrimary type3 of 3
secondary_typeslistSecondary types0 of 3
release_datetextRelease date3 of 3
countrytextCountry3 of 3
barcodetextBarcode3 of 3
labeltextLabel3 of 3
catalog_numbertextCatalog number3 of 3
formattextFormat3 of 3
track_countnumberTrack count3 of 3
statustextStatus3 of 3
search_termtextSearch words (hidden)3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleArtistPrimary typeSecondary typesBarcodeLabelCatalog numberFormatTrack countStatusCountryRelease dateLink
1The King of LimbsRadioheadAlbum—827565057658Ticker Tape LtdTICK001SCD + 10" Vinyl16OfficialGBMay 9, 2011musicbrainz.org/release/0ec67913-5de5-4ca5-a354-59f34af17c77
2In RainbowsRadioheadAlbum—880882162221TBD RecordsTBD0001CD10OfficialCAJan 1, 2008musicbrainz.org/release/200f0a5a-41c4-49f3-b997-1ef5f975f060
3The King of LimbsRadioheadAlbum—827565057665Ticker Tape LtdTICK001CDCD8OfficialUSMar 29, 2011musicbrainz.org/release/5c545925-f48c-3d5b-b448-23a25f9ec048

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Data comes from MusicBrainz, a community-edited database; its core data is released under CC0. MetaBrainz asks commercial users to support the project.
  • MusicBrainz allows one request per second, so a run takes about a second per 100 releases; busy answers are retried with a pause.
  • Each row is one release (one edition: a country, a format, a barcode). An album with many editions gives many rows that share a release_group_id.
  • At most 1,000 releases per run. An artist search matches the artist as credited on the release, so a name shared by several artists can bring in releases of others.
  • Only official releases are returned. Barcode, label, catalog number and date are filled only where the community has entered them; the tracklist is not included.

Version history

A run uses the live version unless the request names another one with version.