...

/

Track Audio Features and Analysis

Track Audio Features and Analysis

Learn how to get audio features and analysis of a track using the Spotify API.

Overview

Imagine having a list of songs to play at a party but not sure what to play. Spotify can help us sort our list. It provides two endpoints that can be used to get features and analysis of a track. In this lesson, we'll look at these endpoints.

Track audio features

The Get Track’s Audio Features endpoint of the Spotify API can help us analyze a track using some key metrics. We can call the endpoint https://api.spotify.com/v1/audio-features/{id} and it will fetch the required metrics in response. The {id} in this URI is replaced with the Spotify ID of the ...