# Mass Youtube Email Scraper (`perfectscrape/youtube-email-scraper`) Actor

Extract emails from Youtube fast and effortlessly! Search by keywords, location, scrape unlimited amount of emails, and set filters for domains like Gmail, Yahoo, or custom options. Get precise email lists with Youtube source links. Get emails from comments, profile and videos. Try it today! 🚀

- **URL**: https://apify.com/perfectscrape/youtube-email-scraper.md
- **Developed by:** [Sadnan](https://apify.com/perfectscrape) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 393 total users, 1 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

$7.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Youtube Email Scraper

**Youtube Email Scraper** is a fast and efficient tool for extracting email addresses from Youtube profile, videos, comments, etc. Designed for precision, it allows users to target specific keywords, and email domains to collect accurate and reliable email leads. With it's high optimization, it can process hundreds of queries per second. It also saves you on Apify's resource cost with it's very resource effecient coding standards.

With lightning-fast performance, customizable filters, and proxy support, this scraper ensures you can gather high-quality data at scale without breaking a sweat. Whether you're looking to collect emails for outreach, build contact lists, or conduct targeted searches, this tool makes the process simple and effective.

***

### 🌟 Features

- **Blazing Speed**: It's optimized for scraping, extracting data quickly and reliably.
- **Keyword Targeting**: Focus your search with keywords to pinpoint relevant profiles and videos.
- **Location Targeting**: You can target custom location with the help of keyword field. it works as a location filter as well!
- **Custom Domain Filters**: Extract emails from popular domains like Gmail, Yahoo, and Outlook, or set your own custom domains to scrape emails from.
- **Proxy Support**: Use proxy configurations to avoid blocks and ensure smooth operation.
- **Precise Data Collection**: Gather emails along with links to the corresponding Youtube content for full context.
- **Low Rental Price**: This scraper has been priced at only $5/month, making it very affordable. Highly optimized scraper for a very affordable rental fee. It also saves you on Apify's resource cost with it's very resource effecient coding standards.

***

### 🛠️ How to Use

1. **Set Filters**: Define keywords, email domains, and the number of emails to scrape.
2. **Configure Proxies**: Add proxy settings for uninterrupted scraping. This is optional. You don't need proxy in most cases, but the scraper is getting blocked, please allow proxy for it to run.
3. **Run the Scraper**: Start the tool and watch it extract emails with email source links.
4. **Export Data**: Download results in CSV or JSON format for further use.

***

### 📝 Input Fields

| **Input Field**        | **Description**                               | **Type**       |
| ---------------------- | --------------------------------------------- | -------------- |
| **keyword**            | List of keywords to search for on Youtube.    | Array (string) |
| **maximumemails**      | Number of emails you want to scrape at most   | Integer        |
| **scrapeGmail**        | Include @gmail.com emails in the results.     | Boolean        |
| **scrapeYahoo**        | Include @yahoo.com emails in the results.     | Boolean        |
| **scrapeOutlook**      | Include @outlook.com emails in the results.   | Boolean        |
| **scrapeCustom**       | Custom email domains to scrape (without `@`). | Array (string) |
| **proxyConfiguration** | Proxy settings for smooth operation.          | Object         |

#### 📥 Input Example (JSON)

```json
{
    "keyword": ["marketing manager"],
    "pagesToScrape": 10,
    "scrapeGmail": true,
    "scrapeYahoo": true,
    "scrapeOutlook": false,
    "scrapeCustom": ["businessdomain.com"]
}
```

### 📤 Output Fields

| **Field**   | **Description**                                           | **Example**                                                |
| ----------- | --------------------------------------------------------- | ---------------------------------------------------------- |
| **email**   | List of extracted email addresses.                        | `"dempseyspecialist08@gmail.com"`                          |
| **link**    | URL of the corresponding Youtube profile, post, or group. | `https://www.Youtube.com/groups/266318674655211/posts/...` |
| **keyword** | Keyword used in the search that generated this result.    | `"marketing manager"`                                      |

##### 📥 Example Output:

```json
{
    "email": "kallie.ankeny@gmail.com",
    "link": "https://www.Youtube.com/groups/266318674655211/posts/...",
    "keyword": "marketing manager"
}
```

***

### 🚀 Why Use Youtube Email Scraper?

- **Speed and Efficiency**: Collect large amounts of data in a fraction of the time it would take manually.
- **Customizable Searches**: Tailor your search parameters to get exactly the data you need.
- **Accurate Results**: Extract precise data tied to Youtube profiles and videos for actionable insights.
- **Seamless Integration**: Export data in compatible formats for easy use with other tools or platforms.

***

### 🛡️ Bugs, Fixes, and Updates

We continuously improve this scraper to ensure it performs seamlessly. If you encounter any issues, have feature requests, or want to report a bug, please [create an issue here](https://console.apify.com/actors/zpHBRm4xdsSHWl9uV/issues). Regular updates focus on adding features, improving accuracy, and enhancing speed.

***

Get started with **Youtube Email Scraper** today and take control of your data collection process!

# Actor input Schema

## `keyword` (type: `string`):

Keyword to search for in the Pinterest profile/posts. It can be a Location, job title, company name, etc or combined.

## `pagesToScrape` (type: `integer`):

The number of emails to scrape. The scraper will stop after scraping this amount of emails.

## `scrapeGmail` (type: `boolean`):

Whether to scrape emails with @gmail.com domain

## `scrapeYahoo` (type: `boolean`):

Whether to scrape emails with @yahoo.com domain

## `scrapeOutlook` (type: `boolean`):

Whether to scrape emails with @outlook.com domain

## `scrapeCustom` (type: `array`):

Custom email domains to scrape. Without the '@' symbol

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "keyword": "marketing",
  "pagesToScrape": 20,
  "scrapeGmail": true,
  "scrapeYahoo": true,
  "scrapeOutlook": true
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("perfectscrape/youtube-email-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("perfectscrape/youtube-email-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 '{}' |
apify call perfectscrape/youtube-email-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/zpHBRm4xdsSHWl9uV/builds/pWVY9amF7jzLcX5wc/openapi.json
