Announcements

Help Wizard

Step 1

NEXT STEP

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
  • 22498 Views
  • 0 replies
  • 61 likes
  • Discussion
  • 22498 Views
  • 0 replies
  • 61 likes

Solved!! Track release date

Hi,When trying to get a release date for a track that originates in a compilation, I get the compilation release date. for example, track ID 000mFaHFqvtU9bYShUFMlk which is "Mellow Yellow" by Donovan, originally released in 1967, shows 2012 instead. ...

  • Casual Listener
  • Hi, When trying to get a release date for a track that originates in a compilation, I get the compilation release date. for example, track ID 000mFaHFqvtU9bYShUFMlk which is "Mellow Yellow" by Donov...
  • yoni_shv
  • Casual Listener
  • 339 Views
  • 2 replies
  • 0 likes
  • question
  • 339 Views
  • 2 replies
  • 0 likes

Solved!! Play a song starting at a given lyrics line

The last Spotify update introduced lyrics that synchronized with the rhythm. I mean that Spotify holds the data when each line in a song's lyrics is performed in the song.I'm looking for a method that sets the player to point a specific time accordin...

  • Newbie
  • The last Spotify update introduced lyrics that synchronized with the rhythm. I mean that Spotify holds the data when each line in a song's lyrics is performed in the song. I'm looking for a method...
  • diskordier
  • Newbie
  • 687 Views
  • 2 replies
  • 3 likes
  • Android
    iOS
    lyrics
  • 687 Views
  • 2 replies
  • 3 likes

Playback of saved tracks with offset

PlanPremium CountryDE DeviceAPI My Question or IssueI want to use the Web API to start a playback of my saved songs with an offset. Playing the saved songs works using the context URI of a user with :collection appended. But I cannot set an offset fo...

  • Newbie
  • Plan Premium   Country DE   Device API   My Question or Issue I want to use the Web API to start a playback of my saved songs with an offset. Playing the saved songs works us...
  • 197 Views
  • 0 replies
  • 0 likes
  • api
    playback
    web
  • 197 Views
  • 0 replies
  • 0 likes

Superuser Contribution Search for shows returns an array of null

When querying the search api for shows I am getting a successful response but items is returned as an array of null.Here's my request: url: "https://api.spotify.com/v1/search?q=masters&type=show", method: "get", headers: { Authorization: "Bearer " + ...

  • Visitor
  • When querying the search api for shows I am getting a successful response but items is returned as an array of null. Here's my request:   url: "https://api.spotify.com/v1/search?q=masters&a...
  • goleary
  • Newbie
  • 2977 Views
  • 4 replies
  • 2 likes
  • Possible Bug
  • 2977 Views
  • 4 replies
  • 2 likes

CORS error with authorization endpoint

Hi! I posted a question under this topic already but it seems it's disappeared. I'm trying to build an app that connects to the spotify API and extracts some data. In order to do this I need to use the authorization endpoint to get an authorization c...

  • Casual Listener
  • Hi!   I posted a question under this topic already but it seems it's disappeared.   I'm trying to build an app that connects to the spotify API and extracts some data. In order to do th...
  • 577 Views
  • 0 replies
  • 2 likes
  • API Bug
    authorization
    CORS
  • 577 Views
  • 0 replies
  • 2 likes

Multiple Artist ID's connected to one artist

I just recently found out that there can be multiple artist links associated with an artist on Spotify. Here's an example (all of these are JAY-Z's ID's) can input them in https://open.spotify.com/artist/{id} :6jEQFo3iBSyW1f9DVBLknb 2tFblYtXKLTFjvH1s...

  • Newbie
  • I just recently found out that there can be multiple artist links associated with an artist on Spotify. Here's an example (all of these are JAY-Z's ID's) can input them in https://open.spotify.c...
  • 199 Views
  • 0 replies
  • 0 likes
  • question
  • 199 Views
  • 0 replies
  • 0 likes

Bug with API Check if Users Follow a Playlist

Hi, I have been trying out the Spotify API via the web console available on the developer website. Specifically, I was trying out the "Check if Users Follow a Playlist" endpoint when I encountered an issue.API ReferenceCheck if Users Follow a Playlis...

  • Visitor
  • Hi, I have been trying out the Spotify API via the web console available on the developer website. Specifically, I was trying out the "Check if Users Follow a Playlist" endpoint when I encountered an...
  • AmirReza86
  • Casual Listener
  • 545 Views
  • 1 replies
  • 1 likes
  • Possible Bug
  • 545 Views
  • 1 replies
  • 1 likes

Get lyrics from genius api

Hi, I am trying to find song lyrics from Spotify via the Genius API. When I use api route /search, sometimes the API can not find the right song because the name of the song contains e.g. remastered 2011.How can I search better or get the song ID to ...

  • Newbie
  • Hi, I am trying to find song lyrics from Spotify via the Genius API. When I use api route /search, sometimes the API can not find the right song because the name of the song contains e.g. remastered ...
  • Leo_MAP
  • Visitor
  • 990 Views
  • 1 replies
  • 1 likes
  • question
  • 990 Views
  • 1 replies
  • 1 likes

Spaces in pagination next url

Hi there,When loading a user library items (albums, playlists, songs), the url to the next page of items includes spaces that can break implementations where these spaces create a malformed url—for example, in Swift, URL(string: next) fails if the sp...

  • Newbie
  • Hi there, When loading a user library items (albums, playlists, songs), the url to the next page of items includes spaces that can break implementations where these spaces create a malformed url—f...
  • 163 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 163 Views
  • 0 replies
  • 0 likes

Error with Web Playback SDK - MediaDRMBridge creation failed

Device(Pixel 4a, iPhone 13)Operating System(Android 11, iOS 15) I get an uncaught error when loading the SDK on mobile devices: EMEError: Failed to execute 'createMediaKeys' on 'MediaKeySystemAccess': MediaDrmBridge creation failed This looks to be a...

  • Newbie
  • Device (Pixel 4a, iPhone 13) Operating System (Android 11, iOS 15)   I get an uncaught error when loading the SDK on mobile devices:           EMEError: Faile...
  • 442 Views
  • 0 replies
  • 1 likes
  • Possible Bug
  • 442 Views
  • 0 replies
  • 1 likes

Set Private Session via Web API

It would be nice, to have an endpoint to toggle private session via Web API.

  • Casual Listener
  • It would be nice, to have an endpoint to toggle private session via Web API.
  • 314 Views
  • 0 replies
  • 3 likes
  • Feature Request
    Web API
  • 314 Views
  • 0 replies
  • 3 likes

Spotify do not broadcast com.spotify.music.metadatachanged on android 11 api level 30

I'm testing in a Poco X3 pro miui 12.0.2 android 11 the "Device Broadcast Status" is enabledThere is a Intent filter on android manifest filebut it does not work!However in android 8 the same code works fine!PlanFree/PremiumCountryBrazilDevicePoco X3...

  • Casual Listener
  • I'm testing in a Poco X3 pro miui 12.0.2 android 11 the "Device Broadcast Status" is enabled There is a Intent filter on android manifest file but it does not work! However in android 8 the same c...
  • splhead
  • Casual Listener
  • 297 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 297 Views
  • 1 replies
  • 0 likes

Survey

Hello,I hope this is the right place to ask, but I’m currently looking for participants for my survey that I’m doing for my master thesis. The research deals with the relationship between agile practices and open source software development. Therefor...

  • Newbie
  • Hello, I hope this is the right place to ask, but I’m currently looking for participants for my survey that I’m doing for my master thesis. The research deals with the relationship between agile pra...
  • 177 Views
  • 0 replies
  • 0 likes
  • question
  • 177 Views
  • 0 replies
  • 0 likes

Superuser Contribution Create a playlist

Hi, I’m making a website that creates a recommendation based on selected songs. Now I want to create a playlist without an account. So it would create a link which user would click and play on Spotify. Is this possible or do I need to create a user a...

  • Casual Listener
  • ...lay on Spotify. Is this possible or do I need to create a user and make a public playlist on this user?
  • mihanabergoj
  • Casual Listener
  • 410 Views
  • 2 replies
  • 0 likes
  • question
  • 410 Views
  • 2 replies
  • 0 likes

Superuser Contribution API - Local Files

Hi Spotify, I'm trying to find out how the local files are stored. How can I move these files (that are in "Local files" within Spotify) to a playlist. In the API I can add songs to a playlist, but there's no description for local files. I'd love to ...

  • Casual Listener
  • Hi Spotify,   I'm trying to find out how the local files are stored. How can I move these files (that are in "Local files" within Spotify) to a playlist. In the API I can add songs to a playli...
  • spotifyjosh
  • Spotify
  • 789 Views
  • 2 replies
  • 0 likes
  • Developer API
    development
  • 789 Views
  • 2 replies
  • 0 likes

Can't get Access Token

Plan Free Country Russian Federation Operating System Ubuntu My Question or Issue I am getting "error":"invalid_client" when trying to get Access Tokencurl --location --request POST 'https://accounts.spotify.com/token' \--header 'Content-Type: applic...

  • Newbie
  •   Plan Free Country Russian Federation Operating System Ubuntu   My Question or Issue I am getting "error":"invalid_client" when trying to get Access Token curl --locatio...
  • 344 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 344 Views
  • 0 replies
  • 0 likes

Spotify SDK issue

I m trying to user embed Spotify App Remote SDK in my app.When Spotify application was not in login in status, App Remote SDK was not able to redirect to Login in page of Spotify application. Does anyone know how to solve this? Thanks!

  • Casual Listener
  • I m trying to user embed Spotify App Remote SDK in my app. When Spotify application was not in login in status, App Remote SDK was not able to redirect to Login in page of Spotify application. ...
  • Leslielee
  • Casual Listener
  • 373 Views
  • 2 replies
  • 0 likes
  • SDK
  • 373 Views
  • 2 replies
  • 0 likes

Authorization Code Flow - don't want to cache tokens

I am building an app utilizing spotipy and getting a user's top tracks and artists. It is caching the tokens and making it so that my data (or the cached token user's data) is displayed regardless of who logs in. How can I fix this without deleting t...

image.png
  • Casual Listener
  •     I am building an app utilizing spotipy and getting a user's top tracks and artists. It is caching the tokens and making it so that my data (or the cached token user's data) is display...
  • victoriaslocum
  • Newbie
  • 1507 Views
  • 1 replies
  • 0 likes
  • question
  • 1507 Views
  • 1 replies
  • 0 likes

Why am I getting a new refresh_token when I request a refreshed access token?

I am use the authorization code flow for authentication with my app. When my access_token is about to expire and I request a new one using my refresh_token, Spotify does the request but also provides me a new refresh_token and invalidates my previous...

  • Casual Listener
  • ...ser-modify-playback-state user-library-read user-library-modify playlist-modify-public user-read-playback-state user-read-currently-playing user-read-recently-played user-top-read' }     &n...
  • tintin10q
  • Casual Listener
  • 1426 Views
  • 2 replies
  • 0 likes
  • question
  • 1426 Views
  • 2 replies
  • 0 likes