# YouTube Scraper: Channels, Videos, Shorts & Search (`latam_data/youtube-scraper-channels-videos-shorts-search`) Actor

Scrape YouTube channels, search results, videos and Shorts: title, views, likes, duration, publish date, description, tags and subscribers. No API key, no quota, no login. Cheaper than alternatives.

- **URL**: https://apify.com/latam_data/youtube-scraper-channels-videos-shorts-search.md
- **Developed by:** [Cristian Camilo Gomez Diaz](https://apify.com/latam_data) (community)
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 videos

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

### What does YouTube Scraper do?

**YouTube Scraper** extracts data from **YouTube channels, search results, videos and Shorts** without an API key or login. For every video you get the **title, views, duration, publish date, thumbnail, channel and subscribers**, and with **full video details** also **exact views, likes, comment count, full description, tags and category**.

- 📺 **Channels**: every video, Short or live stream of any channel, latest or most popular first
- 🔎 **Search**: YouTube search results for any keyword, by relevance, date or views, with **rank**
- 🎬 **Single videos**: paste video or Shorts URLs to get their details
- 👍 **Likes, comments, tags and description** with full video details
- 🌍 **Any language and country**
- ⚡ **No API key, no quota, no login**, and cheaper than other YouTube scrapers

### Why scrape YouTube?

- 📈 **Influencer and creator research**: compare channels, views and engagement.
- 🏷️ **Competitor and brand monitoring**: track what competitors publish and how it performs.
- 🔍 **YouTube SEO**: see which titles, tags and lengths rank for your keywords.
- 🤖 **AI and data projects**: build video datasets for analysis, trend detection or LLMs.
- 🔔 **Alerts**: schedule the Actor and get new videos of any channel in Slack, Sheets or email.

### How to use it

1. Click **Try for free**.
2. Add **Channels** (URL, @handle or channel ID), **Search queries** and/or **Video URLs**.
3. Choose **Channel content** (Videos, Shorts, Live) and **Max videos**.
4. Turn on **Add full video details** if you need likes, tags and the full description.
5. Click **Start** and export the results as JSON, CSV, Excel or HTML, or use the API.

### Input example

```json
{
    "channels": ["https://www.youtube.com/@mkbhd", "@veritasium"],
    "channelTabs": ["videos", "shorts"],
    "sortBy": "latest",
    "searchQueries": ["iphone 17 review"],
    "videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
    "maxResultsPerSource": 100,
    "videoDetails": true
}
```

### Output example

```json
{
    "type": "video",
    "videoId": "Od6M0AXpcxQ",
    "title": "iPhone 18 Pro Impressions",
    "url": "https://www.youtube.com/watch?v=Od6M0AXpcxQ",
    "views": 28320408,
    "likes": 366677,
    "durationSeconds": 1034,
    "durationText": "17:14",
    "publishedText": "2 months ago",
    "dateText": "Sep 10, 2026",
    "publishedAt": "2026-09-10T00:00:00.000Z",
    "description": "...",
    "keywords": ["iphone", "apple"],
    "thumbnail": "https://i.ytimg.com/vi/Od6M0AXpcxQ/hq720.jpg",
    "channelName": "Marques Brownlee",
    "channelHandle": "@mkbhd",
    "channelId": "UCBJycsmduvYEL83R_U4JriQ",
    "channelSubscribers": 21400000,
    "rank": 1,
    "source": "channel/videos",
    "scrapedAt": "2026-11-18T17:40:00.000Z"
}
```

### How much does it cost?

This Actor uses **pay per result**: you pay only for the videos you get, plus a tiny start fee. Full video details are included in the price. See the **Pricing** tab for the current price. Apify's free plan includes monthly credits, enough for thousands of videos.

### Tips

- **Fast lists**: leave **Add full video details** off to get thousands of videos per minute.
- **Most popular videos of a channel**: set **Channel videos order** to Most popular.
- **Track keyword rankings**: the `rank` field is the position in search results. Schedule the Actor daily.
- **Find what people search for**: combine with our [Keyword Suggestions Scraper](https://apify.com/latam_data/keyword-suggestions-scraper-google-youtube-amazon-bing) for YouTube autocomplete ideas.
- **Turn videos' pages into text for AI**: use our [Website to Markdown Crawler for AI](https://apify.com/latam_data/website-to-markdown-crawler-for-ai).
- **News about a topic**: use our [Google News Scraper](https://apify.com/latam_data/google-news-scraper).
- **Podcasts too**: many YouTube shows are podcasts; get shows and episodes with our [Podcast Scraper](https://apify.com/latam_data/podcast-scraper-apple-podcasts-shows-charts-episodes).

### Integrations and API

Send results to Google Sheets, Airtable, Slack, Notion or a webhook with [Make](https://www.make.com/en/register?pc=latamdata), Zapier or n8n, or call the Actor from your code with the [Apify API](https://docs.apify.com/api/v2). New to Apify? [Create a free account here](https://apify.com?fpr=rfn03e).

Need ready-made data APIs? See [Zyla API Hub](https://zylalabs.com/a/f9jcfkz8). Scraping sites that block you? Proxies from [Webshare](https://www.webshare.io/?referral_code=v5e0reweus4m) or scraping APIs like [ScraperAPI](https://www.scraperapi.com/?fp_ref=camilo-66b5f5) and [ScrapeOps](https://scrapeops.io?fpr=camilo-1a3b24) help.

### Is it legal?

The Actor reads public YouTube pages and does not log in. It returns public video and channel data only: no comments, emails or private information. Respect YouTube's terms, creators' copyright and the laws that apply to you when you use the data.

### Feedback

Need another field or feature? Open an issue in the **Issues** tab.

# Actor input Schema

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

Channel URLs, @handles or channel IDs, for example https://www.youtube.com/@mkbhd, @mkbhd or UCBJycsmduvYEL83R_U4JriQ.

## `channelTabs` (type: `array`):

Which channel tabs to scrape: long videos, Shorts and/or live streams.

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

Latest videos first or most popular first.

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

Optional. Search YouTube like in the app, one query per line.

## `searchSort` (type: `string`):

Order of search results.

## `videoUrls` (type: `array`):

Optional. Individual video or Shorts URLs to get full details for.

## `maxResultsPerSource` (type: `integer`):

Maximum videos for each channel tab or search query.

## `videoDetails` (type: `boolean`):

Open each video to add likes, exact views, full description, tags, category and exact publish date. Slower.

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

Interface language for texts, for example en, es, pt.

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

Two-letter country code for search results, for example US, MX, BR.

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

Video pages opened at the same time when full details are on.

## Actor input object example

```json
{
  "channels": [
    "https://www.youtube.com/@mkbhd"
  ],
  "channelTabs": [
    "videos"
  ],
  "sortBy": "latest",
  "searchSort": "relevance",
  "maxResultsPerSource": 50,
  "videoDetails": false,
  "language": "en",
  "country": "US",
  "maxConcurrency": 5
}
```

# 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": [
        "https://www.youtube.com/@mkbhd"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("latam_data/youtube-scraper-channels-videos-shorts-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 = { "channels": ["https://www.youtube.com/@mkbhd"] }

# Run the Actor and wait for it to finish
run = client.actor("latam_data/youtube-scraper-channels-videos-shorts-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 '{
  "channels": [
    "https://www.youtube.com/@mkbhd"
  ]
}' |
apify call latam_data/youtube-scraper-channels-videos-shorts-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,latam_data/youtube-scraper-channels-videos-shorts-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/FfBrmbgSCQEC018tO/builds/cvFMdcXyErDp1na9P/openapi.json
