Spotify Profile Scraper

Spotify Profile Scraper

by paco_nassa

Scrape public Spotify user profiles to extract usernames, avatars, follower counts, recently played artists, top artists, and public playlists. No OAu...

25 runs
4 users
Try This Actor

Opens on Apify.com

About Spotify Profile Scraper

Scrape public Spotify user profiles to extract usernames, avatars, follower counts, recently played artists, top artists, and public playlists. No OAuth required.

What does this actor do?

Spotify Profile Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Spotify Profile Scraper An Apify actor that scrapes public Spotify profile data including username, avatar, recently played artists, top artists, and public playlists. ## Features - Scrapes public Spotify user profiles - Extracts username, avatar, follower/following counts - Gets recently played artists (if user has enabled this) - Gets top artists this month (if visible) - Lists public playlists - Handles anti-bot detection with residential proxies - Returns data availability flags to know what was accessible ## Input json { "profileUrls": ["https://open.spotify.com/user/spotify"], "maxArtistsToFetch": 50, "includePlaylistDetails": false, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] } } ### Input Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | profileUrls | array | required | List of Spotify profile URLs to scrape | | maxArtistsToFetch | number | 50 | Max artists to fetch per profile | | includePlaylistDetails | boolean | false | Include detailed playlist info | | proxyConfiguration | object | Apify Residential | Proxy settings | | maxRequestRetries | number | 3 | Max retries for failed requests | | requestHandlerTimeoutSecs | number | 60 | Timeout per page in seconds | ## Output json { "userId": "spotify", "profileUrl": "https://open.spotify.com/user/spotify", "username": "Spotify", "avatarUrl": "https://i.scdn.co/image/...", "followerCount": 1234567, "followingCount": 42, "recentlyPlayedArtists": [ { "name": "Artist Name", "spotifyUrl": "https://open.spotify.com/artist/xxx", "spotifyId": "xxx", "imageUrl": "https://..." } ], "topArtistsThisMonth": [...], "publicPlaylists": [ { "name": "Playlist Name", "spotifyUrl": "https://open.spotify.com/playlist/xxx", "spotifyId": "xxx", "trackCount": 50, "imageUrl": "https://...", "description": null } ], "scrapedAt": "2025-12-11T12:00:00.000Z", "dataAvailability": { "recentlyPlayedPublic": true, "topArtistsPublic": false, "playlistsPublic": true, "followersPublic": true }, "error": null } ## Data Availability Not all data is available for all profiles: - recentlyPlayedPublic: User must enable "Show recently played artists on your public profile" in Spotify settings - topArtistsPublic: Visible on the web profile if the user has listening history - playlistsPublic: Only public playlists are visible - followersPublic: Follower/following counts may be hidden by user ## Usage via API typescript import { ApifyClient } from 'apify-client'; const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' }); const run = await client.actor('paco_nassa/spotify-profile-scraper').call({ profileUrls: ['https://open.spotify.com/user/spotify'], }); const { items } = await client.dataset(run.defaultDatasetId).listItems(); console.log(items); ## Limitations - Cannot access private listening history (recently played, top tracks) without OAuth - Data availability depends on user's privacy settings - Spotify may change their HTML structure, requiring selector updates - Rate limiting may apply for large volumes ## Troubleshooting ### No data returned - Check if the profile exists and is public - Check dataAvailability flags to see what's accessible - User may have privacy settings enabled ### Blocked by Spotify - Ensure residential proxies are being used - Reduce request rate - Check for CAPTCHA challenges

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Spotify Profile Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
paco_nassa
Pricing
Paid
Total Runs
25
Active Users
4
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support