Pricing
$18.00 / 1,000 results
YouTube Video Scraper
π¬ Extract YouTube video metadata, comments, captions, and channel info at scale. Pull titles, views, likes, durations, and thumbnails for any search query. Perfect for content research, competitor benchmarking, and NLP pipelines. Optional comment and subtitle extraction for deep analysis.
Pricing
$18.00 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
YouTube Video Scraper β Apify Actor
Scrapes YouTube video metadata, comments, transcripts, and channel information using Crawlee + Playwright.
Features
- β Extract video title, description, views, likes, duration, publish date
- β Channel name and URL
- β Video tags and thumbnail URL
- β Comments β author, text, date (optional)
- β Transcripts / captions (optional)
- β Search by query
- β Scrape all videos from a channel
- β Start from any list of video or channel URLs
- β Proxy support via Apify proxy
- β Configurable limits (max videos, max comments)
Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | array | [] | YouTube video or channel URLs |
searchQuery | string | β | YouTube search query |
channelUrl | string | β | YouTube channel URL (e.g. https://www.youtube.com/@channel) |
maxVideos | integer | 10 | Max videos to scrape (1β500) |
proxyConfiguration | object | Apify proxy | Proxy config |
includeComments | boolean | false | Scrape comments? |
maxComments | integer | 50 | Max comments per video (0β500) |
includeTranscripts | boolean | false | Scrape transcripts? |
language | string | en | Language code for UI / captions |
At least one of startUrls, searchQuery, or channelUrl must be provided.
Output
Each result is a JSON object with:
{"url":"https://www.youtube.com/watch?v=...","title":"Video Title","channelName":"Channel Name","channelUrl":"https://www.youtube.com/@channel","views":123456,"likes":7890,"publishDate":"Apr 15, 2025","description":"Full video description...","tags":["tag1","tag2"],"duration":"12:34","thumbnail":"https://i.ytimg.com/vi/.../hqdefault.jpg","comments":[{"author":"User Name","text":"Great video!","date":"2 days ago"}],"transcript":"Full transcript text..."}
If a video fails to scrape, the result contains url and an error field.
Local Development
# Install dependenciesnpminstall# Syntax checknpm run check# Run (requires Apify API token in env)npm start
Deployment
Deploy to Apify Console:
$npx apify push
Or use the Apify CLI:
npminstall-g apify-cliapify push
License
Apache 2.0
