Spotify Tracks Scraper avatar

Spotify Tracks Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Spotify Tracks Scraper

Spotify Tracks Scraper

Extract tracks from Spotify playlists, albums, and search results with metadata and durations. Powered by Spotify Scraper.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Nifty

Nifty

Maintained by Community

Actor stats

0

Bookmarked

15

Total users

2

Monthly active users

a day ago

Last modified

Share

This actor extracts Tracks from Spotify. It works on playlists, albums, and search results pages to collect detailed track metadata. The data includes track names, durations, artist information, and album details.


Want more from Spotify?

This actor covers Tracks only. The full Spotify Scraper browser extension also includes Tracks, Lyric Lines, Playlists, Artists, Releases, Albums, Profiles with unlimited personal use, real-time scraping with your logged-in sessions, CSV/Excel/JSON export, field customization, and scheduled monitoring.

Get the Spotify Scraper extension


Data Fields

Field NameDescriptionExample
Track NameName of the song"Blinding Lights"
Track NumberPosition in the album9
Disc NumberDisc index1
Duration (ms)Length in milliseconds200040
Duration (formatted)Length in MM:SS"3:20"
Album NameName of the containing album"After Hours"
Album URISpotify internal identifier for album"spotify:album:4yP066SmsUGH5jZ0L6p3pU"
Artist NamesList of all artists on the track"The Weeknd"
Primary ArtistMain artist name"The Weeknd"
Content RatingExplicit or clean status"explicit"
Media TypeType of content"audio"
Is PlayableAvailability statustrue
Track URISpotify internal identifier for track"spotify:track:0VjIjAfS9uS8S3YwUjPslm"
All Album CoversList of image URLs["https://i.scdn.co/image/ab67616d0000b273881272483da92ef351285550"]
Album URLWeb link to the album"https://open.spotify.com/album/4yP066SmsUGH5jZ0L6p3pU"
Track URLWeb link to the track"https://open.spotify.com/track/0VjIjAfS9uS8S3YwUjPslm"

Input

  • urls: Array of Spotify URL strings from playlists, albums, or search results.
  • maxItems: Maximum number of tracks to extract per URL. Default is 100.

Example Input

{
"urls": ["https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBMwo"],
"maxItems": 50
}

Example Output

[
{
"trackName": "Blinding Lights",
"trackNumber": 9,
"discNumber": 1,
"durationMs": 200040,
"durationFormatted": "3:20",
"albumName": "After Hours",
"albumUri": "spotify:album:4yP066SmsUGH5jZ0L6p3pU",
"artistNames": "The Weeknd",
"primaryArtist": "The Weeknd",
"contentRating": "explicit",
"mediaType": "audio",
"isPlayable": true,
"trackUri": "spotify:track:0VjIjAfS9uS8S3YwUjPslm",
"allAlbumCovers": ["https://i.scdn.co/image/ab67616d0000b273881272483da92ef351285550"],
"albumUrl": "https://open.spotify.com/album/4yP066SmsUGH5jZ0L6p3pU",
"trackUrl": "https://open.spotify.com/track/0VjIjAfS9uS8S3YwUjPslm"
},
{
"trackName": "Save Your Tears",
"trackNumber": 11,
"discNumber": 1,
"durationMs": 215626,
"durationFormatted": "3:35",
"albumName": "After Hours",
"albumUri": "spotify:album:4yP066SmsUGH5jZ0L6p3pU",
"artistNames": "The Weeknd",
"primaryArtist": "The Weeknd",
"contentRating": "explicit",
"mediaType": "audio",
"isPlayable": true,
"trackUri": "spotify:track:5YynpS9Y6f0f6S8S3YwUjPslm",
"allAlbumCovers": ["https://i.scdn.co/image/ab67616d0000b273881272483da92ef351285550"],
"albumUrl": "https://open.spotify.com/album/4yP066SmsUGH5jZ0L6p3pU",
"trackUrl": "https://open.spotify.com/track/5YynpS9Y6f0f6S8S3YwUjPslm"
}
]

Disclaimer

This tool extracts publicly available data. Users are responsible for compliance with applicable terms of service.