# YouTube email extracter (`haya_emaan/my-actor-5`) Actor

Extract email addresses publicly listed on YouTube channels. Input channel URLs, keywords, or search results and get contact emails along with channel name, subscriber count, and links. Perfect for influencer outreach and lead generation. Export to JSON, CSV, or Excel.

- **URL**: https://apify.com/haya\_emaan/my-actor-5.md
- **Developed by:** [Summiya bibi](https://apify.com/haya_emaan) (community)
- **Categories:** Social media, Lead generation, Videos
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Channel Email Scraper

Extract **publicly listed email addresses** from YouTube channels in bulk. Perfect for influencer outreach, brand partnerships, and lead generation.

This Actor searches YouTube for channels matching your keyword, checks their **About page and business inquiry section**, and collects publicly available contact emails along with useful channel data.

### ✨ Features

- 📧 Extracts emails publicly listed on channel About pages
- 🔍 Finds channels by search keyword (e.g. "fitness coach")
- 🌐 Optionally scrapes websites linked on channels to find even more emails
- 📊 Includes channel name, subscriber count, and channel link with every result
- 📁 Export results to JSON, CSV, Excel, or HTML

### 🎯 Use cases

- **Influencer marketing** — find creators in your niche and contact them directly
- **Lead generation** — build targeted outreach lists by keyword or topic
- **Brand partnerships** — reach channels that accept business inquiries
- **Market research** — collect contact data for creators in a specific category

### 📥 Input

| Field | Type | Description |
|-------|------|-------------|
| Search keyword | String | Keyword to find channels (e.g. `fitness coach`) |
| YouTube Data API key | String | Your free YouTube Data API key (required) |
| Max channels | Integer | Maximum number of channels to scan |
| Also scrape linked websites | Boolean | Also visit websites linked on channels to find more emails |

### 🔑 How to get a YouTube API key (free, 2 minutes)

1. Go to [Google Cloud Console](https://console.cloud.google.com)
2. Create a new project (any name)
3. Search for **YouTube Data API v3** and click **Enable**
4. Go to **Credentials → Create credentials → API key**
5. Copy the key and paste it into the Actor input

The free quota is enough for most use cases.

### 📤 Output

Each result contains the channel name, channel URL, extracted email(s), and subscriber count. Channels with no public email are skipped.

### ▶️ How to use

1. Enter a search keyword (e.g. "tech reviews")
2. Paste your YouTube Data API key
3. Set the maximum number of channels
4. Optionally enable "Also scrape linked websites"
5. Run the Actor and download your results in JSON, CSV, or Excel

### ⚖️ Legal & fair use

This Actor only collects **emails that channel owners have publicly listed** on their YouTube channels or public websites. No private data is accessed. Please use the extracted contacts responsibly and in compliance with applicable laws in your region (e.g. GDPR, CAN-SPAM) — always provide an opt-out in outreach emails and avoid spam.

### ❓ FAQ

**Do I need a YouTube API key?**
Yes — a free YouTube Data API key from Google Cloud Console. See the guide above; it takes about 2 minutes.

**Where do the emails come from?**
From the "For business inquiries" / About section of each channel, and optionally from websites linked on the channel.

**Why do some channels return no email?**
Not all creators list a public email. Only channels with a publicly visible contact email will return one.

**Can I scrape channels by niche?**
Yes — just enter any keyword (e.g. "vegan recipes", "crypto news") and the Actor will find and scan matching channels.

### 💬 Support

Found a bug or need a new feature? Open an issue on the Actor's **Issues** tab and I'll respond quickly. Feedback and feature requests are always welcome!

# Actor input Schema

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

Niche to search, e.g. 'fitness coach', 'crypto trading'

## `apiKey` (type: `string`):

Free key from Google Cloud Console (YouTube Data API v3)

## `maxChannels` (type: `integer`):

How many channels to check

## `checkWebsites` (type: `boolean`):

Visit websites linked on the channel and look for emails there (slower, finds more)

## Actor input object example

```json
{
  "keyword": "fitness coach",
  "maxChannels": 25,
  "checkWebsites": true
}
```

# Actor output Schema

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

No description

# 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("haya_emaan/my-actor-5").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("haya_emaan/my-actor-5").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 '{}' |
apify call haya_emaan/my-actor-5 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haya_emaan/my-actor-5"
        }
    }
}

```

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/eF8YwVkOqukPBCJEz/builds/AABxJBXOQ9fH5MG00/openapi.json
