# Spotify Podcast Charts Tracker by Country & Genre (`crawlyth-forge/spotify-podcast-charts`) Actor

Collect Spotify podcast charts by country and category: Top Podcasts, Trending, Top Episodes and genre charts. Rows include rank, movement, show or episode metadata, optional ratings, episode counts, release dates and daily rank history.

- **URL**: https://apify.com/crawlyth-forge/spotify-podcast-charts.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 Podcast Charts Tracker by Country & Genre

Export Spotify's public podcast charts as clean, ranked rows. Choose the chart types and countries you care about, and get one record per chart placement with the show or episode identity, rank, movement, publisher, artwork, description and Spotify links. Add Spotify ratings, episode counts, release dates and a daily rank history when you need deeper tracking.

The actor reads the same anonymous chart data that powers `podcastcharts.byspotify.com`. It needs no Spotify account, cookie, client ID, API key or proxy configuration.

### Chart coverage

| Chart group | IDs | Markets | Rows per market |
|---|---|---|---|
| Universal | `top-podcasts`, `top-episodes`, `trending` | 26 | up to 200 |
| Genre | `arts`, `business`, `comedy`, `education`, `fiction`, `health-fitness`, `history`, `leisure`, `music`, `news`, `religion-spirituality`, `science`, `society-culture`, `sports`, `technology`, `true-crime`, `tv-film` | US, AU, BR, DE, MX, SE, GB | up to 50 |

Markets: United States, Argentina, Australia, Austria, Brazil, Canada, Chile, Colombia, Denmark, Finland, France, Germany, India, Indonesia, Ireland, Italy, Japan, Mexico, New Zealand, Norway, Philippines, Poland, Spain, Sweden, Netherlands and the United Kingdom. That is 3 universal charts and 17 genre charts across 26 Spotify markets.

Every selected chart is combined with every selected market. A genre chart paired with a market where Spotify does not publish it is skipped with a status note instead of returning an empty page. Duplicate chart or market values are removed.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `charts` | multi-select | `["top-podcasts"]` | Any of the 20 chart IDs above |
| `regions` | multi-select | `["us"]` | Any of the 26 market codes |
| `maxItems` | integer | 200 | Total rows across all pairs (1-5,000) |
| `maxItemsPerChart` | integer | 200 | Rows per chart and market pair (1-200) |
| `includeDetails` | boolean | true | Add Spotify show rating/count, total episodes, episode release date, duration and explicit flag |
| `history` | boolean | false | Save a daily snapshot and compute rank change, days on chart and peak rank |
| `historyRetentionDays` | integer | 400 | Daily snapshots kept when history is on (7-3,650) |

A small first run:

```json
{
  "charts": ["top-podcasts"],
  "regions": ["us"],
  "maxItems": 3,
  "maxItemsPerChart": 3,
  "includeDetails": false,
  "history": false
}
```

A multi-market episode and genre run with history:

```json
{
  "charts": ["top-episodes", "comedy"],
  "regions": ["us", "gb"],
  "maxItems": 300,
  "maxItemsPerChart": 100,
  "includeDetails": true,
  "history": true
}
```

### Output

Each dataset row is one ranked chart placement.

Common fields: `recordType` (`show` or `episode`), `chart`, `chartName`, `chartGroup` (`universal` or `genre`), `region`, `regionName`, `rank`, `chartRankMove`, `movement` (`up`, `down`, `new`, `unchanged`), `chartDate`, `observedAt`, `sourceUrl`.

Show rows: `showUri`, `showId`, `showUrl`, `showName`, `publisher`, `description`, `imageUrl`.

Episode rows include all show fields plus `episodeUri`, `episodeId`, `episodeUrl`, `episodeName`, `episodeDescription` and `episodeImageUrl`.

With `includeDetails`: show rows can add `ratingAverage`, `ratingCount` and `totalEpisodes`; episode rows can add `releaseDate`, `releaseDateTime`, `durationMs` and `explicit`.

With `history`: rows can add `previousRank`, `rankChange` (positive means the item moved up), `daysOnChart`, `peakRank`, `firstSeenDate` and `lastSeenDate`.

Example show row:

```json
{
  "recordType": "show",
  "chart": "top-podcasts",
  "chartName": "Top Podcasts",
  "chartGroup": "universal",
  "region": "us",
  "regionName": "United States",
  "rank": 1,
  "chartRankMove": "UNCHANGED",
  "movement": "unchanged",
  "chartDate": "2026-11-25",
  "observedAt": "2026-11-25T10:31:00+00:00",
  "sourceUrl": "https://podcastcharts.byspotify.com/us/top-podcasts",
  "showUri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk",
  "showId": "4rOoJ6Egrf8K2IrywzwOMk",
  "showUrl": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
  "showName": "The Joe Rogan Experience",
  "publisher": "Joe Rogan",
  "description": "The official podcast of comedian Joe Rogan.",
  "imageUrl": "https://i.scdn.co/image/ab67656300005f1fec18968da7ced643abdd582c"
}
```

Empty fields are omitted at every depth. The actor never writes `null`, empty strings, empty arrays or sentinels.

### Daily rank history

Spotify publishes a current daily chart, not a historical API. When `history` is on, the actor stores one snapshot per chart and market in its named key-value store, then computes the day-over-day movement itself:

- `previousRank` and `rankChange` need at least two daily runs of the same chart and market.
- `daysOnChart`, `peakRank`, `firstSeenDate` and `lastSeenDate` are computed from the retained snapshots.
- The first history run records the snapshot and can only report today's peak and first-seen date.
- `historyRetentionDays` trims old snapshots so the store stays small.
- Keep the actor's key-value store between runs (normal scheduled runs do this automatically). A run with a purged store starts history from scratch.

Use `(chart, region, showId)` or `(chart, region, episodeId)` as the stable key when merging rows into your own warehouse.

### How it works

The actor calls Spotify's public chart JSON endpoint for each chart and market, preserves the upstream order as a one-based rank, and keeps the label Spotify supplies for movement. It reads no private data and downloads no audio or images.

Optional details come from the same public web-player data Spotify serves to logged-out visitors. They are best-effort: when Spotify withholds an entity or is unavailable, the detail fields are omitted and the chart row is still saved.

### FAQ

**Do I need a Spotify login or API key?** No. The source data is public and anonymous.

**Does it download audio or artwork?** No. It saves metadata and public image URLs only.

**Can I get listener counts, downloads or revenue?** No. Spotify does not publish those numbers for podcasts, and this actor does not invent them.

**Why does a genre chart return fewer rows?** Spotify publishes up to 50 rows for genre charts and up to 200 for Top Podcasts, Trending and Top Episodes.

**Why is a chart and market combination missing?** Spotify only offers genre charts in the seven markets listed above. The actor reports skipped combinations in the run status.

**Why are some enrichment fields missing?** Spotify serves ratings, episode counts and release dates from its public web player on a best-effort basis. Fields the source does not return are omitted rather than filled with fake values.

**Are the Spotify links and image URLs usable?** Yes. Spotify page links open in a normal browser, and artwork URLs return JPEG images. Spotify may answer a bare HTTP `HEAD` request from a script with 403 because of its bot protection; a normal browser `GET` works.

**Is this an official Spotify product?** No. It is an independent tool that reads publicly available chart data.

# Actor input Schema

## `charts` (type: `array`):

One or more Spotify charts. Top Podcasts, Top Episodes and Trending work in all 26 markets; genre charts are offered by Spotify in US, AU, BR, DE, MX, SE and GB only.

## `regions` (type: `array`):

Spotify market codes. Top Podcasts, Top Episodes and Trending support all 26; genre charts support US, AU, BR, DE, MX, SE and GB.

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

Maximum chart rows to save across all selected charts and markets.

## `maxItemsPerChart` (type: `integer`):

Maximum rows to save for each chart and market pair. Spotify returns up to 200 rows for Top Podcasts, Top Episodes and Trending, and up to 50 for genre charts.

## `includeDetails` (type: `boolean`):

Add show rating, rating count and total episodes, plus episode release date, duration and explicit flag from Spotify's public web player. Details are omitted when Spotify does not serve them; chart rows are always saved.

## `history` (type: `boolean`):

Store a daily snapshot per chart and market in this actor's key-value store, then add previous rank, numeric rank change, days on chart, peak rank and first/last seen dates. The first run only records the snapshot.

## `historyRetentionDays` (type: `integer`):

How many days of daily snapshots to keep when history is enabled.

## Actor input object example

```json
{
  "charts": [
    "top-podcasts"
  ],
  "regions": [
    "us"
  ],
  "maxItems": 3,
  "maxItemsPerChart": 3,
  "includeDetails": false,
  "history": false,
  "historyRetentionDays": 400
}
```

# Actor output Schema

## `charts` (type: `string`):

Dataset with Top Podcasts, Trending, Top Episodes and genre chart rows.

# 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 = {
    "charts": [
        "top-podcasts"
    ],
    "regions": [
        "us"
    ],
    "maxItems": 3,
    "maxItemsPerChart": 3,
    "includeDetails": false,
    "history": false,
    "historyRetentionDays": 400
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/spotify-podcast-charts").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 = {
    "charts": ["top-podcasts"],
    "regions": ["us"],
    "maxItems": 3,
    "maxItemsPerChart": 3,
    "includeDetails": False,
    "history": False,
    "historyRetentionDays": 400,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/spotify-podcast-charts").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 '{
  "charts": [
    "top-podcasts"
  ],
  "regions": [
    "us"
  ],
  "maxItems": 3,
  "maxItemsPerChart": 3,
  "includeDetails": false,
  "history": false,
  "historyRetentionDays": 400
}' |
apify call crawlyth-forge/spotify-podcast-charts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/spotify-podcast-charts"
        }
    }
}
```

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/slC0QCmcco4k9YZMT/builds/LfbJKmZTKDstjG86G/openapi.json
