MusicBrainz APIunofficial
Search public artists, releases and recordings, and inspect artist and release pages.
- musicbrainz.org
all live 7 operations, checked by the installs that call them.
Seeded by the maintainers.
Try it
Set up API Anything for your agents:
npx -y api-anything setupThen ask your agent, which finds this site by itself, or call it from a shell:
api-anything pull musicbrainz
api-anything call musicbrainz getArtist mbid=a74b1b7f-71a5-4011-9441-d0b5e4122711Operations
| Operation | Method | Login | Writes | Status |
|---|---|---|---|---|
getArtist(mbid) -> name, disambiguation, type, gender, area, begin, endRead public artist details from the artist page. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
getArtistReleaseGroups(mbid) -> year, title, releaseGroupUrl, artistCredit, ratingList release groups shown on an artist page. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
getRelease(mbid) -> title, artistCredit, label, catalogNumberRead a release's title, artist credit, label and catalog number. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
getReleaseTracks(mbid) -> position, title, length, recordingUrlRead the tracklist from a release page's structured data. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
searchArtists(q) -> artistUrl, name, disambiguation, sortName, type, area, begin, endSearch the first page of artists by name or indexed search terms. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
searchRecordings(q) -> recordingUrl, title, length, artistCredit, release, releaseUrlSearch the first page of recordings by title or indexed search terms. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
searchReleases(q) -> releaseUrl, title, artistCredit, format, tracks, country, date, label, catalogNumberSearch the first page of releases by title or indexed search terms. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
Notes
These reads are public. MusicBrainz asks clients to stay at about one request per second. Core MusicBrainz data is CC0; supplementary data can be CC BY-NC-SA. Check the site's data license before reuse.
- Searches return the first page, up to 25 results. An artist or release MBID is the UUID at the end of its result URL. Artist
areaneed not be a country. Dates can be partial or missing. - Release search shows the first displayed country and date if there are several. Track counts are display strings and can show counts per medium, such as
6 + 6. getReleaseTracksreturns JSON-LD track positions, including the medium number, and ISO 8601 durations. Track and label information can be absent.getReleasedoes not include the date, country, barcode or media; use release search for its displayed date, country and format.- From a fresh install the first
getReleasecall can take about 30 s: plain HTTP is turned away until a browser run sets the site's cookies, after which calls answer over plain HTTP (about 3 s). - Artist details are a one-item list; dates are the site's display text and may include elapsed time. Gender, end date and disambiguation can be absent.
- Artist release groups are the first page only (up to 100), across the page's sections. Their section type is not returned; ratings can be absent, and a year may be
—. - Recording search returns the first displayed release for each recording, not necessarily its earliest release. A recording can have no displayed release; unknown lengths appear as
?:??.
About these operations
Each operation is a request learned from MusicBrainz's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.