# YouTube Email Bulk Scraper (`adaptable_wheelhouse/youtube-email-bulk-scraper`) Actor

Extract public email addresses for YouTube channels from the channel page and from linked Instagram, TikTok, Linktree and other public pages. No CAPTCHA and no sign-in.

- **URL**: https://apify.com/adaptable_wheelhouse/youtube-email-bulk-scraper.md
- **Developed by:** [Mr T](https://apify.com/adaptable_wheelhouse) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 requests

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 Email Bulk Scraper

Give it YouTube channel URLs. It returns the public email addresses it can find, with the middle of the mailbox name hidden.

It reads the channel page and the About text, then follows the public links there: Instagram, TikTok, Linktree, a personal site, and the same kind of page. A link-in-bio page is opened one step further. It does not sign in and it does not solve a CAPTCHA.

**You pay per channel URL.** A channel with no public email still costs one request. The crawl does the same work either way.

#### Example input

```json
{
    "urls": [
        { "url": "https://www.youtube.com/@theAIsearch" },
        { "url": "https://www.youtube.com/channel/UCdFRvwde9cmdVm_Q-ODZTZg" }
    ]
}
```

These forms work too: `https://www.youtube.com/c/SchoolofPersonalFinance` and `https://www.youtube.com/user/SomeName`.

#### Example output

```json
{
    "url": "https://www.youtube.com/@theAIsearch",
    "email": ["a***o@gmail.com"]
}
```

`antonio@gmail.com` is returned as `a***o@gmail.com`. The domain is left intact. When nothing public is found, `email` is `[]`.

#### Where the addresses come from

- The channel description and About text, including addresses written as `name [at] domain [dot] com`
- Pages linked from the channel: Instagram, TikTok, X, Facebook, Linktree, Beacons, and other public sites
- The outbound links on a link-in-bio page

The "View email address" button is not used. YouTube only opens that for a signed-in viewer, and it asks for a CAPTCHA.

#### Proxies

The default is Apify Residential. Datacenter IPs are blocked by YouTube and by most of the linked sites.

#### Is it legal?

This actor reads public pages only. An email address is personal data under laws such as GDPR. Use it only where you have a legitimate reason, and check with a lawyer if you are unsure.

# Actor input Schema

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

YouTube channel URLs to process in bulk. Accepts https://www.youtube.com/@handle, /channel/UC…, /c/name and /user/name.

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

YouTube and the linked social pages block most datacenter IPs. Residential is the default.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.youtube.com/@theAIsearch"
    },
    {
      "url": "https://www.youtube.com/channel/UCdFRvwde9cmdVm_Q-ODZTZg"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `emails` (type: `string`):

One row per channel URL. email is an array of masked public addresses, or empty when none were found.

# 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": [
        {
            "url": "https://www.youtube.com/@theAIsearch"
        },
        {
            "url": "https://www.youtube.com/channel/UCdFRvwde9cmdVm_Q-ODZTZg"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("adaptable_wheelhouse/youtube-email-bulk-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 = {
    "urls": [
        { "url": "https://www.youtube.com/@theAIsearch" },
        { "url": "https://www.youtube.com/channel/UCdFRvwde9cmdVm_Q-ODZTZg" },
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("adaptable_wheelhouse/youtube-email-bulk-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    {
      "url": "https://www.youtube.com/@theAIsearch"
    },
    {
      "url": "https://www.youtube.com/channel/UCdFRvwde9cmdVm_Q-ODZTZg"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call adaptable_wheelhouse/youtube-email-bulk-scraper --silent --output-dataset

```

## MCP server setup

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

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8UutfgTAlaHjoJTmK/builds/YvgqsopY5Phdv6RJ6/openapi.json
