# Podcast Scraper: Apple Podcasts Search, Host Emails & Episodes (`kleb-data/podcast-scraper`) Actor

Search Apple Podcasts by keyword, then read each show's public RSS feed: owner contact email, author, website, categories, episode count, latest episode date and recent episodes. No browser, no proxy.

- **URL**: https://apify.com/kleb-data/podcast-scraper.md
- **Developed by:** [Kleb Data](https://apify.com/kleb-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 podcasts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Podcast Scraper: Apple Podcasts Search, Host Contact Email & Episodes

Find podcasts by keyword and get one clean record per show: who runs it, the contact email the show publishes, website, categories, how many episodes it has, when it last published and its latest episodes. It searches Apple's public iTunes Search API, then reads each show's public RSS feed directly: no browser, no proxy, no login.

### What you can do with it

- Find shows to pitch a guest, a sponsorship or a press story, and keep only the ones that are still publishing (set **Active within (days)**)
- Build a podcast directory or a niche list by topic and country
- Monitor new episodes of a fixed list of shows (pass Apple Podcasts URLs or RSS feed URLs and schedule the run)
- Give an AI agent a reliable "which podcasts cover this topic and how do I reach them" tool

### Input

| Field | Meaning |
|---|---|
| `searchTerms` | Keywords searched on Apple Podcasts, one search per term |
| `podcasts` | Optional. Apple Podcasts URLs (`https://podcasts.apple.com/us/podcast/name/id123456789`), numeric Apple IDs, or RSS feed URLs |
| `country` | Two-letter Apple storefront code (default `us`) |
| `maxPodcastsPerTerm` | Shows per search term (default 50; Apple returns at most 200) |
| `maxEpisodes` | Latest episodes included per show (default 5, `0` = none) |
| `onlyWithEmail` | Keep only shows whose feed publishes an owner email |
| `activeWithinDays` | Keep only shows whose latest episode is newer than this many days |
| `concurrency` | RSS feeds fetched at the same time (default 5, max 20) |

### Output (one item per podcast)

```json
{
  "searchTerm": "biotech",
  "podcastId": "1502871393",
  "title": "The Biotech Bench",
  "author": "Priya Nair & Helix Media",
  "ownerName": "Helix Media LLC",
  "ownerEmail": "hello@biotechbench.example",
  "website": "https://www.biotechbench.example/",
  "feedUrl": "https://feeds.example.com/biotech-bench",
  "applePodcastsUrl": "https://podcasts.apple.com/us/podcast/the-biotech-bench/id1502871393",
  "genres": ["Science", "Life Sciences", "Business"],
  "language": "en-us",
  "episodeCount": 212,
  "latestEpisodeAt": "2026-11-17T08:00:00.000Z",
  "description": "Weekly conversations with the scientists & founders building new medicines.",
  "image": "https://cdn.example.com/shows/biotech-bench/cover-3000.jpg",
  "explicit": false,
  "episodes": [
    {
      "title": "Ep. 212: Base editing leaves the lab",
      "publishedAt": "2026-11-17T08:00:00.000Z",
      "duration": 2712,
      "audioUrl": "https://media.example.com/biotech-bench/212.mp3",
      "url": "https://www.biotechbench.example/episodes/212"
    }
  ],
  "error": null
}
```

### Notes

- `ownerEmail` is the address the show itself publishes in its RSS feed (`itunes:owner`). Nothing is guessed or looked up elsewhere. Many shows do not publish one (several hosting platforms hide it by default), so expect `null` for a share of results; use `onlyWithEmail` to skip those.
- If you contact podcast owners, you are responsible for following the anti-spam and privacy laws that apply to you and to them (for example CAN-SPAM, GDPR, CASL): identify yourself, keep the message relevant to the show, and honour opt-outs.
- A show found by several search terms is returned once, under the first term that found it. `searchTerm`, `podcastId` and `applePodcastsUrl` are `null` for shows given as RSS feed URLs.
- If a feed cannot be read (timeout after 15 s, HTTP error, not an RSS feed), the show is still returned with the fields Apple provides and a short reason in `error`. With `onlyWithEmail` on, such shows are dropped.
- `episodeCount` is the number of episodes in the feed. Some shows keep only their most recent episodes in the feed, and only the first 3 MB of a feed is read, so for very large feeds the count can be lower than the show's full archive. The latest episodes are not affected.
- `duration` is in seconds. Fields a feed does not publish are `null`.
- Apple limits its search API to about 20 calls per minute, so the Actor waits 3 seconds between searches. Apple IDs are looked up in batches, and reading feeds does not count against that limit.
- The Actor identifies itself as `PodcastFeedReader/0.1 (+https://apify.com)` and does not use proxies. Feeds that refuse that request are reported in `error`.

### Pricing

Pay per event: $2.00 per 1,000 podcasts, platform usage included.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search on Apple Podcasts (for example a topic, an industry or a show name). Each term is searched separately.

## `podcasts` (type: `array`):

Optional. Apple Podcasts URLs (https://podcasts.apple.com/us/podcast/name/id123456789), numeric Apple IDs (123456789) or RSS feed URLs (https://example.com/feed.xml).

## `country` (type: `string`):

Two-letter Apple storefront country code (us, gb, de, kr ...).

## `maxPodcastsPerTerm` (type: `integer`):

Apple returns at most 200 shows per search.

## `maxEpisodes` (type: `integer`):

How many of the newest episodes to include on each item. 0 = none.

## `onlyWithEmail` (type: `boolean`):

Keep only shows whose feed publishes an owner email.

## `activeWithinDays` (type: `integer`):

Optional. Keep only shows whose latest episode is newer than this many days.

## `concurrency` (type: `integer`):

How many RSS feeds to fetch at the same time.

## Actor input object example

```json
{
  "searchTerms": [
    "biotech",
    "startup founders"
  ],
  "country": "us",
  "maxPodcastsPerTerm": 50,
  "maxEpisodes": 5,
  "onlyWithEmail": false,
  "concurrency": 5
}
```

# 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 = {
    "searchTerms": [
        "biotech",
        "startup founders"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kleb-data/podcast-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 = { "searchTerms": [
        "biotech",
        "startup founders",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kleb-data/podcast-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 '{
  "searchTerms": [
    "biotech",
    "startup founders"
  ]
}' |
apify call kleb-data/podcast-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kleb-data/podcast-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/YvaF4Tev3DIXysh86/builds/JKeQdQncMoaM4fNjk/openapi.json
