# Spotify Album Play Count Scraper 🎧📈 -Cheap (`scrapestorm/spotify-album-play-count-scraper--cheap`) Actor

Collect detailed Spotify album data 🎧📈: album name, release date 📅, total tracks, album cover 📸, tracklist with play counts 🔢, duration ⏱️, popularity, and Spotify links 🔗. Perfect for analyzing music trends, song performance, and research projects in the music industry! 🎶📊

- **URL**: https://apify.com/scrapestorm/spotify-album-play-count-scraper--cheap.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Automation, SEO tools, Social media
- **Security:** Limited permissions
- **Stats:** 11 total users, 0 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Album Play Count Scraper 🎧📈

The Spotify Album Play Count Scraper allows you to extract detailed data from Spotify albums, including track-level information and play counts.

Perfect for analyzing music trends, researching song performance, or generating content based on track popularity! 🎶

### Description 🎯📊

The Spotify Album Play Count Scraper is built to fetch all relevant information about a Spotify album.

By simply providing the URLs of the albums you want to scrape, you'll get:

```
album_name: Name of the album 📀

album_uri: Direct URL to the album on Spotify 🔗

artist_name: Name of the artist 🎤

release_date: Album release date 📅

total_tracks: Total number of tracks in the album 🔢

tracks: An array of track objects, each including:

    - name: Track title

    - artist_name: Artist performing the track

    - uri: Spotify URL for the track

    - duration_formatted: Track duration ⏱️

    - playcount: Total number of plays (if available)

    - track_number, disc_number, saved, and more
```

### How Many Results Can You Extract? 📊

📌 No limit!

You can input as many Spotify album URLs as you like — the scraper will process each and return all available data for the tracks.

### Key Features ✨

- 🎧 Full Album Analysis: Fetch all tracks from any album with metadata and play counts.

- 🔢 Clean Structure: Each track is listed with detailed information, including duration and Spotify links.

- 📊 Play Count Extraction: Ideal for performance analysis and monitoring trends.

- 🔗 Direct Access Links: Every album and track comes with a Spotify URL.

### 💸 Pricing

This scraper operates on a monthly subscription basis, priced at $14.99/month.

### How to Use It? 🚀

```
Sign up for an account on Apify.

Open the Spotify Album Play Count Scraper on the platform.

Input the list of Spotify album URLs.

(Optional) Apply any custom filters or settings.

Run the scraper and wait for it to complete.

Download the results in your preferred format: JSON, CSV, XML, Excel, or HTML.
```

### Applications 🌟

Music Analytics: Track and compare song popularity within albums.

Content Creation: Use track data to create playlists, reviews, or blog content.

Market Research: Monitor how albums are performing over time.

Fan Engagement: Share track insights with communities or on social media.

### Input Example 📲 👌

The tool requires you to input a list of Spotify Artist URLs (formatted as https://open.spotify.com/artist/SPOTIFY_ARTIST_ID). It will then fetch data like the artist’s name, biography, releases, followers, related artists, and more.. Here’s how to structure your input JSON:

```
{
  "urls": [
    "https://open.spotify.com/album/5eyZZoQEFQWRHkV2xgAeBw",
    "https://open.spotify.com/album/6kZ42qRrzov54LcAk4onW9"
  ]
}



```

🚨 urls: A list of URLs pointing to the specific Spotify album’s page. These URLs must follow the format https://open.spotify.com/artist/SPOTIFY_ARTIST_ID

### Example Output from Spotify Scraper 👌

Once the extraction is finished, the data will be stored in a dataset. You can download this data in various formats (JSON, CSV, XML, RSS, HTML Table).

```
{
      "album_name": "Taylor Swift (Deluxe Edition)",
      "album_uri": "https://open.spotify.com/intl-fr/album/5eyZZoQEFQWRHkV2xgAeBw",
      "artist_name": "Taylor Swift",
      "release_date": "2006-10-24T00:00:00Z",
      "total_tracks": 15,
      "tracks": [
          {
              "name": "Tim McGraw",
              "artist_name": "Taylor Swift",
              "artist_uri": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
              "disc_number": 1,
              "track_number": 1,
              "duration_ms": 232106,
              "duration_formatted": "3:52",
              "playable": true,
              "playcount": "154192211",
              "content_rating": "NONE",
              "video_associations_count": 0,
              "uri": "https://open.spotify.com/track/2Fn01AIMyHbha2ceNQeOqw",
              "saved": false,
              "uid": "2e17ea3593852e08cce4"
          },
          {
              "name": "Picture To Burn",
              "artist_name": "Taylor Swift",
              "artist_uri": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
              "disc_number": 1,
              "track_number": 2,
              "duration_ms": 173066,
              "duration_formatted": "2:53",
              "playable": true,
              "playcount": "233658988",
              "content_rating": "NONE",
              "video_associations_count": 1,
              "uri": "https://open.spotify.com/track/4BYejINgfZF0qKDMEH2cim",
              "saved": false,
              "uid": "a79be33b95e051b7b0e0"
          },
          {
              "name": "Teardrops On My Guitar - Radio Single Remix",
              "artist_name": "Taylor Swift",
              "artist_uri": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02",
              "disc_number": 1,
              "track_number": 3,
              "duration_ms": 203040,
              "duration_formatted": "3:23",
              "playable": true,
              "playcount": "245870311",
              "content_rating": "NONE",
              "video_associations_count": 0,
              "uri": "https://open.spotify.com/track/2TF4UtYreqNbQ6Z9AccldU",
              "saved": false,
              "uid": "da8e2a2f4428b2f28a45"
          }


```

### Related Actors ⭐

If you're interested in other Spotify, Pinterest, Google, social media scraper or real estate Actors:

- [Spotify Artist : Monthly Listeners & Contact Info Scraper📊📩](https://apify.com/scrapestorm/spotify-artist-monthly-listeners-contact-info-scraper)
- [Spotify Email Scraper 🎧📧](https://apify.com/scrapestorm/spotify-email-scraper)
- [Spotify Artists Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-artists-search-scraper)
- [Spotify Songs Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-songs-search-scraper)
- [Spotify Playlists Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-playlists-search-scraper)
- [Spotify Albums Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-albums-search-scraper)
- [Spotify Profiles Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-profiles-search-scraper)
- [Pinterest Boards Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-boards-search-scraper)
- [Pinterest Pins/Videos Search Scraper 🎨🔍](https://apify.com/scrapestorm/pinterest-pins-videos-search-scraper)
- [Google News Scraper Fast & Real-Time (Pay per results) 📰⚡](https://apify.com/scrapestorm/google-news-scraper-fast-real-time-pay-per-results)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Scraper (By Keyword) - ⭐⭐⭐⭐⭐ Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Youtube Channel Scraper](https://apify.com/scrapestorm/youtube-channel-scraper)
- [Youtube Shorts Scraper 📺 (Rental) - Fast & cheap](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Zillow (Find a Home Improvement Agent) 🛠️)](https://apify.com/scrapestorm/zillow-find-a-home-improvement-agent)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### Can I use this Spotify Search API in Python? 🎓

Yes, you can use the Apify API with Python.

To access the Spotify Search API with Python, use the apify-client PyPI package. You can find more details about the client in our Python Client documentation.

### 📫 Support

😊 Leave us a star ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)
Happy scraping! 😊

# Actor input Schema

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

Spotify Albums URLs for Data fetching 🎧📊 (format 🚨: https://open.spotify.com/album/SPOTIFY_ALBUM_ID)

## Actor input object example

```json
{
  "urls": [
    "https://open.spotify.com/album/5eyZZoQEFQWRHkV2xgAeBw",
    "https://open.spotify.com/album/5meb7aKE722LA66ssBhvfM",
    "https://open.spotify.com/album/6DEjYFkNZh67HP7R9PSZvv"
  ]
}
```

# 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/album/5eyZZoQEFQWRHkV2xgAeBw",
        "https://open.spotify.com/album/5meb7aKE722LA66ssBhvfM",
        "https://open.spotify.com/album/6DEjYFkNZh67HP7R9PSZvv"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/spotify-album-play-count-scraper--cheap").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/album/5eyZZoQEFQWRHkV2xgAeBw",
        "https://open.spotify.com/album/5meb7aKE722LA66ssBhvfM",
        "https://open.spotify.com/album/6DEjYFkNZh67HP7R9PSZvv",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/spotify-album-play-count-scraper--cheap").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/album/5eyZZoQEFQWRHkV2xgAeBw",
    "https://open.spotify.com/album/5meb7aKE722LA66ssBhvfM",
    "https://open.spotify.com/album/6DEjYFkNZh67HP7R9PSZvv"
  ]
}' |
apify call scrapestorm/spotify-album-play-count-scraper--cheap --silent --output-dataset

```

## MCP server setup

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

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/ByEPgUtClFXpj02Cq/builds/KLv2sRoCs1fkWLP0Y/openapi.json
