Spotify Track Scraper avatar

Spotify Track Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Spotify Track Scraper

Spotify Track Scraper

Extract track names, durations, artists, and album metadata from Spotify playlists, albums, and search results. 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

3

Total users

2

Monthly active users

a day ago

Last modified

Categories

Share

This actor extracts Tracks in a List from Spotify. It collects metadata from tracks appearing in playlists, albums, or search results. The data includes track identifiers, artist information, and album details.

Data Fields

Field NameDescriptionExample
Track NameThe title of the song"Blinding Lights"
Track NumberPosition of track in the album1
Disc NumberThe disc index1
Duration (ms)Length of track in milliseconds200040
Duration (formatted)Length of track in MM:SS"03:20"
Album NameTitle of the album"After Hours"
Album URISpotify internal identifier for album"spotify:album:4yP06m2Xz96L7kwHqpkpkE"
Artist NamesList of all contributing artists"The Weeknd"
Primary ArtistThe main artist of the track"The Weeknd"
Content RatingExplicit or clean status"explicit"
Media TypeType of content"audio"
Is PlayableAvailability statustrue
Track URISpotify internal identifier for track"spotify:track:0VjIjW4GlUZ8o2W7uezw3p"
All Album CoversArray of cover image URLs["https://i.scdn.co/image/ab67616d0000b273881275483047ee99b7626061"]
Album URLPublic link to the album"https://open.spotify.com/album/4yP06m2Xz96L7kwHqpkpkE"
Track URLPublic link to the track"https://open.spotify.com/track/0VjIjW4GlUZ8o2W7uezw3p"

Input

  • urls: Array of Spotify URLs. Supports playlist, album, and search result pages.
  • 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": "03:20",
"albumName": "After Hours",
"albumUri": "spotify:album:4yP06m2Xz96L7kwHqpkpkE",
"artistNames": "The Weeknd",
"primaryArtist": "The Weeknd",
"contentRating": "explicit",
"mediaType": "audio",
"isPlayable": true,
"trackUri": "spotify:track:0VjIjW4GlUZ8o2W7uezw3p",
"allAlbumCovers": ["https://i.scdn.co/image/ab67616d0000b273881275483047ee99b7626061"],
"albumUrl": "https://open.spotify.com/album/4yP06m2Xz96L7kwHqpkpkE",
"trackUrl": "https://open.spotify.com/track/0VjIjW4GlUZ8o2W7uezw3p"
},
{
"trackName": "Save Your Tears",
"trackNumber": 11,
"discNumber": 1,
"durationMs": 215626,
"durationFormatted": "03:35",
"albumName": "After Hours",
"albumUri": "spotify:album:4yP06m2Xz96L7kwHqpkpkE",
"artistNames": "The Weeknd",
"primaryArtist": "The Weeknd",
"contentRating": "explicit",
"mediaType": "audio",
"isPlayable": true,
"trackUri": "spotify:track:5Yynp6Y8Y6Y6Y6Y6Y6Y6Y6",
"allAlbumCovers": ["https://i.scdn.co/image/ab67616d0000b273881275483047ee99b7626061"],
"albumUrl": "https://open.spotify.com/album/4yP06m2Xz96L7kwHqpkpkE",
"trackUrl": "https://open.spotify.com/track/5Yynp6Y8Y6Y6Y6Y6Y6Y6Y6"
}
]

Want more from Spotify?

This actor only covers Tracks in a List. The full Spotify Scraper browser extension also includes Track Details, Track Lyrics, Playlists in a List, Playlist Details, Library Playlists, Artists in a List, Artist Details, Artist Discography, Albums in a List, Album Details, Album Tracks, Profiles in a List, Profile Details 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

Disclaimer

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