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 for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Updating the Criteria for Web API Extended Access

Hey, I created this thread to get your feedback on our blog post around changes to the Web API extended access criteria, which will take place on May 15th. Please share any of your thoughts on this change in the comments below. All of your feedback w...

  • Spotify
  • Spotify
  • lukens
  • Regular
  • 6362 Views
  • 42 replies
  • 3 likes
  • Discussion
  • 6362 Views
  • 42 replies
  • 3 likes

Solved!!Superuser Contribution Very minor UK polish potential in References / Shows / Get Show API docs

PlanFree/PremiumCountryUK DeviceMac desktopOperating SystemMacOS My Question or Issue I noticed a very minor UX issue. The account settings link on this page - https://developer.spotify.com/documentation/web-api/reference/get-a-show - takes the user ...

  • Casual Listener
  • Plan Free/Premium Country UK   Device Mac desktop Operating System MacOS   My Question or Issue   I noticed a very minor UX issue.   The account settings link on thi...
  • tonyjhunter
  • Casual Listener
  • 1185 Views
  • 2 replies
  • 1 likes
  • API docs
  • 1185 Views
  • 2 replies
  • 1 likes

Superuser Contribution Refreshing the access token PKCE Flow

CountryDenmark (DK)DeviceDesktopOperating SystemWindows 10 My Question or IssueI am trying to do a post request for a new access token / refresh the access token with this JS code: const refreshAccessToken = async () => { const refreshToken = localSt...

  • Casual Listener
  • Country Denmark (DK) Device Desktop Operating System Windows 10   My Question or Issue I am trying to do a post request for a new access token / refresh the access token with this JS cod...
  • henrynguyen7
  • Music Fan
  • 905 Views
  • 4 replies
  • 1 likes
  • Question
  • 905 Views
  • 4 replies
  • 1 likes

Spotify PKCE Auth Invalid Client Secret

PlanPremiumCountryCanada DeviceChrome. Macbook Pro 2013Operating SystemMac OS X Catalina My Question or Issue I am trying to set up my web application to use the Proof Key for Code Exchange. However, when I try try to get the access_token by doing a ...

  • Visitor
  • Plan Premium Country Canada   Device Chrome. Macbook Pro 2013 Operating System Mac OS X Catalina   My Question or Issue   I am trying to set up my web application to use th...
  • henrynguyen7
  • Music Fan
  • 4380 Views
  • 8 replies
  • 1 likes
  • 4380 Views
  • 8 replies
  • 1 likes

Solved!! Suddenly Getting 403 Errors on /me endpoint

My Question or IssueI deployed an app on Heroku that works perfectly fine for me (https://bowies-canvas-a86775402ce2.herokuapp.com/). However, I've sent the link to others for testing but they can't make it past typically the same page. They login to...

  • Regular
  •   My Question or Issue I deployed an app on Heroku that works perfectly fine for me (https://bowies-canvas-a86775402ce2.herokuapp.com/). However, I've sent the link to others for testing but t...
  • Ximzend
  • Spotify Star
  • 833 Views
  • 3 replies
  • 0 likes
  • Possible Bug
    Question
  • 833 Views
  • 3 replies
  • 0 likes

Solved!! Premium Required" When Attempting to Play Track via API

I'm encountering an issue when trying to play a track using the Spotify API. The response I receive is as follows:{ "error": { "status": 403, "message": "Player command failed: Premium required", "reason": "PREMIUM_REQUIRED"}}My question is: Does the...

  • Casual Listener
  • I'm encountering an issue when trying to play a track using the Spotify API. The response I receive is as follows: {     "error": { "status": 403, "message": "Player command failed: Prem...
  • Ximzend
  • Spotify Star
  • 1279 Views
  • 3 replies
  • 0 likes
  • Discussion
    Question
  • 1279 Views
  • 3 replies
  • 0 likes

Superuser Contribution Typo in api docs

There is a small typo in the developer docs in https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens In the browser example code block line 19 is missing an equal sign after the const name. const body = await fetch(url, payl...

  • Newbie
  • There is a small typo in the developer docs in https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens   In the browser example code block line 19 is missing an eq...
  • LambertSpot
  • Spotify
  • 317 Views
  • 1 replies
  • 1 likes
  • typo
  • 317 Views
  • 1 replies
  • 1 likes

Superuser Contribution [WEB API] Follow playlist vs Add to Library

Hello,The Web API still offers endpoint to follow / unfollow a playlist and to check if a user follows a playlist, but I don't see this action in Spotify anymore, it seems to have been replaced with "Add to Library", which doesn't seem to be the same...

  • Visitor
  • Hello, The Web API still offers endpoint to follow / unfollow a playlist and to check if a user follows a playlist, but I don't see this action in Spotify anymore, it seems to have been replaced wit...
  • LambertSpot
  • Spotify
  • 468 Views
  • 1 replies
  • 0 likes
  • spotify-web-api
    web-api
  • 468 Views
  • 1 replies
  • 0 likes

Superuser Contribution Auth not working for web api on certain iPhones

I'm using the Spotify Web API to create a music player within a web app. I've got everything working fine on all devices, except for newer iPhones. On the iPhone 10, iPhone 14 and iPhone 15, on all browsers, authentication isn't working. After loggin...

  • Newbie
  • I'm using the Spotify Web API to create a music player within a web app. I've got everything working fine on all devices, except for newer iPhones.   On the iPhone 10, iPhone 14 and iPhone 15,...
  • LambertSpot
  • Spotify
  • 452 Views
  • 2 replies
  • 0 likes
  • authentication
  • 452 Views
  • 2 replies
  • 0 likes

What if, there were a setting to restart the playlist at the end of the last song?

What if the devs add a feature so we can automaticaly restart the playlist after last song. Instead of listening to recommended songs.

  • Visitor
  • What if the devs add a feature so we can automaticaly restart the playlist after last song. Instead of listening to recommended songs.
  • Ximzend
  • Spotify Star
  • 258 Views
  • 1 replies
  • 0 likes
  • Feature Request
  • 258 Views
  • 1 replies
  • 0 likes

Solved!! Development mode API key, User Management, login with Google

Hello, My API key is in the Development quota mode (https://developer.spotify.com/documentation/web-api/concepts/quota-modes). I've followed the directions to add testers under the User Management tab. Most of my testers are able to login without any...

  • Casual Listener
  • Hello,   My API key is in the Development quota mode (https://developer.spotify.com/documentation/web-api/concepts/quota-modes). I've followed the directions to add testers under the User Mana...
  • zanderpaul
  • Casual Listener
  • 920 Views
  • 2 replies
  • 0 likes
  • Question
  • 920 Views
  • 2 replies
  • 0 likes

Whenever I play the song, after few seconds the sound doesn't come

Whenever I play the song, after few seconds the sound doesn't come but music keeps playing then I open app and puse and play the song after some time it happens again and I am facing this problem since I was not a premium member, when I will buy your...

  • Newbie
  • Whenever I play the song, after few seconds the sound doesn't come but music keeps playing then I open app and puse and play the song after some time it happens again and I am facing this problem sin...
  • 169 Views
  • 0 replies
  • 0 likes
  • 169 Views
  • 0 replies
  • 0 likes

Postman vs SoapUI for Spotify API?

Hi all,I would just like to ask whether Postman or SoapUI would be better for working with Spotify's API? It seems that these two choices are very popular among developers.However, aside from Postman and SoapUI, I have also been recommended a couple ...

  • Regular
  • Hi all, I would just like to ask whether Postman or SoapUI would be better for working with Spotify's API? It seems that these two choices are very popular among developers. However, aside from...
  • 364 Views
  • 0 replies
  • 0 likes
  • api
  • 364 Views
  • 0 replies
  • 0 likes

401's on some, not all, search API calls

I have an app that maintains a ranking of my most played songs over certain periods. I get this ranked list from last.fm, which does not have direct links to the spotify URIs, so I make calls to the /search endpoint for each song in order to get a UR...

  • Newbie
  • I have an app that maintains a ranking of my most played songs over certain periods. I get this ranked list from last.fm, which does not have direct links to the spotify URIs, so I make calls to the ...
  • ReubenF
  • Regular
  • 474 Views
  • 1 replies
  • 5 likes
  • api
    authorization
    Search
  • 474 Views
  • 1 replies
  • 5 likes

Constantly getting rate limit even after a few requests

I'm having very aggressively rate limiting issues with the Spotify Web API for my project, Even after creating a new application and implementing caching for most requests I'm still facing problems - After only 2-3 requests, I get rate limited for al...

  • Newbie
  • I'm having very aggressively rate limiting issues with the Spotify Web API for my project, Even after creating a new application and implementing caching for most requests I'm still facing probl...
  • 540 Views
  • 0 replies
  • 0 likes
  • rate-limit
    web-api
  • 540 Views
  • 0 replies
  • 0 likes

recently played pagination problem

PlanPremiumCountryUSADeviceiMac Operating SystemmacOS Sonoma 14.5 My Question or IssueI call the following command in a loop. it should stop when response['next'] is NULL: response = sp.current_user_recently_played(limit=50, after=int(cutoff_time.tim...

  • Casual Listener
  • Plan Premium Country USA Device iMac  Operating System macOS Sonoma 14.5   My Question or Issue I call the following command in a loop.  it should stop when response['next'] ...
  • tyro2001
  • Casual Listener
  • 314 Views
  • 4 replies
  • 0 likes
  • Possible Bug
  • 314 Views
  • 4 replies
  • 0 likes

Spotify Remote SDK fails while connecting to Automotive spotify App

PlanFree/PremiumCountry DeviceAutomotiveOperating SystemAndroid My Question or Issue Our Team is building an app that connects to spotify app for playback control. Android spotify remote sdk not able to connect to spotify Automotive app. Internally t...

  • Visitor
  • Plan Free/Premium Country   Device Automotive Operating System Android   My Question or Issue   Our Team is building an app that connects to spotify app for playback control...
  • 202 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 202 Views
  • 0 replies
  • 0 likes

Spotify random skips songs

Hi everyone, I'm running into a strange issue with a music guessing game we’ve developed that uses Spotify URLs. We format the links like this: https://open.spotify.com/track/{{trackid}} These links are embedded in QR codes. When scanned with a mobil...

https---open.spotify.com-track-030RDC2ayPOUM32F9IH7eE.png https---open.spotify.com-track-05pKAafT85jeeNhZ6kq7HT.png https---open.spotify.com-track-05qXhd5dgfDS5mDEf7dbfN.png https---open.spotify.com-track-07GvNcU1WdyZJq3XxP0kZa.png
  • Casual Listener
  • Hi everyone,   I'm running into a strange issue with a music guessing game we’ve developed that uses Spotify URLs. We format the links like this: https://open.spotify.com/track/{{trackid}...
  • 240 Views
  • 0 replies
  • 0 likes
  • 240 Views
  • 0 replies
  • 0 likes

Getting more than 50 recently played songs from API

I'm using the Spotify API to get my recently played songs and would really love to be able to get more than 50 of them. Is there any way at all that I could do this? I'm happy to pay for it too. Thanks!

  • Casual Listener
  • I'm using the Spotify API to get my recently played songs and would really love to be able to get more than 50 of them. Is there any way at all that I could do this? I'm happy to pay for it too. &nb...
  • jverma
  • Casual Listener
  • 2019 Views
  • 1 replies
  • 15 likes
  • api
    recently-played
  • 2019 Views
  • 1 replies
  • 15 likes

How does last.fm retrieve a user's full listening history?

From all the API calls available, I could find I got get recently played but that can retrieve at most 50 recently played songs.

  • Casual Listener
  • From all the API calls available, I could find I got get recently played but that can retrieve at most 50 recently played songs.
  • jverma
  • Casual Listener
  • 456 Views
  • 3 replies
  • 0 likes
  • api
    API Help
    Help
    Question
    Song History
  • 456 Views
  • 3 replies
  • 0 likes