# Spotify Music Scraper (`icoe-man/spotify-music-scraper`) Actor

A spotify music scraper: search songs by keyword, or collect songs, albums, artists, playlists and podcasts from Spotify links. Metadata only; no audio is downloaded. Export JSON, CSV or Excel.

- **URL**: https://apify.com/icoe-man/spotify-music-scraper.md
- **Developed by:** [Icoe Man](https://apify.com/icoe-man) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 Music Scraper

Save public Spotify data in a table you can sort, compare or open in another tool. Choose what to collect, then search for songs by keyword or paste Spotify links to get song, album, artist or podcast details. You can also list the songs in a playlist or the episodes in a podcast. Audio isn't included.

### What you get

Under **What to collect**, choose the type of results you want. Fill in the fields for that choice, then start the run. Each run returns one kind of result. The Actor ignores fields from other modes. Use full web addresses. If you have a short link, open it and copy the full address from your browser's address bar. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Collection modes

#### Search music

Search Spotify by keyword for one type per run: songs by default, or artists, albums, playlists or podcasts if you change Result type. In `search-music` mode, fill in **Keywords** (up to 100 entries), and **Result type** (optional). Use **Result limit per target** to set how many sounds the Actor can collect per entry. The default is 50 and the highest setting is 100. Each sound appears in its own row and counts as one **Music search results** charge.

Example result for one sound:

```json
{
  "status": "ok",
  "type": "sound",
  "platform": "spotify",
  "id": "1DfGPEHxTYeaJpiNA4xUb5",
  "url": "https://open.spotify.com/track/1DfGPEHxTYeaJpiNA4xUb5",
  "title": "Für Elise",
  "artist": "Ludwig van Beethoven",
  "durationSec": 173,
  "coverUrl": "https://i.scdn.co/image/ab67616d0000b2738dd8211c6f6e49c9185e0c7d",
  "details": {
    "spotify": {
      "albumId": "1SkmA5emGHKMJva7baN4lq",
      "albumName": "Classical Best Of",
      "explicit": false,
      "releaseDate": null,
      "albumType": null,
      "playlistDescription": null,
      "playlistOwner": null,
      "kind": "track",
      "verified": null
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "keyword": "classical music",
    "maxItems": 10
  }
}
```

#### Song

See who performed each Spotify song, which album it's on, its length and play count, and its release date and copyright details. In `track-get` mode, fill in **Track links** (up to 100 entries). You get one sound per entry. Each sound appears in its own row and counts as one **Song details** charge.

Example result for one sound:

```json
{
  "status": "ok",
  "type": "sound",
  "platform": "spotify",
  "id": "2xizRhme7pYeITbH1NLLGt",
  "url": "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt",
  "title": "Tchaikovsky: Swan Lake, Op. 20, Act 2: No. 10, Scene. Moderato",
  "artist": "Pyotr Ilyich Tchaikovsky, André Previn, London Symphony Orchestra",
  "durationSec": 167,
  "coverUrl": "https://i.scdn.co/image/ab67616d0000b273e11ffeae633013a7cd8fe961",
  "details": {
    "spotify": {
      "albumId": "7dVA06E7AP7P7VzPyNxQVO",
      "albumName": "Tchaikovsky: Swan Lake",
      "playcount": 213447502,
      "explicit": false,
      "trackNumber": 10,
      "popularity": 71,
      "releaseDate": "1976-01-01",
      "albumType": "album",
      "copyright": "An example copyright line of the label, shown for illustration."
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt",
    "maxItems": 1
  }
}
```

#### Album

Get the artist, record label, release date and full song list for each Spotify album, with a play count for every song. In `album-get` mode, fill in **Album links** (up to 100 entries). You get one collection per entry. Each collection appears in its own row and counts as one **Album details** charge.

Example result for one collection:

```json
{
  "status": "ok",
  "type": "collection",
  "platform": "spotify",
  "id": "7dVA06E7AP7P7VzPyNxQVO",
  "url": "https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO",
  "title": "Tchaikovsky: Swan Lake",
  "owner": {
    "id": "3MKCzCnpzw3TjUYs2v7vDA",
    "displayName": "Pyotr Ilyich Tchaikovsky"
  },
  "itemsCount": 31,
  "coverUrl": "https://i.scdn.co/image/ab67616d0000b273e11ffeae633013a7cd8fe961",
  "createdAt": "1976-01-01T00:00:00Z",
  "details": {
    "spotify": {
      "kind": "album",
      "label": "Warner Classics",
      "releasePrecision": "DAY",
      "tracks": [
        {
          "id": "5tNUaNoIMdJcdHGj25a7gD",
          "url": "https://open.spotify.com/track/5tNUaNoIMdJcdHGj25a7gD",
          "title": "Tchaikovsky: Swan Lake, Op. 20, Act 1: Introduction",
          "trackNumber": 1,
          "discNumber": 1,
          "durationSec": 345,
          "playcount": 11814849,
          "artist": "Pyotr Ilyich Tchaikovsky, André Previn, London Symphony Orchestra",
          "explicit": false
        }
      ],
      "popularity": 68,
      "copyright": "An example copyright line of the label, shown for illustration."
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO",
    "maxItems": 1
  }
}
```

#### Artist

See each Spotify artist's follower count, monthly listener count and global rank, along with their top cities, top songs and related artists. In `artist-get` mode, fill in **Artist links** (up to 100 entries), and **Include discography** (optional). You get one profile per entry. Each profile appears in its own row and counts as one **Artist details** charge.

Example result for one profile:

```json
{
  "status": "ok",
  "type": "profile",
  "platform": "spotify",
  "id": "5yxyJsFanEAuwSM5kOuZKc",
  "url": "https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc",
  "displayName": "London Symphony Orchestra",
  "bio": "A short example biography of an orchestra, shown for illustration.",
  "avatarUrl": "https://i.scdn.co/image/ab6761610000e5eb5a5d168879568c94e86c61aa",
  "verified": true,
  "followers": 416090,
  "details": {
    "spotify": {
      "monthlyListeners": 9074419,
      "popularity": 76,
      "worldRank": null,
      "topCities": [
        {
          "city": "London",
          "country": "GB",
          "region": "ENG",
          "listeners": 141562
        }
      ],
      "topTracks": [
        {
          "id": "2xizRhme7pYeITbH1NLLGt",
          "url": "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt",
          "title": "Tchaikovsky: Swan Lake, Op. 20, Act 2: No. 10, Scene. Moderato",
          "playcount": 213447502,
          "durationSec": 167
        }
      ],
      "relatedArtists": [
        {
          "id": "3PfJE6ebCbCHeuqO4BfNeA",
          "url": "https://open.spotify.com/artist/3PfJE6ebCbCHeuqO4BfNeA",
          "name": "London Philharmonic Orchestra"
        }
      ],
      "links": [
        {
          "name": "WEBSITE",
          "url": "https://www.example.com/orchestra"
        }
      ],
      "latestRelease": {
        "id": "2RiQkl7IklTcjiJ9mAaCkX",
        "url": "https://open.spotify.com/album/2RiQkl7IklTcjiJ9mAaCkX",
        "title": "Prokofiev: Symphony No. 2",
        "kind": "album",
        "releaseDate": "2026-11-06",
        "label": "LSO Live",
        "tracksCount": 9
      },
      "concerts": [
        {
          "title": "London Symphony Orchestra",
          "startsAt": "2027-01-18T18:30:00Z",
          "festival": false
        }
      ],
      "releases": null
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc",
    "maxItems": 1
  }
}
```

#### Playlist songs

Each song row from a public Spotify playlist includes the artist, album and play count, plus the playlist name, follower count and owner. In `playlist-tracks` mode, fill in **Playlist links** (up to 100 entries). Use **Result limit per target** to set how many sounds the Actor can collect per entry. The default is 100 and the highest setting is 10000. Each sound appears in its own row and counts as one **Playlist songs** charge.

Example result for one sound:

```json
{
  "status": "ok",
  "type": "sound",
  "platform": "spotify",
  "id": "2LlQb7Uoj1kKyGhlkBf9aC",
  "url": "https://open.spotify.com/track/2LlQb7Uoj1kKyGhlkBf9aC",
  "title": "Thriller",
  "artist": "Michael Jackson",
  "durationSec": 359,
  "coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
  "details": {
    "spotify": {
      "albumId": "2ANVost0y2y52ema1E9xAZ",
      "albumName": "Thriller",
      "playcount": 1127102304,
      "explicit": false,
      "trackNumber": 4,
      "discNumber": 1,
      "playlistName": "All Out 80s",
      "playlistDescription": "The biggest songs of the 1980s.",
      "playlistFollowers": 12066475,
      "playlistTracksCount": 150,
      "playlistOwner": {
        "name": "Spotify",
        "username": "spotify",
        "url": "https://open.spotify.com/user/spotify"
      }
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe",
    "maxItems": 10
  }
}
```

#### Podcast

See each Spotify show's title, who publishes it, its description, rating and topics. In `podcast-get` mode, fill in **Podcast links** (up to 100 entries). You get one collection per entry. Each collection appears in its own row and counts as one **Podcast show details** charge.

Example result for one collection:

```json
{
  "status": "ok",
  "type": "collection",
  "platform": "spotify",
  "id": "5NT0kUEUIdS5FxotBPJvMX",
  "url": "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX",
  "title": "NASA's Curious Universe",
  "description": "A short example description of a science podcast, shown for illustration.",
  "owner": {
    "displayName": "NASA"
  },
  "coverUrl": "https://i.scdn.co/image/ab6765630000ba8abbf497bc822e97741cff8967",
  "details": {
    "spotify": {
      "kind": "show",
      "rating": 4.95,
      "ratingsCount": 360,
      "topics": [
        "Science",
        "Culture"
      ]
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX",
    "maxItems": 1
  }
}
```

#### Podcast episodes

Get an episode list for each Spotify podcast, with the release date and length of each episode. In `podcast-episodes` mode, fill in **Podcast links** (up to 100 entries). Use **Result limit per target** to set how many posts the Actor can collect per entry. The default is 100 and the highest setting is 1000. Each post appears in its own row and counts as one **Podcast episodes** charge.

Example result for one post:

```json
{
  "status": "ok",
  "type": "post",
  "platform": "spotify",
  "id": "552BC24cLfbYpqgCNEadtz",
  "url": "https://open.spotify.com/episode/552BC24cLfbYpqgCNEadtz",
  "author": {
    "id": "5NT0kUEUIdS5FxotBPJvMX",
    "displayName": "NASA's Curious Universe"
  },
  "text": "An example episode title and a short description, shown for illustration.",
  "createdAt": "2026-10-20T13:40:00Z",
  "metrics": {},
  "details": {
    "spotify": {
      "title": "An example episode title",
      "durationSec": 1577,
      "explicit": false,
      "paywalled": false
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX",
    "maxItems": 10
  }
}
```

### Ways to use the data

- Save a public playlist's song list as a table to help you recreate it on another service.
- Build a list of songs, albums and artists for research on a genre or record label.
- See when a podcast released each episode and how long each one runs.
- Compare songs side by side using play counts and popularity scores.
- Save a snapshot of an artist's public stats, such as followers and monthly listeners, for your report.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `mode` | What to collect | Choose one type of result per run, then fill in the fields for that choice. |
| `keywords` | Keywords | Enter a word or phrase to search for, such as "classical music". |
| `resultType` | Result type | Choose one type per run: tracks (songs), artists, albums, playlists or podcasts. Tracks are the default. Each row shows its result type. |
| `trackUrls` | Track links | Paste full Spotify song links, like https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt |
| `albumUrls` | Album links | Paste full Spotify album links, like https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO |
| `artistUrls` | Artist links | Paste full Spotify artist links, like https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc |
| `includeDiscography` | Include discography | Off by default. Turn this on to add the albums, singles and compilations from the artist's Spotify page to the same row at no extra cost. |
| `playlistUrls` | Playlist links | Paste full links to public Spotify playlists, like https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe |
| `podcastUrls` | Podcast links | Paste full Spotify links to shows, not individual episodes. Example: https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX |
| `maxItems` | Result limit per target | Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Song, Album, Artist and Podcast. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "mode": "search-music",
  "keywords": [
    "classical music"
  ],
  "resultType": "tracks",
  "maxItems": 10,
  "freshness": "standard"
}
```

### Your results

Each mode has its own view of the results table. See **Collection modes** for what each mode returns.

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`. If a required field for your mode is blank, the run returns one error row and collects no data.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Album details | $3.854 | $3.410 | $3.410 | $3.410 | $3.410 | $3.410 |
| Artist details | $3.854 | $3.410 | $3.410 | $3.410 | $3.410 | $3.410 |
| Playlist songs | $3.390 | $3.000 | $2.594 | $2.075 | $2.075 | $2.075 |
| Podcast episodes | $3.390 | $3.000 | $2.594 | $2.075 | $2.075 | $2.075 |
| Podcast show details | $3.854 | $3.410 | $3.410 | $3.410 | $3.410 | $3.410 |
| Music search results | $3.390 | $3.000 | $2.594 | $2.075 | $2.075 | $2.075 |
| Song details | $4.097 | $3.625 | $3.625 | $3.625 | $3.625 | $3.625 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 10 results per run and make up to 20 runs per day.

### Common questions

#### Will I get audio files?

No. The results contain details such as titles, artists, albums, lengths, dates and counts. They don't contain audio.

#### What does each mode return?

Search music looks for songs by keyword unless you change Result type to artists, albums, playlists or podcasts. You can search for one type per run. Song, Album, Artist and Podcast return details for each matching link. Album includes every song and its play count. Artist includes global rank, top cities, top songs, related artists and concerts. In Playlist songs, each song row includes the playlist's name, follower count and owner. Podcast episodes lists the episodes in a show.

#### Can I use a Spotify link with a share code or country prefix?

Yes. Leave the share code (?si=) or country prefix in the link. The link must match the mode you choose. For example, if you paste an album link in Song, the error message asks for a song link.

#### Do I need a Spotify account?

No. You don't need to sign in or share browser cookies. The tool collects public information only and can't read private playlists.

#### How do I limit results, and what counts toward the cost?

Set Result limit per target to the most results you want for each keyword or link. Only the results you receive count toward the cost. Errors and empty results don't count. The run stops when it reaches your spending limit.

#### Is this tool affiliated with Spotify?

No. This is an independent tool. Spotify doesn't endorse or sponsor it. It collects only information anyone can see on Spotify.

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by Spotify. All trademarks belong to their owners.

# Actor input Schema

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

Choose one type of result per run, then fill in the fields for that choice.

## `keywords` (type: `array`):

Enter a word or phrase to search for, such as "classical music".

## `resultType` (type: `string`):

Choose one type per run: tracks (songs), artists, albums, playlists or podcasts. Tracks are the default. Each row shows its result type.

## `trackUrls` (type: `array`):

Paste full Spotify song links, like https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt

## `albumUrls` (type: `array`):

Paste full Spotify album links, like https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO

## `artistUrls` (type: `array`):

Paste full Spotify artist links, like https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc

## `includeDiscography` (type: `string`):

Off by default. Turn this on to add the albums, singles and compilations from the artist's Spotify page to the same row at no extra cost.

## `playlistUrls` (type: `array`):

Paste full links to public Spotify playlists, like https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe

## `podcastUrls` (type: `array`):

Paste full Spotify links to shows, not individual episodes. Example: https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX

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

Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Song, Album, Artist and Podcast.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "mode": "search-music",
  "keywords": [
    "classical music"
  ],
  "resultType": "tracks",
  "trackUrls": [
    "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt"
  ],
  "albumUrls": [
    "https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO"
  ],
  "artistUrls": [
    "https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc"
  ],
  "includeDiscography": "false",
  "playlistUrls": [
    "https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe"
  ],
  "podcastUrls": [
    "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

# Actor output Schema

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

See everything this run collected in one table.

# 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": "search-music",
    "keywords": [
        "classical music"
    ],
    "trackUrls": [
        "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt"
    ],
    "albumUrls": [
        "https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO"
    ],
    "artistUrls": [
        "https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc"
    ],
    "playlistUrls": [
        "https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe"
    ],
    "podcastUrls": [
        "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/spotify-music-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": "search-music",
    "keywords": ["classical music"],
    "trackUrls": ["https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt"],
    "albumUrls": ["https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO"],
    "artistUrls": ["https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc"],
    "playlistUrls": ["https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe"],
    "podcastUrls": ["https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/spotify-music-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": "search-music",
  "keywords": [
    "classical music"
  ],
  "trackUrls": [
    "https://open.spotify.com/track/2xizRhme7pYeITbH1NLLGt"
  ],
  "albumUrls": [
    "https://open.spotify.com/album/7dVA06E7AP7P7VzPyNxQVO"
  ],
  "artistUrls": [
    "https://open.spotify.com/artist/5yxyJsFanEAuwSM5kOuZKc"
  ],
  "playlistUrls": [
    "https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe"
  ],
  "podcastUrls": [
    "https://open.spotify.com/show/5NT0kUEUIdS5FxotBPJvMX"
  ],
  "maxItems": 10
}' |
apify call icoe-man/spotify-music-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icoe-man/spotify-music-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/KFxfe4bd5ea90DUJH/builds/o3gMsYdjzZtZoH8Mb/openapi.json
