Skip to main content
GET
/
api
/
v1
/
tracks
/
detail
Get track detail
curl --request GET \
  --url https://spotify-api31.p.rapidapi.com/api/v1/tracks/detail \
  --header 'x-rapidapi-key: <api-key>'
{
  "message": "Success",
  "statusCode": 200,
  "pagination": {
    "total": 100,
    "hasMore": true,
    "continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
  },
  "data": {
    "id": "4WNcduiCmDNfmTEz7JvmLv",
    "name": "In Control (feat. Selin)",
    "uri": "spotify:track:4WNcduiCmDNfmTEz7JvmLv",
    "trackNumber": 1,
    "duration": {
      "totalMilliseconds": 179232
    },
    "playability": {
      "playable": true,
      "reason": "PLAYABLE"
    },
    "playcount": "17997692",
    "saved": false,
    "sharingInfo": {
      "shareId": "lrcoeILvR_2AEDoc5PlckA",
      "shareUrl": "https://open.spotify.com/track/4WNcduiCmDNfmTEz7JvmLv?si=lrcoeILvR_2AEDoc5PlckA"
    },
    "contentRating": {
      "label": "NONE"
    },
    "mediaType": "AUDIO",
    "album": {
      "id": "1B68g8b4wpedNDvvQLAoCe",
      "name": "In Control (feat. Selin)",
      "uri": "spotify:album:1B68g8b4wpedNDvvQLAoCe",
      "type": "SINGLE",
      "date": {
        "isoString": "2020-10-30T00:00:00Z",
        "precision": "DAY",
        "year": 2020
      },
      "coverArts": [
        {
          "url": "https://i.scdn.co/image/ab67616d00001e02fa258529452f4ed34cc961b1",
          "width": 300,
          "height": 300
        }
      ],
      "playability": {
        "playable": true
      },
      "sharingInfo": {
        "shareId": "Blp9BsNdRKCnEHttGzyOGw",
        "shareUrl": "https://open.spotify.com/album/1B68g8b4wpedNDvvQLAoCe?si=Blp9BsNdRKCnEHttGzyOGw"
      },
      "tracks": {
        "totalCount": 1
      }
    },
    "artists": [
      {
        "id": "3t8WiyalpvnB9AObcMufiE",
        "name": "Mahmut Orhan",
        "uri": "spotify:artist:3t8WiyalpvnB9AObcMufiE"
      }
    ]
  }
}

Authorizations

x-rapidapi-key
string
header
required

API Key

Query Parameters

uri
string
required

Spotify track URI to get track details

Example:

"spotify:track:4WNcduiCmDNfmTEz7JvmLv"

Response

Success

message
string
Example:

"Success"

statusCode
number
Example:

200

pagination
object
data
object

Track detail information