Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 13984 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13984 Views
  • 0 replies
  • 51 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
  • 351 Views
  • 1 replies
  • 0 likes
  • API Pricing
    API request
  • 351 Views
  • 1 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
  • 338 Views
  • 6 replies
  • 0 likes
  • question
  • 338 Views
  • 6 replies
  • 0 likes

Superuser Contribution Spotify Web API Playback

I've recently been looking into Spotify playback and how to use Web API SDK. Just wanted to share a workflow I though of to see if anyone had any thoughts or suggestions: Generating a Web API SDK access token through my appAny Spotify premium account...

  • Regular
  • I've recently been looking into Spotify playback and how to use Web API SDK. Just wanted to share a workflow I though of to see if anyone had any thoughts or suggestions:   Generating a Web ...
  • NikhilPunwaney
  • Regular
  • 2073 Views
  • 12 replies
  • 0 likes
  • question
  • 2073 Views
  • 12 replies
  • 0 likes

[Playlist API] Returning incorrect total for blends

PlanFree/PremiumCountryAll DeviceAllOperating SystemAll My Question or IssueI've noticed that both the following endpoints/v1/me/playlists/v1/users/{user_id}/playlistsreturn incorrect values for `tracks.total` for "Blend" playlists.The playlists/play...

Screenshot 2021-07-06 at 15.10.20.png
  • Regular
  • Plan Free/Premium Country All   Device All Operating System All   My Question or Issue I've noticed that both the following endpoints /v1/me/playlists /v1/users/{user_id}/playl...
  • shantanuraj
  • Regular
  • 914 Views
  • 8 replies
  • 0 likes
  • Possible Bug
  • 914 Views
  • 8 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
  • 295 Views
  • 2 replies
  • 0 likes
  • Web SDK
  • 295 Views
  • 2 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...
  • 349 Views
  • 0 replies
  • 0 likes
  • question
  • 349 Views
  • 0 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
  • 703 Views
  • 6 replies
  • 0 likes
  • question
  • 703 Views
  • 6 replies
  • 0 likes

Spotify API with Ionic app

Hi, I was thinking to make a ionic app, the idea is using a form, the people enter a name of songs and using a query to spotify api get all the data of this song, can i make it? Thanks!

  • Casual Listener
  • Hi,   I was thinking to make a ionic app, the idea is using a form, the people enter a name of songs and using a query to spotify api get all the data of this song, can i make it?   Tha...
  • Peter_Schorn
  • Roadie
  • 597 Views
  • 6 replies
  • 0 likes
  • question
  • 597 Views
  • 6 replies
  • 0 likes

[iOS][Developer] One click follow button

I think having one button so that people can automatically follow your page from an outside app or website without having to go to spotify first and click "follow" would be really great for artists. That way they can come back and find you later in c...

  • Visitor
  • I think having one button so that people can automatically follow your page from an outside app or website without having to go to spotify first and click "follow" would be really great for artists. ...
  • Peter_Schorn
  • Roadie
  • 216 Views
  • 1 replies
  • 0 likes
  • Developer
    iOS
  • 216 Views
  • 1 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 ...

  • Gig Goer
  • 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...
  • 181 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 181 Views
  • 0 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
  • 300 Views
  • 1 replies
  • 0 likes
  • question
  • 300 Views
  • 1 replies
  • 0 likes

Spotify API (My user data)

Hello, I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks and artists. Is there a way to display this information on my...

  • Casual Listener
  • Hello,   I'm developing a personal website/developer profile and I'd like to display some user data from my own profile. Specifically, I'd like to display my all-time most listened to tracks a...
  • Peter_Schorn
  • Roadie
  • 719 Views
  • 4 replies
  • 0 likes
  • authentication
    Authentication Token
    Login
    spotify api
    User data
    user profile
  • 719 Views
  • 4 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
  • 290 Views
  • 1 replies
  • 0 likes
  • feature request
  • 290 Views
  • 1 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 "> ...
  • 194 Views
  • 0 replies
  • 0 likes
  • api
  • 194 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...

bleh.png
  • 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...
  • 298 Views
  • 0 replies
  • 0 likes
  • flask
    Python
    Spotify
  • 298 Views
  • 0 replies
  • 0 likes

Superuser Contribution Use of "Spotify" word inside app and content

Hi, i've developed an Android app that's called "Spotify Top Stats".It connects to the user's Spotify account via official OAuth procedure and shows some statistics about Spotify usage.My question is: can i use the word "Spotify" inside my app name a...

  • Newbie
  • Hi,  i've developed an Android app that's called "Spotify Top Stats". It connects to the user's Spotify account via official OAuth procedure and shows some statistics about Spotify usage. My ...
  • ohej
  • Spotify
  • 232 Views
  • 1 replies
  • 0 likes
  • question
  • 232 Views
  • 1 replies
  • 0 likes

Solved!!Superuser Contribution INVALID_CLIENT: Invalid redirect URI

I am following the Quick Start tutorial, which instructs: To try the app, replace these credentials with the values that you received when you registered your app. In this demonstration app we use http://localhost:8888/callback as the redirect URI. I...

  • Regular
  • I am following the Quick Start tutorial, which instructs:   To try the app, replace these credentials with the values that you received when you registered your app. In this demonstration app ...
  • athifongoqa
  • Visitor
  • 20706 Views
  • 13 replies
  • 0 likes
  • question
  • 20706 Views
  • 13 replies
  • 0 likes

Podcast Show (RSS) Publishing API

Does Spotify have or plan to have a podcast show publishing API? Interested in automating the process of submitting a show RSS, similarly to how Captivate allows this from within their user dashboard.

  • Visitor
  • Does Spotify have or plan to have a podcast show publishing API? Interested in automating the process of submitting a show RSS, similarly to how Captivate allows this from within their user dashboard.
  • 252 Views
  • 0 replies
  • 1 likes
  • Discussion
    feature request
    question
  • 252 Views
  • 0 replies
  • 1 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
  • 454 Views
  • 2 replies
  • 0 likes
  • authorization
    refresh tokens
    tokens
  • 454 Views
  • 2 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
  • 290 Views
  • 1 replies
  • 0 likes
  • PossibleBug
  • 290 Views
  • 1 replies
  • 0 likes