Spotify Scraper avatar

Spotify Scraper

Pricing

Pay per usage

Go to Apify Store
Spotify Scraper

Spotify Scraper

Scrape Spotify podcasts, music tracks, artists, albums, and playlists. Search by keyword or provide direct URLs. Extract episodes, top tracks, discography, monthly listeners, and more.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

abdulrahman alrashid

abdulrahman alrashid

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Scrape Spotify podcasts, music tracks, artists, albums, and playlists. Search by keyword or provide direct Spotify URLs to extract detailed data.

What does Spotify Scraper do?

This actor extracts data from Spotify without requiring any API keys or authentication. It supports:

  • Search podcasts by keyword — returns name, publisher, description, total episodes, cover art URL
  • Search tracks/artists/albums by keyword — returns full metadata for each result
  • Podcast details — all episodes with title, description, duration, release date
  • Artist profiles — monthly listeners, genres, top tracks, full discography, related artists
  • Album details — all tracks, release date, total duration, label, copyrights
  • Playlist contents — all tracks with artist, album, duration, date added, position

Input

FieldTypeDescriptionDefault
modestringScraping mode (see below)searchPodcasts
searchQuerystringSearch keyword(s) for search modes
urlsstring[]Spotify URLs for detail modes[]
maxResultsintegerMaximum results to return50
includeEpisodesbooleanFetch episodes for podcast detailstrue
includeDiscographybooleanFetch discography for artist detailstrue
includeRelatedArtistsbooleanFetch related artiststrue
marketstringISO country code (US, GB, DE, etc.)US
proxyConfigurationobjectProxy settingsApify Proxy

Modes

ModeDescriptionRequires
searchPodcastsSearch podcasts by keywordsearchQuery
searchTracksSearch music tracks by keywordsearchQuery
searchArtistsSearch artists by keywordsearchQuery
searchAlbumsSearch albums by keywordsearchQuery
podcastDetailsScrape podcast + episodesurls
artistDetailsScrape artist profile + discographyurls
albumDetailsScrape album + tracksurls
playlistDetailsScrape playlist + all tracksurls

Example Input

Search for podcasts

{
"mode": "searchPodcasts",
"searchQuery": "true crime",
"maxResults": 25,
"market": "US"
}

Scrape artist details

{
"mode": "artistDetails",
"urls": [
"https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
],
"maxResults": 100,
"includeDiscography": true,
"includeRelatedArtists": true
}

Scrape playlist tracks

{
"mode": "playlistDetails",
"urls": [
"https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
],
"maxResults": 500
}

Search for tracks

{
"mode": "searchTracks",
"searchQuery": "lofi beats",
"maxResults": 50,
"market": "US"
}

Example Output

Podcast search result

{
"type": "podcast",
"id": "5CfCWKI5pZ28U0uOzXkDHe",
"name": "The Joe Rogan Experience",
"publisher": "Joe Rogan",
"description": "The official podcast of comedian Joe Rogan.",
"totalEpisodes": 2150,
"explicit": false,
"languages": ["en"],
"coverArtUrl": "https://i.scdn.co/image/...",
"spotifyUrl": "https://open.spotify.com/show/5CfCWKI5pZ28U0uOzXkDHe",
"scrapedAt": "2024-01-15T10:30:00.000Z"
}

Track search result

{
"type": "track",
"id": "4cOdK2wGLETKBW3PvgPWqT",
"name": "Never Gonna Give You Up",
"artists": [
{
"id": "0gxyHStUsqpMadRV0Di1Qt",
"name": "Rick Astley",
"spotifyUrl": "https://open.spotify.com/artist/0gxyHStUsqpMadRV0Di1Qt"
}
],
"album": {
"id": "6eUW0wxWtzkFdaEFsTJto6",
"name": "Whenever You Need Somebody",
"releaseDate": "1987-11-12",
"coverArtUrl": "https://i.scdn.co/image/..."
},
"durationMs": 213573,
"duration": "3m 33s",
"explicit": false,
"popularity": 85,
"spotifyUrl": "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT",
"scrapedAt": "2024-01-15T10:30:00.000Z"
}

Pricing

This actor uses a pay-per-event pricing model:

  • $0.80 per 1,000 results ($0.0008 per result)
  • Search results, episodes, tracks, and entities each count as one result

Rate Limits

The actor handles Spotify's rate limiting automatically with exponential backoff. For best results:

  • Use Apify Proxy (residential recommended for high volume)
  • Keep maxResults reasonable for your use case
  • The actor respects a small delay between paginated requests

Technical Details

  • Uses Spotify's public Web API with anonymous access tokens (no API key required)
  • Tokens are automatically refreshed when expired
  • All data is returned as clean, structured JSON
  • Supports pagination for large result sets (up to 10,000 items)
  • Built with Apify SDK v3 and Crawlee

This actor is provided for educational and research purposes. Always review and comply with Spotify's Terms of Service before using scraped data commercially.