Youtube Comments Scraper
by barrierefix
Scrape YouTube comments from entire channels with full reply threading and no API key required. Perfect for sentiment analysis, research, and monitoring public discussion.
Opens on Apify.com
About Youtube Comments Scraper
Need to pull YouTube comments for research, sentiment analysis, or just to see what people are really saying? This scraper is the one I use. It's built to handle the messy reality of YouTube comment sections, not just a quick demo. You can point it at an entire channel and it will systematically work through every video, grabbing all the comments and replies while keeping the conversation threads intact. That means you get the full context of a discussion, not just a jumbled list. It also handles deduplication automatically, which saves you a ton of cleanup time later. The best part? You don't need a YouTube API key, which removes a huge barrier to entry and lets you start scraping immediately. I've used it for projects analyzing audience engagement on specific channels and for gathering public opinion data on news topics. It's reliable for incremental runs too, so you can set it to check back for new comments on a playlist or channel without starting from scratch every time. If you need structured, usable comment data from YouTube, this is a straightforward and effective way to get it.
What does this actor do?
Youtube Comments Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
YouTube Comments Scraper
Scrapes YouTube comments from channels or specific videos without an API key. It handles reply threading, incremental updates, and includes built-in state management for resumable runs.
Key Features
- Channel or Video Scraping: Provide a channel URL or a list of specific video IDs.
- No API Key: Scrapes directly without authentication or quotas.
- Incremental Mode: When enabled, only harvests new comments since the last run, drastically reducing cost for scheduled tasks.
- Complete Reply Threading: Captures nested replies with parent-child relationships.
- State Management: Saves checkpoints after each video, allowing runs to be resumed if interrupted.
- Flexible Configuration: Control limits per video, date ranges, concurrency, and proxy usage.
How to Use
Configure the actor run via input JSON. You must provide either a channelUrl or an array of videoIds.
Example Inputs
Scrape specific videos:
{
"videoIds": ["dQw4w9WgXcQ", "jNQXAC9IVRw"],
"maxCommentsPerVideo": 100,
"includeReplies": true
}
Scrape a channel:
{
"channelUrl": "@veritasium",
"maxVideos": 10,
"maxCommentsPerVideo": 50,
"since": "2024-01-01",
"incrementalMode": true
}
Input Configuration
| Field | Type | Default | Description |
|---|---|---|---|
channelUrl |
string | - | Channel URL (e.g., @veritasium or full URL). |
videoIds |
array | [] |
Specific video IDs to scrape. |
maxVideos |
integer | 10 |
Max videos to process from a channel (1-1000). |
maxCommentsPerVideo |
integer | 100 |
Max comments to scrape per video (1-10000). |
includeReplies |
boolean | true |
Include nested comment replies. |
since |
string | - | Only process videos published after this date (YYYY-MM-DD). |
incrementalMode |
boolean | false |
Only harvest new comments since the last run. |
useResidentialProxies |
boolean | false |
Use residential proxies (recommended for heavy scraping; incurs higher cost). |
maxConcurrency |
integer | 2 |
Number of videos to process simultaneously (1-5). |
Output
Each comment is output as a structured JSON object. Example:
{
"commentId": "UgxKREPabcdefghijk",
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://youtube.com/watch?v=dQw4w9WgXcQ",
"videoTitle": "Rick Astley - Never Gonna Give You Up",
"videoPublishedAt": "2 years ago",
"text": "This song never gets old!",
"authorName": "John Doe",
"authorChannelId": "UCabcdefghijk123456789",
"likeCount": 42,
"replyCount": 3,
"publishedAt": "2 days ago",
"isReply": false,
"parentCommentId": null,
"scrapedAt": "2025-10-19T12:00:00.000Z"
}
Notes on Usage
- Pricing: You pay per comment successfully harvested. Using
incrementalModefor scheduled runs minimizes cost by avoiding duplicate work. - Proxies: For light scraping, datacenter proxies (default) are sufficient. For heavy, frequent, or concurrent runs, consider enabling
useResidentialProxies: true(additional cost applies). - Incremental Workflow: Set up a daily task with
incrementalMode: true. The actor tracks state, so each run only processes and charges you for new comments.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Youtube Comments Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- barrierefix
- Pricing
- Paid
- Total Runs
- 53
- Active Users
- 7
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support