Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

API search special characters

API search special characters

Hi,

 

I'm trying to use the web API to search for songs and it seems like when I have some special characters in the search parameters it fails to find any songs.

 

A very simple example of this is:

```

track:I'll Call You Mine artist:girl in red album:if i could make it go quiet

https://api.spotify.com/v1/search?query=track%3AI%27ll+Call+You+Mine+artist%3Agirl+in+red+album%3Aif...

```

This returns 0 songs

 

However, the following returns 2 songs:

 

```

track:Ill Call You Mine artist:girl in red album:if i could make it go quiet

https://api.spotify.com/v1/search?query=track%3AIll+Call+You+Mine+artist%3Agirl+in+red+album%3Aif+i+...

```

 

Basically removed the single quote in I'll. This correctly finds this song (and the title of the song returned is correct with I'll).

 

Tried a number of different quoting/escaping options and none of them resulted in I'll working.

 

Any ideas?

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/ 5 years ago  in Social & Random