Spotify Scraper

ENDPOINTS
GET/tracks/details

Track Details

Get a track with play count, credits, 30-second preview, album and copyrights.

QUERY PARAMS

Spotify track ID, URI or open.spotify.com track link.

Examples:

  • ID: 0VjIjW4GlUZAMYd2vXMi3b
  • URI: spotify:track:0VjIjW4GlUZAMYd2vXMi3b
  • URL: https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b
{
  "id": "0VjIjW4GlUZAMYd2vXMi3b",
  "name": "Blinding Lights",
  "link": "https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b",
  "track_number": 9,
  "disc_number": null,
  "duration_ms": 200040,
  "duration_text": "3:20",
  "is_explicit": false,
  "is_playable": true,
  "playability_reason": "playable",
  "has_video": true,
  "playcount": 5594126973,
  "preview_link": "https://p.scdn.co/mp3-preview/51c08d92815cce4ac2de94a7335a430b81234624",
  "artists": [
    {
      "id": "1Xyo4u8uXC1ZmMpatF05PJ",
      "name": "The Weeknd",
      "link": "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ"
    }
  ],
  "album": {
    "id": "4yP0hdKOZPNshxUOjY0cZj",
    "name": "After Hours",
    "link": "https://open.spotify.com/album/4yP0hdKOZPNshxUOjY0cZj",
    "album_type": "album",
    "release_date": "2020-03-20",
    "release_date_precision": "day",
    "label": null,
    "total_tracks": 14,
    "is_playable": true,
    "is_prerelease": null,
    "images": [
      {
        "link": "https://i.scdn.co/image/ab67616d0000b2738863bc11d2aa12b54f5aeb36",
        "width": 640,
        "height": 640
      },
      {
        "link": "https://i.scdn.co/image/ab67616d00001e028863bc11d2aa12b54f5aeb36",
        "width": 300,
        "height": 300
      },
      {
        "link": "https://i.scdn.co/image/ab67616d000048518863bc11d2aa12b54f5aeb36",
        "width": 64,
        "height": 64
      }
    ],
    "copyrights": [
      {
        "type": "copyright",
        "text": "© 2020 The Weeknd XO, Inc., marketed by Republic Records, a division of UMG Recordings, Inc."
      },
      {
        "type": "phonogram",
        "text": "℗ 2020 The Weeknd XO, Inc., marketed by Republic Records, a division of UMG Recordings, Inc."
      }
    ]
  },
  "credits": {
    "contributors": [
      {
        "name": "The Weeknd",
        "role": "Main Artist",
        "role_group": "Artist",
        "artist_id": "1Xyo4u8uXC1ZmMpatF05PJ",
        "link": "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ"
      },
      {
        "name": "Max Martin",
        "role": "Composer",
        "role_group": "Composition & Lyrics",
        "artist_id": "1rjeVTt9Ra1ldvN7SpeK0G",
        "link": "https://open.spotify.com/artist/1rjeVTt9Ra1ldvN7SpeK0G"
      },
      {
        "name": "Max Martin",
        "role": "Lyricist",
        "role_group": "Composition & Lyrics",
        "artist_id": "1rjeVTt9Ra1ldvN7SpeK0G",
        "link": "https://open.spotify.com/artist/1rjeVTt9Ra1ldvN7SpeK0G"
      },
      {
        "name": "Oscar Holter",
        "role": "Composer",
        "role_group": "Composition & Lyrics",
        "artist_id": "4lv9jAZPR9cdcJ7tIts7xk",
        "link": "https://open.spotify.com/artist/4lv9jAZPR9cdcJ7tIts7xk"
      },
      {
        "name": "Oscar Holter",
        "role": "Lyricist",
        "role_group": "Composition & Lyrics",
        "artist_id": "4lv9jAZPR9cdcJ7tIts7xk",
        "link": "https://open.spotify.com/artist/4lv9jAZPR9cdcJ7tIts7xk"
      },
      {
        "name": "Abel Tesfaye",
        "role": "Composer",
        "role_group": "Composition & Lyrics",
        "artist_id": "56pImxBsOQTCASzJNLNEKN",
        "link": "https://open.spotify.com/artist/56pImxBsOQTCASzJNLNEKN"
      },
      {
        "name": "Abel Tesfaye",
        "role": "Lyricist",
        "role_group": "Composition & Lyrics",
        "artist_id": "56pImxBsOQTCASzJNLNEKN",
        "link": "https://open.spotify.com/artist/56pImxBsOQTCASzJNLNEKN"
      },
      {
        "name": "Ahmad Balshe",
        "role": "Composer",
        "role_group": "Composition & Lyrics",
        "artist_id": "1NwqDu5VcS4E47i7z1Zkqk",
        "link": "https://open.spotify.com/artist/1NwqDu5VcS4E47i7z1Zkqk"
      },
      {
        "name": "Ahmad Balshe",
        "role": "Lyricist",
        "role_group": "Composition & Lyrics",
        "artist_id": "1NwqDu5VcS4E47i7z1Zkqk",
        "link": "https://open.spotify.com/artist/1NwqDu5VcS4E47i7z1Zkqk"
      },
      {
        "name": "Jason \"DaHeala\" Quenneville",
        "role": "Composer",
        "role_group": "Composition & Lyrics",
        "artist_id": "2U3FXTSXBJOC4ESbGNSH4p",
        "link": "https://open.spotify.com/artist/2U3FXTSXBJOC4ESbGNSH4p"
      }
    ],
    "sources": [
      "Republic Records"
    ]
  }
}