YouTube Video & Channel Scraper
Pricing
from $1.00 / 1,000 results
YouTube Video & Channel Scraper
Extract YouTube video metadata, channel details, timed transcripts, and search results — at 75% lower cost than alternatives.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
REXREUS D.O
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 months ago
Last modified
Categories
Features
Share
YouTube Video & Channel Scraper
Extract YouTube video metadata, channel details, timed transcripts, and search results — at 75% lower cost than alternatives.
HTTP-first · Innertube API · No headless browsers · Pay Per Result ($1.00 / 1,000 items)
Why This Actor?
| Capability | What You Get |
|---|---|
| Video Metadata | Title, views, duration, tags, description, publishedAt, thumbnails — from /player endpoint |
| Channel Intelligence | Subscribers, total views, total videos, avatar, banner, handle, country |
| Channel Tabs | Full Videos, Shorts, and Playlists feeds with pagination |
| Native Timed Transcripts | JSON3 timed captions → readable text + timestamps. No ASR cost. |
| Search Results | Keyword search scraping with view counts, durations, and channel info |
| Auto URL Detection | Handles video URLs, @handle, /channel/UC..., playlist, and search queries |
| Proxy Integration | Apify Proxy (Residential/Datacenter) with exponential backoff |
| Clean Flat Schema | Buyer-first fields. No raw API dump. CSV / Excel ready. |
🚀 Quick Start
- Open this Actor in Apify Console.
- Add YouTube URLs under Start URLs — paste any video, channel, or @handle URL.
- (Optional) Add Search Queries to scrape keyword results.
- Set Max Items and enable Include Transcripts if needed.
- Click Start and download results as JSON, CSV, or Excel.
Minimal input JSON:
{"startUrls": [{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" },{ "url": "https://www.youtube.com/@RickAstleyYT" }],"maxItems": 50,"includeTranscript": false}
How It Works
- Input URLs and queries are validated (YouTube domains only — SSRF-safe).
- Actor auto-detects URL type: video, channel, @handle, playlist, or search.
- Video data is fetched via Innertube
/playerPOST endpoint (no browser needed). - Channel data is fetched via
/browsewith tab params for Videos, Shorts, and Playlists. - (Optional) Transcripts are fetched from
captionTracks[].baseUrlas JSON3 timed text. - Search queries hit
/searchPOST endpoint with continuation token pagination. - All results are normalized to a flat schema and pushed to the Apify dataset.
Input
Full input options:
{"startUrls": [{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" },{ "url": "https://www.youtube.com/@RickAstleyYT" },{ "url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw" }],"searchQueries": ["apify web scraping", "javascript tutorial 2025"],"maxItems": 200,"maxVideosPerChannel": 100,"channelTabs": ["videos", "shorts", "playlists"],"includeTranscript": true,"transcriptLanguage": "en","proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | URL list | — | YouTube video, channel, @handle, or playlist URLs |
searchQueries | String list | [] | YouTube keyword search terms |
maxItems | Integer | 50 | Max total items across all sources |
maxVideosPerChannel | Integer | 50 | Max videos per channel tab |
channelTabs | Array | ["videos"] | Which channel tabs: videos, shorts, playlists |
includeTranscript | Boolean | false | Fetch native timed transcript for each video |
transcriptLanguage | String | "en" | Transcript language code (e.g. "en", "id", "es") |
proxyConfiguration | Object | disabled | Apify Proxy config — Residential recommended for large runs |
Output
Example video item:
{"type": "video","videoId": "dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channelId": "UCuAXFkgsw1L7xaCfnd5JJOw","channelTitle": "Rick Astley","viewCount": 1823368698,"likeCount": null,"durationSeconds": 213,"publishedAt": "2009-10-24T23:57:33-07:00","description": "The official video for Never Gonna Give You Up...","tags": ["rick astley", "never gonna give you up", "rickroll"],"thumbnailUrl": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp","transcript": null,"transcriptText": null,"httpStatus": 200,"status": "SUCCESS"}
Output fields:
| Field | Type | Description |
|---|---|---|
type | video / channel / search-result | Item type |
videoId | String | 11-character YouTube video ID |
title | String | Video or channel title |
channelId | String | YouTube channel ID (UC...) |
channelTitle | String | Channel display name |
viewCount | Integer | Total view count |
durationSeconds | Integer | Video duration in seconds |
publishedAt | String | ISO 8601 upload date |
description | String | Full video description |
tags | Array | YouTube video tags/keywords |
thumbnailUrl | String | Highest-resolution thumbnail URL |
transcript | Array | Timed segments [{startMs, durationMs, text}] |
transcriptText | String | Full transcript as plain text |
httpStatus | Integer | HTTP status code of the primary request |
status | String | SUCCESS / PARTIAL / NOT_FOUND / BLOCKED / ERROR |
Export as JSON, CSV, or Excel from the Apify Console dataset tab.
Cost, Limits & Proxy
| Scenario | Memory | Time | Proxy |
|---|---|---|---|
| 10 videos | 256 MB | ~5 sec | Optional |
| 100 channel videos | 256 MB | ~30 sec | Recommended |
| 1,000 search results | 256 MB | ~3 min | Recommended |
| Bulk scrape + transcripts | 256 MB | +10 sec/video | Residential |
Pricing: $1.00 per 1,000 items (Pay Per Result). 75% cheaper than streamers/youtube-scraper ($4.00/1k + $48/1k transcript minutes).
No proxy needed for low volume. Use Apify Residential proxies for high-volume runs (>1,000 items/hour) to prevent 429 rate-limiting.
Recipes
Scrape a single video with transcript:
{"startUrls": [{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }],"maxItems": 1,"includeTranscript": true,"transcriptLanguage": "en"}
Bulk channel scrape (all tabs):
{"startUrls": [{ "url": "https://www.youtube.com/@MrBeast" }],"channelTabs": ["videos", "shorts", "playlists"],"maxItems": 500,"maxVideosPerChannel": 200,"proxyConfiguration": { "useApifyProxy": true }}
Multi-keyword search for AI training data:
{"searchQueries": ["machine learning tutorial 2025","LLM fine-tuning guide","python for data science"],"maxItems": 300,"includeTranscript": true}
Troubleshooting
| Status | Cause | Fix |
|---|---|---|
BLOCKED | YouTube rate-limited your IP | Enable Apify Proxy with Residential group |
NOT_FOUND | Video/channel deleted or private | Verify URL — skip or exclude from inputs |
PARTIAL | Some fields missing from response | Expected for some channel formats — core fields still present |
ERROR | Network timeout or server error | Actor retries automatically 3 times |
| Empty dataset | No valid URLs or queries in input | Verify input includes at least one startUrl or searchQuery |
| No transcript | Video has no captions | Only videos with enabled captions return transcripts |
FAQ
Q: How much does this Actor cost?
A: $1.00 per 1,000 items (Pay Per Result). For 500 videos, that's $0.50. No monthly fees.
Q: Can I scrape private videos or channels?
A: No. Only public YouTube content is accessible. The Actor does not use authentication.
Q: Is this against YouTube's Terms of Service?
A: This Actor scrapes publicly available data using YouTube's own Innertube API — the same data your browser loads. It does not download copyrighted video files or access private data.
Q: Why are some channel fields null?
A: YouTube changes its response format periodically. The Actor degrades gracefully with status: PARTIAL — the channelId and channelTitle are always present.
Q: Can I get transcripts in languages other than English?
A: Yes — set transcriptLanguage to any BCP-47 code (e.g. "id", "es", "de"). Falls back to auto-generated captions if the selected language is unavailable.
Q: How fast is this Actor?
A: ~500-800ms per video (HTTP-only, no browser). Channel feeds with 100 videos take ~30 seconds. Much faster than browser-based alternatives.
Q: Can I schedule this Actor to run automatically?
A: Yes — use Apify Schedules in the Console to run it on a cron schedule.
Run Now
License
Copyright (c) 2026 REXREUS. All rights reserved.
This Actor is proprietary software. See LICENSE for full terms.
No republishing, rebranding, or redistribution permitted without written consent.