Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Get Album endpoint returns response with empty list of genres

Get Album endpoint returns response with empty list of genres

Plan

Premium

Country

Poland

 

My Question or Issue

Hi all, I'm trying to use the Spotify API to get information about some albums and I've found that the response of Get Album endpoint contains empty list of Genres (`genres` field), so no genres for any album I've tried (even for Led Zeppelin IV 😱).

How to reproduce:

$ curl -s --request GET \
--url "https://api.spotify.com/v1/albums/44Ig8dzqOkvkGDzaUof9lK" \
--header 'Authorization: Bearer BQDgh5KGF....ABCD' | jq '.genres'

[]
Same result on the page https://developer.spotify.com/documentation/web-api/reference/get-an-album when I'm doing request from there.
LennyLed_0-1704742878005.png
Reply
3 Replies

Since a couple of years only the Get Artist(s) endpoint and some other endpoints return artist genres.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

I see, thank you for the information!

Is that by Spotify's design? I think this is unexpected behavior. The documentation indicates the genres should be there in the album JSON.

Suggested posts