Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List a Deezer artist's releases or appearances.
Endpoint
/v1/deezer/artists/{artistId}/albums
Path
Deezer artist id, for example `27`.
Query
`main` (default) lists the artist's own releases; `featured` lists releases they appear on.
Also list releases that are not official artist releases but credit the artist. Default: false.
Only releases of this type.
Only releases of this kind.
Order of the list. Default: `newest`.
Items per page, 1 to 500. Default: 100.
Pass `page.nextCursor` from the previous response to get the next page. Keep the other parameters the same.
const response = await fetch( "https://api.socialfetch.dev/v1/deezer/artists/27/albums", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);