# Spotify Streams & Charts Scraper: Play Counts, Listeners (`yugenox/spotify-streams-charts-scraper`) Actor

Spotify stream counts, no login: all-time play counts of every track and album of an artist, daily and weekly charts with streams for 76 countries + Global, all-time chart totals, the monthly-listeners ranking, most-streamed artists, plus Apple Music top charts.

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

## Pricing

from $2.00 / 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 Streams & Charts Scraper: Play Counts, Listeners

Get Spotify stream numbers in bulk, without a Spotify account or API key:

- **Artist play counts**: the all-time streams and daily streams of every track of an artist (up to 500 tracks), plus the artist's total streams. Albums too, if you want them.
- **Spotify charts with streams**: the daily or weekly chart of **76 countries + Global**: position, move, streams, stream change, 7-day streams, peak, days or weeks on chart, total chart streams, featured artists.
- **Chart totals**: every song that ever made a country's chart, ranked by the streams it collected there (the US daily list holds about 15,000 songs).
- **Monthly listeners ranking**: artists ranked by Spotify monthly listeners, with daily change and peak.
- **Most-streamed artists of all time**: total, daily, lead, solo and feature streams.
- **Apple Music top charts**: top songs or top albums per country (up to 100).

Every row carries the Spotify track / album / artist ID and link, so you can join it with your own catalogue.

### Use cases

- **Labels, managers and A\&R**: track the play counts of your roster and the competition every day.
- **Royalty and catalogue valuation**: all-time and daily streams per track for a whole catalogue in one run.
- **Playlist pitching and promotion**: spot songs that climb a country chart before they go global.
- **Market research**: compare what streams in Brazil, Japan or Germany this week.
- **Dashboards**: schedule a daily run and send the rows to Google Sheets, BigQuery or your BI tool.

### Input

| Field | What it does |
|---|---|
| **What to get** (`mode`) | `auto` (default): artist play counts when you list artists, otherwise charts. Or `artistTracks`, `charts`, `chartTotals`, `listeners`, `topArtists`, `appleMusicCharts`. |
| **Spotify artists** (`artists`) | Artist links (`https://open.spotify.com/artist/…`), artist IDs or names. Names are matched against the top 10,000 artists by monthly listeners, so paste the link for smaller artists. Up to 500 per run. |
| **Include albums** (`includeAlbums`) | Artist play counts: also one row per album. |
| **Countries** (`countries`) | For charts, chart totals and Apple Music: `us`, `gb`, `de`, `Japan`, `global` … Empty = Global (Spotify) / US (Apple Music). |
| **Chart period** (`period`) | `daily` or `weekly`. |
| **Apple Music chart** (`appleChart`) | `songs` or `albums`. |
| **Max rows** (`maxItems`) | Rows for the whole run, shared fairly between your artists or countries. 0 = everything. |

Examples:

```json
{ "artists": ["https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02", "Bad Bunny"], "includeAlbums": true, "maxItems": 2000 }
```

```json
{ "mode": "charts", "countries": ["global", "us", "gb", "br"], "period": "daily", "maxItems": 800 }
```

```json
{ "mode": "listeners", "maxItems": 5000 }
```

### Output

One row per track, album, chart entry or ranked artist. Real rows from 2026-10-29 (empty fields left out):

```json
{
  "type": "artist-track",
  "position": 1,
  "title": "Cruel Summer",
  "artist": "Taylor Swift",
  "artistId": "06HL4z0CvFAxyc27GXpf02",
  "trackId": "1BxfuPKGuaTgP7aM0Bbdwr",
  "totalStreams": 3522822820,
  "dailyStreams": 863578,
  "isFeature": false,
  "artistTotalStreams": 132725023483,
  "artistDailyStreams": 46201795,
  "artistTrackCount": 670,
  "dataDate": "2026-10-28",
  "url": "https://open.spotify.com/track/1BxfuPKGuaTgP7aM0Bbdwr",
  "artistUrl": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
}
```

```json
{
  "type": "chart-entry",
  "position": 2,
  "positionChange": 3,
  "entryStatus": "up",
  "title": "Babydoll",
  "artist": "Jamie Miller",
  "trackId": "1o9mAOmNm3wT2NdyGV1Ard",
  "streams": 2591733,
  "streamsChange": 533213,
  "chartTotalStreams": 9970169,
  "peakPosition": 2,
  "weeksOnChart": 7,
  "country": "GB",
  "countryName": "United Kingdom",
  "period": "weekly",
  "dataDate": "2026-10-22",
  "url": "https://open.spotify.com/track/1o9mAOmNm3wT2NdyGV1Ard"
}
```

```json
{
  "type": "monthly-listeners",
  "position": 1,
  "artist": "Bruno Mars",
  "artistId": "0du5cEVh5yTK9QJze8zA0C",
  "monthlyListeners": 127115068,
  "listenersChange": -92710,
  "peakListeners": 151079821,
  "dataDate": "2026-10-29",
  "url": "https://open.spotify.com/artist/0du5cEVh5yTK9QJze8zA0C"
}
```

Every row has the same columns (unused ones are empty), so the dataset exports cleanly to CSV or Excel. The dataset has ready-made views: Overview, Spotify charts, Artist play counts, Artist rankings and Apple Music charts.

### Price

Pay per result: **$2.00 per 1,000 rows**, plus **$0.002 per run** (the start fee).

- 20 play counts of one artist: $0.042
- A full 200-song daily chart: $0.402
- All 500 tracks of an artist: $1.002

Artists that aren't tracked, pages that fail and inputs that are skipped are never charged. The run stops at your **Max rows** and never charges more than the maximum you set for the run.

### Tips

- **Paste artist links** (open.spotify.com/artist/…) for exact matches; names are convenient for well-known artists.
- **Fair share**: with 10 artists and Max rows 1,000 you get up to 100 tracks per artist (most-streamed first). Set Max rows to 0 to get everything.
- **Daily monitoring**: schedule the actor once a day (numbers update once a day) and compare `dailyStreams` or chart positions over time.
- **Weekly charts** are published once a week; the `dataDate` field tells you which chart you got.
- The **monthly-listeners ranking** goes deep (many thousands of artists); set Max rows to what you need.

### FAQ

**Where do the numbers come from?**
Spotify stream counts, charts and listener numbers are read from kworb.net, a long-running public site that records Spotify's own public figures every day. Apple Music charts come from Apple's public top-charts feed.

**How fresh is the data?**
Once a day. Each row has `dataDate` (the day the numbers refer to) and `pageUpdatedAt` (when the source page was last updated).

**Why is my artist not found?**
Play counts are available for artists with a sizeable Spotify audience. If an artist isn't covered, the run says so and charges nothing for it. Names only match artists in the top 10,000 by monthly listeners; paste the artist link to be sure.

**Is it legal to scrape kworb.net and Apple's public charts?**
The actor reads only public pages that anyone can open in a browser, with no login, and follows each site's robots.txt rules at a modest pace. The data is aggregate statistics about songs, albums and public artists. Whether your particular use is allowed depends on where you are and what you do with the data, so check with a lawyer if you're unsure.

**Does it access any private data?**
No. No account or login is used and no personal data is collected: only song, album and artist names, IDs, links and public stream / chart numbers.

**What happens if the site is slow or refuses a request?**
The run always finishes with the rows it got and a plain status message explaining what happened. Rows that were not delivered are never charged.

**Can I use it through the API or with integrations?**
Yes. Run it through the Apify API, schedule it, or connect it to Google Sheets, Make, Zapier, Slack, webhooks and more.

# Actor input Schema

## `mode` (type: `string`):

Automatic = artist play counts when you list artists below, otherwise the Spotify charts of the countries below (Global when none). Or pick one: artist play counts (all-time streams of every track, optionally albums), daily/weekly Spotify charts with streams, all-time chart totals of a country, the monthly-listeners ranking, the most-streamed artists of all time, or Apple Music top charts.

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

For artist play counts. Spotify artist links (https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02), artist IDs, or artist names (names are matched against the top 10,000 artists by monthly listeners — paste the link for smaller artists). Up to 500 per run.

## `includeAlbums` (type: `boolean`):

Artist play counts: also save every album of the artist with its all-time and daily streams (one row per album).

## `countries` (type: `array`):

For charts, chart totals and Apple Music charts. Country codes or names, e.g. us, gb, de, br, "Japan" — or "global" for Spotify's Global chart. Spotify charts cover 76 countries + Global. Empty = Global (Spotify) / us (Apple Music).

## `period` (type: `string`):

Spotify charts and chart totals: the daily or the weekly chart.

## `appleChart` (type: `string`):

Apple Music top charts: top songs or top albums (up to 100 per country).

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

Maximum number of rows for the whole run, shared fairly between your artists or countries. 0 = everything (a chart has 200 rows, an artist up to 500 tracks, the monthly-listeners ranking many thousands).

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

Apify Proxy (datacenter) is the default and comes with every Apify plan. If connections keep failing, the run switches to residential proxies when your account has them.

## Actor input object example

```json
{
  "mode": "auto",
  "artists": [
    "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
  ],
  "includeAlbums": false,
  "countries": [
    "us"
  ],
  "period": "daily",
  "appleChart": "songs",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped rows (chart entries, play counts, rankings).

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

Status and statistics for this run.

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

RUN_REPORT: how the run ended, counts, requests and proxy use.

# 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 = {
    "mode": "auto",
    "artists": [
        "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
    ],
    "countries": [
        "us"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/spotify-streams-charts-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 = {
    "mode": "auto",
    "artists": ["https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"],
    "countries": ["us"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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