# Podcast, Substack, Beehiiv & YouTube Sponsor Leads Scraper (`vesper_studio/creator-podcast-sponsor-leads`) Actor

Discover niche podcasts (Apple Podcasts/iTunes + RSS), newsletters (Substack, Beehiiv), and YouTube creators by keyword or URL. Extract MX-validated public business emails, measure 30-day publishing cadence, and detect active brand sponsors & promo codes for influencer outreach & Clay.

- **URL**: https://apify.com/vesper_studio/creator-podcast-sponsor-leads.md
- **Developed by:** [Xavier Richard](https://apify.com/vesper_studio) (community)
- **Categories:** Marketing, Social media, 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 $4.00 / 1,000 creator profile extracteds

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

## Creator, Podcast & Newsletter Sponsor Leads (`creator-podcast-sponsor-leads`)

**Build the creator & sponsorship prospecting database that Clay and n8n lack — discover niche Podcasts (Apple Podcasts/iTunes + RSS), Newsletters (Substack & Beehiiv), and YouTube channels by keyword or URL, extract MX-validated public business emails, measure 30-day publishing cadence, and automatically detect the brands & promo codes already sponsoring them.**

- **100% Pure HTTP / Public APIs & Feeds** — iTunes Search API, streaming `defusedxml` Podcast RSS & YouTube Atom parsing, Substack/Beehiiv HTML + RSS, and optional YouTube Data API v3
- **Zero Proxies, Zero Headless Browsers** — runs cleanly in **256–512 MB RAM**
- **Built-in Sponsor Intelligence (`src/sponsor_detector.py`)** — scans the latest episodes, issues, and video descriptions for sponsorship phrases (`"sponsored by"`, `"brought to you by"`, `"from our partners"`), promo codes (`"use code X"`), and partner/UTM tracking links (`utm_medium=newsletter|podcast`, `try.*`, `go.*`, `ref=`)
- **Deliverability-Ready Outreach** — separates `creatorEmail` vs `ownerEmail` (`<itunes:owner>` / `<managingEditor>`), verifies domain **DNS MX records**, and checks `postsLast30Days` so your agency only pitches **active, reachable creators**
- **Clay / n8n Delta Mode (`onlyNew`) & Pay-Per-Event** — deduplicates across runs via Apify Key-Value Store (`creator-sponsor-delta-state`) and enforces `maxTotalChargeUsd` budgets

***

### Who This Actor Is Built For

| Use Case | How Teams Use It |
| :--- | :--- |
| **B2B Sponsorship & Influencer Agencies** | Find creators already monetized (`onlySponsored: true`) in SaaS, AI, Finance, or E-commerce, see which competitors sponsor them (`detectedSponsors`), and pitch sponsorship packages via `creatorEmail`. |
| **SaaS Growth & Partnership Teams** | Prospect niche B2B podcasts and Substack/Beehiiv newsletters publishing weekly (`minPostsLast30Days: 2+`) where your ICP hangs out. |
| **PR & Guest Booking Agencies** | Pull podcast host/producer `ownerEmail` + `creatorEmail` directly from Apple Podcasts + RSS `<itunes:owner>` + show websites for podcast tour outreach. |
| **Clay & n8n Outbound Pipelines** | Schedule weekly runs with `onlyNew: true` to stream net-new creator leads straight into Clay tables, Instantly, or Smartlead without bounced emails (`emailMxValid: true`). |

***

### Input Modes & Configuration

You can mix and match any combination of discovery modes in a single run:

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `podcastKeywords` | `string[]` | `[]` | Keywords queried against the official Apple Podcasts / iTunes Search API. Automatically fetches and parses each show's RSS feed. |
| `itunesCountry` | `string` | `"US"` | 2-letter ISO country code for iTunes Search (`"US"`, `"GB"`, `"FR"`, `"CA"`, `"DE"`). |
| `podcastLimitPerKeyword` | `integer` | `25` | Maximum podcasts returned per keyword (`1`–`200`). |
| `podcastRssUrls` | `string[]` | `[]` | Direct podcast RSS URLs (Megaphone, Anchor/Spotify, Art19, Simplecast, Libsyn, Buzzsprout). |
| `newsletterUrls` | `string[]` | `[]` | Substack, Beehiiv, or custom newsletter URLs. Probes `/about`, `/advertise`, `/sponsor`, `/contact`, and RSS (`/feed` or Beehiiv `rss.beehiiv.com`). |
| `youtubeChannels` | `string[]` | `[]` | YouTube channel URLs, `@handles`, or `UC...` channel IDs. |
| `youtubeKeywords` | `string[]` | `[]` | Search niche YouTube channels by keyword (uses Data API v3 when `youtubeApiKey` is set, or public YouTube search HTML otherwise). |
| `youtubeLimitPerKeyword` | `integer` | `15` | Maximum YouTube channels discovered per keyword (`1`–`50`). |
| `youtubeApiKey` | `string` | `""` | Optional YouTube Data API v3 key for high-volume channel discovery and video description retrieval. |
| `recentItemsToAnalyze` | `integer` | `5` | Number of latest episodes, newsletter issues, or videos analyzed per creator (`1`–`20`). |
| `minPostsLast30Days` | `integer` | `0` | Minimum publications in the last 30 days (set `>= 1` to exclude inactive shows). |
| `onlySponsored` | `boolean` | `false` | Emit only creators with detected sponsor brands, promo codes, or partner tracking links. |
| `requireEmail` | `boolean` | `false` | Emit only creators with at least one valid public `creatorEmail` or `ownerEmail`. |
| `validateEmailMx` | `boolean` | `true` | Perform live DNS MX record verification on extracted email domains. |
| `enrichCreatorWebsite` | `boolean` | `true` | When no email is found in RSS/YouTube bio, inspect the creator's homepage and `/contact`, `/advertise`, `/sponsor` pages. |
| `onlyNew` | `boolean` | `false` | Delta mode: skip `creatorId`s already emitted in previous runs. |
| `maxResults` | `integer` | `100` | Maximum creator leads to emit per run (`1`–`5000`). |

***

### Example Output Record

```json
{
  "creatorId": "podcast:https://rss.art19.com/the-cmo-podcast",
  "platform": "podcast",
  "subPlatform": "apple_itunes",
  "name": "The CMO Podcast",
  "authorName": "vYve & Jim Stengel",
  "url": "https://podcasts.apple.com/us/podcast/the-cmo-podcast/id1460604334",
  "feedUrl": "https://rss.art19.com/the-cmo-podcast",
  "websiteUrl": "https://www.linkedin.com/company/cmo-podcast/",
  "creatorEmail": "podcasts@vyve.co",
  "ownerEmail": "podcasts@vyve.co",
  "allEmails": ["podcasts@vyve.co"],
  "emailMxValid": true,
  "categories": ["Careers", "Business", "Marketing"],
  "country": "USA",
  "language": "en",
  "audienceMetricLabel": null,
  "subscriberCount": null,
  "totalContentCount": 451,
  "postsLast30Days": 4,
  "lastPublishedAt": "2026-11-11T11:00:00Z",
  "isMonetized": true,
  "sponsorConfidence": "high",
  "detectedSponsors": ["Salesforce", "adweek.com"],
  "detectedPromoCodes": ["CMO20"],
  "sponsorLinks": ["https://try.salesforce.com/cmo?utm_medium=podcast"],
  "sponsorEvidence": ["sponsored by Salesforce — visit try.salesforce.com/cmo and use code CMO20"],
  "socialLinks": [],
  "description": "Jim Stengel interviews Chief Marketing Officers...",
  "recentItems": [
    {
      "title": "Beyond the Viral Moment: Kate Ridley on Building Stanley 1913's Next Chapter",
      "url": "https://art19.com/shows/the-cmo-podcast/episodes/...",
      "publishedAt": "2026-11-11T11:00:00Z",
      "detectedSponsors": ["Salesforce"],
      "detectedPromoCodes": ["CMO20"]
    }
  ],
  "sourceQuery": "itunes:marketing"
}
```

***

### Pay-Per-Event Pricing

This Actor supports Apify Pay-Per-Event (`pay_per_event.json`):

- `creator-profile` (`$0.004`): charged once per unique creator lead emitted to the dataset.
- `email-found` (`$0.006`): charged additionally when a syntax- and MX-validated `creatorEmail` or `ownerEmail` is found for that creator.

***

### Clay & n8n Integration Recipe

1. **Trigger**: Call the Apify Actor via n8n Apify node or Clay HTTP/Apify enrichment with `podcastKeywords`, `newsletterUrls`, or `youtubeKeywords`, plus `onlySponsored: true`, `requireEmail: true`, and `minPostsLast30Days: 1`.
2. **Filter & Personalize**: Use `detectedSponsors` and `recentItems[0].title` as AI personalization variables (`"Saw Salesforce sponsored your latest episode on..."`).
3. **Send Safely**: Route `creatorEmail` (or fallback `ownerEmail`) directly into your outreach sequencer knowing `emailMxValid` is already `true`.

# Actor input Schema

## `podcastKeywords` (type: `array`):

Niche keywords to discover podcasts via the official Apple Podcasts / iTunes Search API (e.g. \['b2b saas', 'ai marketing', 'ecommerce']). Each matching podcast's RSS feed is automatically parsed.

## `itunesCountry` (type: `string`):

2-letter ISO country code for Apple Podcasts Search (e.g. 'US', 'GB', 'FR', 'CA', 'DE').

## `podcastLimitPerKeyword` (type: `integer`):

Maximum number of podcasts to fetch from Apple Podcasts Search per keyword (1-200).

## `podcastRssUrls` (type: `array`):

Optional list of direct podcast RSS feed URLs to parse (e.g. Megaphone, Anchor/Spotify, Art19, Simplecast, Libsyn, Buzzsprout).

## `newsletterUrls` (type: `array`):

List of public Substack, Beehiiv, or custom newsletter URLs (e.g. 'https://www.lennysnewsletter.com', 'https://www.theneurondaily.com'). Extracts /about & /advertise emails, RSS issues, and sponsor links.

## `youtubeChannels` (type: `array`):

List of YouTube channels as URLs ('https://www.youtube.com/@mkbhd'), handles ('@mkbhd'), or channel IDs ('UCBJycsmduvYEL83R_U4JriQ'). Extracts public bio emails, links, and recent video descriptions.

## `youtubeKeywords` (type: `array`):

Optional keywords to discover niche YouTube channels. Uses YouTube Data API v3 when youtubeApiKey is provided, or public YouTube channel search HTML otherwise.

## `youtubeLimitPerKeyword` (type: `integer`):

Maximum number of YouTube channels to discover per keyword (1-50).

## `youtubeApiKey` (type: `string`):

Optional YouTube Data API v3 key for high-volume channel discovery and video description retrieval without HTML rate limits.

## `recentItemsToAnalyze` (type: `integer`):

Number of latest episodes, newsletter posts, or YouTube videos per creator to inspect for sponsorship signals, promo codes, and publishing cadence.

## `minPostsLast30Days` (type: `integer`):

Filter out inactive creators. Set to 1 or higher to keep only active shows/newsletters/channels that published in the last 30 days.

## `onlySponsored` (type: `boolean`):

When enabled, emits only creators where at least one active sponsor brand, promo code, or sponsor tracking link was detected.

## `requireEmail` (type: `boolean`):

When enabled, skips creators that do not have a valid public creatorEmail or ownerEmail.

## `validateEmailMx` (type: `boolean`):

Verify that extracted email domains have valid DNS MX records to prevent bounced outreach in Clay/Instantly/Smartlead.

## `enrichCreatorWebsite` (type: `boolean`):

When a podcast, newsletter, or YouTube channel lists a non-social homepage and no email was found yet, check its homepage and /contact, /advertise, or /sponsor pages.

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

Skip creator IDs already emitted in previous runs (stored in Apify Key-Value Store 'creator-sponsor-delta-state'). Ideal for scheduled Clay / n8n pipelines.

## `maxResults` (type: `integer`):

Maximum total creator profiles to push to the dataset in this run.

## Actor input object example

```json
{
  "podcastKeywords": [
    "b2b saas marketing"
  ],
  "itunesCountry": "US",
  "podcastLimitPerKeyword": 10,
  "podcastRssUrls": [],
  "newsletterUrls": [],
  "youtubeChannels": [],
  "youtubeKeywords": [],
  "youtubeLimitPerKeyword": 10,
  "recentItemsToAnalyze": 5,
  "minPostsLast30Days": 0,
  "onlySponsored": false,
  "requireEmail": false,
  "validateEmailMx": true,
  "enrichCreatorWebsite": true,
  "onlyNew": false,
  "maxResults": 25
}
```

# Actor output Schema

## `leads` (type: `string`):

Deduplicated creator profiles with MX-validated public business emails, 30-day cadence, and detected sponsors/promo codes. Append ?format=csv or ?format=json for Clay, n8n, or CRM import.

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

Run metrics by platform (podcasts, newsletters, YouTube), emails validated, sponsors detected, and PPE charges.

# 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 = {
    "podcastKeywords": [
        "b2b saas marketing"
    ],
    "itunesCountry": "US",
    "podcastLimitPerKeyword": 10,
    "podcastRssUrls": [],
    "newsletterUrls": [],
    "youtubeChannels": [],
    "youtubeKeywords": [],
    "youtubeLimitPerKeyword": 10,
    "recentItemsToAnalyze": 5,
    "minPostsLast30Days": 0,
    "onlySponsored": false,
    "requireEmail": false,
    "validateEmailMx": true,
    "enrichCreatorWebsite": true,
    "onlyNew": false,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("vesper_studio/creator-podcast-sponsor-leads").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 = {
    "podcastKeywords": ["b2b saas marketing"],
    "itunesCountry": "US",
    "podcastLimitPerKeyword": 10,
    "podcastRssUrls": [],
    "newsletterUrls": [],
    "youtubeChannels": [],
    "youtubeKeywords": [],
    "youtubeLimitPerKeyword": 10,
    "recentItemsToAnalyze": 5,
    "minPostsLast30Days": 0,
    "onlySponsored": False,
    "requireEmail": False,
    "validateEmailMx": True,
    "enrichCreatorWebsite": True,
    "onlyNew": False,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("vesper_studio/creator-podcast-sponsor-leads").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 '{
  "podcastKeywords": [
    "b2b saas marketing"
  ],
  "itunesCountry": "US",
  "podcastLimitPerKeyword": 10,
  "podcastRssUrls": [],
  "newsletterUrls": [],
  "youtubeChannels": [],
  "youtubeKeywords": [],
  "youtubeLimitPerKeyword": 10,
  "recentItemsToAnalyze": 5,
  "minPostsLast30Days": 0,
  "onlySponsored": false,
  "requireEmail": false,
  "validateEmailMx": true,
  "enrichCreatorWebsite": true,
  "onlyNew": false,
  "maxResults": 25
}' |
apify call vesper_studio/creator-podcast-sponsor-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vesper_studio/creator-podcast-sponsor-leads"
        }
    }
}
```

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/08icvldXTfbGuNzsi/builds/NnCoBCRVSfTLm5gwM/openapi.json
