Get all releases including compilations with the API

Tags: #<Tag:0x00007f4d56a91fc8>

Hello,

How can I get the full list of all releases from a specific artist, including compilations?

For example this artist is featured on 2 compilations: https://musicbrainz.org/artist/2dba94a1-261f-4074-903c-88d7bfc212c5

But in the API the releases endpoint is empty: https://musicbrainz.org/ws/2/release?artist=2dba94a1-261f-4074-903c-88d7bfc212c5&fmt=json

Use the track_artist parameter to find all releases where that artist is listed in the artist credits for a track:

https://musicbrainz.org/ws/2/release?track_artist=2dba94a1-261f-4074-903c-88d7bfc212c5&fmt=json

See also the docs:

https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#Browse

2 Likes