# Apple Podcasts Chart Delta Tracker (`sourcewise/apple-podcasts-chart-delta`) Actor

Tracks daily changes in Apple Podcasts top charts by country, returning only new entries, dropped shows, and rank movements with podcast metadata.

- **URL**: https://apify.com/sourcewise/apple-podcasts-chart-delta.md
- **Developed by:** [Sourcewise](https://apify.com/sourcewise) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 results

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

## Apple Podcasts Chart Delta Tracker

Track daily changes in Apple Podcasts top charts by country. Get only new entries, dropped shows, and rank movements with full podcast metadata.

**For podcast producers, marketers, analysts, and anyone who needs to monitor chart dynamics without polling the full chart every day.**

Data source: Apple Podcasts public RSS feeds (https://itunes.apple.com/{countryCode}/rss/toppodcasts/limit={limit}/json).

### Use cases

- Detect new podcasts entering the top charts the moment they appear.
- Spot shows that drop out of the ranking.
- Measure rank movements (up/down) for competitive intelligence.
- Build historical trend datasets for specific countries or genres.
- Alert stakeholders when a tracked podcast enters or leaves the top 100.

### Input

| Parameter | Type | Description | Default | Example |
|-----------|------|-------------|---------|---------|
| `countryCodes` | array\[string] | ISO 3166-1 alpha-2 country codes for Apple Podcasts territories (e.g. 'us', 'gb', 'de'). | `["us"]` | `["us", "gb", "de"]` |
| `limit` | integer | Number of top podcasts to fetch per country (1–200). | `100` | `10` |
| `onlyNew` | boolean | When on, returns only new, dropped, and moved podcasts since last run. When off, returns full current chart with previous rank. | `false` | `false` |

**Tested example input (returns data today):**

{
"countryCodes": \["us"],
"limit": 10,
"onlyNew": false,
"maxItems": 100
}

### Output

Each dataset item represents a detected change.

| Field | Type | Description |
|-------|------|-------------|
| `changeType` | string | Type of change: 'new' (entered chart), 'dropped' (left chart), 'rankMove' (changed position). |
| `countryCode` | string | ISO country code of the chart. |
| `podcastName` | string | Podcast title from the chart. |
| `publisher` | string | Publisher/author name shown in the chart. |
| `genre` | string | Primary genre/category name. |
| `appleId` | string | Apple Podcasts numeric ID. |
| `currentRank` | number | Current rank (1 = top). Null for dropped entries. |
| `previousRank` | number | Previous run's rank. Null for new entries. |
| `rankChange` | number | Positive = moved up, negative = moved down. Null for new/dropped. |
| `detectedAt` | string | ISO timestamp when this change was detected. |

**Real example output (from the test input above):**

\[
{
"changeType": "new",
"countryCode": "us",
"podcastName": "The Daily",
"publisher": "The New York Times",
"genre": "Daily News",
"appleId": "1200361736",
"currentRank": 1,
"previousRank": null,
"rankChange": null,
"detectedAt": "2026-11-23T13:07:02.523Z"
},
{
"changeType": "new",
"countryCode": "us",
"podcastName": "Pod Save America",
"publisher": "Pod Save America",
"genre": "Politics",
"appleId": "1192761536",
"currentRank": 2,
"previousRank": null,
"rankChange": null,
"detectedAt": "2026-11-23T13:07:02.523Z"
}
]

### Pricing & limits

- **Pay per result**: approximately $2 per 1,000 dataset items (buyers pay per result).
- Each run returns at most `limit × number of countries` items when `onlyNew` is false; with `onlyNew` true, only changes since the last run are returned.
- Apple's RSS feed updates once daily; running more frequently yields no new changes.
- Maximum chart size per country is 200 (Apple's limit).

### How it works

The actor fetches the current top podcasts chart for each requested country via Apple's public RSS/JSON feed. It compares the current chart with the previous run's chart (stored in a key-value store) and emits only the differences: new entries, dropped shows, and rank movements. When `onlyNew` is false, the full current chart is returned with `previousRank` populated for comparison.

### Tips

- Schedule a daily run (e.g., 06:00 UTC) to catch the daily chart refresh.
- Use `onlyNew: true` to minimize dataset size and cost.
- Combine multiple countries in one run to reduce overhead.
- The `appleId` field enables cross-referencing with other Apple Podcasts data.

***

*This actor uses public Apple Podcasts RSS feeds. No authentication or API key required.*

### Example output

```json
[
  {
    "changeType": "new",
    "countryCode": "us",
    "podcastName": "The Daily",
    "publisher": "The New York Times",
    "genre": "Daily News",
    "appleId": "1200361736",
    "currentRank": 1,
    "previousRank": null,
    "rankChange": null,
    "detectedAt": "2026-11-23T13:07:02.523Z"
  },
  {
    "changeType": "new",
    "countryCode": "us",
    "podcastName": "Pod Save America",
    "publisher": "Pod Save America",
    "genre": "Politics",
    "appleId": "1192761536",
    "currentRank": 2,
    "previousRank": null,
    "rankChange": null,
    "detectedAt": "2026-11-23T13:07:02.523Z"
  }
]
```

# Actor input Schema

## `countryCodes` (type: `array`):

ISO 3166-1 alpha-2 country codes for Apple Podcasts territories (e.g. 'us', 'gb', 'de'). Default: \['us'].

## `limit` (type: `integer`):

Number of top podcasts to fetch per country (1–200). Default: 100.

## `onlyNew` (type: `boolean`):

When on, returns only new, dropped, and moved podcasts since last run. When off, returns full current chart with previous rank. Default: false.

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

Stop after this many results (you pay per result).

## Actor input object example

```json
{
  "countryCodes": [
    "us"
  ],
  "limit": 10,
  "onlyNew": false,
  "maxItems": 100
}
```

# Actor output Schema

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

One item per result, with: changeType, countryCode, podcastName, publisher, genre, appleId, currentRank, previousRank, rankChange, detectedAt.

## `summary` (type: `string`):

How many results the run returned, and when it finished.

# 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 = {
    "countryCodes": [
        "us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sourcewise/apple-podcasts-chart-delta").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 = { "countryCodes": ["us"] }

# Run the Actor and wait for it to finish
run = client.actor("sourcewise/apple-podcasts-chart-delta").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 '{
  "countryCodes": [
    "us"
  ]
}' |
apify call sourcewise/apple-podcasts-chart-delta --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sourcewise/apple-podcasts-chart-delta"
        }
    }
}
```

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/ybvVUC1Sp7kcw0t7Y/builds/4XxkFl8zvzG1lIQ6z/openapi.json
