This query returns the audio feature from a track
Developer info
- API endpoint slug
- spotify.get_audio_features_for_a_track
- Runtime method
- performQuery("spotify.get_audio_features_for_a_track")
Query fields
Track ID Text input > Other
- Label
- TrackID
- Slug
- track_id
- Required
- false
- Can have default value
- true
Ingredients
AcousticnessA confidence measure from 0.0 to 1.0 of whether the track is acoustic. 1.0 represents high confidence the track is acoustic.
- Slug
- acousticness
- Filter code
- Spotify.getAudioFeaturesForATrack.Acousticness
- Type
- String
- Example
- 1.0
EnergyEnergy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. For example, death metal has high energy, while a Bach prelude scores low on the scale
- Slug
- energy
- Filter code
- Spotify.getAudioFeaturesForATrack.Energy
- Type
- String
- Example
- 1.0
KeyThe key the track is in. Integers map to pitches using standard Pitch Class notation.
- Slug
- key
- Filter code
- Spotify.getAudioFeaturesForATrack.Key
- Type
- String
- Example
- 2
LoudnessThe overall loudness of a track in decibels (dB). Values typical range between -60 and 0 db.
- Slug
- loudness
- Filter code
- Spotify.getAudioFeaturesForATrack.Loudness
- Type
- String
- Example
- -8.322
ModeIndicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived. Major is represented by 1 and minor is 0.
- Slug
- mode
- Filter code
- Spotify.getAudioFeaturesForATrack.Mode
- Type
- String
- Example
- 1
SpeechinessDetects the presence of spoken words in a track. More exclusively speech-lie are closer to 1.0.
- Slug
- speechiness
- Filter code
- Spotify.getAudioFeaturesForATrack.Speechiness
- Type
- String
- Example
- 0.33
DanceabilityDescribes how suitable a track is for dancing. A value of 0.0 is least danceable and 1.0 is most danceable.
- Slug
- danceability
- Filter code
- Spotify.getAudioFeaturesForATrack.Danceability
- Type
- String
- Example
- 0.92
InstrumentalnessPredicts whether a track contains no vocals. Confidence for instrumental tracks is higher as the value approaches 1.0.
- Slug
- instrumentalness
- Filter code
- Spotify.getAudioFeaturesForATrack.Instrumentalness
- Type
- String
- Example
- 0.7
LivenessDetects the presence of an audience in the recording. . A value above 0.8 provides strong likelihood that the track is live.
- Slug
- liveness
- Filter code
- Spotify.getAudioFeaturesForATrack.Liveness
- Type
- String
- Example
- 0.105
ValenceA measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track.
- Slug
- valence
- Filter code
- Spotify.getAudioFeaturesForATrack.Valence
- Type
- String
- Example
- 0.718
TempoThe overall estimated tempo of a track in beats per minute (BPM).
- Slug
- tempo
- Filter code
- Spotify.getAudioFeaturesForATrack.Tempo
- Type
- String
- Example
- 150.953
DurationTrack length in seconds.
- Slug
- duration
- Filter code
- Spotify.getAudioFeaturesForATrack.Duration
- Type
- String
- Example
- 242.187
Time signatureThe time signature (meter) is a notational convention to specify how many beats are in each bar (or measure).
- Slug
- time_signature
- Filter code
- Spotify.getAudioFeaturesForATrack.TimeSignature
- Type
- String
- Example
- 4