Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Test out the new Spotify for Developers

Hey everyone, A new version of the Spotify for Developers website is coming soon! The new site includes a major redesign along with some new features and content. A beta version of the new website is ready for testing and we would love to hear what y...

  • Spotify
  • Spotify
  • rfjnjll
  • Visitor
  • 799 Views
  • 15 replies
  • 7 likes
  • Discussion
  • 799 Views
  • 15 replies
  • 7 likes

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
  • 19671 Views
  • 0 replies
  • 59 likes
  • Discussion
  • 19671 Views
  • 0 replies
  • 59 likes

Superuser Contribution Issues with Recommendations API?

PlanPremiumCountrySwedenOperating System(iOS 14, Windows 10)My Question or IssueHey!I'm working mainly with the recommendations and track APIs. Today, when I picked up my project, all of a sudden some recommendations requests does not return any reco...

  • Regular
  • Plan Premium Country Sweden Operating System (iOS 14, Windows 10) My Question or Issue Hey! I'm working mainly with the recommendations and track APIs. Today, when I picked up my project,...
  • Dxphii
  • Casual Listener
  • 1168 Views
  • 11 replies
  • 0 likes
  • 1168 Views
  • 11 replies
  • 0 likes

Is there a way to like and dislike individual tracks via the API?

When I listen to the Release Radar or the Weekly Discovery playlists, I am able to either "Like" or "Dislike" individual tracks. I would like those features to become available through the API. My end goal is to re-map keyboard shortcuts to be able t...

  • Newbie
  • When I listen to the Release Radar or the Weekly Discovery playlists, I am able to either "Like" or "Dislike" individual tracks.   I would like those features to become available through the A...
  • ktuli44
  • Music Fan
  • 572 Views
  • 2 replies
  • 1 likes
  • Feature Request
  • 572 Views
  • 2 replies
  • 1 likes

Solved!! What am I doing wrong? I have applied for commercialization of an app but have not heard anything.

PlanPremiumMy Question or IssueI have a website (non-monetized at the moment), that creates playlists for swing dancers. It is called http://easypeasyplaylist.com. I have created an app in the developer.spotify.com and applied December 2019. However,...

  • Gig Goer
  • Plan Premium My Question or Issue I have a website (non-monetized at the moment), that creates playlists for swing dancers. It is called http://easypeasyplaylist.com.   I have created an ...
  • alsc
  • Gig Goer
  • 1101 Views
  • 7 replies
  • 1 likes
  • question
  • 1101 Views
  • 7 replies
  • 1 likes

Can I do this legally?

I want to build a niche database, but it would require me importing The names of all Artists, Albums, and Tracks and saving them so I have the references separately without hitting the API every time I need them. Is this a violation or not? I'm tryin...

  • Newbie
  • I want to build a niche database, but it would require me importing The names of all Artists, Albums, and Tracks and saving them so I have the references separately without hitting the API every time...
  • 309 Views
  • 0 replies
  • 0 likes
  • Data Storage
    legal
    question
    Terms of Service
  • 309 Views
  • 0 replies
  • 0 likes

Quick Start with iOS 14/SwiftUI

Operating System: iOS 14; Device: iPhone Hi there, I'm just getting started with figuring out how to integrate Spotify API into iOS 14 / Swift UI. However, I especially had a few troubles with Obj-C Linker Flag and AppDelegate which isn't available i...

  • Newbie
  • Operating System: iOS 14; Device: iPhone   Hi there, I'm just getting started with figuring out how to integrate Spotify API into iOS 14 / Swift UI. However, I especially had a few troubles wi...
  • 311 Views
  • 0 replies
  • 4 likes
  • question
  • 311 Views
  • 0 replies
  • 4 likes

No statistics on Dashboard

Hello,I've been working on an Android application for 5 years now (Originally using the now discontinued API). It only requests Album Art of currently playing songs. Yet, my Dashboard still shows"No data available.Check back when you've made somerequ...

  • Newbie
  • Hello, I've been working on an Android application for 5 years now (Originally using the now discontinued API). It only requests Album Art of currently playing songs. Yet, my Dashboard still shows ...
  • 257 Views
  • 0 replies
  • 1 likes
  • dashboard
    Possible Bug
    question
    Statistics
  • 257 Views
  • 0 replies
  • 1 likes

encoding/format of audio stream

Hi, I'm working on a React Native app for iOS and Android which interfaces to Spotify's API, and would like to make an animated logo which moves according to certain frequencies of the audio being streamed (e.g. a low-pass filter). I've got a library...

  • Casual Listener
  • Hi, I'm working on a React Native app for iOS and Android which interfaces to Spotify's API, and would like to make an animated logo which moves according to certain frequencies of the audio being st...
  • murraypaul
  • Gig Goer
  • 601 Views
  • 2 replies
  • 0 likes
  • streaming
  • 601 Views
  • 2 replies
  • 0 likes

Why are so many tracks preview URL's set to nil?

I'm using a get request to get a random track from the entire Spotify library and display its name, the artist's name, cover art and play the previewURL. Why do so many of these random songs (most of them are pretty popular ones) do not have a previe...

  • Regular
  • I'm using a get request to get a random track from the entire Spotify library and display its name, the artist's name, cover art and play the previewURL. Why do so many of these random songs (most of...
  • timmyvc123
  • Regular
  • 494 Views
  • 2 replies
  • 1 likes
  • API request
    API search
    spotify api
    Spotify Web API
  • 494 Views
  • 2 replies
  • 1 likes

Solved!! Refreshing tokens for PKCE-authorised users

Hi,OAuth2 specifications list PKCE as an extension to the standard. As you state in your documentation, the refresh token can only be used once. Why is this? I could not find such a recommendation, although the original spec did state that old refres...

  • Music Fan
  • Hi, OAuth2 specifications list PKCE as an extension to the standard. As you state in your documentation, the refresh token can only be used once. Why is this? I could not find such a recommendation,...
  • sudmike
  • Newbie
  • 1868 Views
  • 4 replies
  • 1 likes
  • Discussion
    question
  • 1868 Views
  • 4 replies
  • 1 likes

Spotify Search API algorithm

Hello, I am a data science student and I am trying to analyze a dataset which consists of many different songs collected from Spotify using the Spotify Web API. The way these songs were collected is by using the Search API and searching by year. Spot...

  • Newbie
  •   Hello, I am a data science student and I am trying to analyze a dataset which consists of many different songs collected from Spotify using the Spotify Web API. The way these songs were colle...
  • 258 Views
  • 0 replies
  • 0 likes
  • question
  • 258 Views
  • 0 replies
  • 0 likes

Solved!! Unable to play album URI via Start/Resume a User’s Playback

Trying to play a non-playlist URI via the https://api.spotify.com/v1/me/player/play endpoint is failing. How can we initiate album playback via URI?

  • Casual Listener
  • Trying to play a non-playlist URI via the https://api.spotify.com/v1/me/player/play endpoint is failing.   How can we initiate album playback via URI?
  • jeffgreco
  • Casual Listener
  • 605 Views
  • 2 replies
  • 0 likes
  • Possible Bug
  • 605 Views
  • 2 replies
  • 0 likes

Solved!! Sometime my search request return nothing

Hello, I made an API on ASP.NET who search tracks info. Sometime when I do a search request wuth my app i got nothing but with Spotify console i have tracks Exemple: Request:https://api.spotify.com/v1/search?q=CLEO%20LAINE%20LET'S%20SLIP%20AWAY&type=...

  • Regular
  • Hello, I made an API on ASP.NET who search tracks info.  Sometime when I do a search request wuth my app i got nothing but with Spotify console i have tracks  Exemple:  Request: ht...
  • Nogaruki
  • Regular
  • 491 Views
  • 2 replies
  • 0 likes
  • Possible Bug
    question
  • 491 Views
  • 2 replies
  • 0 likes

Superuser Contribution Spotify Community (for Developers) is a regress

Sorry for say that, but I have to. Since you guys archived the WebAPI repository from Github and all the issues are moved to here, this created a huge problem. I understand that this new platform took a lot of work, and I think it's great to Spotify'...

  • Regular
  • Sorry for say that, but I have to. Since you guys archived the WebAPI repository from Github and all the issues are moved to here, this created a huge problem. I understand that this new platform too...
  • waveshift
  • Casual Listener
  • 1084 Views
  • 4 replies
  • 10 likes
  • api
    webapi
  • 1084 Views
  • 4 replies
  • 10 likes

Invalid Authorization Code - Authorization Code Flow

PlanPremiumCountryUSDevicePCOperating SystemWindows 10 My Question or IssueI'm trying to request an access token using the /token endpoint with python requests library but keep receiving this error: {'error': 'invalid_grant', 'error_description': 'In...

  • Newbie
  • Plan Premium Country US Device PC Operating System Windows 10   My Question or Issue I'm trying to request an access token using the /token endpoint with python requests library but ke...
  • 1133 Views
  • 0 replies
  • 0 likes
  • Discussion
    question
  • 1133 Views
  • 0 replies
  • 0 likes

Solved!! Bug: Application button "Edit settings" not working

PlanPremiumCountryCanadaDevicePCOperating SystemWindows 10My Question or IssueI'm having the same issue of the Edit Settings button not working, but neither of the solutions given have fixed the issue. I'm not running any ad blockers, and I've cleare...

  • Casual Listener
  • Plan Premium Country Canada Device PC Operating System Windows 10 My Question or Issue I'm having the same issue of the Edit Settings button not working, but neither of the solutions given h...
  • Smactus
  • Casual Listener
  • 360 Views
  • 2 replies
  • 0 likes
  • Possible Bug
  • 360 Views
  • 2 replies
  • 0 likes

Solved!!Superuser Contribution Expose “liked songs” playlist to 3rd party API (Sonos)

When browsing my spotify playlists through Sonos the default “Liked Songs” playlist isn’t available. I can only assume Spotify doesn’t publish this playlist in their external API. PlanPremiumCountryUSA

  • Regular
  • When browsing my spotify playlists through Sonos the default “Liked Songs” playlist isn’t available. I can only assume Spotify doesn’t publish this playlist in their external API.    &nbs...
  • Tarogers87
  • Regular
  • 8387 Views
  • 6 replies
  • 7 likes
  • 8387 Views
  • 6 replies
  • 7 likes

Commercial Integration Status

PlanFreeCountryUnited KingdomOperating SystemmacOS My Question or Issue Hi, I'm developing a home-grown app that could eventually become commercial using the Spotify API, and was wondering where I can check my request status for commercial integratio...

  • Newbie
  • Plan Free Country United Kingdom Operating System macOS   My Question or Issue   Hi,   I'm developing a home-grown app that could eventually become commercial using the Sp...
  • 220 Views
  • 0 replies
  • 0 likes
  • Feature Request
    question
  • 220 Views
  • 0 replies
  • 0 likes

Solved!!Superuser Contribution Bug: Application button "Edit settings" not working

PlanFreeCountryPortugal DeviceDesktopOperating SystemWindows 10 My Question or IssueHello, today i'm having an issue where i try to click the button "Edit Settings" for my app and nothing happens.If i check the browser's console (Chrome) i can see th...

  • Casual Listener
  • Plan Free Country Portugal   Device Desktop Operating System Windows 10   My Question or Issue Hello, today i'm having an issue where i try to click the button "Edit Settings" fo...
  • ivzoob13knwoa3l
  • Newbie
  • 425 Views
  • 3 replies
  • 0 likes
  • Possible Bug
  • 425 Views
  • 3 replies
  • 0 likes

Solved!! Bug: Application button "Edit settings" is broken

PlanPremiumDeviceDesktopOperating SystemLinux My Question or IssueI am trying to set the redirection URI of an application, but clicking the button "Edit settings" does not do anything. URL: https://developer.spotify.com/dashboard/applications/

  • Casual Listener
  • Plan Premium Device Desktop Operating System Linux   My Question or Issue I am trying to set the redirection URI of an application, but clicking the button "Edit settings" does not do an...
  • _yn6jgbnt-lna
  • Casual Listener
  • 505 Views
  • 2 replies
  • 5 likes
  • api
    Possible Bug
  • 505 Views
  • 2 replies
  • 5 likes

Get popular artists of genre

Hello, gyus! My name is Ildar, i'm junior React web developer. I need help with my pet project. In result i wanna see: if i click to genre, my app show popular artists of this genre ( take artists followers). But i don't know how can i build api requ...

  • Newbie
  • Hello, gyus! My name is Ildar, i'm junior React web developer. I need help with my pet project. In result i wanna see: if i click to genre, my app show popular artists of this genre ( take artists fo...
  • 259 Views
  • 0 replies
  • 0 likes
  • api
    Discussion
  • 259 Views
  • 0 replies
  • 0 likes