# Spotify Scraper - Monthly Listeners, Play Counts & Playlists (`scrolahdata/spotify-scraper`) Actor

Spotify scraper without login or API key: Spotify artist monthly listeners and followers, top tracks with play counts, Spotify playlist scraper (followers, tracks, play counts), Spotify album and track data, Spotify podcast ratings.

- **URL**: https://apify.com/scrolahdata/spotify-scraper.md
- **Developed by:** [Leping Gong](https://apify.com/scrolahdata) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Spotify Scraper — Monthly Listeners, Play Counts & Playlists

Scrape **Spotify without login, cookies or API keys**. Get **artist monthly listeners and followers**, **top tracks with play counts**, **playlist followers and tracks with play counts**, albums, single tracks, **podcast ratings** and episodes — from any public Spotify URL.

### Why this scraper?

- 🎧 **Artist stats** — monthly listeners, followers, top 5 tracks with **play counts**, latest release, albums & singles, related artists, playlists featuring the artist, external links, upcoming concerts
- 📃 **Playlist stats** — followers, owner, total tracks, tracks with **play counts**
- 💿 **Albums** — release date, copyright, tracks, artist monthly listeners
- 🎵 **Tracks** — play count (for an artist's top tracks), duration, album, release date, music-video flag
- 🎙️ **Podcasts** — **average rating and number of ratings**, episode count, topics, publisher; single episodes
- ⚡ Fast & cheap — plain HTTP, no browser. **$2 per 1,000 items**, no start fee
- 💸 Invalid or removed URLs return a free error row

### Input

```json
{
  "urls": [
    "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
    "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
    "https://open.spotify.com/album/1o59UpKw81iHR0HPiSkJR0",
    "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
    "spotify:track:11hcBLPtbMp4aQI6zGQLub"
  ],
  "trackRows": true
}
```

### Output

Artist:

```json
{
  "type": "artist",
  "name": "Taylor Swift",
  "monthlyListeners": 96803217,
  "followers": 166584817,
  "topTracks": [{"name": "Patient Zero", "playCount": 150334536, "rank": 1}],
  "latestRelease": {"name": "Patient Zero", "type": "SINGLE"},
  "relatedArtists": [{"name": "Olivia Rodrigo", "id": "..."}],
  "upcomingConcerts": 0,
  "url": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
}
```

Playlist:

```json
{
  "type": "playlist",
  "name": "Today's Top Hits",
  "owner": "Spotify",
  "followers": 33588103,
  "totalTracks": 50,
  "tracks": [{"name": "BbY WOW", "artist": "KAROL G, Judeline, rusowsky", "playCount": 474751786, "position": 1}]
}
```

Podcast:

```json
{"type": "podcast", "name": "The Joe Rogan Experience", "rating": 4.65, "ratingsCount": 956641, "episodesCount": 2782, "topics": ["Comedy"]}
```

With **Also output track rows** every track becomes its own row (`type: "track"`, `playCount`, `source`) — easy to sort by plays in Excel.

### Use cases

- **Music marketing & A\&R** — track monthly listeners and follower growth of artists (schedule daily runs)
- **Playlist pitching** — find playlists with real followers, see what tracks they feature and how they perform
- **Royalty & catalog analytics** — play counts of top tracks
- **Podcast research** — compare ratings and episode counts of shows
- **Dashboards & AI agents** — clean JSON for spreadsheets, BI tools and LLMs

### Limits

Only public data shown on open.spotify.com. Playlists include play counts for the first 30 tracks; albums list tracks without play counts; single-track play counts are available when the track is one of the artist's top tracks.

### Pricing

- **Item** — per artist, playlist, album, track, podcast or episode row
- **Track row** — per extra track row (optional)

Discounts for Apify Silver, Gold and higher plans.

### How to use Spotify Scraper

1. Click **Try for free** (the Apify free plan includes monthly credit).
2. Fill in the input — the example input is already pre-filled, so you can just press **Start**.
3. Download results as **JSON, CSV, Excel or HTML**, or open them in the dataset table view.

### Integrations & API

- **API** — run it from Python, Node.js or any language with the Apify API / `apify-client` and get results as JSON.
- **Schedules & monitoring** — run it hourly, daily or weekly and get only fresh data.
- **Zapier, Make, n8n, Google Sheets, Slack, webhooks** — send results to your tools automatically.
- **AI agents (MCP)** — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

### FAQ

**Do I need an API key, login or cookies?** No. It reads publicly available data only.

**How much does it cost?** You pay only for results (see the Pricing tab), no start fee. Error rows are free. Higher Apify plans get automatic discounts.

**Is it legal?** It collects public data only. Make sure your use complies with the website's terms and data-protection laws (e.g. GDPR) — don't collect personal data without a legal basis.

**Something doesn't work or you need a feature?** Open an issue in the **Issues** tab — we usually reply within a day.

### More from ScrolahData

- [YouTube Channel Scraper](https://apify.com/scrolahdata/youtube-channel-scraper)
- [Telegram Channel Scraper](https://apify.com/scrolahdata/telegram-channel-scraper)
- [App Store & Google Play Reviews Scraper](https://apify.com/scrolahdata/app-store-reviews-scraper)
- [Google Autocomplete Keyword Tool](https://apify.com/scrolahdata/google-autocomplete-keyword-tool)

# Actor input Schema

## `urls` (type: `array`):

Artist, playlist, album, track, podcast (show) or episode URLs or URIs, e.g. https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02

## `trackRows` (type: `boolean`):

Add one row per track (artist top tracks, playlist tracks, album tracks) with play counts. Charged per track row.

## `maxConcurrency` (type: `integer`):

Pages fetched in parallel.

## `proxyConfiguration` (type: `object`):

Apify Proxy recommended.

## Actor input object example

```json
{
  "urls": [
    "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
    "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
  ],
  "trackRows": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
        "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/spotify-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
        "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/spotify-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
    "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrolahdata/spotify-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrolahdata/spotify-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0qCGTmhQA78bgZf54/builds/7ngb0OMH6zyEswDq6/openapi.json
