# YouTube Channel Search: Find Creators by Keyword and Filters (`getascraper/youtube-channel-search-scraper`) Actor

Find YouTube channels and influencers by keyword. Filter by subscribers, views, videos, joined date, country, links, business email button and recent uploads. Export stats, links and description emails to CSV, Excel or JSON. No API key. Filtered channels and repeats in new-only mode cost nothing.

- **URL**: https://apify.com/getascraper/youtube-channel-search-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 channels

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 Search: Find Creators by Keyword and Filters

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-bottom:0">
<tr>
<td style="padding:24px 28px;background:#FCF0F0;color:#1C1917;border:1px solid #F6D1D1;border-top:4px solid #CC0000;border-radius:10px 10px 0 0">
<span style="font-size:23px;font-weight:800;color:#1C1917;line-height:1.3">Find YouTube creators in any niche, filtered before you pay</span><br>
<span style="font-size:15px;color:#57534E;line-height:1.6">Search YouTube by keyword and get one row per channel with subscribers, total views, video count, joined date, links and any email written in the description. Channels your filters leave out are never saved or charged.</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0">
<tr>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;color:#1C1917;border:1px solid #F6D1D1;border-top:none;border-radius:0 0 0 10px;vertical-align:top">
<span style="font-size:15px;font-weight:800;color:#A30000">🎯 Filters before you pay</span><br>
<span style="font-size:12px;color:#57534E">Subscribers, total views, videos, joined date, country and links. Channels left out cost nothing.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;color:#1C1917;border:1px solid #F6D1D1;border-top:none;border-left:none;vertical-align:top">
<span style="font-size:15px;font-weight:800;color:#A30000">📬 Outreach signals</span><br>
<span style="font-size:12px;color:#57534E">Website and social links, emails written in the description and the business email button flag.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;color:#1C1917;border:1px solid #F6D1D1;border-top:none;border-left:none;vertical-align:top">
<span style="font-size:15px;font-weight:800;color:#A30000">🎬 Active creators only</span><br>
<span style="font-size:12px;color:#57534E">Keep channels that uploaded in the last N days and list their newest videos.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;color:#1C1917;border:1px solid #F6D1D1;border-top:none;border-left:none;border-radius:0 0 10px 0;vertical-align:top">
<span style="font-size:15px;font-weight:800;color:#A30000">🔁 Only new channels</span><br>
<span style="font-size:12px;color:#57534E">Scheduled runs skip channels you already have. Repeats are not saved or charged.</span>
</td>
</tr>
</table>

YouTube Channel Search finds channels for your keywords and saves those that match your filters, ready for a spreadsheet, CRM or outreach list. Influencer agencies and brand partnership teams use it to shortlist creators by niche. Creator tools and AI agents call it through the Apify API. It works without a YouTube account or API key.

### 🔍 What does YouTube Channel Search do?

It runs YouTube's channel search for each of your keywords and returns one row per channel:

- **The channel:** name, @handle, link, avatar, subscribers, the verified or official artist badge, and the snippet YouTube shows in search.
- **Channel details** (on by default): full description, total views, exact video count, joined date and the country the channel states.
- **Outreach signals** (with channel details): external links with their real destinations, emails written in the description, and whether a business email button is shown.
- **Upload activity** (optional): the date of the newest upload, plus the newest videos with views and a Shorts flag if you want them.
- **How it was found:** the keyword or search link, the sort order, the position in the results and the page.

Subscriber, badge and auto-generated channel filters are checked on the search results, before any details are read. Filters on views, videos, joined date, country, the email button and links need channel details, so setting one turns details on. A channel that fails a filter is left out of the dataset.

YouTube stops a channel search after a few hundred results. Turn on **deep search** to also read each search sorted by view count, which usually adds many more channels per keyword.

### 👥 Who uses it

- **I am an influencer marketer** shortlisting baking creators with 10K to 200K subscribers and a recent upload, in order to pitch a flour brand.
- **I am a sponsorship rep** listing tech review channels with a business email button, in order to pitch creators who invite business inquiries.
- **I am a video editor** finding channels in my niche with under 100 videos and a recent upload, in order to pitch growing creators.
- **I am a market researcher** comparing when channels in a category joined YouTube and their total views, in order to size a creator niche.
- **I am building an AI agent or creator tool** that queries the Actor by niche and subscriber range, in order to return current creator data.

### 🚀 How to use it

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:16px 14px;width:33%;background:#FCF0F0;color:#1C1917;border:1px solid #F6D1D1;border-radius:10px 0 0 10px;vertical-align:top">
<span style="font-size:12px;font-weight:800;color:#CC0000;letter-spacing:1px">STEP 1</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Add keywords</span><br>
<span style="font-size:12px;color:#57534E">Type niche terms such as sourdough baking, or paste YouTube search links.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FCF0F0;color:#1C1917;border:1px solid #F6D1D1;border-left:none;vertical-align:top">
<span style="font-size:12px;font-weight:800;color:#CC0000;letter-spacing:1px">STEP 2</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Set your filters</span><br>
<span style="font-size:12px;color:#57534E">Subscriber range, minimum views, joined date, country, links or a recent upload.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FCF0F0;color:#1C1917;border:1px solid #F6D1D1;border-left:none;border-radius:0 10px 10px 0;vertical-align:top">
<span style="font-size:12px;font-weight:800;color:#CC0000;letter-spacing:1px">STEP 3</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Export or schedule</span><br>
<span style="font-size:12px;color:#57534E">Download CSV, Excel or JSON, or schedule weekly runs with new channels only.</span>
</td>
</tr>
</table>

The default run searches one example term and saves 20 channels with their details.

### 📥 Input

Every field is optional. With an empty form the Actor searches the example term and saves 20 channels.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `searchTerms` | array of strings | No | Keywords to find channels for, one per line, as you would type them into YouTube. A channel found by several terms is saved once. Up to 500 terms. |
| `searchUrls` | array of URLs | No | YouTube search result links. The search words and the sort order in each link are kept, and channel results are listed for them. |
| `maxResults` | integer | No | How many channels to save in total. Channels left out by filters do not count toward it. Defaults to 20. |
| `maxResultsPerTerm` | integer | No | Cap for each keyword or link, so one broad term cannot use up the whole limit. 0 means no cap. |
| `deepSearch` | boolean | No | Also reads each search sorted by view count to get past YouTube's limit per search. Up to twice as many search pages. |
| `minSubscribers` | integer | No | Only channels with at least this many subscribers. Hidden counts never match. |
| `maxSubscribers` | integer | No | Only channels with at most this many subscribers, for finding small and mid-size creators. |
| `verifiedOnly` | boolean | No | Only channels with the verified check mark or the official artist badge. |
| `excludeAutoGenerated` | boolean | No | Skips the "- Topic" channels YouTube creates for music artists. They have no owner to contact. |
| `excludedChannels` | array of strings | No | Channels to leave out, such as your own or creators you already work with. Accepts channel IDs, @handles and channel links. |
| `includeDetails` | boolean | No | Reads each channel's About panel for description, total views, video count, joined date, country, links and the email button flag. On by default. |
| `minVideos` | integer | No | Only channels with at least this many public videos. Turns details on. |
| `maxVideos` | integer | No | Only channels with at most this many public videos. Turns details on. |
| `minTotalViews` | integer | No | Only channels whose videos have at least this many views in total. Turns details on. |
| `createdAfter` | string | No | Only channels that joined YouTube on or after this date. Turns details on. |
| `createdBefore` | string | No | Only channels that joined YouTube on or before this date. Turns details on. |
| `channelCountries` | array of strings | No | Only channels that state one of these countries. Channels that state none never match. |
| `hasBusinessEmailButton` | boolean | No | Only channels that show the business email button. The address behind it is never collected. |
| `hasExternalLinks` | boolean | No | Only channels that list at least one external link, such as a website, Instagram or a shop. |
| `recentUploadDays` | integer | No | Only channels whose newest upload is at most this many days old. Leave it empty to skip the upload check. |
| `includeLatestUploads` | boolean | No | Adds each channel's newest videos with title, link, date, views and a Shorts flag. |
| `maxLatestUploads` | integer | No | How many recent videos to list per channel, from 1 to 15. Defaults to 5. |
| `newChannelsOnly` | boolean | No | For scheduled runs: skips every channel an earlier run of the same monitor saved. Skipped channels are not saved and not charged. |
| `monitorName` | string | No | Name of the monitor's memory, up to 20 lowercase letters, digits or hyphens. Leave it empty to derive one from your searches and filters. |
| `notificationWebhookUrl` | string | No | HTTPS address that receives a summary of each run with the counts and the first saved channels. Stored as a secret. |
| `notifyOnNoChanges` | boolean | No | Also sends the webhook message when a run saved no channels. |
| `notificationLimit` | integer | No | How many saved channels the webhook message lists, from 1 to 100. Defaults to 25. |
| `language` | string | No | YouTube language for the searches, such as en, de or pt-BR. It changes which channels rank first. Defaults to en. |
| `country` | string | No | Region YouTube tailors the results to, such as US, GB or IN. It is not a filter on the channel's own country. Defaults to US. |
| `proxyConfiguration` | object | No | Connection settings. The default works well for YouTube, so change it only to use your own proxies. |

### 📤 Output

One row per channel. Here is a real row from a sourdough search, shortened for length:

```json
{
  "channelId": "UCMeIfTykbcnPvbPyX7Kqr0Q",
  "title": "Oh my Bread Sourdough Baking School",
  "handle": "@OhmyBread.online",
  "url": "https://www.youtube.com/@OhmyBread.online",
  "isVerified": false,
  "isVerifiedArtist": false,
  "isAutoGenerated": false,
  "subscribers": 18500,
  "subscribersText": "18.5K subscribers",
  "searchSnippet": "Hello there, Sourdough Enthusiasts! ...",
  "avatarUrl": "https://yt3.ggpht.com/opmxtROvT001le4pfhqyhC0Hch1yoHobPGxPqvDNnm19mCTpnEjFATxBSjwGeKhDuI8K5sWwDsA=s176-c-k-c0x00ffffff-no-rj-mo",
  "description": "Hello there, Sourdough Enthusiasts! ...",
  "totalViews": 3545372,
  "videoCount": 663,
  "joinedDate": "2023-07-19",
  "joinedText": "Joined Jul 19, 2023",
  "country": "Italy",
  "countryCode": "IT",
  "externalLinks": [
    { "title": "Instagram", "url": "https://www.instagram.com/ohmybread.online" },
    { "title": "Neapolitan Pizza Recipe", "url": "https://www.ohmybread.online/pizza-recipe?utm_source=youtube&utm_medium=organic&utm_campaign=channel" }
  ],
  "hasBusinessEmailButton": true,
  "latestUploadText": "12 days ago",
  "latestUploadSource": "videosTab",
  "latestUploads": [
    {
      "videoId": "RSI1locXezM",
      "title": "Crispy Sourdough Crackers – The Ultimate Zero-Waste Snack!",
      "url": "https://www.youtube.com/watch?v=RSI1locXezM",
      "publishedText": "12 days ago",
      "views": 372,
      "isShort": false
    }
  ],
  "discoveredBy": { "term": "sourdough baking", "order": "relevance", "rank": 1, "page": 1 },
  "scrapedAt": "2026-11-12T04:35:10.960Z"
}
```

A value YouTube does not show is left out of the row, never filled with a placeholder.

### 📊 Data table

| Field | Type | Description |
| --- | --- | --- |
| `channelId` | string | YouTube channel ID (UC...). |
| `title`, `handle`, `url` | string | Channel name, @handle and channel link. |
| `isVerified`, `isVerifiedArtist` | boolean | Verified check mark or official artist badge, and the artist badge alone. |
| `isAutoGenerated` | boolean | An auto-generated "- Topic" channel made by YouTube. |
| `subscribers` | integer | Subscribers as YouTube shows them, rounded (18.5K becomes 18500). Missing when the channel hides them. |
| `subscribersText` | string | The subscriber count exactly as YouTube shows it. |
| `searchSnippet` | string | The description excerpt from the search results. |
| `avatarUrl` | string | The largest channel avatar image. |
| `description` | string | The full channel description. |
| `totalViews`, `videoCount` | integer | Total views of all videos and the number of public videos. |
| `joinedDate`, `joinedText` | string | The date the channel joined YouTube (YYYY-MM-DD) and the date as YouTube shows it. |
| `country`, `countryCode` | string | The country the channel states and its two-letter code. Missing when the channel states none. |
| `externalLinks` | array | Links on the About panel, with their titles and real destinations. |
| `descriptionEmails` | array | Email addresses written in the public description. |
| `hasBusinessEmailButton` | boolean | The About panel shows a business email button. The address is never collected. |
| `latestUploadAt` | string | Exact time of the newest upload, ISO 8601, when YouTube provides one (upload check). |
| `latestUploadText` | string | YouTube's rounded date of the newest long-form upload, such as "3 weeks ago", when no exact time is available. |
| `latestUploadSource` | string | Where the date came from: rss (exact time, Shorts included) or videosTab (rounded date, long-form videos). |
| `latestUploads` | array | Newest videos with videoId, title, url, publishedAt or publishedText, views and isShort. |
| `discoveredBy` | object | How the channel was found: term, sourceUrl for pasted links, order, rank and page. |
| `firstSeenAt` | string | When the monitor first saved the channel (new channels only mode). |
| `scrapedAt` | string | When the run collected the row, ISO 8601. |

The Output tab has four views: **Channels**, **Outreach**, **Upload activity** and **Details**. Each run also keeps a RUN_SUMMARY record with the pages read per search, how many channels each filter left out and why the run stopped.

### 🔁 New channels only mode

Turn on **new channels only**, give the monitor a name and schedule the Actor. The monitor remembers every channel it saved. Later runs skip those channels, so each run saves only channels you have not seen yet. Skipped channels are not saved and not charged, and each saved row carries `firstSeenAt`.

- A channel cut by the result limit is not remembered, so a later run can still save it.
- Runs with the same monitor name share one memory. Give each schedule its own name to keep them apart.
- If a run of a monitor starts while another run of the same monitor is still going, it stops at once with a message.

Add a **webhook URL** to get a summary at the end of each run with the counts and the first saved channels. Local and private addresses are refused. Runs that save nothing send no message unless you turn on **notify on no changes**.

### 💰 Pricing

This Actor uses pay per event pricing. Each run has a small start fee, and you pay for each channel saved to your dataset. Channels left out by your filters or your excluded list, and channels a monitor saved before, are never saved, so you never pay for them. A run that saves nothing pays only the start fee. The upload check is an optional add-on, charged only on rows that carry upload data. Channel and upload check prices are lower on paid Apify plans. There is no subscription.

If you set a maximum cost per run, the run stops when it is reached and keeps every channel saved so far.

Free plan runs are limited to 100 channels per run and 30 runs per 24 hours. Paid Apify plans have no such limits.

### ⭐ Enjoying YouTube Channel Search?

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:20px 24px 14px;background:#FCF0F0;color:#1C1917;border:1px solid #F6D1D1;border-left:5px solid #CC0000;border-radius:10px 10px 0 0">
<span style="font-size:20px;letter-spacing:4px">⭐ ⭐ ⭐ ⭐ ⭐</span><br>
<span style="font-size:17px;font-weight:800;color:#1C1917">Did it find creators you would not have found by scrolling YouTube?</span><br>
<span style="font-size:14px;color:#57534E">A 5-star rating takes 10 seconds and helps other influencer marketers and sponsorship teams find it. Your feedback also tells us what to build next.</span>
</td>
</tr>
<tr>
<td style="padding:0;background:#CC0000;color:#FFFFFF;border:1px solid #CC0000;border-left:5px solid #CC0000;border-top:none;border-radius:0 0 10px 10px;text-align:center">
<a href="https://apify.com/getascraper/youtube-channel-search-scraper/reviews" style="display:block;padding:13px 16px;color:#FFFFFF;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:0.3px">★&nbsp;&nbsp;Rate this Actor on Apify</a>
</td>
</tr>
</table>

### 💡 Tips

- Start with subscriber and badge filters. They are checked on the search results, so details are read only for channels that can still match.
- Many channels state no country. A channel countries filter keeps only those that do, so expect fewer rows. The region setting changes ranking only.
- Several specific keywords beat one broad keyword: each search stops after a few hundred channels. Set a per-term cap to keep the list balanced.
- Upload dates say where they came from. Most are YouTube's rounded date (videosTab); an exact time (rss) appears only when YouTube provides one. Channels that post only Shorts usually have no dated upload, so a recent upload filter leaves them out.
- Keep a list of channels you already work with in excluded channels, so they never come back.

### ❓ FAQ

##### Do I need a YouTube account or API key?

No. The Actor reads public channel search results and About panels, the same ones anyone can see without signing in.

##### Can it find YouTube creators' email addresses?

It returns emails that creators wrote in their public channel description, and whether the channel shows YouTube's business email button. YouTube reveals the address behind that button only to signed-in users after a captcha, so the Actor never collects it. Use the button flag and the external links to decide whom to contact.

##### How many channels can I get for one keyword?

YouTube stops a channel search after a few hundred results. Deep search adds the same search sorted by view count. For bigger lists, add more keywords: a channel found by several keywords is saved once.

##### How do I find new YouTube channels in my niche every week?

Turn on new channels only, give the monitor a name and schedule the Actor weekly. Each run saves only channels the monitor has not saved before.

##### Can I search YouTube in other languages and countries?

Yes. Set the YouTube language and region for the searches. Channel details are always read in English, so counts and dates stay comparable across languages.

### ⚖️ Disclaimer

Not affiliated with YouTube or Google. YouTube is a trademark of Google LLC. The Actor collects publicly available channel data. Channel names, descriptions and the emails written in them can be personal data. Make sure your use complies with data protection laws such as GDPR and CCPA, including the rules for contacting people.

### 🔗 Other actors

- [YTJobs Scraper: YouTube Video Editor Jobs, Pay and New Alerts](https://apify.com/getascraper/ytjobs-scraper) ↗ - YouTube industry jobs with pay, channel size and new-job alerts.
- [Twitch Scraper: Channels, Streams, Clips & Games](https://apify.com/getascraper/twitch-scraper) ↗ - Twitch channels, live streams, clips and games.
- [Kick Scraper: Channels, Live Streams, VODs, Clips & Monitoring](https://apify.com/getascraper/kick-scraper) ↗ - Kick channels, live streams, VODs and clips.
- [ShopMy Scraper: Creator Product Picks, Brands, Prices & Clicks](https://apify.com/getascraper/shopmy-creator-scraper) ↗ - creator product picks and the brands behind them.
- [Kick Trending Clips Scraper: Rank Viral Clips by View Velocity](https://apify.com/getascraper/kick-trending-clips-scraper) ↗ - viral Kick clips ranked by how fast they gain views.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/youtube-channel-search-scraper/changelog.md

# Actor input Schema

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

Keywords to find channels for, one per line, as you would type them into YouTube search (for example "sourdough baking" or "home workout"). Each term is searched on its own, and a channel found by several terms is saved once. Up to 500 terms.

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

Optional. Paste YouTube search result links (youtube.com/results?search_query=...). The search words and the sort order in the link are kept, and the Actor always lists the channel results for them.

## `maxResults` (type: `integer`):

Stop after saving this many channels in total. Channels left out by your filters, excluded channels and channels skipped as already saved do not count toward it.

## `maxResultsPerTerm` (type: `integer`):

Optional cap for each search term or URL, so one broad term cannot use up the whole limit. 0 means no cap per search.

## `deepSearch` (type: `boolean`):

YouTube ends a channel search after a few hundred results. Turn this on to also read the same search sorted by view count, which usually adds many more channels per term. It reads up to twice as many search pages.

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

Only channels with at least this many subscribers. YouTube rounds counts (for example 18.5K), and channels that hide their count never match.

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

Only channels with at most this many subscribers. Use it to find small and mid-size creators.

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

Only channels with YouTube's verified check mark or the official artist badge.

## `excludeAutoGenerated` (type: `boolean`):

Skips the "- Topic" channels YouTube creates automatically for music artists. They have no owner to contact.

## `excludedChannels` (type: `array`):

Channels you never want in the results, such as your own or ones you already work with. Accepts channel IDs (UC...), @handles and channel URLs.

## `includeDetails` (type: `boolean`):

Reads each channel's About panel: full description, total views, exact video count, joined date, country, external links, emails written in the description, and whether a business email button is shown. One extra request per channel.

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

Only channels with at least this many public videos.

## `maxVideos` (type: `integer`):

Only channels with at most this many public videos.

## `minTotalViews` (type: `integer`):

Only channels whose videos have at least this many views in total (the exact figure from the About panel).

## `createdAfter` (type: `string`):

Only channels created on or after this date (the joined date on the About panel).

## `createdBefore` (type: `string`):

Only channels created on or before this date.

## `channelCountries` (type: `array`):

Only channels whose About panel states one of these countries. Channels that state no country never match, so expect fewer results.

## `hasBusinessEmailButton` (type: `boolean`):

Only channels that show the "View email address" button for business inquiries. The Actor reports whether the button is there; it never collects the address behind it, which YouTube shows only to signed-in users after a captcha.

## `hasExternalLinks` (type: `boolean`):

Only channels that list at least one external link (website, Instagram, TikTok, shop and so on) on their About panel.

## `recentUploadDays` (type: `integer`):

Only channels whose newest upload is at most this many days old. Leave empty to skip the check. Dates are exact when YouTube provides them and otherwise YouTube's rounded "3 weeks ago" style, marked in the output. Channels with no dated upload never match.

## `includeLatestUploads` (type: `boolean`):

Adds the channel's newest videos (title, link, date, views, and whether it is a Short) to each row.

## `maxLatestUploads` (type: `integer`):

How many recent videos to list per channel when Include latest uploads is on.

## `newChannelsOnly` (type: `boolean`):

For scheduled runs: skip every channel that an earlier run of the same monitor already saved. Skipped channels are not saved and not charged.

## `monitorName` (type: `string`):

Optional name for the monitor's memory (lowercase letters, digits and hyphens, up to 20 characters). Runs with the same name share one memory. Leave it empty to derive a name from your search terms and filters.

## `notificationWebhookUrl` (type: `string`):

Optional HTTPS address that receives a JSON summary when the run ends: the counts and the first saved channels. Local and private addresses are refused. Stored as a secret.

## `notifyOnNoChanges` (type: `boolean`):

Also send the webhook when the run saved no channels.

## `notificationLimit` (type: `integer`):

How many saved channels the webhook message lists. The full list is always in the dataset.

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

YouTube interface language for the searches (for example en, de, es or pt-BR). It changes which channels YouTube ranks first and the language of the search snippets. Channel details are always read in English.

## `country` (type: `string`):

Region YouTube tailors the results to (a two-letter code such as US, GB or IN). This is not a filter on the channel's own country; use Channel countries for that.

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

Apify Proxy (datacenter) is used by default and works well for YouTube. Change it only to use your own proxies.

## Actor input object example

```json
{
  "searchTerms": [
    "sourdough baking"
  ],
  "searchUrls": [],
  "maxResults": 20,
  "maxResultsPerTerm": 0,
  "deepSearch": false,
  "verifiedOnly": false,
  "excludeAutoGenerated": false,
  "includeDetails": true,
  "hasBusinessEmailButton": false,
  "hasExternalLinks": false,
  "includeLatestUploads": false,
  "maxLatestUploads": 5,
  "newChannelsOnly": false,
  "notifyOnNoChanges": false,
  "notificationLimit": 25,
  "language": "en",
  "country": "US",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `channels` (type: `string`):

No description

## `summary` (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 = {
    "searchTerms": [
        "sourdough baking"
    ],
    "searchUrls": [],
    "maxResults": 20,
    "maxResultsPerTerm": 0,
    "deepSearch": false,
    "verifiedOnly": false,
    "excludeAutoGenerated": false,
    "includeDetails": true,
    "hasBusinessEmailButton": false,
    "hasExternalLinks": false,
    "includeLatestUploads": false,
    "maxLatestUploads": 5,
    "newChannelsOnly": false,
    "notifyOnNoChanges": false,
    "notificationLimit": 25,
    "language": "en",
    "country": "US",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/youtube-channel-search-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 = {
    "searchTerms": ["sourdough baking"],
    "searchUrls": [],
    "maxResults": 20,
    "maxResultsPerTerm": 0,
    "deepSearch": False,
    "verifiedOnly": False,
    "excludeAutoGenerated": False,
    "includeDetails": True,
    "hasBusinessEmailButton": False,
    "hasExternalLinks": False,
    "includeLatestUploads": False,
    "maxLatestUploads": 5,
    "newChannelsOnly": False,
    "notifyOnNoChanges": False,
    "notificationLimit": 25,
    "language": "en",
    "country": "US",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/youtube-channel-search-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 '{
  "searchTerms": [
    "sourdough baking"
  ],
  "searchUrls": [],
  "maxResults": 20,
  "maxResultsPerTerm": 0,
  "deepSearch": false,
  "verifiedOnly": false,
  "excludeAutoGenerated": false,
  "includeDetails": true,
  "hasBusinessEmailButton": false,
  "hasExternalLinks": false,
  "includeLatestUploads": false,
  "maxLatestUploads": 5,
  "newChannelsOnly": false,
  "notifyOnNoChanges": false,
  "notificationLimit": 25,
  "language": "en",
  "country": "US",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call getascraper/youtube-channel-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/youtube-channel-search-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/x9NiF1lPAQmyFKy68/builds/ydFxlu3CVqCFlLmUl/openapi.json
