# YouTube Contact & Email Scraper (`vedarai/youtube-contact-email-scraper`) Actor

Extract YouTube creator business emails, social media links (Instagram, X/Twitter, TikTok, LinkedIn, websites), subscriber counts, views, and channel metadata from channel URLs, video URLs, or search keywords. Transparent $3.00 / 1,000 channels pricing — $0.00 for channels without contacts.

- **URL**: https://apify.com/vedarai/youtube-contact-email-scraper.md
- **Developed by:** [Artūras](https://apify.com/vedarai) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 results

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 Contact and Email Scraper

Fast HTTP-based scraper for extracting business emails, social media profiles, and basic stats from YouTube channels, video links, or keyword searches. No browser automation is used.

Most existing YouTube email actors either only read the truncated 160-character `<meta>` description, repeat the same channel dozens of times in output datasets, or charge up to $30 per 1,000 requests even when a channel has no email listed. This actor handles deduplication properly and skips empty channels without charging you.

### How contact extraction works

When checking a channel, the actor first queries YouTube's InnerTube browse endpoint (`aboutChannelViewModel`) to read the full untruncated About bio, subscriber and view counts, country, joined date, and unwrapped external redirect links (Instagram, Twitter/X, TikTok, LinkedIn, Facebook, Discord, and websites). It also catches basic obfuscated patterns like `contact [at] domain [dot] com`.

If there is no email in the About text and `scanRecentVideosRss` is enabled, it pulls the channel's `/feeds/videos.xml` feed and scans the descriptions of the 15 most recent uploads, since many creators only list sponsorship emails under their videos. If still nothing turns up and `scanExternalWebsite` is true, it checks the homepage of any linked website for public `mailto:` links or contact addresses.

### Inputs, deduplication, and filtering

You can supply channels through `channelUrls` (accepts `@handle`, `/channel/UC...`, or `watch?v=` / `youtu.be/` video links), `urls` (supports `{ url, userData }` objects if migrating from older scrapers and preserves `userData` in output), `searchQueries`, or a single `keyword` field. Search queries stop at `maxChannelsPerQuery` channels per term (default 20). Channels are deduplicated by both normalized URL and resolved `UC...` channel ID so duplicates never end up in the dataset.

By default, `onlyWithContacts` is enabled, which drops channels that have neither an email nor any external social or website links before saving or billing. If you only want rows with a parsed email address, turn on `requireEmail`. You can also filter by `emailDomains` (such as `["gmail.com"]`) or leave it empty to keep custom business domains. Setting `maxChannels` (default 100) puts a hard cap on saved records per run.

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@theAIsearch"
  ],
  "searchQueries": [
    "Tech Reviewers UK"
  ],
  "maxChannelsPerQuery": 10,
  "onlyWithContacts": true,
  "scanRecentVideosRss": true,
  "scanExternalWebsite": true,
  "maxChannels": 50
}
```

### Output and billing

Each saved channel costs $0.003 ($3.00 per 1,000 channels). Skipped channels without contacts, duplicate entries, and failed lookups are not billed.

```json
{
  "channelId": "UCBJycsmduvYEL83R_U4JriQ",
  "channelName": "Marques Brownlee",
  "handle": "@mkbhd",
  "channelUrl": "https://www.youtube.com/@mkbhd",
  "subscriberCount": 21400000,
  "subscriberCountText": "21.4M subscribers",
  "viewCount": 5885887123,
  "viewCountText": "5,885,887,123 views",
  "videoCount": 1820,
  "videoCountText": "1,820 videos",
  "country": "United States",
  "joinedDate": "Mar 21, 2008",
  "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC",
  "email": "business@MKBHD.com",
  "emails": [
    "business@MKBHD.com"
  ],
  "emailSource": "channel_about",
  "instagram": "https://www.instagram.com/mkbhd/",
  "twitter": "https://twitter.com/MKBHD",
  "tiktok": null,
  "linkedin": null,
  "facebook": null,
  "discord": "https://discord.gg/mkbhd",
  "website": "http://shop.mkbhd.com/",
  "externalLinks": [
    { "title": "MKBHD Merch", "url": "http://shop.mkbhd.com/" },
    { "title": "Twitter", "url": "https://twitter.com/MKBHD" },
    { "title": "Instagram", "url": "https://www.instagram.com/mkbhd/" },
    { "title": "Discord", "url": "https://discord.gg/mkbhd" }
  ],
  "discoveredFromQuery": null,
  "billingStatus": "BILLED_1_CHANNEL",
  "unitCostUsd": 0.003,
  "scrapedAt": "2026-11-09T20:50:00.000Z"
}
```

# Actor input Schema

## `channelUrls` (type: `array`):

Paste one or more YouTube channel URLs (e.g. https://www.youtube.com/@mkbhd, https://www.youtube.com/channel/UC...) or video URLs (https://www.youtube.com/watch?v=...). Duplicates are automatically removed.

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

Optional array of URL strings or { url, userData } objects for 1-to-1 backward compatibility with exporter24/youtube-email-bulk-scraper. Preserves custom `userData` in output.

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

Discover YouTube channels by keywords or niches (e.g. 'Tech Reviewers UK', 'Fitness Vloggers USA', 'SaaS Marketing').

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

Optional single search keyword for 1-to-1 backward compatibility with easyapi/youtube-email-scraper.

## `maxChannelsPerQuery` (type: `integer`):

Maximum number of unique YouTube channels to inspect per search keyword.

## `onlyWithContacts` (type: `boolean`):

When enabled (recommended), channels that have NEITHER a business email NOR any external social/website links are skipped at $0.00 cost.

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

When enabled, ONLY channels with at least one verified email address are saved and billed (channels with only social links are skipped for free).

## `emailDomains` (type: `array`):

Optional list of email domains to match (e.g. \['gmail.com', 'yahoo.com']). Leave empty to accept ALL valid business and custom domain emails (recommended).

## `scanRecentVideosRss` (type: `boolean`):

Also scan the channel's 15 most recent video descriptions via YouTube's fast XML RSS feed to catch 'Business inquiries: ...' emails.

## `scanExternalWebsite` (type: `boolean`):

If no email is found on YouTube, automatically check the creator's linked official website homepage for a contact email.

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

Hard cap on the total number of channels saved and billed in a single run ($3.00 / 1,000 channels). Protects your balance.

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

Optional Apify Proxy configuration.

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@theAIsearch"
  ],
  "searchQueries": [],
  "maxChannelsPerQuery": 20,
  "onlyWithContacts": true,
  "requireEmail": false,
  "emailDomains": [],
  "scanRecentVideosRss": true,
  "scanExternalWebsite": true,
  "maxChannels": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing the extracted YouTube creator business emails and social profiles.

# 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 = {
    "channelUrls": [
        "https://www.youtube.com/@mkbhd",
        "https://www.youtube.com/@theAIsearch"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vedarai/youtube-contact-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 = { "channelUrls": [
        "https://www.youtube.com/@mkbhd",
        "https://www.youtube.com/@theAIsearch",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vedarai/youtube-contact-email-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 '{
  "channelUrls": [
    "https://www.youtube.com/@mkbhd",
    "https://www.youtube.com/@theAIsearch"
  ]
}' |
apify call vedarai/youtube-contact-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vedarai/youtube-contact-email-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/FRaIdrUnyUChUlUxa/builds/m3nEuymh487rvCjuo/openapi.json
