Get Track's Audio Features
Deprecated GET
/audio-features/{id} https://api.spotify.com/v1
Get audio feature information for a single track identified by its unique Spotify ID.
Parameters
path Path Parameters
| Name | Type |
|---|---|
id
required
| string |
Responses
200 application/json
Audio features for one track
interface AudioFeaturesObject {
acousticness?: number;
analysis_url?: string;
danceability?: number;
duration_ms?: number;
energy?: number;
id?: string;
instrumentalness?: number;
key?:Key ;
liveness?: number;
loudness?:Loudness ;
mode?:Mode ;
speechiness?: number;
tempo?:Tempo ;
time_signature?:TimeSignature ;
track_href?: string;
type?: "audio_features";
uri?: string;
valence?: number;
}
acousticness?: number;
analysis_url?: string;
danceability?: number;
duration_ms?: number;
energy?: number;
id?: string;
instrumentalness?: number;
key?:
liveness?: number;
loudness?:
mode?:
speechiness?: number;
tempo?:
time_signature?:
track_href?: string;
type?: "audio_features";
uri?: string;
valence?: number;
}
Client Errors
401 application/json
Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.
{ error: ErrorObject ; }
403 application/json
Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here.
{ error: ErrorObject ; }
429 application/json
The app has exceeded its rate limits.
{ error: ErrorObject ; }