v1

latestSwagger 2.02026-07-17372667.4 KB
get/tracks/{id}

Path parameters

idstring required

Query parameters

marketstring

The market (an ISO 3166-1 alpha-2 country code)

Response

OK

available_marketsstring[]

A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.

disc_numberinteger

The disc number (usually 1 unless the album consists of more than one disc).

duration_msinteger

The track length in milliseconds.

explicitboolean

Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown).

external_idsobject

Known external IDs for the track.

external_urlsobject

Known external URLs for this track.

hrefstring

A link to the Web API endpoint providing full details of the track.

idstring

The Spotify ID for the track.

is_playableboolean

Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.

namestring

The name of the track.

preview_urlstring

A URL to a 30 second preview (MP3 format) of the track.

track_numberinteger

The number of the track. If an album has several discs, the track number is the number on the specified disc.

typestring

The object type: 'track'.

uristring

The Spotify URI for the track.