# YouTube Channel Email API - Creator Emails & Socials (`topapi/youtube-channel-email-api`) Actor

Get a YouTube creator's public business emails in one HTTP request: email with source and validation, phones, Instagram, TikTok, X and website links, subscribers, views, country. Reads the description, latest videos, pinned comment and creator sites. For code, n8n, Make and AI agents (MCP).

- **URL**: https://apify.com/topapi/youtube-channel-email-api.md
- **Developed by:** [Top Api](https://apify.com/topapi) (community)
- **Categories:** Social media, Lead generation, Marketing
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 channel with emails

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

## 📧 YouTube Channel Email API - Creator Emails & Socials

**YouTube Channel Email API** returns a YouTube creator's **public business email in one HTTP request**: send a channel
(an @handle, a channel link, a channel id or a video link), get the contact row back in the response. No run to start,
no dataset to fetch, no polling. It is an Apify **Server Actor**, so it also works as a **tool for AI agents (MCP)** and
as a single **HTTP Request** step in n8n, Make or Zapier.

Each answer carries every email the creator publishes, where it was found and whether its domain takes mail, plus
phones, Instagram / TikTok / X / website and other links, subscribers, views, videos, country and joined date. **You pay
only for channels that come back.** A channel without a public email answers `404` and costs nothing.

### ✨ What you get

- 📧 **Public emails** from the channel description, the latest video descriptions, the pinned comment, the creator's own
  website (home, contact and about pages) and their link-in-bio page, each with `source`, `sourceUrl` and the line it was
  written on (`context`)
- ✅ **Email validation** by DNS: `valid`, `risky`, `invalid`, `disposable` or `unchecked`, the mail provider and whether
  the domain has an MX record
- 🥇 **Best email first** (`email`): the creator's own text before websites, business inboxes before support inboxes
- 📱 **Phones** (E.164) from the description and the creator's website
- 🔗 **Links by platform**: Instagram, TikTok, X, Facebook, LinkedIn, Discord, Telegram, Patreon, Twitch, Threads,
  Snapchat, Skool, Spotify, Pinterest, GitHub, WhatsApp, websites, link-in-bio pages, every About link typed
- 📊 **Channel stats**: subscribers, exact total views, video count, country, joined date, verified badge, keywords,
  avatar and banner
- 🔒 `hasHiddenEmail`: whether YouTube shows its sign-in-gated "View email address" button on the channel
- 🗂️ **Up to 10 channels per request**, charged per channel returned
- 🧠 **MCP endpoint** for AI agents: tool `get_channel_contacts`
- 🔑 No YouTube API key, no login, no cookies

### 🚀 How to call it

Every request needs your **Apify API token** (Console > Settings > API & Integrations) in the `Authorization` header.

#### GET

```bash
curl "https://topapi--youtube-channel-email-api.apify.actor/channel?channel=@mkbhd" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

Several channels at once (comma-separated, up to 10):

```bash
curl "https://topapi--youtube-channel-email-api.apify.actor/channel?channels=@NetworkChuck,@veritasium,UCBJycsmduvYEL83R_U4JriQ" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

#### POST

```bash
curl -X POST "https://topapi--youtube-channel-email-api.apify.actor/channel" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"channels": ["@NetworkChuck", "https://www.youtube.com/@MadFit"], "includeRecentActivity": true}'
```

#### Python

```python
import requests

r = requests.get(
    "https://topapi--youtube-channel-email-api.apify.actor/channel",
    params={"channel": "@mkbhd"},
    headers={"Authorization": "Bearer <YOUR_APIFY_TOKEN>"},
    timeout=120,
)
data = r.json()
if r.status_code == 200:
    row = data["items"][0]
    print(row["email"], row["emailSource"], row["emailValidation"])
else:
    print(r.status_code, data["error"]["type"], data["error"]["message"])
```

#### JavaScript

```javascript
const res = await fetch(
    'https://topapi--youtube-channel-email-api.apify.actor/channel?channel=@mkbhd',
    { headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` } },
);
const data = await res.json();
console.log(res.status, data.items?.[0]?.email);
```

#### n8n, Make, Zapier

Add an **HTTP Request** step: method `GET`, URL `https://topapi--youtube-channel-email-api.apify.actor/channel`, query
parameter `channel` = the @handle or channel link, header `Authorization` = `Bearer <YOUR_APIFY_TOKEN>`. The email is
`items[0].email` in the response. Treat `404` as "no public email" (nothing charged), not as a failure.

#### AI agents (MCP)

MCP server URL: `https://topapi--youtube-channel-email-api.apify.actor/mcp` (Streamable HTTP, header
`Authorization: Bearer <YOUR_APIFY_TOKEN>`). It exposes one tool, `get_channel_contacts`, with the same parameters as
the HTTP endpoint. You can also add the actor through Apify's own MCP server, `mcp.apify.com`.

### ⚙️ Parameters

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `channel` | string | | One channel: `@handle`, a channel URL (`youtube.com/@name`, `/channel/UC...`, `/c/...`, `/user/...`), a `UC...` channel id, or a video / Shorts link (its channel is read). Also accepted as `url`, `channelUrl`, `handle`, `channelId`, `id`, `username`, `videoUrl`. |
| `channels` | list | | Up to 10 channels in the same forms; comma-separated in a query string. Also accepted as `urls`, `channelUrls`, `handles`, `channelIds`. Give `channel`, `channels` or both (10 in total). |
| `scanVideoDescriptions` | integer 0-15 | `3` | When the channel description has no email: how many of the latest videos' descriptions to read. |
| `scanPinnedComment` | boolean | `true` | When no email was found yet: read the pinned comment of the latest video. |
| `scanLinkedWebsites` | boolean | `true` | When no email was found yet: read the creator's own website and link-in-bio page. |
| `maxWebsitePages` | integer 1-8 | `3` | Pages read per website. |
| `maxWebsitesPerChannel` | integer 1-5 | `2` | Websites read per channel. |
| `scanEvenIfEmailFound` | boolean | `false` | Keep reading every source after the first email (more addresses, slower). |
| `validateEmails` | boolean | `true` | DNS check of each email's domain (MX, disposable, no-reply). No mailbox probe. |
| `includeChannelsWithoutEmail` | boolean | `false` | Also return channels with no public email (profile, stats, links), charged as `channel`. Off: they answer `404`, free. |
| `includeRecentActivity` | boolean | `false` | Add `lastUploadText`, `lastUploadDate`, `uploadsLast30Days`, `recentAverageViews`, `recentMedianViews`. |

`GET /` lists the endpoints and parameters; `.actor/openapi.json` (the **Server** tab in Console) describes them in OpenAPI 3.

### 📦 Response

A real answer for `channel=@mkbhd` (trimmed: empty link fields left out):

```json
{
  "ok": true,
  "count": 1,
  "items": [{
    "channelName": "Marques Brownlee",
    "channelHandle": "@mkbhd",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "channelUrl": "https://www.youtube.com/@mkbhd",
    "email": "business@mkbhd.com",
    "emailSource": "channel-about",
    "emailValidation": "valid",
    "emails": [{
      "email": "business@mkbhd.com", "source": "channel-about", "sourceUrl": "https://www.youtube.com/@mkbhd",
      "context": "business@MKBHD.com", "type": "role", "validation": "valid", "mxFound": true, "mailProvider": "Google Workspace"
    }],
    "emailCount": 1,
    "hasEmail": true,
    "hasHiddenEmail": true,
    "youtubeEmail": "business@mkbhd.com",
    "phones": [],
    "subscriberCount": 21400000,
    "subscriberCountText": "21.4M subscribers",
    "viewCount": 5903897997,
    "videoCount": 1867,
    "country": "United States",
    "joinedDate": "2008-03-21",
    "isVerified": true,
    "keywords": "MKBHD MarquesBrownlee Marques Brownlee",
    "instagramUrl": "http://instagram.com/MKBHD",
    "xUrl": "http://twitter.com/MKBHD",
    "discordUrl": "http://discord.gg/MKBHD",
    "socialLinks": { "x": "http://twitter.com/MKBHD", "instagram": "http://instagram.com/MKBHD", "reddit": "http://reddit.com/r/MKBHD", "discord": "http://discord.gg/MKBHD" },
    "allLinks": [{ "title": "Twitter", "url": "http://twitter.com/MKBHD", "type": "x" }, { "title": "Instagram", "url": "http://instagram.com/MKBHD", "type": "instagram" }],
    "videosScanned": 0,
    "pinnedCommentChecked": false,
    "sourceType": "channel",
    "inputUrl": "@mkbhd",
    "status": "Email found",
    "scrapedAt": "2026-11-18T17:52:05.757Z"
  }],
  "meta": { "requested": 1, "returned": 1, "withEmail": 1, "withoutEmail": 0, "charged": { "channel-with-email": 1 }, "ms": 174 }
}
```

A channel without a public email (real answer for `channel=@ThePrimeTimeagen`, HTTP `404`, not charged):

```json
{
  "ok": false,
  "error": {
    "type": "no-public-email",
    "message": "The PrimeTime publishes no email in its channel description, its latest 3 video descriptions or the pinned comment. YouTube shows a sign-in-gated \"View email address\" button on this channel; that address is not read. Nothing was charged. includeChannelsWithoutEmail=true returns its profile, stats and links (charged as `channel`).",
    "channel": {
      "channelId": "UCUyeluBRhGPCW4rPe_UvBZQ", "channelName": "The PrimeTime", "channelUrl": "https://www.youtube.com/@ThePrimeTimeagen",
      "hasHiddenEmail": true,
      "checked": { "channelDescription": true, "videosScanned": 3, "pinnedCommentChecked": true, "websitesScanned": 0 }
    }
  }
}
```

With several channels, the rows come back in `items` and the rest is listed in `meta`: `noPublicEmail` (checked, no
email), `notFound`, `unreachable` (retry those), `invalid` and `duplicates`. Only the returned rows are charged.

| Field | Filled (13-channel test set, 12 with an email) |
|---|---|
| `channelName`, `channelHandle`, `channelId`, `channelUrl`, `subscriberCount`, `viewCount`, `videoCount`, `joinedDate`, `isVerified`, `description`, `thumbnailUrl`, `bannerUrl`, `status` | 100% |
| `email`, `emailSource`, `emailValidation`, `emails` | 100% of rows with an email |
| `country` | 92% (when the creator set it) |
| `keywords` | 85% |
| `instagramUrl` | 69%; `websiteUrl` 62%; `xUrl` 38%; `tiktokUrl`, `facebookUrl` 23% |
| `phones` | 8% (when published) |
| `lastUploadDate`, `uploadsLast30Days`, `recentAverageViews` | with `includeRecentActivity=true` |

Where the best email came from in that set: channel description 6, creator website 3, video descriptions 2,
link-in-bio page 1 (15 addresses in all).

### 🧾 Status codes (and what is charged)

| HTTP | `error.type` | Meaning | Charged |
|---|---|---|---|
| `200` | | Row(s) returned | **Yes, per channel returned** |
| `400` | `invalid-input` | Not a YouTube channel or video, a bad parameter, more than 10 channels | No |
| `404` | `no-public-email` | The channel publishes no email in the places read (`error.channel.checked` says which) | No |
| `404` | `channel-not-found` | No YouTube channel behind that handle / link / id | No |
| `429` | `too-many-requests` | More than 8 of your requests in flight at once; wait for one to finish | No |
| `502` | `charge-failed` | The charge could not be recorded, so the row was withheld; retry | No |
| `503` | `unreachable`, `timeout`, `blocked` | YouTube did not answer or refused; retry | No |

### 💰 Pricing

- **$0.0009 per channel returned with an email** ($0.90 per 1,000), event `channel-with-email`
- **$0.00045 per channel returned without an email** ($0.45 per 1,000), event `channel`, only when you turn on
  `includeChannelsWithoutEmail`

Nothing is charged for `400`, `404`, `429`, `502` or `503` answers. No start fee. Website scans and email validation are
included.

### 🗃️ Batch runs (input interface)

You can also start the actor as a normal run: channel lists, keyword search for new creators (with subscriber, country,
joined-date and activity filters), CSV files of channels and a monitor mode that delivers only new channels. Each
channel becomes one dataset row, charged the same way. Use that for hundreds of channels or keyword prospecting; use the
HTTP endpoint for one channel (or 10) at a time.

### ⏱️ Speed (measured on Apify, 2026-11-18)

- Email in the channel description: **0.3-0.4 s**
- Email in a video description: **1.2-1.3 s**
- Email on the creator's website: **1.4-1.6 s**
- No public email (`404`): 1.1-1.3 s; up to ~5 s when two linked websites are read first
- 10 channels in one request: 2.5-4.6 s
- 8 requests in parallel: all answered, 1.9-4.4 s each
- First request after a quiet spell: about 2-3 s while the server starts

### ⚠️ Limits

- **The sign-in-gated "View email address" email is not read.** YouTube shows it only to signed-in users behind a
  reCAPTCHA. `hasHiddenEmail` tells you the channel has one.
- Many channels publish no email anywhere public; they answer `404` and are free. Larger channels publish one more often.
- A website's emails are taken only when the site names the channel (handle, id or name) or its domain is the channel's
  name; sponsor, affiliate, shop and shortener links are not opened; pages behind a bot check are skipped.
- Email validation is DNS only (MX, disposable domains, no-reply inboxes). It never claims that a mailbox exists.
- Subscriber counts are YouTube's rounded figure; hidden on some channels.
- 10 channels per request. For more, send several requests or use a batch run.

### ❓ FAQ

#### Do I need a YouTube API key?

No. The actor reads YouTube's own public pages and the creator's linked sites, signed out. You only need your Apify token.

#### What does one request cost?

$0.0009 for each channel returned with an email. A channel without a public email is free, unless you ask for it with
`includeChannelsWithoutEmail` ($0.00045). Errors are free.

#### Which inputs work?

`@handle`, a bare handle, `youtube.com/@name`, `/channel/UC...`, `/c/...`, `/user/...`, a `UC...` id, and video, Shorts
or `youtu.be` links (the channel that uploaded the video is read).

#### Where does the email come from?

`emailSource` and each email's `source` say it: `channel-about` (the description), `video-descriptions`,
`pinned-comment`, `website` or `link-page`. `sourceUrl` is the exact page or video, `context` the line it was written on.

#### Can I get the hidden "View email address" email?

No. That address needs a signed-in Google account and a reCAPTCHA. `hasHiddenEmail` shows which channels have one.

#### How fast is it?

0.3-1.6 s for a channel that publishes an email once the server is warm (measured on Apify). The first request after a
quiet spell takes 2-3 s.

#### Can I look up several channels at once?

Yes, up to 10 per request with `channels`. Each returned channel is charged; channels without an email are listed in
`meta.noPublicEmail` and are free.

#### How do I find new creators by keyword?

Use a batch run (the input interface) with `searchQueries`: YouTube's channel search with subscriber, country,
joined-date and activity filters.

#### How do I use it from an AI agent?

Point any MCP client at `https://topapi--youtube-channel-email-api.apify.actor/mcp` with your Apify token, or add the
actor through `mcp.apify.com`. The tool is `get_channel_contacts`.

#### How do I use it in n8n or Make?

One HTTP Request step, GET, with `channel` as a query parameter and your token in the `Authorization` header. Handle
`404` as "no email" rather than as an error.

#### What happens if YouTube refuses a request?

You get a `503` and are not charged. Retrying usually works.

#### Your feedback

Found a channel whose public email we missed? Open an issue on the actor page with the channel link.

# Actor input Schema

## `urls` (type: `array`):

One per line: @handle (@mkbhd), channel link (https://www.youtube.com/@veritasium, /channel/UC…, /c/…, /user/…), channel id (UCBJycsmduvYEL83R_U4JriQ) or a video / Shorts link (its channel is read).

## `searchQueries` (type: `array`):

Topics to find creators for, e.g. "sourdough baking", "budget travel". Runs YouTube's channel search; searching is free, you pay only for delivered channels.

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

Rows to deliver per keyword (channels with an email, plus channels without one if you turn that on). YouTube lists about 200-300 channels per keyword.

## `startUrls` (type: `array`):

Optional: a link to a CSV or text file of channels (one handle, link or id per line or cell), or more channel links.

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

The YouTube country the keyword search runs in. YouTube shows different creators for the same words in different countries.

## `language` (type: `string`):

The language of the keyword search. Pair it with the country: Germany + Arabic finds the Arabic-speaking creators YouTube shows in Germany.

## `includeVideoResultChannels` (type: `boolean`):

Besides YouTube's channel results, add the channels behind the videos the keyword finds. Finds more active creators when the channel list runs short.

## `minSubscribers` (type: `integer`):

Skip channels below this size, e.g. 5000. Checked before anything is fetched when YouTube's search shows the count. 0 = no minimum.

## `maxSubscribers` (type: `integer`):

Skip channels above this size, e.g. 500000 for micro-influencers. 0 = no maximum.

## `channelCountry` (type: `array`):

Keep only channels whose About panel names one of these countries, e.g. "United States", "DE". Channels that show no country are skipped when this is set.

## `joinedDateFrom` (type: `string`):

Only channels created on or after this date: 2020-01-31, or relative like "2 years".

## `joinedDateTo` (type: `string`):

Only channels created on or before this date: 2024-12-31, or relative like "6 months".

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

Only channels whose newest upload is at most this many days old, e.g. 30. Reads the channel's latest uploads (free).

## `minAverageViews` (type: `integer`):

Only channels whose latest ~30 uploads average at least this many views.

## `minVideos` (type: `integer`):

Only channels with at least this many public videos.

## `excludeKeywords` (type: `array`):

Skip channels whose name, handle or description contains any of these words, e.g. "news", "official".

## `filtersApplyToUrls` (type: `boolean`):

Off: the channels you list are always read. On: they must pass the filters above as well.

## `scanVideoDescriptions` (type: `integer`):

How many of the newest video descriptions to read for an email. 0 = off.

## `scanPinnedComment` (type: `boolean`):

Read the pinned comment of the newest video.

## `scanLinkedWebsites` (type: `boolean`):

Open the creator's own websites from the About panel (home page, then contact / business / about pages) and their link-in-bio page. Sponsor and affiliate links are skipped.

## `maxWebsitePages` (type: `integer`):

Most pages read on each website, home page included.

## `maxWebsitesPerChannel` (type: `integer`):

Most of the channel's own websites to open.

## `scanEvenIfEmailFound` (type: `boolean`):

Read the videos, pinned comment and websites even when the description already has an email, so the emails list is complete. Slower.

## `validateEmails` (type: `boolean`):

Check each email's domain for a working mail server and flag disposable and no-reply addresses: valid, risky, invalid, disposable. Included in the price.

## `includeChannelsWithoutEmail` (type: `boolean`):

Off: you get, and pay for, only channels with an email. On: channels without one are returned too ($0.45 per 1,000) with stats, links, socials and the hidden-email flag.

## `includeRecentActivity` (type: `boolean`):

Add the newest upload's age and date, uploads in the last 30 days, and the average and median views of the latest ~30 uploads. Free.

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

Skip channels an earlier run with the same memory name already checked. A repeat run over the same keywords costs nothing until new creators appear.

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

Name of the key-value store that remembers checked channels. Use one name per list you build.

## `monitorRecheckEmails` (type: `boolean`):

In monitor mode, also re-read channels seen before and deliver them again when their emails changed (or a channel without one now publishes one).

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

Most rows the whole run delivers, across all channels and keywords. 0 = no limit.

## `maxChannelsCheckedPerQuery` (type: `integer`):

Stop a keyword after checking this many channels even if it has not reached its row count (most channels publish no email). Default: 10 x the rows asked, at least 200.

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

Optional. The actor reads YouTube directly and moves to Apify datacenter, then residential proxies by itself if YouTube refuses a route.

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

Channels processed at once.

## Actor input object example

```json
{
  "urls": [
    "@NetworkChuck",
    "@mkbhd"
  ],
  "searchQueries": [
    "sourdough baking"
  ],
  "maxResultsPerQuery": 5,
  "country": "US",
  "language": "en",
  "includeVideoResultChannels": false,
  "filtersApplyToUrls": false,
  "scanVideoDescriptions": 3,
  "scanPinnedComment": true,
  "scanLinkedWebsites": true,
  "maxWebsitePages": 3,
  "maxWebsitesPerChannel": 2,
  "scanEvenIfEmailFound": false,
  "validateEmails": true,
  "includeChannelsWithoutEmail": false,
  "includeRecentActivity": false,
  "monitorMode": false,
  "monitorStoreName": "youtube-channel-email-monitor",
  "monitorRecheckEmails": false,
  "maxResults": 50,
  "maxConcurrency": 12
}
```

# Actor output Schema

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

One item per channel: public emails with source and validation, phones, links by platform, subscribers, views, videos, country, joined date.

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

Channels checked without an email, filtered, not found or unreadable; per-keyword counts; where emails were found; websites read. Not written for a small run that delivered every channel it was given.

# 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 = {
    "urls": [
        "@NetworkChuck",
        "@mkbhd"
    ],
    "searchQueries": [
        "sourdough baking"
    ],
    "maxResultsPerQuery": 5,
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("topapi/youtube-channel-email-api").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 = {
    "urls": [
        "@NetworkChuck",
        "@mkbhd",
    ],
    "searchQueries": ["sourdough baking"],
    "maxResultsPerQuery": 5,
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("topapi/youtube-channel-email-api").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 '{
  "urls": [
    "@NetworkChuck",
    "@mkbhd"
  ],
  "searchQueries": [
    "sourdough baking"
  ],
  "maxResultsPerQuery": 5,
  "maxResults": 50
}' |
apify call topapi/youtube-channel-email-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,topapi/youtube-channel-email-api"
        }
    }
}
```

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/5s6oLkNcTc9vI2Um8/builds/XWOLwz1MSE77HwJvg/openapi.json
