Announcements

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
  • 14915 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 14915 Views
  • 0 replies
  • 51 likes

Solved!! is it possible to know how many times atrack has been played by an user??

HelloI'm reading the API documentation and the HTTP response of my calls and I haven't been able to answer this question by myself, so I was wondering if it is even possible to know how many times a SINGLE track has been played by a SINGLE user?? tha...

  • Regular
  • Hello I'm reading the API documentation and the HTTP response of my calls and I haven't been able to answer this question by myself, so I was wondering if it is even possible to know how many times ...
  • Hubo
  • Spotify Star
  • 354 Views
  • 1 replies
  • 0 likes
  • api
  • 354 Views
  • 1 replies
  • 0 likes

Web Playback SDK in future / official Linux Client

HiWe are looking for a sustainable solution to integrate Spotify in our media center. For this we need a Linux client. Unfortunately I haven't found it until today. The player now works fine via the Web Playback SDK. But the SDK is still beta and the...

  • Regular
  • Hi We are looking for a sustainable solution to integrate Spotify in our media center. For this we need a Linux client. Unfortunately I haven't found it until today. The player now works fine via th...
  • 230 Views
  • 0 replies
  • 0 likes
  • Linux
    web playback sdk
  • 230 Views
  • 0 replies
  • 0 likes

Spotify DJ?

As the subject ask is it possible to use Spotify as a DJ, since you can buy Spotify for commercial use (company). This is more for personal use as well, since some songs have long intro or outro. You are able today to make the end of the song fade, s...

  • Visitor
  • As the subject ask is it possible to use Spotify as a DJ, since you can buy Spotify for commercial use (company).   This is more for personal use as well, since some songs have long intro or o...
  • Zeyu
  • Regular
  • 418 Views
  • 1 replies
  • 0 likes
  • feature request
    question
  • 418 Views
  • 1 replies
  • 0 likes

Saving user data from the Spotify API

Hello, I'm currently toying around with the Spotify api to create a mobile app that "matches" people based on their top artists, tracks, and genres.For this, I need to save the user data (top 50 tracks and artists, from the Personalization API) and f...

  • Casual Listener
  •   Hello,   I'm currently toying around with the Spotify api to create a mobile app that "matches" people based on their top artists, tracks, and genres. For this, I need to save the use...
  • LucianG
  • Casual Listener
  • 1196 Views
  • 3 replies
  • 1 likes
  • question
  • 1196 Views
  • 3 replies
  • 1 likes

Spotify WEB API from iOS App Can't Authenticate

Hey guys, I'm trying to build an iOS application which makes use of the Spotify WEB API for a school project. Basically I want to be able to authenticate through Spotify in the app and then be able to search and play songs on a phone with Spotify ins...

  • Newbie
  • Hey guys, I'm trying to build an iOS application which makes use of the Spotify WEB API for a school project.  Basically I want to be able to authenticate through Spotify in the app and then be ...
  • 1209 Views
  • 0 replies
  • 0 likes
  • error 3
    iOS
    Web API
  • 1209 Views
  • 0 replies
  • 0 likes

Request for using the spotify web api for a commercial app

how and where do i make a request to get permission to use the Spotify web api? Thank you very much

  • Casual Listener
  •   how and where do i make a request to get permission to use the Spotify web api? Thank you very much
  • wuzzy1212
  • Regular
  • 396 Views
  • 1 replies
  • 0 likes
  • question
  • 396 Views
  • 1 replies
  • 0 likes

What legally counts as synchronization of music?

As the Developer Terms of Service state, an app utilizing Spotify Services / Content may not synchronize music to "visual media", such as videos and slideshows. So obviously, things like adding a soundtrack to a movie are out of the question. What I ...

  • Casual Listener
  • As the Developer Terms of Service state, an app utilizing Spotify Services / Content may not synchronize music to "visual media", such as videos and slideshows. So obviously, things like adding a sou...
  • MegaPal
  • Casual Listener
  • 685 Views
  • 8 replies
  • 1 likes
  • question
  • 685 Views
  • 8 replies
  • 1 likes

Spotify: please expose the essential parts of a song's waveform

Spotify: please expose more of a track's waveform than the first 30 sec. There is a research community that wants to develop more powerful song-waveofmr analytics than exists today. For example, see Bill Protzmann'spost 3 weeks ago on Emotion Data. T...

  • Visitor
  • Spotify: please expose more of a track's waveform than the first 30 sec.  There is a research community that wants to develop more powerful song-waveofmr analytics than exists today. &nbs...
  • dacandyman0
  • Casual Listener
  • 493 Views
  • 1 replies
  • 1 likes
  • Discussion
    question
  • 493 Views
  • 1 replies
  • 1 likes

Cannot control librespot with the API

PlanPremiumCountryGermany Devicelibrespot, WebPlayerOperating SystemWindows 10 My Question or IssueCurrently I am working with this https://github.com/librespot-org/librespot-java software. I created a setup and it works fine.I can start the playback...

  • Casual Listener
  • Plan Premium Country Germany   Device librespot, WebPlayer Operating System Windows 10   My Question or Issue Currently I am working with this https://github.com/librespot-org/li...
  • 334 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 334 Views
  • 0 replies
  • 0 likes

Audio analysis very high short-time Fourier transform frame rate

PlanPremiumCountryIndia DeviceDellOperating SystemWindows 10 My Question or IssueI started using the audio analysis API to find the chorus in track. However, the number of short-time Fourier analysis windows are very high to be processed in my progra...

  • Casual Listener
  • Plan Premium Country India   Device Dell Operating System Windows 10   My Question or Issue I started using the audio analysis API to find the chorus in track. However, the num...
  • dacandyman0
  • Casual Listener
  • 657 Views
  • 1 replies
  • 1 likes
  • feature request
  • 657 Views
  • 1 replies
  • 1 likes

Solved!! How to request several scopes for a token to Spotify API

I need to "authorize" the bearer token to delete some tracks from a list (from my personal Spotify account) I'm following this flow I first make a POST request to https://accounts.spotify.com/api/token using `"Authorization: Basic ZjM4ZjAw...WY0MzE="...

  • Regular
  • I need to "authorize" the bearer token to delete some tracks from a list (from my personal Spotify account) I'm following this flow I first make a POST request to https://accounts.spotify.com/api/tok...
  • Hubo
  • Spotify Star
  • 4830 Views
  • 1 replies
  • 0 likes
  • API reference
    API request
  • 4830 Views
  • 1 replies
  • 0 likes

API: What defines a valid Spotify ID?

I want to verify user input before executing the request and receiving a Bad Request Error. I know it has to be base-62, so [a-zA-Z0-9], but what other restrictions are there? I've noticed that it seems to expect the ID to be 22 characters long. Woul...

  • Visitor
  • I want to verify user input before executing the request and receiving a Bad Request Error. I know it has to be base-62, so [a-zA-Z0-9], but what other restrictions are there? I've noticed that it se...
  • 287 Views
  • 0 replies
  • 0 likes
  • question
  • 287 Views
  • 0 replies
  • 0 likes

Access audio track independently from iFrames?

Hi there, Is it possible to access the audio tracks independently from an iFrame? We would like to stream Spotify music with WebRTC, which is not possible using iFrames. Many thanks!

  • Casual Listener
  • Hi there,   Is it possible to access the audio tracks independently from an iFrame? We would like to stream Spotify music with WebRTC, which is not possible using iFrames.   Many thanks!
  • Beeeemster
  • Casual Listener
  • 276 Views
  • 1 replies
  • 0 likes
  • question
  • 276 Views
  • 1 replies
  • 0 likes

Redirect URI needed?

I just started working with Spotify's Web API and am using Python/Spotipy to retrieve data. If I want to retrieve data related specifically to my personal account (like recently played tracks or saved albums), do I need to set a redirect URI in my ap...

  • Casual Listener
  • I just started working with Spotify's Web API and am using Python/Spotipy to retrieve data. If I want to retrieve data related specifically to my personal account (like recently played tracks or save...
  • burnssh
  • Casual Listener
  • 18536 Views
  • 4 replies
  • 0 likes
  • Developer
    Python
    Uri
  • 18536 Views
  • 4 replies
  • 0 likes

How Much is Possible Currently? (Features)

I am new to this, but assume it would be feasible to support all (or most?) of the following features on an app (iOS & Android) for Spotify users on free accounts. Please provide some true and false feedback for each assumption. An app can:Select a p...

  • Casual Listener
  • I am new to this, but assume it would be feasible to support all (or most?) of the following features on an app (iOS & Android) for Spotify users on free accounts. Please provide some true and fa...
  • 199 Views
  • 0 replies
  • 0 likes
  • Discussion
    question
  • 199 Views
  • 0 replies
  • 0 likes

Get user id for current user

I'm using the ios-sdk. I'm connected and can control the player API, but I'd like to retrieve some data from the REST API. How do I get the current user's spotify id for the queries? TIA

  • Regular
  • I'm using the ios-sdk. I'm connected and can control the player API, but I'd like to retrieve some data from the REST API. How do I get the current user's spotify id for the queries?   TIA &n...
  • hethcox
  • Regular
  • 1077 Views
  • 1 replies
  • 1 likes
  • iOS
  • 1077 Views
  • 1 replies
  • 1 likes

Solved!! Embed code not working in Worpress widgets

PlanFreeCountryCosta Rica but it is affecting worldwideDeviceAllOperating SystemWindows, Android to the extent I could check My Question or IssueTrying to embed my playlist in a widget on wordpresshttps://open.spotify.com/user/nb9zbd3num3x193bey7azzi...

  • Regular
  • Plan Free Country Costa Rica but it is affecting worldwide Device All Operating System Windows, Android to the extent I could check   My Question or Issue Trying to embed my play...
  • Pontik
  • Regular
  • 487 Views
  • 3 replies
  • 0 likes
  • embed
    Playlist
    wordpress
  • 487 Views
  • 3 replies
  • 0 likes

Api limit concern

Hi, I'm currently developing an app which in home it displays all the artist that I follow and for each of them I display their latest track. The problem is that to do this I need to invoke http://api.spotify.com/v1/me/following?type=artist until I r...

  • Music Fan
  • Hi, I'm currently developing an app which in home it displays all the artist that I follow and for each of them I display their latest track.  The problem is that to do this I need to invoke&nb...
  • M4tr1k
  • Music Fan
  • 495 Views
  • 1 replies
  • 0 likes
  • api
    following
    limit
    question
  • 495 Views
  • 1 replies
  • 0 likes

Solved!! API Search returns Error 500 - Server Error

PlanPremiumCountryFRDeviceAPI from computer My Question or IssueAPI was working fine for searching songs but since a couple of hours, this gives an Error 500 Server Error. Note that when parameter 'artist' is given, it works. But when looking for 'tr...

  • Regular
  • Plan Premium Country FR Device API from computer   My Question or Issue API was working fine for searching songs but since a couple of hours, this gives an Error 500 Server Error.  ...
  • Eagleone
  • Regular
  • 744 Views
  • 3 replies
  • 0 likes
  • error api search
  • 744 Views
  • 3 replies
  • 0 likes

Change/Restore playlist URL

My Question or Issue It should be possible to change/restore the url from your playlist. Not to put the url you want, but restore it to another random one. Thanks.

  • Casual Listener
  • My Question or Issue   It should be possible to change/restore the url from your playlist. Not to put the url you want, but restore it to another random one. Thanks.
  • Hubo
  • Spotify Star
  • 261 Views
  • 1 replies
  • 0 likes
  • Change
    Playlist
    restore
    URL
  • 261 Views
  • 1 replies
  • 0 likes

Env: prod