# Apple Podcast Episodes Scraper (`coder_zoro/apple-podcast-episodes-scraper`) Actor

Extract detailed episode data from any Apple Podcast using just the podcast ID. Get titles, descriptions, audio URLs, release dates, artwork, and more. Fast, accurate, and ideal for analytics, research, app development, and building podcast databases.

- **URL**: https://apify.com/coder_zoro/apple-podcast-episodes-scraper.md
- **Developed by:** [Zoro](https://apify.com/coder_zoro) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 68 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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 Podcast Episodes Scraper

Extract detailed episode information from any Apple Podcast. Get episode titles, descriptions, audio URLs, release dates, and more with just a podcast ID.

### Features

- 🎯 Scrape episodes from any Apple Podcast by ID
- 📊 Control the number of episodes to fetch (1-2000)
- ⚡ Fast async processing for multiple podcasts
- 🔄 Real-time data streaming as episodes are found
- 📝 Comprehensive episode metadata including audio URLs

### How to Use

#### Getting the Podcast ID

There are two ways to get a podcast ID:

##### Method 1: From the Podcast URL

Visit the podcast on Apple Podcasts and extract the ID from the URL:

```
https://podcasts.apple.com/us/podcast/the-daily/id1200361736
```

The podcast ID here is `1200361736`

##### Method 2: Using the Top Charts Scraper

Use our [Apple Podcast Top Chart Scraper](https://console.apify.com/organization/eKpda7ldDiGDnSOmY/actors/X8vTxdq1YNX1Re4ZE/source) to discover trending podcasts and get their IDs automatically.

### Input

#### Input Schema

```json
{
  "podcastIds": ["360084272", "1200361736"],
  "episodeCount": 100
}
```

#### Input Parameters

| Field | Type | Required | Description | Default |
|-------|------|----------|-------------|---------|
| `podcastIds` | Array of strings | Yes | List of Apple Podcast IDs to scrape | - |
| `episodeCount` | Integer | Yes | Number of episodes to fetch per podcast (1-2000) | 100 |

#### Input Examples

**Scrape 50 episodes from a single podcast:**

```json
{
  "podcastIds": ["360084272"],
  "episodeCount": 50
}
```

**Scrape 200 episodes from multiple podcasts:**

```json
{
  "podcastIds": ["360084272", "1200361736", "1535809341"],
  "episodeCount": 200
}
```

### Output

#### Output Fields

Each episode in the dataset contains:

| Field | Type | Description |
|-------|------|-------------|
| `podcast_id` | String | The ID of the podcast |
| `id` | String | Unique episode ID |
| `episode_name` | String | Title of the episode |
| `artist_name` | String | Podcast host/creator name |
| `release_date` | String | ISO 8601 release date |
| `duration_ms` | Integer | Episode duration in milliseconds |
| `description` | String | Full episode description |
| `audio_url` | String | Direct URL to episode audio file |
| `content_rating` | String | Content rating (e.g., "explicit", "clean") |
| `genres` | Array | List of genres |
| `artwork_url` | String | Episode artwork image URL |
| `episode_url` | String | Apple Podcasts episode page URL |
| `guid` | String | Global unique identifier |
| `kind` | String | Episode type (e.g., "full", "trailer") |

#### Output Example

```json
{
  "podcast_id": "360084272",
  "id": "1000738911867",
  "episode_name": "#2420 - Chris Masterjohn",
  "artist_name": "Joe Rogan",
  "release_date": "2025-11-29T18:00:00Z",
  "duration_ms": 8696000,
  "description": "Chris Masterjohn, PhD, is a leading expert in nutritional science with a background in the biochemistry and molecular biology of nutrition...",
  "audio_url": "https://traffic.megaphone.fm/GLT6871125742.mp3?updated=1764433140",
  "content_rating": "explicit",
  "genres": ["Comedy"],
  "artwork_url": "https://is1-ssl.mzstatic.com/image/thumb/Podcasts221/v4/ad/da/f8/addaf8ca-0723-02d5-9e8b-bbd45dcfd7b1/mza_12778395076373403271.jpg/{w}x{h}bb.{f}",
  "episode_url": "https://podcasts.apple.com/us/podcast/2420-chris-masterjohn/id360084272?i=1000738911867",
  "guid": "462c69e2-ccb9-11f0-b712-67831c3b4a24",
  "kind": "full"
}
```

### Use Cases

#### 📊 Podcast Analytics

- Track episode release patterns and frequency
- Analyze content trends across episodes
- Monitor podcast growth over time
- Compare multiple podcasts side-by-side

#### 🎧 Content Research

- Research competitors in your niche
- Find guest appearances across shows
- Discover episode topics and themes
- Build comprehensive podcast databases

#### 📱 App Development

- Build custom podcast players
- Create podcast recommendation engines
- Develop podcast discovery platforms
- Integrate podcast content into your apps

#### 📈 Market Research

- Analyze podcast industry trends
- Study content strategies of successful shows
- Track episode engagement patterns
- Identify content gaps in your market

#### 🔍 Content Discovery

- Find specific episodes by topic or guest
- Build searchable podcast episode libraries
- Create curated episode collections
- Generate podcast newsletters and summaries

#### 🎬 Media Production

- Research potential podcast guests
- Find collaboration opportunities
- Study successful episode formats
- Plan content calendars

#### 📚 Educational Research

- Study podcast content for academic purposes
- Analyze media distribution patterns
- Research audio content trends
- Build educational content databases

#### 🤖 AI & Machine Learning

- Train AI models on podcast descriptions
- Build content recommendation systems
- Create automatic categorization tools
- Develop sentiment analysis datasets

### Integration with Top Charts Scraper

Combine this actor with our [Apple Podcast Top Chart Scraper](https://console.apify.com/organization/eKpda7ldDiGDnSOmY/actors/X8vTxdq1YNX1Re4ZE/source) for a complete podcast data pipeline:

1. **Discover Trending Podcasts**: Use the Top Chart Scraper to get podcast IDs from Apple's charts
2. **Extract Episode Data**: Feed those IDs into this Episodes Scraper
3. **Analyze & Export**: Get comprehensive episode data for all trending podcasts

**Example workflow:**

```
Top Charts Scraper → Extract podcast IDs → Episodes Scraper → Complete episode database
```

### Tips for Best Results

- **Start Small**: Test with a small episode count (10-50) before running large scrapes
- **Multiple Podcasts**: The actor processes multiple podcasts concurrently for faster results
- **Episode Limits**: Each podcast returns up to 2000 episodes maximum
- **Data Streaming**: Episodes are pushed to the dataset as they're fetched (no need to wait for completion)

### Performance

- Processes multiple podcasts simultaneously using async requests
- Episodes are streamed to the dataset in real-time
- Average processing time: ~1 second per 100 episodes
- Handles up to 2000 episodes per podcast

### Notes

- Episode data is fetched directly from Apple's podcast API
- Audio URLs are direct links to episode files
- Artwork URLs include template parameters (`{w}x{h}`) for custom sizing
- Release dates are in ISO 8601 format (UTC timezone)

***

**Need help or have questions?** Check the Apify documentation or reach out to the community forum.

# Actor input Schema

## `podcastIds` (type: `array`):

List of Apple Podcast IDs to scrape episodes from

## `episodeCount` (type: `integer`):

Number of episodes to fetch for each podcast

## Actor input object example

```json
{
  "podcastIds": [
    "360084272",
    "917918570",
    "1535809341"
  ],
  "episodeCount": 200
}
```

# Actor output Schema

## `overview` (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 = {
    "podcastIds": [
        "360084272"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder_zoro/apple-podcast-episodes-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 = { "podcastIds": ["360084272"] }

# Run the Actor and wait for it to finish
run = client.actor("coder_zoro/apple-podcast-episodes-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 '{
  "podcastIds": [
    "360084272"
  ]
}' |
apify call coder_zoro/apple-podcast-episodes-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder_zoro/apple-podcast-episodes-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/SAaF69RfPXOIBlDxh/builds/kVyUjA9QDmzl6dOhe/openapi.json
