# YouTube Channel Search (`datahamster/youtube-channel-search`) Actor

YouTube channel search by keyword: channel ID, handle, subscribers, exact video and view counts, country, joined date, links and newest upload date. Filter by subscribers, country, language and recent activity, one row per channel across keywords. Monitor mode returns only new channels.

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

## Pricing

from $1.89 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 YouTube channels by keyword and get one row per channel: channel ID, @handle, title, URL, subscriber count, exact video and view counts, country, joined date, verified badge, full description, the channel's own links and the date of its newest upload. Filter by subscribers, country, language and recent activity, search many keywords at once with one row per channel, and turn on monitor mode to get only channels that newly show up for your keywords.

**Try it:** the prefilled example returns 20 rows in about 18 seconds and costs about $0.095 plus about $0.0008 of platform usage. Results cost $4.73 per 1,000 on the free plan.

Coverage limits: YouTube's channel search serves a few hundred channels per keyword, so use several narrow keywords for a long list. Subscriber counts are YouTube's rounded figures (15.1M). Country is what the creator chose to show; many channels show none. Language is detected from the title and description, so it is a good guess, not a declaration. Business e-mails are login-only on YouTube and are not collected; e-mail addresses and phone numbers typed into descriptions are removed.

### Why this one

- **Country, language and activity filters.** `countries` keeps channels whose about page shows that country, `languages` keeps channels written in that language, `activeWithinDays` keeps channels that uploaded recently. The most-used YouTube channel search actor in the Store has a search country and a page language hint in its input, and its README says the country hint "does not filter channels by their profile country"; it has no activity filter and no latest-upload date.
- **Newest upload on every row.** `latestVideoAt` (exact time from the channel feed), `latestVideoId`, `latestVideoTitle` and `daysSinceLatestVideo`, so dead channels are easy to drop.
- **New channels only, on a schedule.** Monitor mode remembers every channel it returned for each keyword and later runs return only channels that newly appear, with an optional webhook or Telegram message.
- **Runs that finish.** YouTube's channel search, about pages and channel feeds are read without a browser and without a proxy unless YouTube refuses a request, with a fallback for each detail source. Test runs on 9 Nov 2026: 5 of 5 succeeded, 511 search results and 453 about pages read without a single refusal; the filtered three-keyword run finished in 153 seconds. For comparison, the most-used channel search actor in the Store shows 1,135 timed-out and 23 failed runs out of 6,184 public runs in the last 30 days (Apify Store stats, 9 Nov 2026).
- **Many keywords, one row per channel.** Duplicates across keywords are skipped before any extra request; `query` and `position` tell which keyword found the channel and where it ranked. Subscriber and verified filters run on the search result, so dropped channels cost no extra request.
- **Price.** $0.004725 per channel on the free plan, $0.00329 on Bronze, $0.002625 on Silver and $0.00189 on Gold and higher, no start fee. The most-used alternative charges $0.00675 / $0.0047 / $0.00375 / $0.0027 from 10 November 2026 with platform usage included. Usage here is billed on top: about $0.039 per 1,000 channels in the prefilled run and about $0.17 per 1,000 returned channels in a run with country, language and activity filters, so even on Gold with heavy filters ($1.89 + $0.17 = $2.06 per 1,000 against $2.70) this actor costs less on every plan.

### What you get

| title | handle | subscriberCount | videoCount | countryCode | language | latestVideoAt | isVerified |
|---|---|---|---|---|---|---|---|
| Mill City Roasters® | @MillCityRoasters | 42,800 | 202 | US | en | 2026-11-02 | false |
| Sweet Maria's Coffee | @SweetMariasCoffee | 34,400 | 453 | US | en | 2026-11-03 | false |
| Virtual Coffee Lab - Coffee Roaster | @VirtualCoffeeLab | 25,300 | 149 | US | en | 2026-10-24 | false |
| Giesen Roasting Solutions | @giesenroastingsolutions | 6,110 | 186 | NL | en | 2026-10-27 | false |
| Artisti Coffee Roasters. | @ArtistiCoffeeRoasters | 245,000 | 1,025 | AU | en | 2026-11-09 | true |
| Seven Miles Coffee Roasters | @SevenMilesCoffeeRoasters | 207,000 | 68 | AU | en | 2023-08-14 | false |

A full row:

```json
{
  "id": "UCfpTQQtvqLhHG_GWhk3Xp4A",
  "url": "https://www.youtube.com/channel/UCfpTQQtvqLhHG_GWhk3Xp4A",
  "scrapedAt": "2026-11-09T15:21:46.105994Z",
  "channelId": "UCfpTQQtvqLhHG_GWhk3Xp4A",
  "handle": "@MillCityRoasters",
  "handleUrl": "https://www.youtube.com/@MillCityRoasters",
  "title": "Mill City Roasters®",
  "description": "Welcome to the Mill City Roasters YouTube page. If you are looking to improve your roasting skills, learn some tips and tricks to get to tastier coffee, and laugh while doing so, you're in the right place. We have been hard at work developing content that is meaningful for coffee roasters. This is free information and applicable to almost all commercial production roasting equipment. We are so glad that you are investing the time in watching our videos in order to develop your skills and aptitude. Thank you for stopping by!\n\nRemember, if seeing us in videos isn't enough, the people you see here are the people you will see teaching our classes live in Minneapolis and around the world. Come and see them in person and learn from them during our extremely popular roasting, tasting, and brewing classes. We would love to extend our midwestern hospitality to you.",
  "searchSnippet": "We have been hard at work developing content that is meaningful for coffee roasters. This is free information and applicable to ...",
  "subscriberCount": 42800,
  "subscriberCountText": "42.8K subscribers",
  "videoCount": 202,
  "viewCount": 2569815,
  "country": "United States",
  "countryCode": "US",
  "language": "en",
  "joinedDate": "2014-02-07",
  "isVerified": false,
  "badges": [],
  "links": [
    {
      "title": "Linktree",
      "url": "https://linktr.ee/millcityroasters"
    },
    {
      "title": "Website",
      "url": "https://millcityroasters.com"
    },
    {
      "title": "Instagram",
      "url": "https://www.instagram.com/millcityroasters/"
    },
    {
      "title": "Facebook",
      "url": "https://www.facebook.com/millcityroasters"
    },
    {
      "title": "Tik Tok",
      "url": "https://www.tiktok.com/@millcityroasters"
    }
  ],
  "latestVideoAt": "2026-11-02T18:40:56Z",
  "latestVideoDateExact": true,
  "latestVideoId": "VhC6pB8j6Ug",
  "latestVideoTitle": "Holiday Blends are BACK!",
  "daysSinceLatestVideo": 6,
  "thumbnailUrl": "https://yt3.ggpht.com/9uWIHlPNyDykLTFcdzg_8lakLCTRi489_Ih0MtzXTBn0WUm25hFGoKt4XAftyVUv1FT5lgShB6Q=s176-c-k-c0x00ffffff-no-rj-mo",
  "detailsStatus": "ok",
  "query": "coffee roasting",
  "position": 1
}
```

Fields: `channelId`, `url` (stable /channel/ link), `handle`, `handleUrl`, `title`, `description` (full about text without e-mails and phone numbers), `searchSnippet`, `subscriberCount`, `subscriberCountText`, `videoCount`, `viewCount`, `country`, `countryCode` (ISO 3166-1), `language` (ISO 639-1, detected), `joinedDate`, `isVerified`, `badges`, `links` (title and URL of each link on the about page; direct-message and phone links are dropped), `latestVideoAt`, `latestVideoDateExact`, `latestVideoId`, `latestVideoTitle`, `daysSinceLatestVideo`, `thumbnailUrl`, `detailsStatus`, `query`, `position`, `scrapedAt`.

### Input

| Field | Meaning | Default |
|---|---|---|
| `queries` | Keywords, one per line | coffee roasting |
| `maxChannelsPerQuery` | Channels to return per keyword (after filters) | 50 |
| `minSubscribers`, `maxSubscribers` | Subscriber range | off |
| `countries` | ISO codes or English names of the channel's country | off |
| `languages` | Two-letter language codes | off |
| `activeWithinDays` | Newest upload at most N days old | off |
| `minVideos` | Minimum public videos | off |
| `verifiedOnly` | Verified or official artist channels only | false |
| `includeAbout` | Read the about page (country, exact counts, joined date, links, full description) | true |
| `includeLatestVideo` | Read the newest upload | true |
| `maxScannedPerQuery` | Search results to scan per keyword while filters drop channels | 300 |
| `strictQueryMatch` | Drop the unrelated channels YouTube pads a no-match search with | true |
| `proxyCountry` | YouTube search region | US |
| `maxItems` | Stop after this many rows in total | 200 |
| `mode` | `scrape`, or `monitor` for new channels only | `scrape` |

Each channel costs up to three small requests (search page share, about page, feed). With both detail switches off a run reads search pages only.

### Monitor mode

Set `mode` to `monitor`, add your keywords and filters, and schedule the task (daily or weekly). The first run records the channels each keyword returns and pushes nothing (no result charges). Every later run returns only channels that were never returned for that keyword before, with `changeType: "new"`. Channels the monitor already knows are not re-read, so a check is fast and cheap. Changing a keyword's filters or depth starts a new baseline for it. Each monitor run costs one `monitor-check` event ($0.005) plus the result price per new channel ($0.004725 on the free plan). Add `webhookUrl`, or `telegramBotToken` and `telegramChatId`, to get a message when something new turns up. If a monitor run is killed and the next one ends with `overlapping_run`, wait for the killed run's timeout or start over with a new `monitorStateId`.

### Pricing

| Event | Free | Bronze | Silver | Gold and higher |
|---|---|---|---|---|
| result (per channel) | $0.004725 | $0.00329 | $0.002625 | $0.00189 |
| change (new channel in monitor mode) | $0.004725 | $0.00329 | $0.002625 | $0.00189 |
| monitor-check (per monitor run) | $0.005 | $0.005 | $0.0045 | $0.004 |

Apify platform usage is billed to you separately; the actor runs with 512 MB and without a proxy unless YouTube refuses a request. Usage measured on 9 Nov 2026: $0.00077 for the prefilled 20-channel run (about $0.039 per 1,000 channels) and $0.0047 for a 28-row run with country, language and activity filters that had to read 405 about pages (about $0.17 per 1,000 returned channels). Channels dropped by filters are never charged.

### Limits

- YouTube's channel search ends after a few hundred channels per keyword; split broad topics into narrower keywords.
- Subscriber counts are rounded by YouTube; video and view counts are exact.
- `country` is empty for channels that do not show one; such channels are dropped while the country filter is set.
- `language` is a guess from the title and description: it is null for very short texts, for mixed-language texts and for languages the detector does not know, and a Cyrillic text without a telling letter or common word stays null. While `languages` is set, channels with a null language are dropped.
- When the channel feed fails, the newest upload comes from the Videos tab with a relative label ("3 weeks ago") and `latestVideoDateExact: false`.
- If YouTube refuses the about page on every proxy tier, that channel is not returned (and not charged). If nothing could be returned because YouTube refused the details a filter needed (about page or newest upload), the run ends as `blocked`, never as an empty success.

### FAQ

**Does it return e-mails?** No. YouTube shows business e-mails only to signed-in viewers, and e-mails or phone numbers written in descriptions are removed.

**How do I find small creators in one country?** Set `maxSubscribers` (for example 50000), `countries` (for example `DE`) and `activeWithinDays` (for example 30).

**Why fewer rows than `maxChannelsPerQuery`?** Your filters dropped the rest of what YouTube served for that keyword within `maxScannedPerQuery`. `RUN_SUMMARY` shows `droppedByFilter` per filter.

### Changelog

- 0.1: first release. Channel search by keyword with subscriber, country, language, activity, video-count and verified filters, about-page details, newest upload, dedupe across keywords, monitor mode for new channels.

### Related actors

- [YouTube Search Scraper](https://apify.com/datahamster/youtube-search-scraper): videos, Shorts, channels and playlists for a keyword with YouTube's own filters.
- [YouTube Playlist Scraper](https://apify.com/datahamster/youtube-playlist-scraper): every video of a playlist or a channel's uploads.
- [YouTube Video Details Scraper](https://apify.com/datahamster/youtube-video-details-scraper): exact views, likes and comments per video.
- [YouTube Transcript Scraper](https://apify.com/datahamster/youtube-transcript-scraper): full transcripts of YouTube videos.

***

If this actor saved you time, a short review on its Store page helps other people find it. Found a bug or need a field? Open a ticket on the **Issues** tab.

# Actor input Schema

## `queries` (type: `array`):

Topics, products, niches or brand words to search YouTube channels for, one per line. A channel found by several keywords is returned once (for the first keyword that found it).

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

Stop each keyword after this many channels that pass your filters.

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

Keep channels with at least this many subscribers (YouTube's rounded count, e.g. 15.1M). Checked on the search result, so a dropped channel costs no extra request.

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

Keep channels with at most this many subscribers. Use it with the minimum to find micro or mid-size creators.

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

Keep only channels whose about page shows one of these countries. ISO codes (US, GB, DE) or English names (Germany). Channels that show no country are dropped while this filter is set.

## `languages` (type: `array`):

Keep only channels whose title and description are written in one of these languages (two-letter codes: en, es, de, pt, fr, it, nl, pl, tr, id, sv, ro, cs, vi, uk, ru, ja, ko, zh, hi, ar and more). The language is detected from the text; channels whose text is too short to tell are dropped while this filter is set.

## `activeWithinDays` (type: `integer`):

Keep only channels whose newest upload is at most this many days old. Leave empty to keep inactive channels too.

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

Keep channels with at least this many public videos (exact count from the about page).

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

Keep only channels with YouTube's verified or official artist badge.

## `includeAbout` (type: `boolean`):

One extra request per channel: full description, country, exact video and view counts, joined date and the channel's links. Turned on automatically when a country, language or minimum-videos filter is set.

## `includeLatestVideo` (type: `boolean`):

One extra request per channel: date, ID and title of the newest upload, and days since then. Turned on automatically when the activity filter is set.

## `maxScannedPerQuery` (type: `integer`):

How deep to read YouTube's channel results for each keyword (20 per page) while filters drop channels. Raise it for narrow filters.

## `strictQueryMatch` (type: `boolean`):

When YouTube has no real match for a keyword it pads the list with unrelated channels; this keeps only channels whose name or snippet contains a keyword word.

## `proxyCountry` (type: `string`):

Two-letter country code for YouTube's search region (default US). It changes what YouTube ranks first; it does not filter by channel country (use Countries for that).

## `tier` (type: `string`):

auto starts without a proxy and climbs to datacenter, then residential, only when YouTube refuses a request.

## `maxItems` (type: `integer`):

Stop after this many results (you are charged only for pushed items)

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

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "queries": [
    "coffee roasting"
  ],
  "maxChannelsPerQuery": 20,
  "verifiedOnly": false,
  "includeAbout": true,
  "includeLatestVideo": true,
  "maxScannedPerQuery": 300,
  "strictQueryMatch": true,
  "tier": "auto",
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# 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 = {
    "queries": [
        "coffee roasting"
    ],
    "maxChannelsPerQuery": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/youtube-channel-search").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 = {
    "queries": ["coffee roasting"],
    "maxChannelsPerQuery": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/youtube-channel-search").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 '{
  "queries": [
    "coffee roasting"
  ],
  "maxChannelsPerQuery": 20,
  "maxItems": 20
}' |
apify call datahamster/youtube-channel-search --silent --output-dataset

```

## MCP server setup

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

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/WDEkLt1Fr0c0IVMaL/builds/28tnh6Yp8gyAgkOC1/openapi.json
