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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
Link to the work's page on MusicBrainz.
Example musicbrainz.org/work/0c80db24-389e-3620-8e0b-84dc2b7c009a
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
work_mbid | text | Work mbid | 3 of 3 |
url | link | Link | 3 of 3 |
title | text | Title | 3 of 3 |
type | text | Type | 3 of 3 |
language | text | Language | 3 of 3 |
iswcs | list | Iswcs | 2 of 3 |
writers | list | Credited writers | 1 of 3 |
composers | list | Credited composers | 2 of 3 |
lyricists | list | Credited lyricists | 2 of 3 |
publishers | list | Credited music publishers | 1 of 3 |
recording_count | number | Recording count | 3 of 3 |
score | number | Score | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Work mbid | Type | Language | Iswcs | Credited writers | Credited composers | Credited lyricists | Credited music publishers | Recording count | Score | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Yesterday | 0c80db24-389e-3620-8e0b-84dc2b7c009a | Song | eng | T-900.318.510-2, T-905.330.716-7, T-010.162.986-0, T-900.318.492-7 | John Lennon, Paul McCartney | — | — | Maclen Music, Inc., EMI Blackwood Music Inc., Northern Songs Ltd., Sony/ATV | 1,203 | 100 | musicbrainz.org/work/0c80db24-389e-3620-8e0b-84dc2b7c009a |
| 2 | Yesterday | 97b0429d-21ca-4b7e-9523-b3bb5beecc9b | Song | eng | T-201.142.643-7 | — | Andrea Leonardi | Andrea Leonardi | — | 38 | 82 | musicbrainz.org/work/97b0429d-21ca-4b7e-9523-b3bb5beecc9b |
| 3 | Yesterday | 37604b5c-9f95-4718-8258-4632357a577f | Song | eng | — | — | Greg Graffin | Greg Graffin | — | 11 | 76 | musicbrainz.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.