# Spotify Play Count Scraper: Total & Daily Streams per Track (`yugenox/spotify-play-count-scraper`) Actor

Spotify play counts for every track of an artist, no login: all-time and daily streams, Spotify track IDs and links, featured-track flag, artist totals with lead/solo/feature split, plus optional monthly listeners and rank. Input artist names, IDs or Spotify links.

- **URL**: https://apify.com/yugenox/spotify-play-count-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Social media, Marketing, For creators
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Play Count Scraper: total and daily streams for every track

Get the **play count of every track of a Spotify artist** in one run: all-time streams, **daily streams**, the Spotify track ID and link, and whether the artist is the lead or only featured. Add an artist summary row (total streams, daily streams, track count, lead / solo / feature split) and, if you want, **monthly listeners and listener rank**. No Spotify login, no API key, no token.

### What you can use it for

- **Music marketing and A\&R:** see which songs are growing day by day, not just the all-time totals.
- **Playlist pitching:** pick an artist's strongest tracks with real stream numbers.
- **Artist management and labels:** track a roster's catalogue and daily streams on a schedule.
- **Research and dashboards:** export clean numbers to Sheets, BI tools or your own database.

### Input

| Field | What it does |
|---|---|
| **Artists** | Spotify artist links, artist IDs, `spotify:artist:` URIs or names (names are matched among the top 10,000 artists by monthly listeners). |
| **Max rows** | Most rows in the run, shared fairly across artists (default 1,000). |
| **Max tracks per artist** | Keep only each artist's top N tracks. |
| **Minimum streams** | Skip tracks below this all-time count (not charged). |
| **Skip featured tracks** | Leave out songs where the artist is only a guest. |
| **Add an artist summary row** | One extra row per artist with totals (on by default). |
| **Add monthly listeners and rank** | Monthly listeners, daily change, rank and peak on every row. |

Example:

```json
{ "artists": ["https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ", "Taylor Swift"], "maxTracksPerArtist": 50, "includeListeners": true }
```

### Output

A track row (real data, 2026-11-06, trimmed):

```json
{
  "type": "track",
  "artist": "The Weeknd",
  "artistId": "1Xyo4u8uXC1ZmMpatF05PJ",
  "position": 1,
  "title": "Blinding Lights",
  "trackId": "3iRwigDWGH0z3R3wFmYmBW",
  "totalStreams": 5670167806,
  "dailyStreams": 1612149,
  "isFeature": false,
  "artistTotalStreams": 99917856091,
  "artistTrackCount": 319,
  "monthlyListeners": 116976918,
  "listenersRank": 3,
  "url": "https://open.spotify.com/track/3iRwigDWGH0z3R3wFmYmBW",
  "dataDate": "2026-11-06"
}
```

The artist row (`"type": "artist"`) carries `totalStreams` 99,917,856,091, `dailyStreams` 41,697,325, `artistTrackCount` 319 and `leadStreams` / `soloStreams` / `featureStreams`.

### Price

**$1.50 per 1,000 rows** (each track row or artist row), plus a tiny $0.002 start fee per run. Tracks you filter out, artists that are not covered and refused requests are never charged. The whole catalogue of a big artist (300+ tracks) costs about $0.50.

### Coverage

Numbers are updated daily. Coverage is limited to artists with a sizeable Spotify audience, roughly the top 10,000 to 15,000 artists by monthly listeners, with up to 500 tracks per artist. Emerging artists are often not covered; the run says which artists were skipped and does not charge for them. Album, release date and ISRC are not included.

### Tips

- Paste artist links for exact matches; names work for well-known artists.
- Use **Max tracks per artist** = 10 for a quick "top songs" report across many artists.
- Schedule the actor daily and compare `dailyStreams` over time to spot rising songs.

### FAQ

**Is it legal to scrape Spotify play counts?**
This actor reads only public stream statistics that anyone can view without logging in. It does not access Spotify accounts. You are responsible for how you use the data; check the rules that apply to you, and ask a lawyer if unsure.

**Does it access any private data?**
No. It collects public numbers about artists and songs only: no user accounts, no listener data, no personal information.

**Why is an artist missing?**
Smaller artists are not tracked. The run lists them in its status message and you are not charged for them.

**How fresh are the numbers?**
Updated once a day; each row has `dataDate`.

# Actor input Schema

## `artists` (type: `array`):

Spotify artist links (https://open.spotify.com/artist/...), artist IDs, spotify:artist: URIs or artist names. Names are matched against the top 10,000 artists by monthly listeners; for smaller artists paste the link.

## `maxItems` (type: `integer`):

Most rows to save in this run (shared fairly across artists). 0 = no limit.

## `maxTracksPerArtist` (type: `integer`):

Keep only each artist's top N tracks by all-time streams. 0 = all tracks (up to 500 per artist).

## `minStreams` (type: `integer`):

Skip tracks with fewer all-time streams than this (skipped tracks are not charged). 0 = keep all.

## `skipFeatures` (type: `boolean`):

Leave out tracks on which the artist appears as a featured guest.

## `includeArtistRow` (type: `boolean`):

Add one row per artist with total and daily streams, track count and the lead / solo / feature split.

## `includeListeners` (type: `boolean`):

Add monthly listeners, daily change, listener rank and peak to every row (artists in the top 10,000 by monthly listeners).

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

Apify Proxy (datacenter) works well and comes with every plan.

## `_noResidential` (type: `boolean`):

Internal test switch: never fall back to residential proxies.

## Actor input object example

```json
{
  "artists": [
    "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ",
    "Taylor Swift"
  ],
  "maxItems": 20,
  "maxTracksPerArtist": 0,
  "minStreams": 0,
  "skipFeatures": false,
  "includeArtistRow": true,
  "includeListeners": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "_noResidential": false
}
```

# Actor output Schema

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

Track and artist rows with total and daily streams.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts and requests.

# 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 = {
    "artists": [
        "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/spotify-play-count-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 = {
    "artists": ["https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/spotify-play-count-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 '{
  "artists": [
    "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/spotify-play-count-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/spotify-play-count-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/wazsTq1KlCrSGg3yR/builds/eVwgdQh5wLJfmiJhn/openapi.json
