Albums
Get the album discography — albums, EPs, and singles with release dates — for a provider artist_id.
Fetches provider data for /artist/:id/albums. By default is_primary=true, so only albums where the artist is a main artist are returned — DJ compilations, soundtracks, and pure feature appearances are excluded. Pass is_primary=false to include them. Discover a provider artist_id via GET /api/research with type=artists.
Query Parameters
Provider artist ID. Obtain it from search or lookup results.
^[A-Za-z0-9][A-Za-z0-9._:-]*$"artist_123"
When true (default), returns only albums where the artist is a main artist. Set to false to include feature appearances, DJ compilations, and soundtracks.
true, false Number of albums to return. Defaults to the provider's default when omitted.
^[1-9][0-9]*$Pagination offset. Defaults to 0 when omitted.
^(0|[1-9][0-9]*)$