Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Refresh token expiration: discussion thread

Hey everyone, I've created this thread to provide more insight on an upcoming change to how refresh tokens work for apps on the Spotify Web API. We've shared a blog post that explains what's changing and why. The short version: refresh tokens will no...

Spotify

ohnoesman2

Casual Listener

700 Views

4 replies

2 likes

Discussion
  • 700 Views
  • 4 replies
  • 2 likes

February 2026 Spotify for Developers update: thread

Hey everyone, I’ve created this thread to provide an open space for discussion, feedback, concerns or ideas on an upcoming update to Spotify for Developers access. We’ve shared a blog post that explains what’s changing and why. Please use this thread...

Spotify

Kugelschreibert

Newbie

90417 Views

343 replies

29 likes

S4D
  • 90417 Views
  • 343 replies
  • 29 likes

Possible to get some Help or not. Need Help API code or something to embed Spotify page to your webs

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueNeed Help API code or something to embed Spotify page to your website and Spotify Code

Regular

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 Need He...

487 Views

0 replies

0 likes

Discussion
  • 487 Views
  • 0 replies
  • 0 likes

Bug in Check if Users Follow a Playlist endpoint

I'm getting inconsistent results when trying to check if a user follows a (public) playlist via the /v1/playlists/{playlist_id}/followers/contains endpoint. If I follow the playlist via the Spotify apps:making the request using my app's access token ...

Music Fan

I'm getting inconsistent results when trying to check if a user follows a (public) playlist via the /v1/playlists/{playlist_id}/followers/contains endpoint.   If I follow the playlist via...

soheilpro

Music Fan

1300 Views

2 replies

1 likes

  • 1300 Views
  • 2 replies
  • 1 likes

me/player/recently-played -- not updating?

I'm noticing that the response from GET https://api.spotify.com/v1/me/player/recently-played does not reflect recent listening. In the response the most recent track was played at 2021-07-10T14:33:04.939Z and the account has been listening to music a...

Music Fan

I'm noticing that the response from GET https://api.spotify.com/v1/me/player/recently-played does not reflect recent listening. In the response the most recent track was played at 2021-07-10T14:33:04...

walternyc

Regular

2070 Views

6 replies

11 likes

  • 2070 Views
  • 6 replies
  • 11 likes

Superuser Contribution Web Playback SDK works locally but not on web server

I'm trying to test the web playback SDK with a slightly modified version of the Quickstart tutorial. I'm using Safari (I know this was not originally supported, but Safari added EME support about 15 months ago in version 13.1.) https://developer.mozi...

Regular

I'm trying to test the web playback SDK with a slightly modified version of the Quickstart tutorial.   I'm using Safari (I know this was not originally supported, but Safari added EME support ...

tomjaimz

Spotify Legend

2087 Views

4 replies

0 likes

web playback sdk
  • 2087 Views
  • 4 replies
  • 0 likes

Follow button

I'm using the Spotify follow button (it's an iFrame element) in a simple website. When a user clicks the link, their default browser opens and they're prompted to login. However if I you go directly to the url specified in as an attribute in the iFra...

Casual Listener

I'm using the Spotify follow button (it's an iFrame element)  in a simple website.  When a user clicks the link, their default browser opens and they're prompted to login.  However if ...

Peter_Schorn

Roadie

1767 Views

6 replies

0 likes

  • 1767 Views
  • 6 replies
  • 0 likes

Superuser Contribution Web Playback SDK should work on iOS 13.4+ but it does not

I'm aware that when it was released, the Web Playback SDK did not support Safari on the desktop or mobile devices due to the lack of support for Encrypted Media Extensions and/or Widevine for DRM. However, as you can see on the Mozilla developer page...

Regular

I'm aware that when it was released, the Web Playback SDK did not support Safari on the desktop or mobile devices due to the lack of support for Encrypted Media Extensions and/or Widevine for DRM. &...

AttilaTheFun

Regular

1898 Views

2 replies

0 likes

web playback sdk
  • 1898 Views
  • 2 replies
  • 0 likes

Superuser Contribution Response code Forbidden

PlanPremiumCountryBelgiumDeviceWindows desktopOperating SystemWindows 10 We integrated the Spotify Web API into our system. For approx 2 months everything was working fine until last week.I see a lot of errors on the calls we do. E.g Get user's avail...

Casual Listener

Plan Premium Country Belgium Device Windows desktop Operating System Windows 10   We integrated the Spotify Web API into our system. For approx 2 months everything was working fine unti...

peterdb

Casual Listener

2805 Views

6 replies

0 likes

  • 2805 Views
  • 6 replies
  • 0 likes

An API for the next track / queued tracks

My Question or IssueWhilst you can fetch user's playback history, you can't fetch the user's playback queue, from what I've been able to find.It would be super helpful to be able to query what the upcoming track is, or even the next few tracks. Spoti...

Casual Listener

My Question or Issue Whilst you can fetch user's playback history, you can't fetch the user's playback queue, from what I've been able to find. It would be super helpful to be able to query what th...

Anent

Regular

654 Views

1 replies

1 likes

  • 654 Views
  • 1 replies
  • 1 likes

Idea validation

Hi, I am working on creating an internal only (for the people of the company I work for) app. The idea is to have everyone who wants to participate auth once (via oauth). Then I will have a daily job that runs to tabulate the most popular steams by e...

Newbie

Hi, I am working on creating an internal only (for the people of the company I work for) app. The idea is to have everyone who wants to participate auth once (via oauth). Then I will have a daily job...

593 Views

0 replies

0 likes

  • 593 Views
  • 0 replies
  • 0 likes

Error 429, how can I avoid rate limiting?

I have built a script that polls the user's current song around 1-3 times per minute (totaling ~4 times per song), since I am using this information elsewhere. I have reduced this as much as I can in order to avoid rate limiting, however, this is the...

Visitor

I have built a script that polls the user's current song around 1-3 times per minute (totaling ~4 times per song), since I am using this information elsewhere. I have reduced this as much as I can in...

Peter_Schorn

Roadie

1085 Views

1 replies

0 likes

API Pricing
API request
  • 1085 Views
  • 1 replies
  • 0 likes

Superuser Contribution Getting 403 Error while Calling Web SDK APIs (Devices,Play,Pause etc) without information

Plan PremiumCountry IndiaDevice Macbook 16 inch + ChromeOperating System 11.3.1 (20E241) I have created an app in my account when I am login from the same account through Spotify logic is working fine. But when I trying from another "PREMIUM" account...

Casual Listener

Plan Premium Country India Device Macbook 16 inch + Chrome Operating System 11.3.1 (20E241)   I have created an app in my account when I am login from the same account t...

vinitkumargoel

Casual Listener

949 Views

2 replies

0 likes

Web SDK
  • 949 Views
  • 2 replies
  • 0 likes

Number of streams endpoint

My Question or Issue Hi thereI have been trying to integrate the number of streams of multiple songs( with country as a filter) into a system that generates a comparative list in the form of a chart that integrates a number of other variables too. Ho...

Visitor

My Question or Issue   Hi there I have been trying to integrate the number of streams of multiple songs( with country as a filter) into a system that generates a comparative list in the form ...

Christoffer

Community Legend

1393 Views

1 replies

0 likes

  • 1393 Views
  • 1 replies
  • 0 likes

Spotify recently played web api

I'm trying to get my most recent songs to display on my website and can't wrap my head around it. Has anyone figured this out? From what I've found it requires a user to login with tokens expiring after 1 hour. I'm using Vue (or specifically Nuxt) if...

Casual Listener

I'm trying to get my most recent songs to display on my website and can't wrap my head around it. Has anyone figured this out?   From what I've found it requires a user to login with tokens ex...

Christoffer

Community Legend

1831 Views

1 replies

0 likes

  • 1831 Views
  • 1 replies
  • 0 likes

Software architecture of Spotify

My Question or IssueI am doing a research project for university with the topic "software architecture of Spotify", since I am not developer myself I have big issues with describing the architecture (Microservices). Is there any picture or something ...

Visitor

My Question or Issue I am doing a research project for university with the topic "software architecture of Spotify", since I am not developer myself I have big issues with describing the architectur...

1035 Views

0 replies

0 likes

  • 1035 Views
  • 0 replies
  • 0 likes

URIs Array seems to have an undocumented limit

When I try to play tracks using the "/v1/me/player/play" endpoint I get results where:- Player shows an emtpy Queue (this is always the case)- after one of the first few songs one song seems to continue playing - progressbar is full, played time and ...

Roadie

When I try to play tracks using the "/v1/me/player/play" endpoint I get results where: - Player shows an emtpy Queue (this is always the case) - after one of the first few songs one song seems to c...

568 Views

0 replies

0 likes

  • 568 Views
  • 0 replies
  • 0 likes

Authorization Code Flow Refresh Tokens

I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their Spotify, I begin to get errors regarding the token ...

Casual Listener

I am building an application which requires the refreshing of user Spotify stats (followers, playlists, etc) on a weekly basis. About two months after a user gives my web application access to their ...

jhyde01

Casual Listener

1773 Views

2 replies

0 likes

authorization
refresh tokens
tokens
  • 1773 Views
  • 2 replies
  • 0 likes

API return favicon URLs with trailing space

My Question or IssueCurrently the Spotify API incorrectly returns HTML icon meta tags with trailing spaces, eg. I have tried a few different ones so far and it seems to apply to both tracks and playlists:https://open.spotify.com/playlist/636JPjFfxIu...

Visitor

My Question or Issue Currently the Spotify API incorrectly returns HTML icon meta tags with trailing spaces, eg. <link rel="icon" href="https://open.scdn.co/cdn/images/favicon.0c211e2e.png "> ...

576 Views

0 replies

0 likes

api
  • 576 Views
  • 0 replies
  • 0 likes

KeyError ['total']

I am creating a user dashboard using plotly and flask to display the top tracks and top artists preferred by a user. My code has been working fine but suddenly I got this error. Also, in the same application, I was able to create a new playlist on sp...

Newbie

I am creating a user dashboard using plotly and flask to display the top tracks and top artists preferred by a user. My code has been working fine but suddenly I got this error. Also, in the same app...

1396 Views

0 replies

0 likes

flask
Python
Spotify
  • 1396 Views
  • 0 replies
  • 0 likes

Superuser Contribution "User not approved for app" for another member in the premium family plan in development mode

PlanFamily PremiumCountryUSDeviceWindowsOperating SystemWindows My Question or IssueMy app in development can allow myself to run but the app returned "User not approved for app" even after I have added the member's email in the dev dashboard for 24 ...

Newbie

Plan Family Premium Country US Device Windows Operating System Windows   My Question or Issue My app in development can allow myself to run but the app returned "User not approved for ...

ohej

Spotify

742 Views

1 replies

0 likes

PossibleBug
  • 742 Views
  • 1 replies
  • 0 likes