# YouTube Channel Scraper | $0.25 per 1k | New-Video Monitor (`solidrows/youtube-channel-scraper`) Actor

Scrape YouTube channels: subscribers, views, links, country, upload frequency plus latest or most popular videos, Shorts, streams and playlists. Find channels by keyword, monitor new uploads via RSS, exact publish dates. No API key. Never a silent empty run.

- **URL**: https://apify.com/solidrows/youtube-channel-scraper.md
- **Developed by:** [SolidRows](https://apify.com/solidrows) (community)
- **Categories:** Videos, Social media, 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.18 / 1,000 video scrapeds

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 Scraper

Scrape public **YouTube channels** by @handle, URL, ID or **keyword**: **subscribers, total views, video count, join date, country, links, description, avatar, banner, verification and upload frequency** - plus the channel's **videos, Shorts, live streams and playlists**, latest or most popular, with views, duration, exact publish time and optional likes, comments, tags and full description. Includes a cheap **new-video monitor** built on YouTube's public RSS feeds. **No login, no API key, no YouTube quota - $0.25 per 1,000 videos, $0.30 per 1,000 channel records.**

### Why this scraper

- 💸 **Lowest price in the category.** $0.25 per 1,000 videos, $0.30 per 1,000 channel records. Other YouTube channel scrapers on Apify Store charge $0.50-$6.75 per 1,000 results (checked November 2026).
- 📡 **Built for monitoring.** "Only new videos" remembers what you already received, so you never pay for the same video twice. The RSS monitor mode checks a channel with one ~20 KB request - hundreds of channels in seconds - and costs money only when a channel actually uploads.
- ⏱ **Exact publish times.** YouTube pages show "2 days ago"; the channel's public feed gives the exact timestamp, exact views and likes for the 15 latest uploads - merged into the video rows automatically.
- 🏆 **Latest or most popular.** Top videos, top Shorts and top streams of a channel straight from YouTube's public "popular uploads" playlists.
- 📚 **Whole archive, not just the first screen.** Up to 100 videos per kind in a single request, and the scraper can walk the rest of a channel's uploads playlist (hundreds or thousands of videos, ~80 per request).
- 🔎 **Find channels by keyword** and **search inside a channel** - both in the same run. Filter channels by **subscriber count** before anything is fetched or charged.
- 🔗 **Any input works.** @handle, channel URL, channel ID, a link to any of the channel's videos or Shorts (youtu.be too), or just the channel name.
- 🚨 **No silent failures.** A misspelled or deleted channel gives a free error row saying so; if no channel at all could be scraped, the run ends as *failed* instead of an empty "success".
- 📈 **Vetting signals out of the box:** `uploadsPerWeek`, `uploadsLast30Days`, `lastVideoPublishedAt`, subscribers, total views, country, verified badge, external links.
- 🛡 **Safe and stable by design.** Only public pages and feeds, exactly as a visitor's browser or feed reader gets them: no account, no cookies of yours, no internal API keys, no CAPTCHA solving.

**Honest limit:** the scraper does not call YouTube's internal "load more" API. Rich list data (views and upload time on the list itself) is available for the first 100 videos of each kind, in both "latest" and "most popular" order; further videos from the archive walk come with title, duration and thumbnails, and get views, likes and dates only if you turn on video details (one extra request per video).

### What you get

- 📇 **Channel record** (`type: "channel"`): ID, handle, name, description, subscribers, total views, video count, join date, country, links with real target URLs, keywords, avatar, banner, verification, RSS URL, last upload time and upload frequency.
- 🎬 **Videos** (`type: "video"`, `tab: "videos"`): title, views, upload time, duration in seconds, live/upcoming flags, five thumbnail sizes; exact `publishedAt`, `likeCount` and full description for the 15 latest uploads.
- 📱 **Shorts** (`tab: "shorts"`) and 🔴 **live streams** (`tab: "streams"`): current, upcoming and past.
- 📚 **Playlists** (`type: "playlist"`): ID, URL, title, number of videos, kind (playlist / course / podcast / show).
- 🔍 **Search inside a channel** (`tab: "search"`): up to 30 matching videos with exact views and description snippets.
- 📊 **Video details** (optional): exact views and likes, comment count, likes per 100 views, publish date, full description, hashtags, chapters - plus tags, category, exact publish time and caption languages when YouTube serves them.

### Use cases

- **Influencer research and vetting:** audience size, activity, country, links, real upload frequency, recent performance
- **Competitor monitoring:** schedule the run with "Only new videos" and get just the new uploads
- **New-video alerts for hundreds of channels:** RSS monitor mode + a schedule + a webhook
- **Channel discovery by niche keyword** with full channel data in one run
- **Content analysis:** a channel's most popular videos, its whole archive, titles, durations, tags, chapters
- **Lead lists of channels** with subscribers, country and business links

### Input

| Field | What it does |
|---|---|
| **Channels** | `@handle`, `https://www.youtube.com/@handle`, `/channel/UC...`, `/c/...`, `/user/...` URLs or `UC...` IDs - any number. Also: a video / Shorts / `youtu.be` link (the channel that published it is scraped) or the channel name in words (the top channel from YouTube's channel search is used) |
| **Find channels by keyword** | Keywords for YouTube's channel search; found channels are scraped like listed ones |
| **Max channels per keyword** | 1-40 (about 20 per results page) |
| **Mode** | Channel data + videos (default) or New-video monitor (RSS feed only) |
| **Include videos / Shorts / live streams / playlists** | Which kinds to save |
| **Sort videos by** | Latest or Most popular |
| **Max videos per channel and kind** | ≤ 30 (48 for Shorts): one tab request · ≤ 100: one playlist request · more: archive walk, ~80 videos per request · `0` = channel data only |
| **Search inside each channel** | Keyword; up to 30 matching videos per channel |
| **Open every video page for full details** | Likes, comments, publish date, full description, hashtags, chapters (+ tags, category, exact time when available) |
| **Only new videos** | Skip videos returned in previous runs |
| **Min / Max subscribers** | Skip channels outside this size - no rows, no charge, their videos are not fetched |

Channel data and the 30 latest videos:

```json
{ "channels": ["@mkbhd", "https://www.youtube.com/@veritasium", "UCsBjURrPoezykLs9EqgamOA"], "maxVideosPerChannel": 30 }
```

Top 100 most popular videos and Shorts with engagement:

```json
{ "channels": ["@veritasium"], "sortVideosBy": "popular", "includeShorts": true, "maxVideosPerChannel": 100, "includeVideoDetails": true }
```

Daily new-video monitor for many channels (schedule it):

```json
{ "channels": ["@mkbhd", "@veritasium", "@TED", "@NASA"], "mode": "feed", "onlyNewVideos": true }
```

Discover channels in a niche:

```json
{ "searchQueries": ["sourdough baking", "bread recipes"], "maxChannelsPerQuery": 40, "maxVideosPerChannel": 5 }
```

Mid-size channels only (10K-500K subscribers), channel data without videos:

```json
{ "searchQueries": ["sourdough baking"], "minSubscribers": 10000, "maxSubscribers": 500000, "maxVideosPerChannel": 0 }
```

Start from video links or a channel name:

```json
{ "channels": ["https://youtu.be/hdMszZ2ah5Q", "https://www.youtube.com/shorts/EYJpgBNaPZo", "Linus Tech Tips"], "maxVideosPerChannel": 10 }
```

### Output

Channel:

```json
{
    "type": "channel",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "handle": "@mkbhd",
    "title": "Marques Brownlee",
    "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality! ...",
    "subscriberCount": 21400000,
    "subscriberCountText": "21.4M subscribers",
    "videoCount": 1866,
    "videoCountText": "1,866 videos",
    "viewCount": 5898780636,
    "joinedDate": "2008-03-21",
    "country": "United States",
    "links": [{ "title": "Twitter", "url": "http://twitter.com/MKBHD" }, { "title": "Instagram", "url": "http://instagram.com/MKBHD" }],
    "keywords": "MKBHD MarquesBrownlee Marques Brownlee",
    "isFamilySafe": true,
    "avatarUrl": "https://yt3.googleusercontent.com/...=s900-c-k-c0x00ffffff-no-rj",
    "bannerUrl": "https://yt3.googleusercontent.com/...=w2560-...",
    "isVerified": true,
    "url": "https://www.youtube.com/@mkbhd",
    "rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ",
    "lastVideoPublishedAt": "2026-11-11T18:43:56.000Z",
    "uploadsPerWeek": 1.96,
    "uploadsLast30Days": 8,
    "input": "@mkbhd"
}
```

Video (fields after `scrapedAt` appear only with video details):

```json
{
    "type": "video",
    "videoId": "hdMszZ2ah5Q",
    "url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
    "title": "Macbook PROLED Review: It's Not About That",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "channelName": "Marques Brownlee",
    "channelHandle": "@mkbhd",
    "channelUrl": "https://www.youtube.com/@mkbhd",
    "channelIsVerified": true,
    "viewCount": 5381421,
    "viewCountText": "5.3M",
    "likeCount": 70827,
    "publishedText": "2d ago",
    "publishedAtApprox": "2026-11-12",
    "publishedAt": "2026-11-11T18:43:56.000Z",
    "publishDate": "2026-11-11",
    "duration": "15:14",
    "durationSeconds": 914,
    "isShort": false,
    "isLive": false,
    "isUpcoming": false,
    "description": "Incredible laptop. But don't get distracted. ...",
    "thumbnailUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hq720.jpg?...",
    "thumbnailDefaultUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/default.jpg",
    "thumbnailMediumUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/mqdefault.jpg",
    "thumbnailHighUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hqdefault.jpg",
    "thumbnailStandardUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/sddefault.jpg",
    "thumbnailMaxUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/maxresdefault.jpg",
    "badges": [],
    "tab": "videos",
    "sortedBy": "latest",
    "position": 1,
    "input": "@mkbhd",
    "scrapedAt": "2026-11-14T15:56:24.273Z",
    "detailsLoaded": true,
    "likeRate": 1.316,
    "commentCount": 3900,
    "commentCountText": "3.9K",
    "publishDateText": "Nov 11, 2026",
    "hashtags": [],
    "tags": null,
    "category": "Science & Technology",
    "chapters": [],
    "captionLanguages": ["en", "ja"],
    "hasAutoCaptions": true,
    "channelSubscriberCount": 21400000
}
```

Playlist:

```json
{
    "type": "playlist",
    "playlistId": "PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
    "playlistKind": "show",
    "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
    "title": "Retro Tech S2",
    "videoCount": 5,
    "videoCountText": "5 episodes",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "channelName": "Marques Brownlee",
    "tab": "playlists",
    "position": 1
}
```

Error row (free) for an input that is not a channel or does not exist:

```json
{ "type": "error", "input": "@no-such-channel-123", "url": "https://www.youtube.com/@no-such-channel-123/about?hl=en&gl=US", "error": "Channel not found (it does not exist, was deleted or the handle is misspelled)" }
```

The dataset has three ready views (All rows, Channels, Videos) and exports to JSON, CSV, Excel or HTML.

### Pricing

Pay per result, no start fee. Subscription tiers get lower prices automatically.

| Event | What is charged | Price |
|---|---|---|
| `channel` | every channel record saved | **$0.30 per 1,000** |
| `video` | every saved video, Short or stream | **$0.25 per 1,000** |
| `video-details` | every video whose page was read for full details (on top of `video`) | **$0.50 per 1,000** |
| `playlist` | every playlist record saved | **$0.25 per 1,000** |

- Example: 100 channels with their 30 latest videos = 100 × $0.0003 + 3,000 × $0.00025 = **$0.78**.
- Channel data only (`maxVideosPerChannel: 0`) or channel discovery by keyword: $0.30 per 1,000 channels.
- **Monitoring:** videos you already received are never charged again. In Channel data mode the channel record is saved and charged on every run ($0.0003 per channel); in **New-video monitor** mode there is no channel record, so a run with no new uploads costs nothing.
- **Free:** channels skipped by the subscriber filter, channels that do not exist, invalid input and all error rows.
- The run stops when your spending limit is reached. The Pricing tab of the actor always shows the current prices.

### Limits (honest)

- **Rich list data for the first 100 videos per kind**, both for latest and for most popular (one playlist page holds 100). Beyond that the archive walk returns title, duration, thumbnails and playlist index; `viewCount`, `publishedText` are empty there unless video details are on.
- **View counts on channel tabs and playlists are rounded** by YouTube (`5.3M` → 5,300,000). They are exact for the 15 latest uploads (from the feed), for search-inside-channel results and with video details. Subscriber counts are always rounded by YouTube; channel total views and video count are exact.
- **Members-only videos** show no view count on YouTube, so `viewCount` is empty for them; such rows carry `"Members only"` in `badges`.
- **Exact publish time** (`publishedAt`) is available for the 15 latest uploads of a channel (the feed mixes videos, Shorts and streams) and, with video details, when YouTube serves player data. Otherwise use `publishedAtApprox` (computed from "2 days ago") or `publishDate` from video details.
- **RSS monitor mode** returns at most the 15 latest uploads per channel, without duration, Shorts flag or channel record. Run it often enough for channels that publish more than 15 videos between runs.
- **Shorts** on list pages come without upload time and duration.
- **Video details:** tags, category, exact publish time, caption languages and the family-safe flag come from the page's player data, which YouTube serves to cloud IPs only part of the time; they are `null` otherwise. The scraper does not try to get around that.
- **No transcripts, no comment texts, no dislikes, no emails.** Caption files require a player token; the business email is behind a login and a CAPTCHA.
- Playlists: the first page of the Playlists tab (about 30). Channel discovery: about 20 channels per keyword page, up to ~40.
- Channels that hide their subscriber count return `subscriberCount: null`. `country` and `links` are empty when the channel has not set them.
- A channel that does not exist, or an input that is not a YouTube channel, produces a free error row (`type: "error"`) and is counted in the run's status message. If none of your inputs could be scraped, the run ends as failed.
- **Channel name in words** is resolved through YouTube's channel search (top result) - check `handle` in the channel row; for an exact match use the @handle or URL. A video link resolves to the channel that published the video.
- **Subscriber filters** use YouTube's rounded subscriber count; channels with a hidden count are skipped when a filter is set. In RSS monitor mode the filter works only for channels found by keyword.
- **Only new videos:** with Latest order the scraper checks the latest N uploads (N = max videos per channel and kind); videos older than those you already received are archive, not news, and are not returned. With Most popular or search inside a channel, already received videos do not use up the limit, so each run returns the next N.

### Feedback and support

- **Did it save you time?** A [rating on the Store page](https://apify.com/solidrows/youtube-channel-scraper/reviews) helps other users find this Actor. It takes 10 seconds.
- **Something wrong or missing?** [Open an issue](https://apify.com/solidrows/youtube-channel-scraper/issues) with the input you used. We answer within 48 hours and fix broken runs first.
- **Never a silent empty run.** If the site blocks us and nothing is scraped, the run fails with a clear message and no results are charged.

### FAQ

**Do I need a YouTube API key or an account?** No. The scraper reads public channel pages and feeds with no login and no cookies tied to you.

**How do I monitor channels for new videos?** Turn on **Only new videos** and schedule the run (hourly or daily). For the lowest cost choose **Mode = New-video monitor**. Add a webhook or an integration (Slack, Google Sheets, Make, Zapier) on the run's dataset.

**How do I reset the monitoring memory?** Delete the key-value store named `youtube-channel-scraper-state` in your Apify Storage (or just the `seen-<channelId>` key of one channel).

**Can I get all videos of a channel?** Yes, set **Max videos per channel and kind** above 100 - see Limits for which fields older videos carry - and turn on video details if you need views and dates for all of them.

**Can I give channel URLs with a tab, like `/@NASA/videos`?** Yes, any URL of the channel works - and so does a link to one of its videos or Shorts.

**The run failed with "No channel could be scraped".** None of your inputs was a channel YouTube knows (see the error rows for each input), or YouTube could not be reached. Nothing was charged.

**Is it legal?** The scraper collects only publicly available data that anyone sees without logging in, and no private personal data. You are responsible for how you use the data.

# Actor input Schema

## `channels` (type: `array`):

YouTube channels, one per line - as many as you need: @handles (@mkbhd), channel URLs (https://www.youtube.com/@mkbhd, /channel/UC..., /c/..., /user/...) or channel IDs (UC...). You can also paste a link to any <b>video, Short or youtu.be link</b> - the scraper takes the channel that published it - or type the <b>channel name</b> in words (e.g. Linus Tech Tips): the top channel from YouTube's channel search for that name is used. Inputs that cannot be recognised or do not exist produce a free error row.

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

Optional. Keywords to discover channels (YouTube search with the "Channels" filter). Every channel found is scraped like the channels listed above.

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

How many channels to take for each keyword. YouTube shows about 20 channels per results page; above 20 the scraper also reads the page sorted by popularity (up to ~40 unique channels).

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

<b>Channel data + videos</b>: a channel record plus videos from the channel's tabs. <b>New-video monitor</b>: reads only the channel's public RSS feed - the 15 latest uploads with exact publish time, exact views and likes and the full description; no channel record, no duration. Combine it with "Only new videos" and a schedule to watch hundreds of channels for new uploads.

## `includeVideos` (type: `boolean`):

Save regular (long-form) videos of the channel.

## `includeShorts` (type: `boolean`):

Save the channel's Shorts.

## `includeStreams` (type: `boolean`):

Save videos from the channel's Live tab: current, upcoming and past streams.

## `includePlaylists` (type: `boolean`):

Save the channel's playlists (first page of the Playlists tab, about 30) as playlist records: title, ID, URL, number of videos.

## `sortVideosBy` (type: `string`):

Latest uploads first, or the channel's most viewed videos first. In both orders the first 100 videos of each kind come with views and upload time on the list itself.

## `maxVideosPerChannel` (type: `integer`):

Limit for each kind separately (videos, Shorts, streams). Up to 30 videos / 48 Shorts come from the channel tab in one request; up to 100 from the channel's public uploads playlist (one request). Above 100 the scraper walks the rest of the uploads playlist (about 80 videos per request) - those older videos come with title, duration and thumbnails only; turn on video details to get their views and dates. 0 = channel data only.

## `channelSearchQuery` (type: `string`):

Optional. A keyword to search within every channel (like the magnifier on a channel page). Up to 30 matching videos per channel, with exact view counts and description snippets, saved with tab = "search".

## `includeVideoDetails` (type: `boolean`):

Adds exact view count, exact like count, comment count, publish date, full description, hashtags and chapters to every video - and, when YouTube serves it, tags, category, exact publish time and caption languages. One extra request per video, so runs are slower. Charged as a separate event per video with details.

## `onlyNewVideos` (type: `boolean`):

Remember the videos returned for each channel in previous runs and save only videos you have not received yet. Ideal for scheduled monitoring of competitors or creators: videos you already received are never charged again. The first run returns everything and builds the memory. With <b>Sort = Latest</b> the scraper checks the latest N uploads (N = Max videos per channel and kind). With <b>Most popular</b> or search inside a channel, already received videos do not use up the limit - each run returns the next N you have not received. In Channel data mode the channel record is saved (and charged) on every run; choose Mode = New-video monitor to pay only for new videos.

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

Skip channels with fewer subscribers than this. A skipped channel produces no rows and is not charged; its videos are not fetched. Channels that hide their subscriber count are skipped when a subscriber filter is set. For channels found by keyword the filter is applied before the channel counts toward Max channels per keyword (when YouTube shows the subscriber count in search). Not applied in New-video monitor mode to channels given directly (the feed has no subscriber count).

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

Skip channels with more subscribers than this (same rules as Min subscribers). Subscriber counts are rounded by YouTube (e.g. 21.4M).

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

Apify Proxy (datacenter) is used by default and is enough for YouTube channel pages.

## Actor input object example

```json
{
  "channels": [
    "@mkbhd"
  ],
  "searchQueries": [],
  "maxChannelsPerQuery": 20,
  "mode": "channel",
  "includeVideos": true,
  "includeShorts": false,
  "includeStreams": false,
  "includePlaylists": false,
  "sortVideosBy": "latest",
  "maxVideosPerChannel": 10,
  "includeVideoDetails": false,
  "onlyNewVideos": false,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "channels": [
        "@mkbhd"
    ],
    "maxVideosPerChannel": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidrows/youtube-channel-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 = {
    "channels": ["@mkbhd"],
    "maxVideosPerChannel": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("solidrows/youtube-channel-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 '{
  "channels": [
    "@mkbhd"
  ],
  "maxVideosPerChannel": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call solidrows/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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