YouTube Video & Channel Scraper avatar

YouTube Video & Channel Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
YouTube Video & Channel Scraper

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

REXREUS D.O

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 months ago

Last modified

Categories

Features

Limited permissions

Share

YouTube Video & Channel Scraper

Scrape YouTube videos, channels, timed transcripts, and search results via fast HTTP API — no browser required

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)

Quick Start Apify Node.js 256MB Memory


Why This Actor?

CapabilityWhat You Get
Video MetadataTitle, views, duration, tags, description, publishedAt, thumbnails — from /player endpoint
Channel IntelligenceSubscribers, total views, total videos, avatar, banner, handle, country
Channel TabsFull Videos, Shorts, and Playlists feeds with pagination
Native Timed TranscriptsJSON3 timed captions → readable text + timestamps. No ASR cost.
Search ResultsKeyword search scraping with view counts, durations, and channel info
Auto URL DetectionHandles video URLs, @handle, /channel/UC..., playlist, and search queries
Proxy IntegrationApify Proxy (Residential/Datacenter) with exponential backoff
Clean Flat SchemaBuyer-first fields. No raw API dump. CSV / Excel ready.

🚀 Quick Start

  1. Open this Actor in Apify Console.
  2. Add YouTube URLs under Start URLs — paste any video, channel, or @handle URL.
  3. (Optional) Add Search Queries to scrape keyword results.
  4. Set Max Items and enable Include Transcripts if needed.
  5. 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

  1. Input URLs and queries are validated (YouTube domains only — SSRF-safe).
  2. Actor auto-detects URL type: video, channel, @handle, playlist, or search.
  3. Video data is fetched via Innertube /player POST endpoint (no browser needed).
  4. Channel data is fetched via /browse with tab params for Videos, Shorts, and Playlists.
  5. (Optional) Transcripts are fetched from captionTracks[].baseUrl as JSON3 timed text.
  6. Search queries hit /search POST endpoint with continuation token pagination.
  7. 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"]
}
}
FieldTypeDefaultDescription
startUrlsURL list—YouTube video, channel, @handle, or playlist URLs
searchQueriesString list[]YouTube keyword search terms
maxItemsInteger50Max total items across all sources
maxVideosPerChannelInteger50Max videos per channel tab
channelTabsArray["videos"]Which channel tabs: videos, shorts, playlists
includeTranscriptBooleanfalseFetch native timed transcript for each video
transcriptLanguageString"en"Transcript language code (e.g. "en", "id", "es")
proxyConfigurationObjectdisabledApify 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:

FieldTypeDescription
typevideo / channel / search-resultItem type
videoIdString11-character YouTube video ID
titleStringVideo or channel title
channelIdStringYouTube channel ID (UC...)
channelTitleStringChannel display name
viewCountIntegerTotal view count
durationSecondsIntegerVideo duration in seconds
publishedAtStringISO 8601 upload date
descriptionStringFull video description
tagsArrayYouTube video tags/keywords
thumbnailUrlStringHighest-resolution thumbnail URL
transcriptArrayTimed segments [{startMs, durationMs, text}]
transcriptTextStringFull transcript as plain text
httpStatusIntegerHTTP status code of the primary request
statusStringSUCCESS / PARTIAL / NOT_FOUND / BLOCKED / ERROR

Export as JSON, CSV, or Excel from the Apify Console dataset tab.


Cost, Limits & Proxy

ScenarioMemoryTimeProxy
10 videos256 MB~5 secOptional
100 channel videos256 MB~30 secRecommended
1,000 search results256 MB~3 minRecommended
Bulk scrape + transcripts256 MB+10 sec/videoResidential

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

StatusCauseFix
BLOCKEDYouTube rate-limited your IPEnable Apify Proxy with Residential group
NOT_FOUNDVideo/channel deleted or privateVerify URL — skip or exclude from inputs
PARTIALSome fields missing from responseExpected for some channel formats — core fields still present
ERRORNetwork timeout or server errorActor retries automatically 3 times
Empty datasetNo valid URLs or queries in inputVerify input includes at least one startUrl or searchQuery
No transcriptVideo has no captionsOnly 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

▶️ Open in Apify Console


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.