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

Topics with Label: Web API

Labels

Forum Posts

Increasing security requirements for integration with Spotify Web API

Hey all, we’re making some changes to the Spotify Web API. To improve security, we are planning to remove support for two ways of integrating with Spotify that have been replaced with more secure alternatives. Please check the Spotify for Developers ...

  • Spotify
  • Spotify
  • malikmohsin
  • Visitor
  • 1846 Views
  • 6 replies
  • 2 likes
  • Discussion
  • 1846 Views
  • 6 replies
  • 2 likes

Deprecated API endpoints returns 404 with valid token

Hi, I am aware of the recent API changes, but my application was put in extended mode well before this, so I have access to (now deprecated) endpoints. However, while I am quite sure I applied for all permission for said endpoints, I cannot check thi...

  • Casual Listener
  • Hi,   I am aware of the recent API changes, but my application was put in extended mode well before this, so I have access to (now deprecated) endpoints. However, while I am quite sure I appli...
  • some1else1
  • Visitor
  • 651 Views
  • 2 replies
  • 2 likes
  • API Access
    API Bug
    API Endpoint
    API response
    Web API
  • 651 Views
  • 2 replies
  • 2 likes

Create Playlist for other user doesn't work

I confirmed this through https://developer.spotify.com/documentation/web-api/reference/create-playlist May I know why it doesn't work in the docs? That would be a great starting point to fix first before I doubt myself of doing something wrong.

  • Casual Listener
  • I confirmed this through https://developer.spotify.com/documentation/web-api/reference/create-playlist  May I know why it doesn't work in the docs? That would be a great starting point t...
  • Ximzend
  • Spotify Star
  • 167 Views
  • 3 replies
  • 0 likes
  • create playlist
    Possible Bug
    Web API
  • 167 Views
  • 3 replies
  • 0 likes

Solved!!Superuser Contribution 404 Client Error: Not Found

PlanFreeCountryJapanDeviceMacBook Air M1Operating SystemmacOS Sequoia 15.1.1My Question or IssueI am experiencing issues with Spotify's Web API when trying to retrieve data for certain playlists. Specifically, requests to the following API endpoint r...

  • Casual Listener
  • Plan Free Country Japan Device MacBook Air M1 Operating System macOS Sequoia 15.1.1 My Question or Issue I am experiencing issues with Spotify's Web API when trying to retrieve data...
  • hellomyzn
  • Casual Listener
  • 644 Views
  • 4 replies
  • 1 likes
  • get playlist
    playlist
    Web API
  • 644 Views
  • 4 replies
  • 1 likes

Superuser Contribution artist releases sort order

Original note: I feel like /artists/{id}/albums was (and should be) returning releases in popularity order, to match the Popular Releases section of the artist page in the app. This seems to have broken recently, and the releases are currently coming...

  • Spotify Legend
  • Original note: I feel like /artists/{id}/albums was (and should be) returning releases in popularity order, to match the Popular Releases section of the artist page in the app. This seems to have bro...
  • LambertSpot
  • Spotify
  • 779 Views
  • 6 replies
  • 1 likes
  • Feature Request
    Web API
  • 779 Views
  • 6 replies
  • 1 likes

Transfer playback returns 500

Hello,I'm calling the transfer playback method of the Web API and always get a 500 response. Other methods seem to work fine. Is this a server issue or am I doing somethign wrong? curl --request PUT --url https://api.spotify.com/v1/me/player --header...

  • Casual Listener
  • Hello, I'm calling the transfer playback method of the Web API and always get a 500 response. Other methods seem to work fine. Is this a server issue or am I doing somethign wrong?    ...
  • kyds3k
  • Music Fan
  • 374 Views
  • 3 replies
  • 2 likes
  • Web API
  • 374 Views
  • 3 replies
  • 2 likes

Solved!!Superuser Contribution Not receiving results when searching by ISRC

I'm trying to search the web api for songs by ISRC but I no longer receive any results, only an empty items array. My search query looks like this: https://api.spotify.com/v1/search?query=isrc:USLZJ1613311 I've even tried on the spotify web console b...

  • Regular
  • I'm trying to search the web api for songs by ISRC but I no longer receive any results, only an empty items array. My search query looks like this: https://api.spotify.com/v1/search?query=isrc:U...
  • LambertSpot
  • Spotify
  • 2207 Views
  • 21 replies
  • 2 likes
  • ISRC
    Search
    Web API
  • 2207 Views
  • 21 replies
  • 2 likes

Oauth sign in to web api without web browser / graphical interface

I'm working on the alarm clock with Spotify playlists and albums. I wrote a client (https://github.com/ciembor/spotify-cmd) based on a Spotify Web API and it works well, but when I Connect using oauth it opens browser and then uses my callback. The p...

  • Regular
  • I'm working on the alarm clock with Spotify playlists and albums. I wrote a client (https://github.com/ciembor/spotify-cmd) based on a Spotify Web API and it works well, but when I Connect using oaut...
  • IgorM1
  • Newbie
  • 1365 Views
  • 2 replies
  • 0 likes
  • api
    authentication
    Authentication Token
    Console
    Linux
    OAuth
    oAuth2
    Spotify Web API
    Terminal
    Web API
  • 1365 Views
  • 2 replies
  • 0 likes

Receive all added_by profiles for blend playlists via the Web API

The Get Playlist Items Web API method [1] returns items.added_by as an object reffering to a single profile. While there is nothing else to show for normal playlists, blend playlists (which are generated by Spotify based on the interests of multiple ...

  • Visitor
  • The Get Playlist Items Web API method [1] returns items.added_by as an object reffering to a single profile. While there is nothing else to show for normal playlists, blend playlists (which are gener...
  • kzfelder
  • Casual Listener
  • 389 Views
  • 1 replies
  • 2 likes
  • Blend Playlists
    Get Playlist Items
    Web API
  • 389 Views
  • 1 replies
  • 2 likes

Solved!!Superuser Contribution Best/most correct way to check if a playlist is owned by the current user?

Hello! If I use the "Get Current User's Playlists" endpoint, what's the best/most correct way to check if the owner is the current user? Right now I'm checking if the ID matches that of the ID I get from "Get Current User's Profile", which feels corr...

  • Casual Listener
  • Hello!   If I use the "Get Current User's Playlists" endpoint, what's the best/most correct way to check if the owner is the current user? Right now I'm checking if the ID matches that of the ...
  • LambertSpot
  • Spotify
  • 348 Views
  • 2 replies
  • 0 likes
  • Question
    Web API
  • 348 Views
  • 2 replies
  • 0 likes

Player for whole song (with login) and volume control

Hi there!So we want to embed a player for our mobile app.The problem with the i frame is, that it will only play random 30 second snippets andsometimes it doesn't take you to the login page on the spotify app.We can't solve the problem via the Spotif...

  • Visitor
  • Hi there! So we want to embed a player for our mobile app. The problem with the i frame is, that it will only play random 30 second snippets and sometimes it doesn't take you to the login page o...
  • 217 Views
  • 0 replies
  • 0 likes
  • Desktop Player Customise spotiamp
    iframe
    player
    Spotify Connect Volume Control
    volume
    Web API
  • 217 Views
  • 0 replies
  • 0 likes

Auth attempts all return "code_verifier required" when using non-PKCE auth between iOS and Web

PlanFree/PremiumCountryUSA DeviceiPhone XROperating SystemiOS 17.4.1 My Question or IssueI'm trying to authenticate using non-PKCE between Spotify iOS SDK and Web API. Every time I try to exchange the auth code for tokens, I get a 400 error and the b...

  • Newbie
  • Plan Free/Premium Country USA   Device iPhone XR Operating System iOS 17.4.1   My Question or Issue I'm trying to authenticate using non-PKCE between Spotify iOS SDK and Web API....
  • jcrm1
  • Casual Listener
  • 698 Views
  • 1 replies
  • 0 likes
  • Auth code flow
    iOS SDK
    iossdk
    PKCE
    Possible Bug
    Spotify iOS SDK
    Spotify Web API
    Web API
  • 698 Views
  • 1 replies
  • 0 likes

Web API `search` endpoint unexpected results.

Hi, The Web API's `search` endpoint is giving unexpected results. For example, the result is empty (even after the response code 200). BUT, with the same query on documentation playground, it does return right results. Even if I copy-paste the exact ...

CheapNightbot_0-1726675379171.png CheapNightbot_1-1726675508968.png
  • Casual Listener
  • Hi,   The Web API's `search` endpoint is giving unexpected results. For example, the result is empty (even after the response code 200). BUT, with the same query on documentation playground, i...
  • Ximzend
  • Spotify Star
  • 314 Views
  • 3 replies
  • 0 likes
  • Possible Bug
    Web API
  • 314 Views
  • 3 replies
  • 0 likes

Album genres are empty at albums endpoint

I've discovered that although the documentation says albums should have genre info https://developer.spotify.com/documentation/web-api/reference/get-multiple-albums#genres, it is always returned as an empty list. Looks like others have had a similar ...

  • Regular
  • I've discovered that although the documentation says albums should have genre info https://developer.spotify.com/documentation/web-api/reference/get-multiple-albums#genres, it is always returned as a...
  • 226 Views
  • 0 replies
  • 1 likes
  • Web API
  • 226 Views
  • 0 replies
  • 1 likes

500 errors from me/tracks

My API app has been basically unable to get Liked Tracks for the last day or two. The console is full of 500 errors, and the same call to me/tracks will often fail 2-4 times but then succeed, and then the same thing with the next page. This was worki...

  • Spotify Legend
  • My API app has been basically unable to get Liked Tracks for the last day or two. The console is full of 500 errors, and the same call to me/tracks will often fail 2-4 times but then succeed, and the...
  • _brown
  • Regular
  • 404 Views
  • 2 replies
  • 0 likes
  • Possible Bug
    Web API
  • 404 Views
  • 2 replies
  • 0 likes

Solved!!Superuser Contribution Public flag broken in user/playlists endpoint

I've got a web app that queries playlist data from the user endpoint, e.g. `"https://api.spotify.com/v1/users/" + user.id + "/playlists?limit=50&offset=" + offset`. In the response I get a ton of useful playlist data like playlist names, IDs, images,...

  • Regular
  • I've got a web app that queries playlist data from the user endpoint, e.g. `"https://api.spotify.com/v1/users/" + user.id + "/playlists?limit=50&offset=" + offset`. In the response I get a ton of...
  • pvlkmrv
  • Regular
  • 427 Views
  • 3 replies
  • 0 likes
  • Web API
  • 427 Views
  • 3 replies
  • 0 likes

Recommendation endpoint doesn't respond

I'm developing a flask application that uses the recommendation endpoint to generate new playlists. Currently in development mode, with the only active user being myself. I ran into an issue yesterday where all my endpoint requests seem to be working...

  • Regular
  • I'm developing a flask application that uses the recommendation endpoint to generate new playlists. Currently in development mode, with the only active user being myself. I ran into an issue yesterda...
  • Ashugh
  • Casual Listener
  • 1032 Views
  • 6 replies
  • 3 likes
  • API Help
    API request
    Spotify Recommendations
    Web API
  • 1032 Views
  • 6 replies
  • 3 likes

Add sorting to the Web API

My Question or IssueHi everyone. I have a small project which will retrieve the albums for an artist, and then get the tracks for these albums. My application only cares about the latest new tracks and albums. But, the API doesn't provide me any opti...

  • Newbie
  • My Question or Issue Hi everyone. I have a small project which will retrieve the albums for an artist, and then get the tracks for these albums.    My application only cares about the la...
  • ClaytonM
  • Visitor
  • 740 Views
  • 3 replies
  • 5 likes
  • sorting
    Web API
  • 740 Views
  • 3 replies
  • 5 likes

Why are so many Preview URL's missing from the API

Working with the Spotify Web API I have realized so many songs are missing their preview URL's when requested with the API. But if you were to share this song via text message through the Spotify App all songs have a preview URL. It's not just random...

  • Regular
  • Working with the Spotify Web API I have realized so many songs are missing their preview URL's when requested with the API. But if you were to share this song via text message through the Spotify App...
  • djmtype
  • Gig Goer
  • 2728 Views
  • 4 replies
  • 5 likes
  • API Bug
    API request
    API search
    Spotify Web API
    Web API
  • 2728 Views
  • 4 replies
  • 5 likes

Spotify Web API: Queue endpoint needs polish

I'm working on building a queue view using the newish Queue endpoint, but there are a few bugs/missing features:Firstly, it returns 20 results, including currently playing. But it always returns 20 results - even when the queue is 12 items long. You ...

  • Music Fan
  • I'm working on building  a queue view using the newish Queue endpoint, but there are a few bugs/missing features: Firstly, it returns 20 results, including currently playing. But it always ret...
  • syeo66
  • Casual Listener
  • 900 Views
  • 2 replies
  • 10 likes
  • queue management
    Web API
  • 900 Views
  • 2 replies
  • 10 likes

Superuser Contribution Understanding Long Term Authorization

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueHi, I'm developing a front end React Application where the only things I want from the API ar...

  • Casual Listener
  • Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue Hi, I'm...
  • smacklol
  • Regular
  • 929 Views
  • 4 replies
  • 0 likes
  • authorization
    Web API
  • 929 Views
  • 4 replies
  • 0 likes