Spotify Scraper
Pricing
Pay per usage
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
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
| Field | Type | Description | Default |
|---|---|---|---|
mode | string | Scraping mode (see below) | searchPodcasts |
searchQuery | string | Search keyword(s) for search modes | — |
urls | string[] | Spotify URLs for detail modes | [] |
maxResults | integer | Maximum results to return | 50 |
includeEpisodes | boolean | Fetch episodes for podcast details | true |
includeDiscography | boolean | Fetch discography for artist details | true |
includeRelatedArtists | boolean | Fetch related artists | true |
market | string | ISO country code (US, GB, DE, etc.) | US |
proxyConfiguration | object | Proxy settings | Apify Proxy |
Modes
| Mode | Description | Requires |
|---|---|---|
searchPodcasts | Search podcasts by keyword | searchQuery |
searchTracks | Search music tracks by keyword | searchQuery |
searchArtists | Search artists by keyword | searchQuery |
searchAlbums | Search albums by keyword | searchQuery |
podcastDetails | Scrape podcast + episodes | urls |
artistDetails | Scrape artist profile + discography | urls |
albumDetails | Scrape album + tracks | urls |
playlistDetails | Scrape playlist + all tracks | urls |
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
maxResultsreasonable 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
Legal Notice
This actor is provided for educational and research purposes. Always review and comply with Spotify's Terms of Service before using scraped data commercially.