# Apple Podcasts Scraper — Shows, Episodes, Reviews & Host Leads (`scrapesage/apple-podcasts-scraper`) Actor

Scrape Apple Podcasts: search shows, full show details, top charts, a publisher's whole catalog, episodes and reviews. Rich RSS data — owner email, website, publishing cadence, active/dormant flags — plus opt-in host-contact leads and monitoring. No login, no key, no browser.

- **URL**: https://apify.com/scrapesage/apple-podcasts-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** Lead generation, Social media, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 podcast show scrapeds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Apple Podcasts Scraper — Shows, Episodes, Reviews & Host Leads

Extract **complete Apple Podcasts data** — search shows by keyword, pull full show details, read top-chart rankings, list a publisher's whole catalog, grab episodes, and collect listener reviews. Every show is enriched from its **public RSS feed** with the fields Apple's API hides: **owner name & email, website, publishing cadence, and active/dormant status** — and, optionally, turned into a **ready-to-contact lead** by crawling the show's own site for emails, phone numbers and socials.

No login, no API key, no browser — fast JSON + RSS extraction with 99%+ reliability.

### Why this Apple Podcasts scraper?

Most podcast scrapers stop at Apple's basic search fields. This actor merges Apple's public endpoints **and** each show's RSS feed, then derives the signals that matter for outreach and research — shipping the **richest podcast dataset in the category**:

| Data | Typical scrapers | This actor |
|---|---|---|
| Show metadata (title, publisher, artwork, genres, episode count) | ✅ | ✅ |
| Owner **name + email** (the host's real inbox) | ❌ | ✅ from RSS |
| Show website + language + full RSS categories | partial | ✅ |
| Publishing **cadence**, last-episode date, **active/dormant** flag | ❌ | ✅ derived |
| Average episode duration, feed type, "show has ended" flag | ❌ | ✅ derived |
| **Host-contact leads** (emails, phone, socials from the show's site) | ❌ | ✅ opt-in |
| Lead score (0–100) per show | ❌ | ✅ |
| Episodes (audio URL, duration, season/episode, type) | partial | ✅ opt-in |
| Listener reviews (rating, title, text, date) | partial | ✅ |
| Top charts by category & country | partial | ✅ |
| Monitoring — only new shows / episodes / reviews | ❌ | ✅ |

### Use cases

- **Podcast guesting & booking** — find **active** shows in your niche (`isActive`, `publishingCadenceDays`, `daysSinceLastEpisode`), then pitch the host directly using `ownerEmail` and `contactEmails`.
- **Sponsorship & advertising outreach** — filter shows by reach (`userRatingCount`, `episodeCount`) and reach decision-makers with verified contact data and a `leadScore`.
- **Market & competitive research** — track top charts, publishing frequency, and catalog size across any category and country (Business, True Crime, Technology, News, Health & Fitness…).
- **Content & trend monitoring** — schedule recurring runs to capture only **new episodes** across a watchlist of shows for newsletters, alerts, or LLM summarization.
- **PR & media databases** — build a contactable directory of hosts and publishers, enriched with websites and social profiles.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **Apple Podcasts Scraper**, fill in the inputs you need, and click **Start**.
3. Watch results stream into the dataset table as each record is parsed.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "mode": "search",
    "searchTerms": ["b2b marketing", "startup founders"],
    "maxResultsPerQuery": 50,
    "enrichFromRss": true,
    "includeEpisodes": false,
    "enrichHostContacts": true,
    "country": "us"
}
````

- **mode** — `search` (find shows by keyword), `showDetails` (full records for specific shows), `topCharts` (top shows by category), `publisherShows` (a publisher's whole catalog), or `reviews` (listener reviews for specific shows).
- **searchTerms** — keywords for `search` mode (one row per term).
- **podcastIds** — Apple Podcasts IDs (`1138869817`), Apple Podcasts URLs, or direct RSS feed URLs. Used by `showDetails` and `reviews`.
- **genre** — category for `topCharts` (Business, True Crime, Technology, News…), or `All podcasts` for the overall chart.
- **artistIds** — numeric Apple artist IDs (or artist URLs) for `publisherShows`.
- **enrichFromRss** *(default true)* — fetch each show's RSS feed to add owner email, website, categories and the derived analytics (cadence, last-episode date, active/dormant, average duration).
- **includeEpisodes** *(default false)* — also output episode records; set `maxEpisodesPerShow` to control how many. In monitoring mode this returns only **new** episodes.
- **enrichHostContacts** *(default false)* — crawl each show's own website (home + contact/about) for emails, phone and social links. Only runs for shows that have a website.
- **maxReviewsPerShow / reviewsSort** — review controls (Apple exposes roughly the latest 500 per show).
- **country** — two-letter Apple storefront (`us`, `gb`, `de`, `au`…).

### Output

One record per show (`type: "show"`), plus optional `episode` and `review` records:

```json
{
    "type": "show",
    "podcastId": 1138869817,
    "title": "Marketing School - Digital Marketing and Online Marketing Tips",
    "artistName": "Eric Siu and Neil Patel",
    "artistId": 1138869800,
    "feedUrl": "https://feeds.megaphone.fm/ESHO5419936864",
    "appleUrl": "https://podcasts.apple.com/us/podcast/id1138869817",
    "primaryGenre": "Marketing",
    "genres": ["Marketing", "Business", "Careers"],
    "episodeCount": 2000,
    "lastEpisodeAt": "2026-06-11T14:00:00.000Z",
    "daysSinceLastEpisode": 3,
    "publishingCadenceDays": 1.4,
    "avgEpisodeDurationMinutes": 23,
    "isActive": true,
    "hasEnded": false,
    "language": "en",
    "website": "https://www.marketingschool.io/",
    "ownerName": "Eric Siu and Neil Patel",
    "ownerEmail": "maya.harper@singlegrain.com",
    "feedCategories": ["Business", "Marketing", "Careers"],
    "contactEmails": ["hello@singlegrain.com"],
    "contactPhones": [],
    "socialLinks": { "youtube": "https://www.youtube.com/@marketingschoolpod" },
    "leadScore": 95,
    "country": "US",
    "scrapedAt": "2026-06-14T23:40:00.000Z"
}
```

Notes: fields are `null` only when the data genuinely doesn't exist (some feeds omit an owner email, website, or episode numbers — the actor never fabricates them). `ownerEmail` comes from the show's public RSS feed; `contactEmails`/`socialLinks` come from the show's own website when `enrichHostContacts` is on. Empty results are reported as a successful run.

### Monitoring — get only new shows, episodes & reviews

Turn on **`monitorMode`** to remember everything returned in previous runs and emit **only new records** the next time — new shows for a search/chart/publisher, new **episodes** per show, or new **reviews** per show. Each record type is de-duplicated independently, so a show you've already seen never hides its fresh episodes.

Set a distinct **`monitorStoreName`** per tracked target/query to keep their histories separate. Monitoring pairs with [Apify Schedules](https://docs.apify.com/platform/schedules): the schedule triggers the run, and monitoring mode makes sure you only pay for and process what's actually new.

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it on a cron to keep your data fresh.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/apple-podcasts-scraper').call({
    mode: 'search',
    searchTerms: ['b2b marketing'],
    enrichFromRss: true,
    enrichHostContacts: true,
    country: 'us',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} records`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new records straight into your CRM or sheet.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a run finds something new.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "find active business podcasts and list their host contact emails" and let it run this scraper for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Pair podcast intelligence with the rest of the **media, marketing and lead-gen** toolkit:

- **[Telegram Scraper](https://apify.com/scrapesage/telegram-scraper)** — channels, messages, media and search.
- **[Facebook Ad Library Scraper](https://apify.com/scrapesage/facebook-ad-library-scraper)** — competitor and sponsor ad intelligence.
- **[Google Ads Transparency Scraper](https://apify.com/scrapesage/google-ads-transparency-scraper)** — who's advertising what on Google.
- **[Eventbrite Scraper](https://apify.com/scrapesage/eventbrite-scraper)** — events plus organizer leads with contacts.
- **[Sched Conference Scraper](https://apify.com/scrapesage/sched-conference-scraper)** — conference speakers, sessions and leads (great for guest sourcing).
- **[Whova Event Scraper](https://apify.com/scrapesage/whova-event-scraper)** — event sessions, speakers, sponsors and exhibitors.
- **[LinkedIn Jobs Scraper](https://apify.com/scrapesage/linkedin-jobs-scraper)** — filter-based job postings, no login.
- **[SAM.gov Scraper](https://apify.com/scrapesage/sam-gov-scraper)** — US federal contract opportunities and contacts.

### Tips

- **Find contactable hosts fast** — run `search` with `enrichFromRss` on; sort the dataset by `leadScore` and filter `isActive = true` to surface shows that publish regularly and have a reachable owner.
- **Reviews are capped** — Apple's public feed exposes roughly the latest 500 reviews per show. Use `monitorMode` + a Schedule to accumulate new reviews over time.
- **Big catalogs** — `maxResultsPerQuery` and `maxEpisodesPerShow` keep large publishers and long-running shows under control; raise them only as needed.
- **Cost control** — `enrichHostContacts` only runs for shows that actually have a website, and episodes/contacts are billed separately so you pay for exactly what you turn on.
- **Proxies** — Apple's endpoints and most RSS hosts have no hard anti-bot, so the default Apify proxy is plenty; switch to residential only for very large or high-frequency runs.

### FAQ

**Where does the host email come from?** From the show's own public RSS feed (`<itunes:owner>`), which podcast hosts publish so Apple and apps can reach them — plus, with `enrichHostContacts`, the emails listed on the show's own website. Never from anything private.

**How do I scrape a specific podcast?** Use `showDetails` mode and put the Apple Podcasts ID, the `podcasts.apple.com` URL, or the RSS feed URL into `podcastIds`.

**Can I get every episode of a show?** Yes — turn on `includeEpisodes` and raise `maxEpisodesPerShow`. Episodes come straight from the RSS feed with audio URLs, durations and season/episode numbers.

**How do I track new episodes automatically?** Turn on `monitorMode`, then create a [Schedule](https://docs.apify.com/platform/schedules). Each run returns only episodes (or shows/reviews) you haven't seen before.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**Is scraping Apple Podcasts legal?** This actor collects publicly available data only. You are responsible for using the data in compliance with applicable laws (GDPR/CCPA for personal data) and Apple's terms.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

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

Pick a job. Search finds shows by keyword. Show details pulls full records (with RSS data) for specific shows. Top charts lists the top podcasts in a category. Publisher shows returns a publisher's whole catalog. Reviews pulls listener reviews for specific shows.

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

Keywords to search Apple Podcasts for, e.g. `true crime`, `b2b marketing`, `startup founders`. One row per term. (Mode: Search.)

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

Apple Podcasts IDs (e.g. `1138869817`), full Apple Podcasts URLs (`https://podcasts.apple.com/.../id1138869817`), or direct RSS feed URLs. Used by Show details and Reviews modes. Reviews need an Apple ID/URL (not a feed URL).

## `genre` (type: `string`):

Category for the top chart, or `All podcasts` for the overall chart. (Mode: Top charts.)

## `artistIds` (type: `array`):

Numeric Apple artist IDs (e.g. `1439215748`) or Apple Podcasts artist URLs. Returns every show in that publisher's catalog. (Mode: Publisher shows.)

## `maxResultsPerQuery` (type: `integer`):

Cap the number of shows returned per search term, chart, or publisher (Apple returns up to 200).

## `fullDetails` (type: `boolean`):

For Top charts, open each ranked show for the complete record. Search and Publisher modes already return full records. Turn off for a faster, lighter chart listing.

## `enrichFromRss` (type: `boolean`):

Fetch each show's public RSS feed to add the fields Apple's API omits: owner name & EMAIL, website, language, full categories, plus derived analytics (episode count, last-episode date, publishing cadence, average duration, active/dormant). One extra request per show.

## `includeEpisodes` (type: `boolean`):

Also output episode records (type `episode`) from each show's RSS feed — title, date, duration, audio URL, season/episode numbers, type and description. In monitoring mode this returns only NEW episodes since the last run.

## `maxEpisodesPerShow` (type: `integer`):

How many recent episodes to pull per show when 'Include episodes' is on.

## `enrichHostContacts` (type: `boolean`):

Opt-in lead enrichment: visit each show's own public website (home + a contact/about page) and extract contact emails, phone numbers and social links — for podcast guesting, sponsorship and PR outreach. Only runs for shows that have a website.

## `maxReviewsPerShow` (type: `integer`):

How many reviews to fetch per show, newest first by default. Apple's public review feed exposes roughly the latest 500 per show (50 per page, 10 pages). (Mode: Reviews.)

## `reviewsSort` (type: `string`):

Order in which reviews are pulled. (Mode: Reviews.)

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

Two-letter Apple storefront code (e.g. `us`, `gb`, `de`, `au`). Affects search results, chart rankings and the review pool.

## `monitorMode` (type: `boolean`):

Remember what was already returned and emit ONLY records not seen in previous runs (new shows for a search/chart/publisher, new episodes per show, or new reviews per show). Pairs with Apify Schedules to track changes over time.

## `monitorStoreName` (type: `string`):

Named key-value store that holds the 'already seen' ids for monitoring mode. Use a different name per tracked target/query to keep their histories separate.

## `maxConcurrency` (type: `integer`):

Maximum parallel requests. Lower it if you hit rate limits on very large runs.

## `proxyConfiguration` (type: `object`):

Proxy settings. Apple's public endpoints and most podcast RSS feeds have no hard anti-bot, so the default Apify proxy is plenty; switch to residential for very large or high-frequency runs.

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "marketing"
  ],
  "podcastIds": [
    "1138869817"
  ],
  "genre": "ALL",
  "maxResultsPerQuery": 50,
  "fullDetails": true,
  "enrichFromRss": true,
  "includeEpisodes": false,
  "maxEpisodesPerShow": 10,
  "enrichHostContacts": false,
  "maxReviewsPerShow": 100,
  "reviewsSort": "mostrecent",
  "country": "us",
  "monitorMode": false,
  "monitorStoreName": "apple-podcasts-monitor",
  "maxConcurrency": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped records in the default dataset. Show rows carry full metadata, RSS data, derived analytics and host-contact leads; episode and review rows carry their own fields.

# 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": [
        "marketing"
    ],
    "podcastIds": [
        "1138869817"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/apple-podcasts-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": ["marketing"],
    "podcastIds": ["1138869817"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/apple-podcasts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "marketing"
  ],
  "podcastIds": [
    "1138869817"
  ]
}' |
apify call scrapesage/apple-podcasts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapesage/apple-podcasts-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Apple Podcasts Scraper — Shows, Episodes, Reviews & Host Leads",
        "description": "Scrape Apple Podcasts: search shows, full show details, top charts, a publisher's whole catalog, episodes and reviews. Rich RSS data — owner email, website, publishing cadence, active/dormant flags — plus opt-in host-contact leads and monitoring. No login, no key, no browser.",
        "version": "0.1",
        "x-build-id": "hEfobLl5PZYcqg95a"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapesage~apple-podcasts-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapesage-apple-podcasts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapesage~apple-podcasts-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapesage-apple-podcasts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapesage~apple-podcasts-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapesage-apple-podcasts-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "What to scrape",
                        "enum": [
                            "search",
                            "showDetails",
                            "topCharts",
                            "publisherShows",
                            "reviews"
                        ],
                        "type": "string",
                        "description": "Pick a job. Search finds shows by keyword. Show details pulls full records (with RSS data) for specific shows. Top charts lists the top podcasts in a category. Publisher shows returns a publisher's whole catalog. Reviews pulls listener reviews for specific shows.",
                        "default": "search"
                    },
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Keywords to search Apple Podcasts for, e.g. `true crime`, `b2b marketing`, `startup founders`. One row per term. (Mode: Search.)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "podcastIds": {
                        "title": "Podcast IDs / URLs / RSS feeds",
                        "type": "array",
                        "description": "Apple Podcasts IDs (e.g. `1138869817`), full Apple Podcasts URLs (`https://podcasts.apple.com/.../id1138869817`), or direct RSS feed URLs. Used by Show details and Reviews modes. Reviews need an Apple ID/URL (not a feed URL).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "genre": {
                        "title": "Category",
                        "enum": [
                            "ALL",
                            "1301",
                            "1321",
                            "1303",
                            "1304",
                            "1483",
                            "1511",
                            "1487",
                            "1307",
                            "1305",
                            "1502",
                            "1310",
                            "1489",
                            "1314",
                            "1533",
                            "1324",
                            "1545",
                            "1318",
                            "1488",
                            "1309"
                        ],
                        "type": "string",
                        "description": "Category for the top chart, or `All podcasts` for the overall chart. (Mode: Top charts.)",
                        "default": "ALL"
                    },
                    "artistIds": {
                        "title": "Publisher (artist) IDs / URLs",
                        "type": "array",
                        "description": "Numeric Apple artist IDs (e.g. `1439215748`) or Apple Podcasts artist URLs. Returns every show in that publisher's catalog. (Mode: Publisher shows.)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResultsPerQuery": {
                        "title": "Max shows per query",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Cap the number of shows returned per search term, chart, or publisher (Apple returns up to 200).",
                        "default": 50
                    },
                    "fullDetails": {
                        "title": "Enrich chart shows with full details",
                        "type": "boolean",
                        "description": "For Top charts, open each ranked show for the complete record. Search and Publisher modes already return full records. Turn off for a faster, lighter chart listing.",
                        "default": true
                    },
                    "enrichFromRss": {
                        "title": "Enrich from RSS feed (owner email, cadence, analytics)",
                        "type": "boolean",
                        "description": "Fetch each show's public RSS feed to add the fields Apple's API omits: owner name & EMAIL, website, language, full categories, plus derived analytics (episode count, last-episode date, publishing cadence, average duration, active/dormant). One extra request per show.",
                        "default": true
                    },
                    "includeEpisodes": {
                        "title": "Include episodes",
                        "type": "boolean",
                        "description": "Also output episode records (type `episode`) from each show's RSS feed — title, date, duration, audio URL, season/episode numbers, type and description. In monitoring mode this returns only NEW episodes since the last run.",
                        "default": false
                    },
                    "maxEpisodesPerShow": {
                        "title": "Max episodes per show",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "How many recent episodes to pull per show when 'Include episodes' is on.",
                        "default": 10
                    },
                    "enrichHostContacts": {
                        "title": "Enrich host contacts (crawl website for emails, phone, socials)",
                        "type": "boolean",
                        "description": "Opt-in lead enrichment: visit each show's own public website (home + a contact/about page) and extract contact emails, phone numbers and social links — for podcast guesting, sponsorship and PR outreach. Only runs for shows that have a website.",
                        "default": false
                    },
                    "maxReviewsPerShow": {
                        "title": "Max reviews per show",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "How many reviews to fetch per show, newest first by default. Apple's public review feed exposes roughly the latest 500 per show (50 per page, 10 pages). (Mode: Reviews.)",
                        "default": 100
                    },
                    "reviewsSort": {
                        "title": "Sort reviews by",
                        "enum": [
                            "mostrecent",
                            "mosthelpful"
                        ],
                        "type": "string",
                        "description": "Order in which reviews are pulled. (Mode: Reviews.)",
                        "default": "mostrecent"
                    },
                    "country": {
                        "title": "Country",
                        "type": "string",
                        "description": "Two-letter Apple storefront code (e.g. `us`, `gb`, `de`, `au`). Affects search results, chart rankings and the review pool.",
                        "default": "us"
                    },
                    "monitorMode": {
                        "title": "Monitoring mode — only new records",
                        "type": "boolean",
                        "description": "Remember what was already returned and emit ONLY records not seen in previous runs (new shows for a search/chart/publisher, new episodes per show, or new reviews per show). Pairs with Apify Schedules to track changes over time.",
                        "default": false
                    },
                    "monitorStoreName": {
                        "title": "Monitor store name",
                        "type": "string",
                        "description": "Named key-value store that holds the 'already seen' ids for monitoring mode. Use a different name per tracked target/query to keep their histories separate.",
                        "default": "apple-podcasts-monitor"
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Maximum parallel requests. Lower it if you hit rate limits on very large runs.",
                        "default": 6
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings. Apple's public endpoints and most podcast RSS feeds have no hard anti-bot, so the default Apify proxy is plenty; switch to residential for very large or high-frequency runs.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
