# YouTube Scraper: Videos, Comments, Transcripts & Channels (`signalqub/youtube-scraper-videos-comments-transcripts-channels`) Actor

Fast, zero-auth YouTube scraper. Extract public channels, videos, shorts, live streams, community posts, nested comments, and video transcripts.

- **URL**: https://apify.com/signalqub/youtube-scraper-videos-comments-transcripts-channels.md
- **Developed by:** [OluwaNifemi Jacob](https://apify.com/signalqub) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🚀 Ultimate YouTube Scraper

*Powered by [SignalQub](https://signalqub.com/endpoints/youtube) — The premier data extraction API for enterprise social media intelligence.*

The most comprehensive, blazing-fast, and zero-auth YouTube data extraction tool on the Apify platform. Whether you are conducting market research, performing sentiment analysis on comments, or building AI datasets using transcripts, this scraper delivers clean, structured data in seconds.

No official API keys, no OAuth tokens, and no quota limits to worry about. Just input a channel handle, video URL, or search keyword, and let the scraper do the heavy lifting.

### 🔥 Key Features & Extraction Modes

This scraper supports **10 distinct extraction modes**, covering every corner of YouTube's ecosystem:

1. 📊 **Channel Profile & Stats:** Extract subscriber counts, total views, channel descriptions, and banner/avatar imagery.
2. 🎬 **Channel Videos:** Scrape a channel's uploaded videos, including views, durations, and thumbnails.
3. 📱 **Channel Shorts:** Isolate and extract short-form vertical videos (YouTube Shorts).
4. 🔴 **Channel Live Streams:** Archive past, present, and upcoming live stream metadata.
5. 📂 **Channel Playlists:** Extract all public playlists created by a channel.
6. 💬 **Community Tab Posts:** Scrape text, polls, image attachments, and engagement metrics from the Community tab.
7. 🔍 **Single Video/Short Details:** Get deep metadata for any specific video, including likes, views, and recommended "watch next" videos.
8. 🗣️ **Video Comments:** Extract thousands of top or newest comments, including author names, like counts, and reply counts.
9. 📝 **AI Video Transcripts:** Download full, timestamped video transcripts/captions—perfect for AI summarization and NLP.
10. 🌍 **Global Keyword Search:** Search YouTube globally and scrape mixed results (Videos, Playlists, Channels) just like the native UI.

### 💡 Top Use Cases

- **Market Research & Competitor Analysis:** Monitor competitor upload schedules, video performance, and community engagement.
- **Sentiment Analysis:** Scrape thousands of comments to analyze viewer sentiment on product reviews or trending topics.
- **AI & NLP Training:** Extract timestamps and clean transcripts from tutorials, podcasts, and speeches to train Large Language Models (LLMs).
- **Influencer Discovery:** Use global search to find niche creators and scrape their channel stats to evaluate sponsorship potential.
- **Content Archiving:** Back up live stream data, community polls, and playlist structures.

### 🛠️ How to Use (Input Configuration)

We designed the input to be incredibly simple and "idiot-proof." You only need to fill out two main fields:

- **Extraction Mode:** Select one of the 10 modes from the dropdown.
- **Target:** Enter your target. The scraper is smart enough to auto-detect what you mean!
  - *For Channels:* Enter a handle (e.g., `@MrBeast`), a Channel ID, or a full channel URL.
  - *For Videos/Comments/Transcripts:* Paste the full YouTube URL (e.g., `https://www.youtube.com/watch?v=...`).
  - *For Search:* Just type your keyword (e.g., `React tutorial`).
- **Sort By (Optional):** Sort videos by "popular" or comments by "newest".

### 🗂️ Clean, Universal Output

To make your life easier, all 10 extraction modes map their highly-complex raw data into **5 universal, easy-to-read columns**.

Here is an example of what the JSON output looks like:

````json
[
  {
    "author": "MrBeast",
    "content": "I Survived 50 Hours In Antarctica",
    "metrics": "Views: 185000000 | Duration: 14:20",
    "url": "[https://www.youtube.com/watch?v=7_xXZ6VwX2s](https://www.youtube.com/watch?v=7_xXZ6VwX2s)",
    "media": "[https://i.ytimg.com/vi/7_xXZ6VwX2s/maxresdefault.jpg](https://i.ytimg.com/vi/7_xXZ6VwX2s/maxresdefault.jpg)"
  },
  {
    "author": "Anonymous_User123",
    "content": "This video is absolutely insane! The production quality is movie-level.",
    "metrics": "Likes: 45200 | Replies: 120",
    "url": "[https://www.youtube.com/@Anonymous_User123](https://www.youtube.com/@Anonymous_User123)",
    "media": "[https://yt3.ggpht.com/](https://yt3.ggpht.com/)..."
  }
]

# Actor input Schema

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

Select what you want to extract.
## `target` (type: `string`):

Enter a @handle (e.g. '@MrBeast'), Channel ID, full Video URL, or Search Keyword.
## `sort` (type: `string`):

Optional: How to sort Videos, Shorts, or Comments.

## Actor input object example

```json
{
  "mode": "channel_videos",
  "target": "@MrBeast",
  "sort": "latest"
}
````

# Actor output Schema

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

The extracted YouTube data stored in the default dataset.

# 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 = {
    "target": "@MrBeast"
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalqub/youtube-scraper-videos-comments-transcripts-channels").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 = { "target": "@MrBeast" }

# Run the Actor and wait for it to finish
run = client.actor("signalqub/youtube-scraper-videos-comments-transcripts-channels").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 '{
  "target": "@MrBeast"
}' |
apify call signalqub/youtube-scraper-videos-comments-transcripts-channels --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalqub/youtube-scraper-videos-comments-transcripts-channels"
        }
    }
}

```

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/bcMMpvzNL87nHEby7/builds/piLRnnqaUWbAljX0B/openapi.json
