Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Updating the Criteria for Web API Extended Access

Hey, I created this thread to get your feedback on our blog post around changes to the Web API extended access criteria, which will take place on May 15th. Please share any of your thoughts on this change in the comments below. All of your feedback w...

Spotify

Oncloud

Newbie

47488 Views

157 replies

18 likes

Discussion
  • 47488 Views
  • 157 replies
  • 18 likes

Volume control no longer working in Web Playback SDK

This was working until very recently (within the last day or 2). Now, any time I try to set the volume of the web player using this endpoint, it returns a 403 with the following body: { "error" : { "status" : 403, "message" : "Player command failed: ...

Casual Listener

This was working until very recently (within the last day or 2). Now, any time I try to set the volume of the web player using this endpoint, it returns a 403 with the following body:   { "...

BeardedBear

Newbie

2455 Views

7 replies

9 likes

  • 2455 Views
  • 7 replies
  • 9 likes

Solved!! Extension Request Feedback

PlanPremiumCountryUSA DeviceM1 Macbook 2022, iPhone 14 ProOperating SystemiOS 16.3, macOS Ventura 13.3.1 My Question or IssueI received a rejection email for my quota extension request from **bleep**. I wasn't sure if they would respond via email so ...

Newbie

Plan Premium Country USA   Device M1 Macbook 2022, iPhone 14 Pro Operating System iOS 16.3, macOS Ventura 13.3.1   My Question or Issue I received a rejection email for my quota ...

Ximzend

Spotify Star

510 Views

1 replies

0 likes

  • 510 Views
  • 1 replies
  • 0 likes

me/tracks consistently returns 502 for user with many liked songs

Hi, I have a user using my app who has about 48000 liked songs. When I try to make a call to https://api.spotify.com/v1/me/tracks?offset=0&limit=1 on behalf of the user, i.e., retrieving the latest liked song for the user, I consistently get 502 retu...

Roadie

Hi, I have a user using my app who has about 48000 liked songs. When I try to make a call to  https://api.spotify.com/v1/me/tracks?offset=0&limit=1 on behalf of the user, i.e., retrieving th...

Lethalpaintball

Casual Listener

6201 Views

20 replies

13 likes

Possible Bug
  • 6201 Views
  • 20 replies
  • 13 likes

Get Playlist endpoint doesn't show playlists that go from public to private and back to public

I noticed this the other day while testing things out, but I had a bunch of public playlists, turned them private and back to public again, and now the get playlists endpoint doesn't recognize them.Has this happened to any of you before?

Regular

I noticed this the other day while testing things out, but I had a bunch of public playlists, turned them private and back to public again, and now the get playlists endpoint doesn't recognize them. ...

Ximzend

Spotify Star

288 Views

1 replies

0 likes

Playlists
  • 288 Views
  • 1 replies
  • 0 likes

Adding songs to queue via Spotify API even if the user is not listening to anything

For context: We are developing a song recommendation platform called https://songslikex.com. We would like to create a new interaction into the user journey with an "Add song to Spotify Queue" functionality. We were implementing it based on the Devel...

Regular

For context: We are developing a song recommendation platform called https://songslikex.com.   We would like to create a new interaction into the user journey with an "Add song to Spotify Qu...

465 Views

0 replies

0 likes

Add to Queue
api
Discussion
queue
recommendation
  • 465 Views
  • 0 replies
  • 0 likes

Get playlist items can not filter out tracks which are unable to be played

Plan: PremiumCountry: NL Device: all My Question or Issue:Whenever I fetch a users playlist tracks (https://developer.spotify.com/documentation/web-api/reference/get-playlists-tracks) there is no option to filter out the tracks which are unable to be...

Casual Listener

Plan: Premium Country: NL   Device: all   My Question or Issue: Whenever I fetch a users playlist tracks (https://developer.spotify.com/documentation/web-api/reference/get-playli...

xiduzo

Casual Listener

718 Views

2 replies

0 likes

api
tracks
  • 718 Views
  • 2 replies
  • 0 likes

Why does my code return an error finding devices?

I have some code to get my tokenand this code to get my available playersdef find_player(token): url = "https://api.spotify.com/v1/me/player/devices" headers = { "Authorization": f"Bearer {token}" } response = requests.get(url, headers=headers) print...

Visitor

I have some code to get my token and this code to get my available players def find_player(token): url = "https://api.spotify.com/v1/me/player/devices" headers = { "Authorization...

Ximzend

Spotify Star

395 Views

1 replies

0 likes

  • 395 Views
  • 1 replies
  • 0 likes

How can I get TYPE for campaign api ADS

I'm using the API ADS to get info from the campaigns that I created in spotify ADS, and I need to get the type of campaign or something similar to or am I getting wrong? I mean, I need to know if campaign is type audio, video, image or event or artis...

Visitor

I'm using the API ADS to get info from the campaigns that I created in spotify ADS, and I need to get the type of campaign or something similar to or am I getting wrong?  I mean, I need to kn...

396 Views

0 replies

0 likes

advertiser
api
Campaigns
Spotify
  • 396 Views
  • 0 replies
  • 0 likes

Get User Playlists Only Returns Some Playlists

PlanFreeCountry Device2017 MacBook AirOperating SystemBig Sur 11.4 My Question or IssueI have a Python script that utilises the `https://api.spotify.com/v1/me/playlists` endpoint. However, the request only returns some of my created playlists and non...

Regular

Plan Free Country   Device 2017 MacBook Air Operating System Big Sur 11.4   My Question or Issue I have a Python script that utilises the `https://api.spotify.com/v1/me/playlists`...

ImOnABus

Regular

828 Views

7 replies

0 likes

  • 828 Views
  • 7 replies
  • 0 likes

Retrieve the affinities calculated for artists

Hello, Is there any way to be able to access the specific affinities that Spotify calculates when requesting top artists for a specific user?

Casual Listener

Hello,   Is there any way to be able to access the specific affinities that Spotify calculates when requesting top artists for a specific user?  

418 Views

0 replies

0 likes

Discussion
  • 418 Views
  • 0 replies
  • 0 likes

Issues with logging onto Developer Portal

Hello everyone.I'm currently experiencing inability to log onto the developer portal. I've never tried to log on it so I'm wondering why I am unable to do that. The page simply refreshes after logging in action has been done.I'm trying to work on som...

Casual Listener

Hello everyone. I'm currently experiencing inability to log onto the developer portal. I've never tried to log on it so I'm wondering why I am unable to do that. The page simply refreshes after lo...

GalaxyCat

Newbie

768 Views

2 replies

1 likes

  • 768 Views
  • 2 replies
  • 1 likes

Is there a way to implement the web playback sdk with spotify auth token stored in http only cookie

PlanPremiumCountryFranceDeviceWeb dev, widget, Pc Operating SystemWindows My Question or IssueHi, i'm implementing spotify auth token inside my app. We put it inside the cookie of browser, with flag http-only , then the frontend can't read the token ...

Newbie

Plan Premium Country France Device Web dev, widget, Pc  Operating System Windows   My Question or Issue Hi, i'm implementing spotify auth token inside my app. We put it inside the...

384 Views

0 replies

0 likes

Discussion
  • 384 Views
  • 0 replies
  • 0 likes

Spotify force switches apps

iPhone 14 pro, ios 16, U.S., premium Spotify forces me out of other apps and onto Spotify. It happens usually while I am in the car. I will be on any other app and it randomly pops up, constantly.

Newbie

iPhone 14 pro, ios 16, U.S., premium   Spotify forces me out of other apps and onto Spotify. It happens usually while I am in the car. I will be on any other app and it randomly pops up, const...

Ximzend

Spotify Star

370 Views

1 replies

0 likes

  • 370 Views
  • 1 replies
  • 0 likes

How accurate is valence?

I'm currently working on an app that uses the API, and I'm using the get get audio features endpoint to get the valence of songs. This song: https://open.spotify.com/track/2TLIGSbQK27nod2mLbVp1d?si=09611e8fa2944595has a valence of 0, which doesn't re...

Regular

I'm currently working on an app that uses the API, and I'm using the get get audio features endpoint to get the valence of songs.   This song: https://open.spotify.com/track/2TLIGSbQK27nod2mLb...

Maureen26

Casual Listener

1817 Views

2 replies

0 likes

Discussion
get-audio-features
Valence
  • 1817 Views
  • 2 replies
  • 0 likes

Using Spotify API to get the actual audio file and merge it over an uploaded video

Hi there guys,I'm building an application in which people can upload their videos and download a formatted one.I want to add a feature in which they can also add their best songs from Spotify, browse for any of those and choose one.Once the uses choo...

Newbie

Hi there guys, I'm building an application in which people can upload their videos and download a formatted one. I want to add a feature in which they can also add their best songs from Spotify, br...

Ximzend

Spotify Star

2987 Views

1 replies

0 likes

"Download song using API"
  • 2987 Views
  • 1 replies
  • 0 likes

If I use the spotify api, can I do more than play the songs?

My question is similar to this one: https://community.spotify.com/t5/Spotify-for-Developers/Unity-AudioSource-Playback-Commercial-Integration/m-p/4969587I am building a unity game, and would like users to be able to sign into spotify from our game an...

Visitor

My question is similar to this one: https://community.spotify.com/t5/Spotify-for-Developers/Unity-AudioSource-Playback-Commercial-Integration/m-p/4969587 I am building a unity game, and would...

Ximzend

Spotify Star

810 Views

1 replies

0 likes

API Question
  • 810 Views
  • 1 replies
  • 0 likes

Solved!! API Auth using only a python script

None of the below information is required. However, the more you provide the easier it will be for us to try and help.PlanNot applicableCountryBrazilDeviceNot applicableOperating SystemNot applicable My Question or IssueHi, thereMy name is Nikolas an...

Regular

None of the below information is required. However, the more you provide the easier it will be for us to try and help. Plan Not applicable Country Brazil Device Not applicable Operating System...

nikkk1

Regular

5225 Views

9 replies

0 likes

Discussion
  • 5225 Views
  • 9 replies
  • 0 likes

Code not Printing playlist details

Hi, I have this code but whenever I submit a URL into the box, it should output the details of the playlist but nothing is showing. Can someone help please? "; echo "Status Code: " . $status_code . "\n"; echo json_encode( $data, JSON_PRETTY_PRINT ); ...

Casual Listener

Hi,   I have this code but whenever I submit a URL into the box, it should output the details of the playlist but nothing is showing. Can someone help please?   <?php // Check if...

Ximzend

Spotify Star

587 Views

3 replies

0 likes

api
development
php
  • 587 Views
  • 3 replies
  • 0 likes

Looking for a solution to target_year

PlanPremiumCountryUS My Question or IssueI'm working with the recommendations API and want to utilize something like "target_year" to fetch songs from a certain decade. I know it's not possible currently, but does anyone have an idea of how I might b...

Casual Listener

Plan Premium Country US   My Question or Issue I'm working with the recommendations API and want to utilize something like "target_year" to fetch songs from a certain decade. I know it's n...

Ximzend

Spotify Star

651 Views

3 replies

0 likes

  • 651 Views
  • 3 replies
  • 0 likes