# Youtube Channel Scraper (`apidojo/youtube-channel-scraper`) Actor

The perfect tool for exceptional YouTube channel video retrieval tool. Experience unparalleled quickness and thoroughness in searching and directly obtaining videos from channels. Furthermore, it's incredibly affordable at only $0.50 per 1000 videos!

- **URL**: https://apify.com/apidojo/youtube-channel-scraper.md
- **Developed by:** [API Dojo](https://apify.com/apidojo) (community)
- **Categories:** Videos, Social media, Lead generation
- **Security:** Limited permissions
- **Stats:** 725 total users, 13 monthly users, 100.0% runs succeeded, 39 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.50 / 1,000 dataset items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Youtube Channel Scraper: One-stop shop for video retrieval from YouTube Channels

Introducing the Youtube Channel Scraper: the perfect tool for comprehensive YouTube channel video retrieval tool. Experience unparalleled quickness and thoroughness in searching and directly obtaining videos from channels. This tool provides various filters for customized data collection. It's essential for influencers who are seeking in-depth YouTube analysis and TV companies aiming to improve lead generation and customer insights.

**💰 Event-Based Pricing:** $0.005/keyword search (~20 channels FREE) | $0.015/channel query (~30-48 videos FREE) | $0.0005/additional video

### ℹ️ Disclaimer

This actor is specifically customized for retrieving videos from channels on [YouTube](https://youtube.com) and provides a big toolkit. Daily maintenance and perfect support is just the beginning. You name it, we get it.

### 💰 Pricing: Transparent Event-Based Costs

Pay only for what you scrape—no subscriptions, no hidden fees:

**Free users**: Limited to **5 runs per month**, each capped at **10 items**.

| Event Type | Price | What's Included |
| ---------- | ----- | --------------- |
| **Keyword Search** | **$0.005** per search | First ~20 channels included FREE (first page) |
| **Channel Query** | **$0.015** per channel | First ~48 shorts or ~30 videos included FREE (first page) |
| **Dataset Items** | **$0.0005** per video | Only charged for videos beyond the free first page |

#### 📊 Cost Examples

| Scenario | Charges | Calculation | Total Cost |
| -------- | ------- | ----------- | ---------- |
| **1 keyword search, 20 channels** | 1 search | $0.005 × 1 | **$0.005** |
| **1 channel, 30 videos** | 1 query | $0.015 × 1 | **$0.015** |
| **1 channel, 100 videos** | 1 query + 70 items | $0.015 + ($0.0005 × 70) | **$0.050** |
| **1 channel, 500 videos** | 1 query + 470 items | $0.015 + ($0.0005 × 470) | **$0.250** |
| **5 channels, 500 videos total** | 5 queries + 350 items | ($0.015 × 5) + ($0.0005 × 350) | **$0.250** |
| **10 channels, 1000 videos total** | 10 queries + 700 items | ($0.015 × 10) + ($0.0005 × 700) | **$0.500** |

### 🐉 Features and Functionality

- **Query Wizard:** This feature enables effortless construction of queries without requiring knowledge of complex search terms, making query building straightforward.
- Offers remarkable effectiveness and unmatched flexibility, suitable for a wide range of purposes.
- Delivers improved outcomes swiftly, ensuring timely access to vital information.
- Provides a broad selection of filtering options, encompassing specific time frames, targeting preferences, and more.
- Includes detailed data about users and channels for in-depth analysis.
- Supports numerous languages and countries, catering to global requirements with tailor-made solutions.
- Utilizes geo-targeting and geolocation for precise data targeting.

### 🆓 Demo Mode & Free Users

Users on the Free Plan can use the actor only in Demo Mode. **Free users can run the actor up to 5 times per month**, with each run capped at a maximum of 10 items — just enough to test it out. To use this actor without limitations, subscribe to a paid plan on Apify. [Subscribe here](https://apify.com/pricing?fpr=yhdrb).

### 👹 Competitors

There are a multiple [YouTube](https://youtube.com) Channel Scrapers in the market that serves to retrieve videos from the channels. However, either they are not well optimized enough, or just expensive.

| Feature | 🏯 Youtube Channel Scraper | Streamers Fast Youtube Channel Scraper | Runtime YouTube Channel Scraper
| ----- | ---- | ----------- | -------------|
| Query Wizard  | ✔️ | ❌ | ❌ |
| Pricing Plan  | Event-based (see above) | $1 per 1k results | Pay for Usage |
| Focus on Channel Retrieval | ✔️ | ✔️ | ✔️ |
| Search Data Range | Unlimited | Unlimited | Unlimited |
| Videos Per Second | 13 | 5 | 8 |
| Maximum Videos Per Input Limit  | ✔️ | ❌ | ❌ |
| Maximum Videos Total Limit  | ✔️ | ✔️ | ❌ |
| Collect Detailed User Info  | ✔️ | ✔️ | ✔️ |
| Scrape Channel URLs  | ✔️ | ✔️ | ✔️ |
| Advanced Channel Information | ✔️ | ✔️ | ✔️ |
| No Proxy Required | ✔️ | ❌ | ✔️ |

### 🎎 Who needs this?

Tailor-made engineering with perfectionist efficiency. The [YouTube](https://youtube.com) Channel Scraper is offering you the cheapest data around the market.

- **Market Research Firms**: For understanding consumer preferences, trends, and market analysis based on popular content in various sectors.
- **Music Industry Professionals**: For analyzing music video trends, understanding what works in terms of music promotion, and scouting new talent.
- **Digital Marketing Agencies**: To analyze competitors' video content strategies, trends, and audience engagement for client projects.
- **Content Creators and Influencers**: For researching trends, understanding what content performs well in their niche, and finding collaboration opportunities.
- **Educational Institutions and Online Educators**: To gather educational content and resources, and to analyze educational trends on YouTube for curriculum development.
- **Entertainment Industry Professionals**: Producers, directors, and scriptwriters can explore trending topics and gauge audience interests for new projects.
- **E-commerce Businesses**: To research product reviews, unboxing videos, and influencer marketing strategies relevant to their products.
- **News Agencies and Journalists**: For gathering news clips, interviews, and public opinion videos on various topics.
- **Public Relations Firms**: To monitor and analyze the public presence and perception of their clients through video content.
- **Sports Analysts and Organizations**: To study game footage, fan-created content, and analyze trends in sports-related content for marketing and engagement strategies.

### 🍜 Output Example

```
{
	"id": "lL2ZwXj1tXM",
	"title": "Three Days Grace - Never Too Late",
	"status": "OK",
	"url": "https://www.youtube.com/watch?v=lL2ZwXj1tXM",
	"description": "Three Days Grace's official music video for 'Never Too Late'. Click to listen to Three Days Grace on Spotify: http://smarturl.it/ThreeDaysGraceSpot?IQid=TDGNTL\n\nAs featured on The Collection: Three Days Grace. Click to buy the track or album via iTunes: http://smarturl.it/ThrDayGrClctiTunes?IQid=TDGNTL\nGoogle Play: http://smarturl.it/ThDayGrNTLplay?IQid=TDGNTL\nAmazon: http://smarturl.it/ThrDayGrClctAmz?IQid=TDGNTL\n\nCOMING SOON: https://smarturl.it/LessonXiOp/spotify\n\nMore from Three Days Grace\nAnimal I Have Become: https://youtu.be/xqds0B_meys\nI Hate Everything About You: https://youtu.be/d8ekz_CSBVg\nPain: https://youtu.be/Ud4HuAzHEUc\n\nFollow Three Days Grace\nWebsite: http://threedaysgrace.com/\nFacebook: https://www.facebook.com/threedaysgrace\nTwitter: https://twitter.com/threedaysgrace\nInstagram: https://instagram.com/threedaysgraceofficial/\nTumblr: http://threedaysgraceofficial.tumblr.com/\n\nSubscribe to Three Days Grace on YouTube: http://smarturl.it/ThreeDaysGraceSub?IQid=TDGNTL\n\nMore great 00s videos here: http://smarturl.it/Alternative00?IQid=TDGNTL\n\n---------\n\nLyrics:\n\nThis world will never be\nWhat I expected\nAnd if I don't belong\nWho would have guessed it\nI will not leave alone\nEverything that I own\nTo make you feel like it's not too late\nIt's never too late\n\nEven if I say\nIt'll be alright\nStill I hear you say\nYou want to end your life\nNow and again we try\nTo just stay alive\nMaybe we'll turn it all around\n'Cause it's not too late\nIt's never too late",
    "duration": 211,
    "views": 276328963,
    "likes": 1796037,
	"channel": {
		"id": "UCK-VRwguZP3cokOAxI0F1HA",
		"name": "ThreeDaysGraceVEVO",
		"url": "https://www.youtube.com/channel/UCK-VRwguZP3cokOAxI0F1HA"
	},
	"keywords": [
		"three days grace official",
		"three days grace live",
		"never too late official",
		"acoustic",
		"three days grace vevo",
		"never too late live",
		"the collection",
		"rock",
		"music",
		"three days grace lyrics",
		"explicit",
		"three days grace never too late",
		"instrumental",
		"three days grace",
		"clean",
		"vevo",
		"ThreeDaysGraceVevo",
		"guitar",
		"official",
		"download",
		"karaoke",
		"remix",
		"live 2015",
		"lyrics",
		"audio",
		"animal have become",
		"official video",
		"cover",
		"never too late lyrics",
		"never too late"
	],
	"isLive": false,
	"isPrivate": false,
	"thumbnails": [
		{
			"url": "https://i.ytimg.com/vi/lL2ZwXj1tXM/default.jpg",
			"width": 120,
			"height": 90
		},
		{
			"url": "https://i.ytimg.com/vi/lL2ZwXj1tXM/mqdefault.jpg",
			"width": 320,
			"height": 180
		},
		{
			"url": "https://i.ytimg.com/vi/lL2ZwXj1tXM/hqdefault.jpg",
			"width": 480,
			"height": 360
		},
		{
			"url": "https://i.ytimg.com/vi/lL2ZwXj1tXM/sddefault.jpg",
			"width": 640,
			"height": 480
		}
	],
	"streamingData": {
		"expiresInSeconds": "21540",
		"formats": [
			{
				"itag": 17,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=17&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2F3gpp&gir=yes&clen=2054082&dur=211.208&lmt=1700088631724665&mt=1703574783&fvip=4&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgHJsM3nhDaNGdxi8INLTSUmNcPNur7iKMAmiaQDNxGcwCIQCaQWDu_4E4Q6FGtWNmHvk5h0jfNnT0s34lAl-MEY2D8g%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/3gpp; codecs=\"mp4v.20.3, mp4a.40.2\"",
				"bitrate": 77851,
				"width": 176,
				"height": 144,
				"lastModified": "1700088631724665",
				"contentLength": "2054082",
				"quality": "small",
				"fps": 8,
				"qualityLabel": "144p",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 77803,
				"audioQuality": "AUDIO_QUALITY_LOW",
				"approxDurationMs": "211208",
				"audioSampleRate": "22050",
				"audioChannels": 1
			},
			{
				"itag": 18,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=211.185&lmt=1700088666564337&mt=1703574783&fvip=4&fexp=24007246&c=ANDROID_TV&txp=5538434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIhAOpP4cBlr7_hr2-FssaUTZ1GNI_fIX-0Aom6awFpLhTmAiAe4h0h_aMS0GKOrqjOZviZiElUN8V-RDj_S6QmKjJpAg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
				"bitrate": 294819,
				"width": 640,
				"height": 360,
				"lastModified": "1700088666564337",
				"quality": "medium",
				"fps": 30,
				"qualityLabel": "360p",
				"projectionType": "RECTANGULAR",
				"audioQuality": "AUDIO_QUALITY_LOW",
				"approxDurationMs": "211185",
				"audioSampleRate": "44100",
				"audioChannels": 2
			}
		],
		"adaptiveFormats": [
			{
				"itag": 135,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=135&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2Fmp4&gir=yes&clen=7625910&dur=211.110&lmt=1700088656528152&mt=1703574783&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgfZTP4JT8DaKUybSyOc24WnYGt36gF0vp-8kRe0OmMnUCIEP5RbdlRTkkkQHX4JWKRYUW87J0_Mk0l3rmvBfRxso1&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/mp4; codecs=\"avc1.4d401f\"",
				"bitrate": 499470,
				"width": 854,
				"height": 480,
				"initRange": {
					"start": "0",
					"end": "738"
				},
				"indexRange": {
					"start": "739",
					"end": "1250"
				},
				"lastModified": "1700088656528152",
				"contentLength": "7625910",
				"quality": "large",
				"fps": 30,
				"qualityLabel": "480p",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 288983,
				"approxDurationMs": "211110"
			},
			{
				"itag": 134,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=134&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2Fmp4&gir=yes&clen=4375540&dur=211.110&lmt=1700088653592334&mt=1703574783&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAMaEmmVnC2UDyq_iniQR3qFO-w7XAOL0C-uzlrr21-1fAiBb_thmO8ZpHKB4T8q0nEi49CggAbyH8G697Kb0v0Wf2Q%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/mp4; codecs=\"avc1.4d401e\"",
				"bitrate": 288148,
				"width": 640,
				"height": 360,
				"initRange": {
					"start": "0",
					"end": "738"
				},
				"indexRange": {
					"start": "739",
					"end": "1250"
				},
				"lastModified": "1700088653592334",
				"contentLength": "4375540",
				"quality": "medium",
				"fps": 30,
				"qualityLabel": "360p",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 165810,
				"highReplication": true,
				"approxDurationMs": "211110"
			},
			{
				"itag": 133,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=133&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2Fmp4&gir=yes&clen=2554653&dur=211.110&lmt=1700088654760198&mt=1703574783&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAPXEAstiQVFqKjy80KkufcD1ZR4ZndK3isLXMwPk7MvOAiAhXRyPZ6Kirt0ir6Dapr07oHB5IXNNQcuEqwKNQ7rrIg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/mp4; codecs=\"avc1.4d4015\"",
				"bitrate": 171873,
				"width": 426,
				"height": 240,
				"initRange": {
					"start": "0",
					"end": "738"
				},
				"indexRange": {
					"start": "739",
					"end": "1250"
				},
				"lastModified": "1700088654760198",
				"contentLength": "2554653",
				"quality": "small",
				"fps": 30,
				"qualityLabel": "240p",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 96808,
				"approxDurationMs": "211110"
			},
			{
				"itag": 160,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=160&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=video%2Fmp4&gir=yes&clen=1308733&dur=211.110&lmt=1700088675815342&mt=1703574783&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAIsxOAp_RvJinH5t3HcBugi7CF48kOsI0OBwa-LBsoBOAiALmOjkyRE_Ih4-m1ETaK4q-WuYF5OUpYAf8pvCVqz-eg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "video/mp4; codecs=\"avc1.4d400c\"",
				"bitrate": 86649,
				"width": 256,
				"height": 144,
				"initRange": {
					"start": "0",
					"end": "737"
				},
				"indexRange": {
					"start": "738",
					"end": "1249"
				},
				"lastModified": "1700088675815342",
				"contentLength": "1308733",
				"quality": "tiny",
				"fps": 30,
				"qualityLabel": "144p",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 49594,
				"approxDurationMs": "211110"
			},
			{
				"itag": 140,
				"url": "https://rr3---sn-q0c7rn7d.googlevideo.com/videoplayback?expire=1703596732&ei=XH6KZaeDD9iahcIPndm9wAo&ip=3.253.237.65&id=o-APHPDEvGe1UFfMZ_VU47edpIq_6slQsIo98y5bC2pPEH&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=VA&mm=31%2C29&mn=sn-q0c7rn7d%2Csn-q0cedn7s&ms=au%2Crdu&mv=m&mvi=3&pl=13&gcr=ie&initcwndbps=770000&vprv=1&mime=audio%2Fmp4&gir=yes&clen=3418563&dur=211.185&lmt=1700086767569630&mt=1703574783&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID_TV&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAMeM-l1iZQvTSl-Y27gcn5LfsJpKk28isN8j6Yk5XbLQAiEA6n0hHXNK-nz8eT-40CAya_VOUhdsGocnAgbMrr1XlDM%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AAO5W4owRQIgBLrIW8kM9AwDgjIUGUNYR89biFJHOQsSbf6UDdmnLm8CIQDgQvdSHK2RXkbkBPZyjUM9uJG_8Pmf_NZzbiCYcmxtNA%3D%3D",
				"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
				"bitrate": 130517,
				"initRange": {
					"start": "0",
					"end": "631"
				},
				"indexRange": {
					"start": "632",
					"end": "927"
				},
				"lastModified": "1700086767569630",
				"contentLength": "3418563",
				"quality": "tiny",
				"projectionType": "RECTANGULAR",
				"averageBitrate": 129500,
				"highReplication": true,
				"audioQuality": "AUDIO_QUALITY_MEDIUM",
				"approxDurationMs": "211185",
				"audioSampleRate": "44100",
				"audioChannels": 2
			}
		]
	}
}
```

### 🍚 Input Parameters

| Field | Type | Description | Default value
| ----- | ---- | ----------- | -------------|
startUrls | array | Paste the [YouTube](https://youtube.com) URLs, and get the results immediately. Channel URLs are supported. | `[]` |
youtubeHandles | array | Handles/Channels that you want to search on [YouTube](https://youtube.com). | `[]` |
keywords | array | Search keywords you want to search on [YouTube](https://youtube.com). | `[]` |
gl | string | Location for the search results, which is passed to [YouTube](https://youtube.com) as the gl URL query parameter. (US, AF, AL, etc...) | `us` |
hl | string | Language for the search results, which is passed to [YouTube](https://youtube.com) as the hl URL query parameter. (af, tr, de, etc...) | `en` |
sort | string | Sorts search results by the given option. Only works with search keywords. | `r` |
maxItems | number | Maximum number of items that you want to receive as output | `Infinity` |
customMapFunction | String | JavaScript function to transform each output item. Ignored with a warning if it is not a usable function. Not intended for filtering. More information in [Custom Map Function](#-custom-map-function) | `null` |
outputConnector | string | MCP connector to deliver the results to — pick one (see [Send results straight into Notion, Todoist and more](#-send-results-straight-into-notion-todoist-and-more-mcp-connectors)). | `null` |
deliverTarget | string | Where the connector writes — paste the URL or ID (Notion example: `https://www.notion.so/My-Videos-24f8a1b2c3d44e5f8a9b0c1d2e3f4a5b`); some services need none. | `null` |
deliverMode | string | `perPost` (one record per scraped video) or `summary` (one roll-up per run). | `perPost` |
deliverMaxItems | number | Optional cap on how many records `perPost` delivers (ignored in `summary`). | `null` |

### 🧩 Custom Map Function

Transform output using the `customMapFunction` parameter. This JavaScript function receives each video object and returns your desired format—flatten nested data, extract specific fields, or restructure for your pipeline.

**Important:** Custom map function is for data transformation—**not for filtering**. Filtering items may result in automatic restrictions. Returning an empty object does not remove the item from the dataset—it is saved as `{ "noResults": true }` instead.

#### Example: Simplified Output

```javascript
(object) => ({
  id: object.id,
  title: object.title,
  views: object.views,
  likes: object.likes,
  channelName: object.channel?.name
})
```

#### Requirements & Error Handling

The value must be a **single JavaScript function** that takes one item and returns the transformed item. Arrow functions and regular functions both work; `async` and generator functions are not supported.

**Limits:** the function runs in an isolated sandbox. It must be synchronous and finish within about 1 second per item, and only plain JavaScript is available (no network requests, `require` or `console`). Each item is passed in as plain JSON data.

**An unusable function never stops your run.** The actor logs a warning, ignores the function, and saves the original, unmodified items instead—so you still get your data:

| Situation | What happens |
| --------- | ------------ |
| Not valid JavaScript (for example, plain text pasted into the field) | Rejected before the first request; original items are saved |
| Valid JavaScript but not a function (for example, an object) | Rejected before the first request; original items are saved |
| `async` or generator function | Rejected before the first request; original items are saved |
| Returns a Promise (for example, `(object) => Promise.resolve(object)`) | Rejected at that point; the remaining items are saved unmodified |
| Returns something other than an object (for example, a number or `null`) | Rejected at that point; the remaining items are saved unmodified |
| Throws while transforming an item | Rejected at that point; the remaining items are saved unmodified |
| Takes longer than about 1 second on one item (for example, an endless loop) | Rejected at that point; the remaining items are saved unmodified |

If your output does not look transformed, check the run log for a warning that starts with `Your "customMapFunction" input was rejected:`—it explains exactly what was wrong.

If you do not need to transform the output, simply leave this field empty.

### 🔌 Send results straight into Notion, Todoist and more (MCP connectors)

Skip the manual exports — the scraper can deliver its results directly into the tools you already work in, through [Apify MCP Connectors](https://apify.com/store/collections/mcp-connectors?fpr=yhdrb):

1. Authorize a connector (Notion, Todoist, or any service whose MCP server offers non-destructive write tools) once in [Console → Settings → API & Integrations → MCP connectors](https://console.apify.com/settings/integrations).
2. Pick it from the **Send results to Notion, Todoist, …** dropdown.
3. Fill in where and how to write:
   - **Destination target** — paste the URL or ID (Notion example: `https://www.notion.so/My-Videos-24f8a1b2c3d44e5f8a9b0c1d2e3f4a5b`); share it with your connector first via Notion's **•••  → Connections** menu. For structured columns use a **page** URL (the Actor builds the database for you) or a database that **already has columns** — an empty database only receives titles. (Some services need no target.)
   - **Write mode** — `perPost` writes one record per scraped video; `summary` writes a single roll-up for the run.
   - **Max records to deliver** *(optional)* — cap on how many records `perPost` delivers.

**Notion, structured like a spreadsheet:** for a table of typed columns, point `target` at a Notion **page** — the Actor auto-creates a database from the data, one matching, correctly-typed column per field (URL, number, date, text). Pointing at an **existing database** fills the columns it already has (matched by name); an **empty database** receives only the title, and the rest of each record goes to the row body — the connector can't add columns to an existing database without destructive access it never requests. Nested fields are flattened into columns too — a `channel` object becomes `channel.id`, `channel.name`, `channel.url` and a list like `keywords` becomes a comma-joined column — so every video is sortable and filterable in the grid. The full record is also kept in each row's page body, so nothing is lost.

Your credentials stay yours: the Actor talks to your services exclusively through your own authorized connector and only ever uses non-destructive write tools — it cannot delete or overwrite anything you already have. Delivery is best-effort and runs after scraping: if a connector is misconfigured or a delivery fails, your run still finishes normally with all results intact — the failure is reported in the run log, never by failing the run. If the run is about to hit its timeout, delivery stops early so the run still succeeds, and the log tells you how many records were delivered.

### 🔧 Troubleshooting

- **Getting Few Results?** Check "Maximum number of items on output" (`maxItems`) field, and "Maximum charged results" fields. These two fields enable you to handle the total number of results. Leaving both empty will result infinite results.
- **Are Some Outputs Missing?** Ensure that you review all fields, not just the overview. You can navigate to the "Storage" tab and select either "Download the results" or "Open in a New Tab."
- **Getting No Results?** Confirm that your parameters are not overly restrictive.
- **Not Receiving New Items After a Large Batch?** Examine the log for messages like "Logging is too fast, some lines were skipped." If you encounter this issue, consider scraping smaller amounts of data to avoid it.

### 📞 Contact and Feature Requests

If you need any sort of support, please send an email to <apidojo10@gmail.com>. You name it, we get it.

### 🈴 Other Actors you might want to check

- [Twitter Scraper Lite](https://apify.com/apidojo/twitter-scraper-lite?fpr=yhdrb)
- [Youtube Scraper](https://apify.com/apidojo/youtube-scraper?fpr=yhdrb)
- [Youtube Comments Scraper](https://apify.com/apidojo/youtube-comments-scraper?fpr=yhdrb)
- [Youtube Channel Scraper](https://apify.com/apidojo/youtube-channel-scraper?fpr=yhdrb)
- [TikTok Scraper](https://apify.com/apidojo/tiktok-scraper?fpr=yhdrb)
- [TikTok User Scraper](https://apify.com/apidojo/tiktok-user-scraper?fpr=yhdrb)

# Actor input Schema

## `startUrls` (type: `array`):

Paste the Youtube URLs, and get the results immediately. Channel URLs are supported.

## `youtubeHandles` (type: `array`):

Youtube handles that you want to search on Youtube

## `keywords` (type: `array`):

Search keywords you want to search on YouTube.

## `gl` (type: `string`):

Location for the search results, which is passed to YouTube as the gl URL query parameter. (US, AF, AL, etc...)

## `hl` (type: `string`):

Language for the search results, which is passed to YouTube as the hl URL query parameter. (af, tr, de, etc...)

## `sort` (type: `string`):

Sorts search results by the given option. Only works with search keywords.

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

Maximum number of items that you want as output.

## `customMapFunction` (type: `string`):

JavaScript function to transform each output video. Use to add computed fields, modify values, or remove unnecessary data. NOT intended for filtering - filtering may result in automatic bans. Must be a single synchronous function, e.g. (object) => { return {...object} }. It runs in a sandbox with plain JavaScript only (no network or require) and about 1 second per item. Leave empty if you do not need to transform the output - an unusable function is ignored and the original items are saved instead.

## `outputConnector` (type: `string`):

Pick an MCP connector you authorized in Console → Settings → API & Integrations → MCP connectors (e.g. Notion, Todoist — any service whose MCP server offers non-destructive write tools works best-effort). The scraped results are written through your own connector — the Actor never sees your third-party credentials. Only non-destructive write tools are used; it can never delete or overwrite your existing data.

## `deliverTarget` (type: `string`):

Where to write into the connector — paste the URL or ID. Notion example: https://www.notion.so/My-Posts-24f8a1b2c3d44e5f8a9b0c1d2e3f4a5b. Leave empty for services that need no target (e.g. Todoist Inbox, Slack). For Notion, share the page or database with your connector first (Notion's ••• → Connections menu), and point at a PAGE for structured columns (the Actor builds the database for you) — an empty database receives only the title (the rest of each record goes to the row's body).

## `deliverMode` (type: `string`):

perPost writes one record per scraped item; summary writes a single roll-up for the run.

## `deliverMaxItems` (type: `integer`):

Cap on how many records perPost mode writes to the connector; ignored in summary mode. Leave empty to deliver everything scraped.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.youtube.com/channel/UCIEv3lZ_tNXHzL3ox-_uUGQ",
    "https://www.youtube.com/channel/UCNIuvl7V8zACPpTmmNIqP2A"
  ],
  "youtubeHandles": [
    "@MrBeast",
    "@babishculinaryuniverse"
  ],
  "keywords": [
    "pixel art"
  ],
  "gl": "us",
  "hl": "en",
  "sort": "r",
  "maxItems": 1000,
  "customMapFunction": "(object) => { return {...object} }",
  "deliverMode": "perPost"
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        "https://www.youtube.com/channel/UCIEv3lZ_tNXHzL3ox-_uUGQ",
        "https://www.youtube.com/channel/UCNIuvl7V8zACPpTmmNIqP2A"
    ],
    "youtubeHandles": [
        "@MrBeast",
        "@babishculinaryuniverse"
    ],
    "keywords": [
        "pixel art"
    ],
    "sort": "r",
    "maxItems": 1000,
    "customMapFunction": (object) => { return {...object} }
};

// Run the Actor and wait for it to finish
const run = await client.actor("apidojo/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 = {
    "startUrls": [
        "https://www.youtube.com/channel/UCIEv3lZ_tNXHzL3ox-_uUGQ",
        "https://www.youtube.com/channel/UCNIuvl7V8zACPpTmmNIqP2A",
    ],
    "youtubeHandles": [
        "@MrBeast",
        "@babishculinaryuniverse",
    ],
    "keywords": ["pixel art"],
    "sort": "r",
    "maxItems": 1000,
    "customMapFunction": "(object) => { return {...object} }",
}

# Run the Actor and wait for it to finish
run = client.actor("apidojo/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 '{
  "startUrls": [
    "https://www.youtube.com/channel/UCIEv3lZ_tNXHzL3ox-_uUGQ",
    "https://www.youtube.com/channel/UCNIuvl7V8zACPpTmmNIqP2A"
  ],
  "youtubeHandles": [
    "@MrBeast",
    "@babishculinaryuniverse"
  ],
  "keywords": [
    "pixel art"
  ],
  "sort": "r",
  "maxItems": 1000,
  "customMapFunction": "(object) => { return {...object} }"
}' |
apify call apidojo/youtube-channel-scraper --silent --output-dataset

```

## MCP server setup

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