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

Spotify Search API does not return tracks if the query is an artist name

Spotify Search API does not return tracks if the query is an artist name

GET https://api.spotify.com/v1/search

 

When I use the above Spotify Web Search API with type=track and q={some artist name}, the API (usually) returns no results. For example, If I search "Cage the Elephant" or "Kanye West" the API will return no results rather than tracks by those artists. Is this a known bug with the API? I should be able to query tracks by artist name as I can in the Spotify App.

Reply
1 Reply

Hey @PassAuxly, help's here!

I've taken a look and it seems that I'm not able to replicate this on my end. I made this request:

https://api.spotify.com/v1/search?q=Cage%20The%20Elephant&type=track

And this is the response I received: https://pastebin.com/zKm2KgNs which looks expected to me.

 

Could you tell me the exact request you made? I'll do some digging.

 

Thanks, have a good one,

Hubo

 

HuboSpotify 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