# YouTube Channel Finder by Keyword - Subscribers, Total Views (`ai-lead-gen-tools/youtube-channel-discovery`) Actor

\[💰$0.10/1K] Find YouTube channels by keyword and export one row per channel: subscribers, total views, video count, country, join date, external links and last upload date. Filter by subscriber range, country, verification and video count, up to 500 channels a run. No login, no proxies, no API key.

- **URL**: https://apify.com/ai-lead-gen-tools/youtube-channel-discovery.md
- **Developed by:** [Vladimir Che](https://apify.com/ai-lead-gen-tools) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 channel discovereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Finder by Keyword

Search YouTube for channels matching your keywords and export one clean row per channel: subscribers, total views, video count, country, join date, external links, channel keywords and the newest uploads.

The source is YouTube's own search and channel pages read as a logged-out visitor. No login, no cookies, no captcha, no proxy required.

### What you get

One row per channel. Every field is always present, `null` when YouTube does not publish it.

| Field | Example |
|---|---|
| `channelId` / `handle` / `channelUrl` | UCfDJDsWg5zECIUbWNaQyY6g / @techreviewer6196 |
| `title`, `description`, `avatarUrl`, `bannerUrl` | Tech Reviewer |
| `verified`, `autoGenerated`, `unlisted` | false / false / false |
| `subscribers`, `subscribersText`, `subscribersExact` | 36, "36 subscribers", false |
| `videoCount`, `viewCount` | 10, 19234 |
| `avgViewsPerVideo`, `viewsPerSubscriber` | 1923, 534 |
| `joinedDate`, `joinedText` | 2020-04-28, "Joined Apr 28, 2020" |
| `country`, `countryCode` | United States, US |
| `links[]`, `linkDomains[]` | Subscribe Now! to youtube.com, no domain of its own |
| `keywords[]`, `tabs[]` | channel keywords and the visible tabs |
| `hasBusinessEmail` | true when the About page shows the email button |
| `lastUploadAt`, `lastUploadDays`, `uploadsLast30Days` | 2021-11-11, 1825, 0 |
| `medianViewsRecent`, `avgViewsRecent`, `shortsShareRecent` | 787, 1915, 0 |
| `recentVideos[]` | videoId, title, views, published, publishedDays |
| `searchTerm`, `discoveredVia`, `sourceVideoId`, `keywordMatch`, `rankInSearch` | how the channel was found |
| `status`, `reason`, `filterReason`, `scrapedAt` | honesty fields |

A real row, taken from `test/output-sample.json` and produced by a real run:

```json
{
  "channelId": "UCfDJDsWg5zECIUbWNaQyY6g",
  "handle": "@techreviewer6196",
  "channelUrl": "https://www.youtube.com/channel/UCfDJDsWg5zECIUbWNaQyY6g",
  "title": "Tech Reviewer",
  "description": "Welcome to The Tech Reviewer! You will find the Best Reviews of tech related different products such...",
  "avatarUrl": "https://yt3.googleusercontent.com/ytc/AIdro_nWnUdvx_LXdQZ8T4SgQ7bdGA96OgLSK2__7q3-h3GM1g=s900-c-k-c0...",
  "bannerUrl": "https://yt3.googleusercontent.com/BJq-34T3pYb3fbB0Z55euiQ1DtvO2m9Jl-tA4h4oOfFJiTgcscNOu52kHc2HlMUhPY...",
  "verified": false,
  "autoGenerated": false,
  "unlisted": false,
  "subscribers": 36,
  "subscribersText": "36 subscribers",
  "subscribersExact": false,
  "videoCount": 10,
  "viewCount": 19234,
  "avgViewsPerVideo": 1923,
  "viewsPerSubscriber": 534,
  "joinedDate": "2020-04-28",
  "joinedText": "Joined Apr 28, 2020",
  "country": "United States",
  "countryCode": "US",
  "links": [
    {
      "title": "Subscribe Now!",
      "url": "https://youtube.com/channel/UCfDJDsWg5zECIUbWNaQyY6g"
    }
  ],
  "linkDomains": [
    "youtube.com"
  ],
  "keywords": [
    "\"Tech",
    "Reviewer\"",
    "Tech",
    "Reviewer",
    "\"tech",
    "reviewer\""
  ],
  "tabs": [
    "Home",
    "Videos",
    "Playlists",
    "Search"
  ],
  "hasBusinessEmail": true,
  "lastUploadAt": "2021-11-11",
  "lastUploadDays": 1825,
  "uploadsLast30Days": 0,
  "medianViewsRecent": 787,
  "avgViewsRecent": 1915,
  "shortsShareRecent": 0,
  "recentVideosSource": "page",
  "recentVideos": [
    {
      "videoId": "5WKNrrUXnFs",
      "title": "Best Bone Conduction Headphones In 2021: Premium & Budget Picks For Running, Cycling & More",
      "views": 561,
      "published": "5 years ago",
      "publishedDays": 1825
    },
    {
      "videoId": "lYhtsvqdczU",
      "title": "Top 12 Best Wireless Workout Headphones For Your Fitness In 2021",
      "views": 7700,
      "published": "5 years ago",
      "publishedDays": 1825
    }
  ],
  "searchTerm": "tech reviewer",
  "discoveredVia": "channel_search",
  "sourceVideoId": null,
  "keywordMatch": 0,
  "rankInSearch": 1,
  "status": "ok",
  "reason": null,
  "filterReason": null,
  "scrapedAt": "2026-11-10T11:18:32.547Z"
}
```

Long strings are truncated with `...` in this sample and the arrays are shortened. Output is available as JSON, CSV or Excel from the dataset tab.

### How to use it

1. Open this actor in the Apify Console.
2. Paste keywords into **Search terms**. That is the whole setup.
3. Narrow the result with the size, country and verification filters, which are applied after each channel page is read.
4. Click Start, then export the dataset as CSV, Excel or JSON, or read it through the Apify API.

A run that covers most use cases:

```json
{
  "searchTerms": ["tech reviewer", "gadget unboxing"],
  "maxChannels": 100,
  "minSubscribers": 10000,
  "verifiedOnly": true,
  "sortBy": "subscribers"
}
```

Parameters, one to one with the input schema.

| Input | Default | Notes |
|---|---|---|
| `searchTerms` | none | keywords, up to 20, each paged to the end of the results |
| `query` | empty | one keyword as a single line, for API runs |
| `maxChannels` | `500` | hard cap on saved rows, after filters |
| `language` | `en` | YouTube `hl`, the interface language the labels are parsed in |
| `region` | `US` | YouTube `gl`, the country the ranking is built for |
| `mode` | `channels` | `channels`, `videos` for owners of ranked videos, or `both` |
| `minSubscribers` / `maxSubscribers` | `0` | rounded counts, `0` disables |
| `minVideos` | `0` | exact count from the About page, needs channel details |
| `countries` | `[]` | ISO codes or English names, needs channel details |
| `verifiedOnly` | `false` | only channels with the verification badge |
| `maxChannelsPerTerm` | `100` | cap on channels taken from one term, counted before filters |
| `searchTermsFiles` | `[]` | keyword lists stored as files, one term per line |
| `searchUrls` | `[]` | ready YouTube search links to read instead of keywords |
| `excludeChannelIds` | `[]` | channel ids or handles to leave out |
| `includeChannelDetails` | `true` | read videos and About pages, disable for a cheaper search-only run |
| `sortBy` | `relevance` | `subscribers`, `views`, `videoCount`, `lastUpload` |
| `maxConcurrency` | `4` | channels read in parallel |
| `sameDomainDelaySecs` | `0.5` | minimum gap between two requests to youtube.com |
| `requestTimeoutSecs` | `30` | per-request timeout before a retry |
| `runBudgetSecs` | the run timeout | leave it empty and the run uses the whole timeout you set |
| `proxyConfiguration` | no proxy | not required, worth enabling on large runs |

#### Ready-made tasks

Four saved inputs, one per question this actor answers. Each one shows only the fields it needs, and each returns data on its first run.

| Task | Input | Question it answers |
|---|---|---|
| [YouTube Channel Finder: Niche Shortlist by Keyword](https://apify.com/ai-lead-gen-tools/youtube-channel-discovery/examples/youtube-channel-finder) | `searchTerms`, `minSubscribers`, `sortBy` | which channels in a niche are big enough to approach first |
| [YouTube Channels by Country: Local Creators](https://apify.com/ai-lead-gen-tools/youtube-channel-discovery/examples/youtube-channels-by-country) | `searchTerms`, `countries`, `language` | which creators a local market already watches, in its own language |
| [YouTube Verified Channels Above a Sub Floor](https://apify.com/ai-lead-gen-tools/youtube-channel-discovery/examples/youtube-verified-channels) | `verifiedOnly`, `minSubscribers` | which channels carry the badge and clear a subscriber floor |
| [YouTube Channel Owners: Who Ranks for a Keyword](https://apify.com/ai-lead-gen-tools/youtube-channel-discovery/examples/youtube-channel-owners) | `mode: videos` | which channels own the videos that rank for a keyword |

### Modes

| Mode | What is requested | Rows |
|---|---|---|
| `channels` | the channel search for each term, then each channel page | one row per channel found |
| `videos` | the video search for each term, then the owner of each ranked video | one row per distinct owner |
| `both` | both passes, deduplicated by channel id | one row per distinct channel |

`maxChannelsPerTerm` stops paging one term before the global `maxChannels` is applied, and the global cap is then filled evenly across the terms you gave.

### Use cases

- **Influencer shortlists.** Collect channels in a niche by keyword, then sort by subscribers and country to decide whom to approach first.
- **Sponsorship sourcing.** Filter to `verifiedOnly: true` and a subscriber floor, and get a list of channels that look like real partners rather than dormant accounts.
- **Niche mapping.** Run ten keywords from one segment and see which channels recur across all of them, that is the core of the niche.
- **Seed lists for other actors.** Export channel ids and paste them into a contacts or comments actor to go from discovery to outreach.

### Cost

The price is **$0.10 per 1 000 channels**, which is $0.0001 per channel. The Store adds its 20 % margin, so a buyer pays $0.12 per 1 000. One `apify-actor-start` charge of $0.00005 applies per run.

You pay for a channel row with `status: ok`. Nothing else is charged:

- rows dropped by `minSubscribers`, `maxSubscribers`, `minVideos`, `countries`, `verifiedOnly` or `excludeChannelIds` cost nothing and carry `filterReason`;
- a channel that failed to load costs nothing and carries `reason`;
- a run with no keywords still writes one row with `status: invalid_input`, and that row is free;
- with `includeChannelDetails: false` the row arrives as `not_read` and is free, because the filter could not be applied.

### Honest limits

- **Subscriber counts are rounded by YouTube.** `subscribers` is the exact value of the rounded label and `subscribersExact` is always `false`, so a channel at 21.4M is stored as 21400000 and is not guaranteed to be within a thousand.
- **`lastUploadAt` is derived from printed age text.** It is accurate to about a day, not to the minute, because the newest video shows "3 days ago" rather than a timestamp.
- **`hasBusinessEmail` is not an address.** It means the About page renders the sign-in email button. That address requires a Google sign-in and a captcha, so it is never read here.
- **The recent videos come from the channel Videos page.** The public RSS feed, which many scrapers use, does not answer, so the page is the only source rather than a fallback.
- **`countries` and `minVideos` need the About page.** With `includeChannelDetails: false` they do not silently pass rows: the row arrives as `not_read` with a reason saying the filter could not be applied.
- **A busy schedule on one IP can meet HTTP 429.** Raise `sameDomainDelaySecs` or attach a proxy, both are input fields.

### FAQ

**Do I need a YouTube API key?**
No. The actor reads the public search and channel pages. There is no key and no quota.

**Why is my channel missing from the results?**
Most often the channel has no indexed page for that keyword, or it was dropped by a filter. Check `filterReason` in the dataset before assuming a bug.

**What is the difference between `channels` and `videos` mode?**
`channels` searches the channel directory. `videos` searches videos and keeps the owner of each ranked video, which surfaces channels that rank for a keyword without being in the channel directory.

**How many channels can one run return?**
`maxChannels` caps the saved rows, the default is 500. `maxChannelsPerTerm` caps one keyword and stops paging it earlier.

**Why does `minVideos` sometimes leave a row with `not_read`?**
Because the filter needs the About page. With `includeChannelDetails: false` the page is not read, so the filter cannot be applied and the row says so instead of pretending it passed.

**Can I pass a ready YouTube search link instead of a keyword?**
Yes, with `searchUrls`. A link that carries no keyword produces one `invalid_input` row per link, not a failed run.

**How do I get emails for the channels I found?**
This actor reports only whether the email button exists. Feed `channelUrl` into the YouTube Channel Contacts actor to read addresses written in channel and video descriptions.

**Does `sortBy` apply before or after the filters?**
After. Filters run per row, then the survivors are sorted, so `sortBy: subscribers` orders what you actually get.

### Related actors

Other actors in the YouTube group, each with its own dataset and price:

- [YouTube Search Scraper](https://apify.com/ai-lead-gen-tools/youtube-search) - videos, Shorts, channels and playlists by keyword, with native filters.
- [YouTube Comments Scraper](https://apify.com/ai-lead-gen-tools/youtube-comments) - comments and replies on the videos of the channels you find.
- [YouTube Channel Contacts](https://apify.com/ai-lead-gen-tools/youtube-channel-contacts) - emails and social profiles for the channels in this dataset.
- [YouTube Similar Channels](https://apify.com/ai-lead-gen-tools/youtube-similar-channels) - expand a good channel into its neighbours.

### Changelog

- 2026-11-12: published in the Store, pay per result with a free run start.
- 2026-11-10: first build on the platform.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search YouTube for, up to 20. Each term is paged to the end of the results, not just the first page.

## `query` (type: `string`):

One keyword as a single line, for API and console runs without an array. Added to `searchTerms` when both are set.

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

Hard cap on saved rows after all filters. Charged per saved channel.

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

YouTube `hl` value for searches and channel pages, e.g. `en`, `de`, `es`. Affects labels such as "subscribers" and "Joined".

## `region` (type: `string`):

YouTube `gl` value, e.g. `US`, `DE`, `GB`. Changes which channels a keyword returns even without a proxy.

## `mode` (type: `string`):

`channels` searches YouTube's channel list. `videos` searches videos and takes their owners. `both` merges the two and de-duplicates by channel id.

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

Drop channels below this rounded subscriber count. 0 disables the filter. When set, a channel whose count YouTube does not publish is dropped and the reason is recorded.

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

Drop channels above this rounded subscriber count. 0 disables the filter.

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

Drop channels with fewer videos than this, using the exact count from the channel's About page. Requires channel details.

## `countries` (type: `array`):

Keep only channels whose owner declared one of these countries. ISO 3166 codes or English names, e.g. `US`, `Germany`. Requires channel details.

## `verifiedOnly` (type: `boolean`):

Keep only channels carrying YouTube's verification badge.

## `maxChannelsPerTerm` (type: `integer`):

Hard cap on channels taken from one term: the term stops as soon as this many channels were collected. Counted before filters. `maxChannels` is then filled evenly across terms.

## `searchTermsFiles` (type: `array`):

Key-value store keys holding keywords, one per line or as a JSON array.

## `searchUrls` (type: `array`):

Ready-made YouTube search URLs. The keyword is taken from `search_query` or `q` and used as is.

## `excludeChannelIds` (type: `array`):

Channel ids (`UC…`) or handles (`@name`) to leave out.

## `includeChannelDetails` (type: `boolean`):

Open each channel's videos and about pages. Gives subscribers, views, country, join date, links, keywords and recent uploads, and costs two page loads per channel. Disable for a cheaper search-only run. `countries`, `minVideos` and sorting by views, video count or last upload need this.

## `sortBy` (type: `string`):

Order of rows in the dataset. `relevance` keeps YouTube's order.

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

Parallel channel page loads.

## `sameDomainDelaySecs` (type: `number`):

Minimum gap between two requests to youtube.com.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout before a retry is attempted.

## `runBudgetSecs` (type: `integer`):

How long this run may take before it stops and returns what it has. Leave it empty (recommended) and the run uses the whole timeout you set for it. Stopping early is not a failure: the run summary reports it and you get the channels found so far.

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

Not required to read YouTube. Worth enabling on large runs: reading one channel costs about 2 MB of traffic.

## Actor input object example

```json
{
  "searchTerms": [
    "tech reviewer"
  ],
  "maxChannels": 5,
  "language": "en",
  "region": "US",
  "mode": "channels",
  "minSubscribers": 0,
  "maxSubscribers": 0,
  "minVideos": 0,
  "verifiedOnly": false,
  "maxChannelsPerTerm": 10,
  "includeChannelDetails": true,
  "sortBy": "relevance",
  "maxConcurrency": 4,
  "sameDomainDelaySecs": 0.5,
  "requestTimeoutSecs": 30,
  "runBudgetSecs": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per channel. Every field is always present — unknown values are null, never omitted, so the column set is stable between runs.

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

Counters for the run: rows pushed and charged, channels found, how many each filter dropped, requests made and whether the run budget cut it short.

# 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 = {
    "searchTerms": [
        "tech reviewer"
    ],
    "maxChannels": 5,
    "maxChannelsPerTerm": 10,
    "runBudgetSecs": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai-lead-gen-tools/youtube-channel-discovery").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 = {
    "searchTerms": ["tech reviewer"],
    "maxChannels": 5,
    "maxChannelsPerTerm": 10,
    "runBudgetSecs": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("ai-lead-gen-tools/youtube-channel-discovery").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 '{
  "searchTerms": [
    "tech reviewer"
  ],
  "maxChannels": 5,
  "maxChannelsPerTerm": 10,
  "runBudgetSecs": 100
}' |
apify call ai-lead-gen-tools/youtube-channel-discovery --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai-lead-gen-tools/youtube-channel-discovery"
        }
    }
}
```

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/WuhIeoqvLlYsuGbPQ/builds/Fl5Z8KZ9CmPav3S0N/openapi.json
