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

Right search query

Right search query

Hi folks.

 

How to use the Search API correctly?

I need to search songs with the name "some body", I use a query:

https://api.spotify.com/v1/search?q=some%20body&type=track

But when executed, in the response, %20 is replaced with +, this happens in the Spotify Console, and via Python Requests, could this be a problem?

"href": "https://api.spotify.com/v1/search?query=some+body&type=track&offset=0&limit=20",

But I get a bunch of results that don't match the search. I've tried using double quotes, but that doesn't help.

Screenshot 2021-02-09 093057.png

Or rather, I would just like to search for songs by title the way the Spotify app does.
How to do it?

Screenshot 2021-02-09 093419.png

Screenshot 2021-02-09 101253.png

It seems to work fine sometimes, is it normal or not?

Reply
0 Replies

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