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

Smiley88

Visitor

44531 Views

152 replies

17 likes

Discussion
  • 44531 Views
  • 152 replies
  • 17 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

6141 Views

20 replies

13 likes

Possible Bug
  • 6141 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

283 Views

1 replies

0 likes

Playlists
  • 283 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...

457 Views

0 replies

0 likes

Add to Queue
api
Discussion
queue
recommendation
  • 457 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

707 Views

2 replies

0 likes

api
tracks
  • 707 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

386 Views

1 replies

0 likes

  • 386 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...

393 Views

0 replies

0 likes

advertiser
api
Campaigns
Spotify
  • 393 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

819 Views

7 replies

0 likes

  • 819 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?  

416 Views

0 replies

0 likes

Discussion
  • 416 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

763 Views

2 replies

1 likes

  • 763 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...

380 Views

0 replies

0 likes

Discussion
  • 380 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

361 Views

1 replies

0 likes

  • 361 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

1790 Views

2 replies

0 likes

Discussion
get-audio-features
Valence
  • 1790 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

2954 Views

1 replies

0 likes

"Download song using API"
  • 2954 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

802 Views

1 replies

0 likes

API Question
  • 802 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

5137 Views

9 replies

0 likes

Discussion
  • 5137 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

585 Views

3 replies

0 likes

api
development
php
  • 585 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

643 Views

3 replies

0 likes

  • 643 Views
  • 3 replies
  • 0 likes

oEmbed seems to be returning an internal

trying to figure the oEmbed but i am receiving an internal server error 500 im not sure if its my axios request or the Spotify open server? the example response comes through but is over 50,000 character and 56kb long, anyone able to help with oEmbed...

Regular

trying to figure the oEmbed but i am receiving an internal server error 500 im not sure if its my axios request or the Spotify open server? the example response comes through but is over 50,000 chara...

302 Views

0 replies

0 likes

Oembed
  • 302 Views
  • 0 replies
  • 0 likes

token API returning 403

PlanPremiumCountryUnited KingdomDeviceWindows PCOperating SystemWindows 10 My Question or Issue So I am developing a way to add spotify to my AI bot, however when I am trying to setup a function to start playing my spotify, I get 403 no matter what w...

Newbie

Plan Premium Country United Kingdom Device Windows PC Operating System Windows 10   My Question or Issue   So I am developing a way to add spotify to my AI bot, however when I am...

Ximzend

Spotify Star

531 Views

1 replies

0 likes

  • 531 Views
  • 1 replies
  • 0 likes