How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Spotify Tracks API

The Tracks API from Spotify — 13 operation(s) for tracks.

Spotify Tracks API is one of 15 APIs that Spotify publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Tracks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, rate-limit docs, a JSON-LD context, and 3 JSON Schemas.

This API exposes 10 operations across 8 paths, and defines 25 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.spotify.com/v1.

10 operations 8 paths 25 schemas 1 DELETE8 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.spotify.com/v1
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Spotify Tracks API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth_2_0) using the authorizationCode flow, exposing 19 scopes.

  • oauth_2_0 — Spotify supports OAuth 2.0 for authenticating all API requests.

Paths & Operations 10

Across 8 paths, the API surfaces 10 operations — 1 DELETE, 8 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Tracks 10
GET
/tracks/{id}
Get Track
get-track 2 params → 200401403429
GET
/tracksdeprecated
Get Several Tracks
get-several-tracks 2 params → 200401403429
GET
/me/tracks
Get User's Saved Tracks
get-users-saved-tracks 3 params → 200401403429
PUT
/me/tracksdeprecated
Save Tracks for Current User
save-tracks-user body → 200401403429
DELETE
/me/tracksdeprecated
Remove User's Saved Tracks
remove-tracks-user 1 param body → 200401403429
GET
/me/tracks/containsdeprecated
Check User's Saved Tracks
check-users-saved-tracks 1 param → 200401403429
GET
/audio-featuresdeprecated
Get Several Tracks' Audio Features
get-several-audio-features 1 param → 200401403429
GET
/audio-features/{id}deprecated
Get Track's Audio Features
get-audio-features 1 param → 200401403429
GET
/audio-analysis/{id}deprecated
Get Track's Audio Analysis
get-audio-analysis 1 param → 200401403429
GET
/recommendationsdeprecated
Get Recommendations
get-recommendations 47 params → 200401403429

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are TrackObject (20 properties), AudioFeaturesObject (18 properties), AlbumBase (13 properties), SectionObject (12 properties). Each schema is shown below with its type and property counts.

AlbumBase
object
13 properties 12 required
RecommendationsObject
object
2 properties 2 required
TrackRestrictionObject
object
1 property
SectionObject
object
12 properties
Mode
integer
Mode indicates 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.
AudioFeaturesObject
object
18 properties
ExternalUrlObject
object
1 property
SavedTrackObject
object
2 properties
Tempo
number
The overall estimated tempo of a track in beats per minute (BPM). In musical terminology, tempo is the speed or pace of a given piece and derives directly from…
TrackObject
object
20 properties
AlbumRestrictionObject
object
1 property
RecommendationSeedObject
object
6 properties
ImageObject
object
3 properties 3 required
TimeIntervalObject
object
3 properties
AudioAnalysisObject
object
7 properties
SimplifiedAlbumObject
ErrorObject
object
2 properties 2 required
SimplifiedArtistObject
object
6 properties
Key
integer
The key the track is in. Integers map to pitches using standard [Pitch Class notation](https://en.wikipedia.org/wiki/Pitchclass). E.g. 0 = C, 1 = C♯/D♭, 2 = D,…
SegmentObject
object
9 properties
TimeSignature
integer
An estimated time signature. The time signature (meter) is a notational convention to specify how many beats are in each bar (or measure). The time signature r…
ExternalIdObject
object
3 properties
PagingObject
object
6 properties 7 required
PagingSavedTrackObject
object
Loudness
number
The overall loudness of a track in decibels (dB). Loudness values are averaged across the entire track and are useful for comparing relative loudness of tracks…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

spotify-tracks-api-openapi.yml Raw ↑

Other APIs Spotify publishes across the network.

Spotify Albums API
Spotify Artists API
Spotify Audiobooks API
Spotify Categories API
Spotify Chapters API
Spotify Episodes API
Spotify Genres API
Spotify Library API
Spotify Markets API
Spotify Player API
Spotify Playlists API
Spotify Search API
Where this information came from

This is an independent, third-party profile of Spotify Tracks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.