# Spotify Play Count Scraper – Streams, Listeners & Top Cities (`tubetext/spotify-play-count-scraper`) Actor

Get Spotify play counts from track, album, artist or playlist links (incl. Top 50 charts). Returns plays per track, plus artist monthly listeners, followers, world rank and top cities. No login. $1 per 1,000 tracks; invalid links are free. · by TubeText

- **URL**: https://apify.com/tubetext/spotify-play-count-scraper.md
- **Developed by:** [TubeText Labs](https://apify.com/tubetext) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 tracks

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 Play Count Scraper – Streams, Listeners & Top Cities

> **TubeText** · Social, apps & trends · Pay per result. No login. Ready for AI agents. [All tools](https://apify.com/tubetext)

### Quick start (no coding)

![Spotify Play Count Scraper quick start: click Try for free, paste your input, click Start, export to Excel](https://raw.githubusercontent.com/LMSlay/tubetext-assets/main/spotify-quickstart.gif)

1. Click **Try for free** at the top of this page. A free Apify account is enough – it includes monthly credit.
2. In **Spotify links**, paste Spotify artist, album, track or playlist links, one per line (charts like the Global Top 50 are playlists).
3. Click **Start**. Usually about a minute.
4. When it says **Succeeded**, open the **Output** tab and click **Export** → **Excel** (or CSV). Artist rows (monthly listeners, world rank, top cities, top tracks) and one row per track with its exact play count.

**Cost:** $0.001 per track, $0.003 per artist report, $0.002 per album – a 100-track playlist ≈ $0.10.

**Common mistakes**

- Want play counts for an artist's whole catalog → set **Releases per artist** above 0.
- Only the first 100 tracks of a playlist → raise **Max tracks per playlist**.
- Pasting a Spotify search page → paste artist, album, track or playlist links instead.

**Questions or problems?** [Open an issue](https://apify.com/tubetext/spotify-play-count-scraper/issues) (we read every one). **Need a custom version?** Ask in an issue or [email us](mailto:tubettext@gmail.com) – we build it as a private Actor on Apify.

### Use from Claude, Cursor or any MCP client

Add `https://mcp.apify.com?tools=tubetext/spotify-play-count-scraper` as a remote MCP server and sign in to Apify (Claude: **Settings → Connectors → Add custom connector**). Claude Code:

```bash
claude mcp add --transport http tubetext "https://mcp.apify.com?tools=tubetext/spotify-play-count-scraper"
```

Then ask, for example: *"Get play counts for every track on this album: \[link]"* or *"Show this artist's monthly listeners, world rank and top cities: \[link]"*

🆓 **Free to try:** Apify's free plan includes $5 of usage every month, no credit card needed – enough for about 5,000 track play counts with this tool.

**What you get** – real output from a test run, shortened. Artist reports like these, plus one row per track with its exact play count:

| Artist | Monthly listeners | World rank | Top city | Top tracks' plays |
|---|---|---|---|---|
| Pitbull | 78,950,151 | 18 | Mexico City | 14,529,331,651 |
| Taylor Swift | 106,723,405 | 5 | London | 11,114,119,940 |
| The Weeknd | 116,101,822 | 3 | Mexico City | 30,044,292,920 |

### Spotify play count API for music analytics

Call it from your back end with the Apify API. One request runs the Actor and returns the rows as JSON:

```bash
curl -X POST "https://api.apify.com/v2/acts/tubetext~spotify-play-count-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' -d '{"items":["https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg"],"maxReleasesPerArtist":3}'
```

- **Monitoring:** Daily stream tracking: schedule the run with your artist, album or playlist links and diff `playcount` between runs. Add an Apify webhook to get notified when each run finishes.
- **Cost at volume:** 500 artists a day ≈ $1.50/day at the free-plan price ($0.003/artist); every track adds $0.001.
- **Stable output:** field names don't change between runs. Failed or empty items come back as status rows that aren't billed, and every row has `charged: true/false`.
- **Why not the official API:** Spotify's Web API doesn't return play counts or monthly listeners. This reads the public values Spotify shows in its own apps, without login.

Get **Spotify play counts (all-time streams) for every track** of an album, a playlist (including Spotify's **Top 50** charts) or an artist's catalog – plus **artist stats**: **monthly listeners, followers, world rank, top cities with listener counts, top 10 tracks with play counts**, latest release, related artists and links. Paste Spotify links – no login, no API key. Built for record labels and A\&R, artist managers and booking agents, music marketers and playlist curators, and music-industry analysts. **$1 per 1,000 tracks.**

### What you get

- 🎵 **Track rows** – name, artists, **play count**, album, release date, track and disc number, duration, explicit flag, link
- 👤 **Artist rows** – **monthly listeners**, followers, **world rank** (top 500), **top cities** (city, country, listeners), **top 10 tracks with play counts**, album and single counts, latest release, popular releases, related artists, social links, biography
- 💿 **Album rows** – label, release date, copyright, number of tracks, **total plays** and top track, followed by every track with its play count
- 📈 **Playlists and charts** – every track of a playlist or chart (Top 50 – Global, Viral 50, editorial playlists) with play counts
- 📚 **Artist catalog** (optional) – play counts of every track on the artist's popular releases and albums

### Input example

```json
{
  "items": [
    "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
    "https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy",
    "https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF"
  ],
  "maxReleasesPerArtist": 5
}
```

### Output example

Artist row (real data, Oct 2026, shortened):

```json
{
  "type": "artist",
  "name": "Pitbull",
  "monthlyListeners": 78950151,
  "followers": 13505631,
  "worldRank": 18,
  "topCities": [
    {"city": "Mexico City", "country": "MX", "listeners": 1271768},
    {"city": "London", "country": "GB", "listeners": 907725}
  ],
  "topTracks": [
    {"name": "Give Me Everything (feat. Nayer)", "playcount": 2314627447},
    {"name": "Timber", "playcount": 2282704990}
  ],
  "albumsCount": 23,
  "singlesCount": 183,
  "latestRelease": "PITCOIN"
}
```

Track row (real data, Oct 2026):

```json
{
  "type": "track",
  "name": "Give Me Everything (feat. Nayer)",
  "artists": ["Pitbull", "AFROJACK", "Ne-Yo", "Nayer"],
  "playcount": 2314627447,
  "albumName": "Planet Pit (Deluxe Version)",
  "releaseDate": "2011-06-17",
  "durationMs": 252306,
  "explicit": false
}
```

Album row: `{"type": "album", "name": "Planet Pit (Deluxe Version)", "label": "Mr.305/Polo Grounds Music/J Records", "totalTracks": 16, "totalPlays": 4682170612}`.

Choose the **Tracks**, **Artists** or **Albums** view when exporting to Excel/CSV.

### Pricing

Pay per event:

- **$1.00 per 1,000 tracks** (cheaper on higher Apify plans: down to $0.70).
- **$0.003 per artist** (stats, cities and top tracks).
- **$0.002 per album** summary.
- Start fee only $0.00005 per run. Items that are not found and failed requests are free; a track that appears twice in one run is charged once.

Example: a daily check of the Top 50 – Global chart = 50 tracks ≈ **$0.05**; 20 artists with 5 releases each ≈ 20 × $0.003 + ~100 × $0.002 + ~1,200 × $0.001 ≈ **$1.46**.

### Tips

- **Daily stream tracking**: schedule a daily run for your roster or a chart and compare `playcount` per `trackId` to get daily streams.
- **Tour and marketing planning**: `topCities` shows where an artist's listeners are.
- **A\&R scouting**: track `monthlyListeners` and `followers` of emerging artists over time.
- **Integrations**: send results to Google Sheets, Slack or your database via Apify integrations, n8n, Make or Zapier, or call the Actor from your code via the API.

### Ready-made examples

- [Spotify Artist Monthly Listeners](https://apify.com/tubetext/spotify-play-count-scraper/examples/spotify-artist-monthly-listeners)
- [Spotify Top 50 Play Counts](https://apify.com/tubetext/spotify-play-count-scraper/examples/spotify-top-50-play-counts)

### TubeText Labs tools

**TubeText Labs** builds 29 pay-per-result Apify Actors for video, social and e-commerce data – no login, JSON/CSV/Excel output, and ready for ChatGPT and Claude (Apify MCP), n8n, Make and Zapier. All tools: [apify.com/tubetext](https://apify.com/tubetext)

**Transcripts**

- [YouTube Transcript Scraper](https://apify.com/tubetext/youtube-transcript-fast) – videos, Shorts, playlists and whole channels to text; Whisper AI when there are no captions
- [TikTok Transcript Scraper](https://apify.com/tubetext/tiktok-transcript) – TikTok captions plus Whisper AI, SRT and timestamps
- [Instagram Reels Transcript](https://apify.com/tubetext/instagram-reels-transcript) – reel links or @usernames to text with Whisper AI
- [Podcast & Video Transcript](https://apify.com/tubetext/any-video-podcast-transcript) – podcast RSS / Apple Podcasts, X, Facebook, Loom, Twitch and audio files to text
- [Facebook Video Transcript](https://apify.com/tubetext/facebook-video-transcript) – public Facebook videos and Reels to text with Whisper AI
- [X (Twitter) Video Transcript](https://apify.com/tubetext/twitter-x-video-transcript) – X/Twitter video posts to text with Whisper AI
- [Bilibili Video Transcript](https://apify.com/tubetext/bilibili-video-transcript) – Bilibili (B站) videos to text with Whisper AI, plus optional English summaries
- [Podcast Transcript](https://apify.com/tubetext/podcast-transcript) – podcast RSS feeds and Apple Podcasts episodes to text with Whisper AI

**Video & ad analysis**

- [Video Breakdown AI](https://apify.com/tubetext/video-breakdown-ai) – hook analysis, shot list, cut pacing, products shown and script of any TikTok, Reel or YouTube video
- [Video Ad Analyzer](https://apify.com/tubetext/video-ad-analyzer) – competitors' YouTube video ads by brand or domain (Google Ads Transparency), torn down by AI
- [Meta Ad Library Scraper](https://apify.com/tubetext/meta-ad-library-videos) – Facebook and Instagram ads by brand or keyword: video URLs, images, ad copy, CTA and landing page

**Social, apps & trends**

- [YouTube Channel Analytics](https://apify.com/tubetext/youtube-channel-analytics) – subscribers, recent video performance, Social Blade grade, ranks and estimated earnings
- [Bilibili Scraper](https://apify.com/tubetext/bilibili-scraper) – Bilibili (B站) keyword search, popular board, top-100 ranking, video stats, danmaku text and creator (UP主) followers – no login
- [China Trending Topics](https://apify.com/tubetext/china-trending-topics) – Douyin, Weibo, Baidu, Toutiao and Bilibili hot-search boards in one run, in English – plus an optional AI briefing on why topics trend
- [WeChat Article Scraper](https://apify.com/tubetext/wechat-articles-scraper) – WeChat 公众号 articles by keyword or link: full text, English titles and optional English summaries
- [Google Play Reviews + AI Insights](https://apify.com/tubetext/google-play-reviews-ai) – Android app reviews by star rating, country and language, plus an AI report of complaints and praise
- [Steam Reviews Scraper + AI Insights](https://apify.com/tubetext/steam-reviews-scraper) – Steam game reviews with hours played and votes, review score and current players, plus an AI report of top complaints, praise and feature requests
- [Social Blade Scraper](https://apify.com/tubetext/socialblade-scraper) – Social Blade stats for YouTube, TikTok, Instagram and Twitch creators – grade, ranks, 2-week growth, daily history, earnings estimates and top-100 lists
- [Spotify Play Count Scraper](https://apify.com/tubetext/spotify-play-count-scraper) *(this tool)* – play counts for every track of an album, artist or playlist (incl. Top 50 charts), plus monthly listeners, followers, world rank and top cities

**E-commerce & travel**

- [TikTok Shop Product Scraper](https://apify.com/tubetext/tiktok-shop-product-scraper) – US TikTok Shop prices, items sold, stock per SKU and shop stats
- [AliExpress Search Scraper](https://apify.com/tubetext/aliexpress-search-scraper) – AliExpress search results by keyword: price, items sold, rating, shipping, badges
- [Google Hotels Scraper](https://apify.com/tubetext/google-hotels-scraper) – hotel prices for any destination and dates, per booking site and as a 90-day price calendar
- [Taobao & Tmall Product Scraper](https://apify.com/tubetext/taobao-tmall-scraper) – Taobao/Tmall products by Chinese or English keyword, category or URL: CNY prices, shops and seller scores
- [Alibaba & Yiwu Supplier Finder by Image](https://apify.com/tubetext/alibaba-yiwu-image-search) – product photo in, similar Alibaba.com and Yiwu wholesale listings out: price, MOQ, supplier, country and rating
- [Amazon Product Search Scraper](https://apify.com/tubetext/amazon-product-search-scraper) – Amazon search results, Best Sellers lists and product pages: price, rating, reviews, monthly sales signal, badges and specs
- [Google Flights Scraper](https://apify.com/tubetext/google-flights-scraper) – flight prices for any route or multi-city trip, a cheapest-day calendar, price insights and booking options per site
- [Agoda & Booking.com Hotel Reviews + AI](https://apify.com/tubetext/agoda-reviews-scraper) – Agoda hotel reviews plus verified Booking.com reviews shown on Agoda, hotel scores and sub-scores, and an AI report of complaints, praise and action items
- [Gas Prices Scraper (US & Canada)](https://apify.com/tubetext/gas-prices-scraper) – live gas station prices by ZIP, city or coordinates – regular, premium, diesel, E85 – with an area summary of the cheapest stations
- [Idealo Price Scraper](https://apify.com/tubetext/idealo-price-scraper) – every shop offer for a product on idealo – price, shipping, delivery, shop rating – in Germany, Austria, France, Italy, Spain and the UK, with a summary per market

**Questions or problems?** [Open an issue](https://apify.com/tubetext/spotify-play-count-scraper/issues) (we read every one). **Need a custom version?** Ask in an issue or [email us](mailto:tubettext@gmail.com) – we build it as a private Actor on Apify.

Found it useful? A short review on this page helps others find it.

Built by **TubeText Labs** · Pay per result. No login. Ready for AI agents.

### FAQ

**Is this the official Spotify API?** No. Spotify's official Web API does not return play counts or monthly listeners. This Actor reads the data Spotify shows to logged-out listeners in its web and embed players, and is not affiliated with Spotify.

**How fresh are the numbers?** Spotify updates play counts about once a day and monthly listeners daily.

**Why are some playlists cut at ~100 tracks?** The embed player lists the first tracks of a playlist; very long playlists are truncated.

**Is any personal data collected?** No – only public artist, album and track data.

**Can I cap what a run costs?** Yes – set *Maximum cost per run* in the run options. The run stops cleanly when the next item would go over it, and you are never charged more.

# Actor input Schema

## `items` (type: `array`):

Artist, album, track or playlist links (open.spotify.com/…) or spotify:… URIs. Playlists include Spotify's charts like Top 50 – Global.

## `maxReleasesPerArtist` (type: `integer`):

For artist links: also fetch this many of the artist's popular releases and albums with every track's play count. 0 = artist summary only (top 10 tracks with play counts are always included).

## `maxPlaylistTracks` (type: `integer`):

Playlists return the tracks Spotify's embed player lists (up to about 100).

## Actor input object example

```json
{
  "items": [
    "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
    "https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF"
  ],
  "maxReleasesPerArtist": 0,
  "maxPlaylistTracks": 100
}
```

# 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 = {
    "items": [
        "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
        "https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tubetext/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 = { "items": [
        "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
        "https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tubetext/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 '{
  "items": [
    "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
    "https://open.spotify.com/playlist/37i9dQZEVXbMDoHDwVN2tF"
  ]
}' |
apify call tubetext/spotify-play-count-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tubetext/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/e6GFl4uM22QujyBMD/builds/LEoH20QVKx5Pg3AOb/openapi.json
