Song Works & ISWC API

Musical works (songs and compositions) from the open MusicBrainz database, found by title or ISWC: work ID, title, type, language, ISWC codes, writers, composers, lyricists, publishers and how many recordings exist.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 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, 12 fieldsv1.0

Data from musicbrainz.org/ws/2/work

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

Titlesoptional
Song titles to search for, one search for each. One per line, or separated by commas.
Example: yesterday
Iswcsoptional
ISWC codes to look up, such as T-900.318.510-2. One per line, or separated by commas.
Example: T-900.318.510-2
Include creditsoptional
Add writers, composers, lyricists, publishers and the recording count (one extra request per work).
Maximum resultsoptional
Most works to return for each title (1 to 100).
Example: 25

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 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-works/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
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/musicbrainz-works/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"titles":["yesterday"]},"max_items":50}'

Inputs

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

titleslist
Song titles to search for, one search for each.
example: yesterday
iswcslist
ISWC codes to look up, such as T-900.318.510-2.
example: T-900.318.510-2
include_creditsyes/no
Add writers, composers, lyricists, publishers and the recording count (one extra request per work).
default: trueexample: true
max_resultsnumber
Most works to return for each title (1 to 100).
default: 25example: 25

What's in each record

12 fields.

Basics

  • Work mbid

    MusicBrainz work ID (a UUID).

    Example 0c80db24-389e-3620-8e0b-84dc2b7c009a

  • Title

    Title of the work.

    Example Yesterday

  • Type

    Kind of work, such as Song, Opera or Symphony.

    Example Song

  • Language

    Language of the lyrics as a three-letter code, such as eng.

    Example eng

  • Iswcs

    ISWC codes registered for the work.

    Example T-900.318.510-2, T-905.330.716-7

  • Credited writers

    Example John Lennon, Paul McCartney

  • Credited composers

    Example Andrea Leonardi

  • Credited lyricists

    Example Andrea Leonardi

  • Credited music publishers

    Example Maclen Music, Inc., EMI Blackwood Music Inc.

  • Recording count

    Number of recordings linked to the work.

    Example 1,203

  • Score

    How well the work matches the title searched, 0 to 100 (empty for ISWC lookups).

    Example 100

Technical detailsField names and types for developers

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
work_mbidtextWork mbid3 of 3
urllinkLink3 of 3
titletextTitle3 of 3
typetextType3 of 3
languagetextLanguage3 of 3
iswcslistIswcs2 of 3
writerslistCredited writers1 of 3
composerslistCredited composers2 of 3
lyricistslistCredited lyricists2 of 3
publisherslistCredited music publishers1 of 3
recording_countnumberRecording count3 of 3
scorenumberScore3 of 3

How it reads the site

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

Sample records

Sample records
RecordTitleWork mbidTypeLanguageIswcsCredited writersCredited composersCredited lyricistsCredited music publishersRecording countScoreLink
1Yesterday0c80db24-389e-3620-8e0b-84dc2b7c009aSongengT-900.318.510-2, T-905.330.716-7, T-010.162.986-0, T-900.318.492-7John Lennon, Paul McCartney——Maclen Music, Inc., EMI Blackwood Music Inc., Northern Songs Ltd., Sony/ATV1,203100musicbrainz.org/work/0c80db24-389e-3620-8e0b-84dc2b7c009a
2Yesterday97b0429d-21ca-4b7e-9523-b3bb5beecc9bSongengT-201.142.643-7—Andrea LeonardiAndrea Leonardi—3882musicbrainz.org/work/97b0429d-21ca-4b7e-9523-b3bb5beecc9b
3Yesterday37604b5c-9f95-4718-8258-4632357a577fSongeng——Greg GraffinGreg Graffin—1176musicbrainz.org/work/37604b5c-9f95-4718-8258-4632357a577f

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
  • Each title returns at most 100 works, best match first; the score (0 to 100) says how well the title matches. A common title such as Yesterday matches hundreds of different works.
  • With include_credits on, each work needs a second request, so a run takes about two seconds per work. Turn it off for a fast list of works with ISWCs only.
  • writers, composers, lyricists and publishers are the credits MusicBrainz holds for the work and are empty for many works; credits are not complete for older or lesser-known songs. Credit names are public songwriting credits.
  • recording_count counts the recordings MusicBrainz links to the work, up to the most the lookup lists; it is empty when include_credits is off.
  • iswcs is empty for works without a registered ISWC; language is empty when not set.
  • Strictly one request per second is allowed by MusicBrainz for all of our runs together, so a run takes about one second per request and longer while other runs are reading MusicBrainz.
  • MusicBrainz answers busy now and then; the API retries, but a run can end early with the rows found so far.
  • Core MusicBrainz data is free to reuse under CC0 1.0. Not affiliated with or endorsed by MetaBrainz or MusicBrainz.

Version history

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