[GH-ISSUE #1173] Audio Features Deprecated? 403 Response #689

Closed
opened 2026-02-28 00:00:53 +03:00 by kerem · 9 comments
Owner

Originally created by @s2t2 on GitHub (Nov 28, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1173

I am trying to get audio features for a given track, using the audio_features method.

creds = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret)
client = Spotify(client_credentials_manager=creds)

track_ids = ["5xTtaWoae3wi06K5WfVUUH"]

client.audio_features(track_ids) #> 403

However it is returning a 403.

I was able to fetch normal metadata about the track using the track method without any issues.

I thought maybe using my user access token auth might help, but no luck.

I read this method may have been deprecated?
https://developer.spotify.com/documentation/web-api/reference/get-audio-features

Any assistance or information would be appreciated. Thank you!

Originally created by @s2t2 on GitHub (Nov 28, 2024). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1173 I am trying to get audio features for a given track, using the `audio_features` method. ``` creds = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret) client = Spotify(client_credentials_manager=creds) track_ids = ["5xTtaWoae3wi06K5WfVUUH"] client.audio_features(track_ids) #> 403 ``` However it is returning a 403. I was able to fetch normal metadata about the track using the `track` method without any issues. I thought maybe using my user access token auth might help, but no luck. I read this method may have been deprecated? https://developer.spotify.com/documentation/web-api/reference/get-audio-features Any assistance or information would be appreciated. Thank you!
kerem 2026-02-28 00:00:53 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@AlexanderWangY commented on GitHub (Nov 28, 2024):

https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api

I believe the changes introduced to the spotify web API have deprecated some of the features you are trying to access. Specifically the audio features method.

<!-- gh-comment-id:2506702829 --> @AlexanderWangY commented on GitHub (Nov 28, 2024): https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api I believe the changes introduced to the spotify web API have deprecated some of the features you are trying to access. Specifically the audio features method.
Author
Owner

@s2t2 commented on GitHub (Nov 28, 2024):

😭

<!-- gh-comment-id:2506777336 --> @s2t2 commented on GitHub (Nov 28, 2024): 😭
Author
Owner

@syphernl commented on GitHub (Nov 29, 2024):

See https://github.com/spotipy-dev/spotipy/issues/1172

<!-- gh-comment-id:2507223908 --> @syphernl commented on GitHub (Nov 29, 2024): See https://github.com/spotipy-dev/spotipy/issues/1172
Author
Owner

@s2t2 commented on GitHub (Nov 29, 2024):

Really surprising mismanagement of their API without warning or recourse to keep the functionality.

<!-- gh-comment-id:2508701695 --> @s2t2 commented on GitHub (Nov 29, 2024): Really surprising mismanagement of their API without warning or recourse to keep the functionality.
Author
Owner

@lemesdaniel commented on GitHub (Nov 30, 2024):

Is there any alternative to get this data somewhere else?

<!-- gh-comment-id:2508788080 --> @lemesdaniel commented on GitHub (Nov 30, 2024): Is there any alternative to get this data somewhere else?
Author
Owner

@dieser-niko commented on GitHub (Nov 30, 2024):

Really surprising mismanagement of their API without warning or recourse to keep the functionality.

Honestly, it's not that surprising anymore. Spotify has done something like this before, changing an endpoint without warning (I think it was deleting a specific track from a playlist).

<!-- gh-comment-id:2508891285 --> @dieser-niko commented on GitHub (Nov 30, 2024): > Really surprising mismanagement of their API without warning or recourse to keep the functionality. Honestly, it's not that surprising anymore. Spotify has done something like this before, changing an endpoint without warning (I think it was deleting a specific track from a playlist).
Author
Owner

@richyxi commented on GitHub (Dec 2, 2024):

for anybody who is interested: https://essentia.upf.edu/models.html

you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features.

Spotify won't take us down.

<!-- gh-comment-id:2512052290 --> @richyxi commented on GitHub (Dec 2, 2024): for anybody who is interested: https://essentia.upf.edu/models.html you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features. Spotify won't take us down.
Author
Owner

@omasseau commented on GitHub (Dec 8, 2024):

for anybody who is interested: https://essentia.upf.edu/models.html

you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features.

Spotify won't take us down.

But you need the audio file, right ?

<!-- gh-comment-id:2526217858 --> @omasseau commented on GitHub (Dec 8, 2024): > for anybody who is interested: https://essentia.upf.edu/models.html > > you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features. > > Spotify won't take us down. But you need the audio file, right ?
Author
Owner

@timtensor commented on GitHub (Dec 20, 2024):

won't

Yes I think so. I was using end points to make customized playlist based on a reference song . Looking for most similar songs but now I don't know how to address that .

<!-- gh-comment-id:2556354805 --> @timtensor commented on GitHub (Dec 20, 2024): > won't Yes I think so. I was using end points to make customized playlist based on a reference song . Looking for most similar songs but now I don't know how to address that .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#689
No description provided.