Announcements

Help Wizard

Step 1

NEXT STEP

Get track using genre

Get track using genre

Plan

Free

Country

India

Device

Operating System

 

My Question or Issue

Hi,

 
I am used  genre in this api

{
    "tracks": {
        "items": [],
        "limit"20,
        "next"null,
        "offset"0,
        "previous"null,
        "total"0
    }
}
Some genre getting empty result.
Reply
5 Replies

The genre seeds, like summer, you can get through the Get Available Genre Seeds endpoint, you can use with the Get Recommendations endpoint.

A full list of genres you can use with the Search for Items endpoint, you can find here.

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 will find track and artist using genre. but some genre do not get tracks and artist list.
holiday, summer, rainy day road trip, bossanova, philippines - opm this genere getting empty track and artist. cam you please suggest me proper link. 

Okay, I think I misunderstood your question then.

Where did you get those genres from?

(I if a genre isn't on one of the two lists I've linked earlier, I don't think you can search with it.)

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 have get this genres from this link "https://api.spotify.com/v1/recommendations/available-genre-seeds"
but some genre to searching tracks and artist getting empty. 

As I said earlier, you need to use those with https://api.spotify.com/v1/recommendations .

Here is its documentation, and here is a console you can try it out with.

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.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random