Youtube Comments Scraper + Replies + AI Sentiment Analysis
Pricing
Pay per event
Youtube Comments Scraper + Replies + AI Sentiment Analysis
Extract all comments and replies from YouTube videos automatically. No API key required. Optional AI-powered sentiment analysis, emotion detection, toxicity scoring, and language detection. Perfect for market research, sentiment analysis, and engagement tracking.
Pricing
Pay per event
Rating
5.0
(2)
Developer

ParseForge
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
YouTube Comments Scraper
🚀 Extract all comments and replies from YouTube videos automatically. No API key required, perfect for market research, sentiment analysis, and engagement tracking.
This tool collects comprehensive comment data from YouTube videos, including all replies and nested conversations. Whether you're analyzing audience engagement, tracking brand mentions, or conducting market research, this scraper delivers complete comment threads with full context.
Target Audience: Market researchers, social media analysts, content creators, brand managers, and data analysts
Primary Use Cases: Sentiment analysis, engagement tracking, competitor analysis, audience research, and brand monitoring
What Does YouTube Comments Scraper Do?
This tool collects all comments and replies from YouTube videos, supporting both individual video analysis and bulk data collection. It delivers:
- Complete comment text and metadata
- All nested replies and conversation threads
- Author information including verification status
- Engagement metrics (likes, reply counts)
- Timestamp data (both absolute and relative)
- Video and comment identifiers for tracking
- Pinned and edited comment indicators
- Optional AI analysis: sentiment, emotions, toxicity, and language detection
Business Value: Understand your audience better, track engagement trends, monitor brand sentiment, and analyze competitor content performance with comprehensive comment data.
How to use the YouTube Comments Scraper - Full Demo
[Add YouTube demo video link here]
Watch this 3-minute demo to see how easy it is to get started!
Input
To start YouTube Comments web scraping, simply fill in the input form. You can scrape YouTube comments based on:
- startUrls - Enter one or more YouTube video URLs. Supports youtube.com/watch, youtu.be, and youtube.com/shorts URLs. Simply copy and paste the video links you want to analyze.
- maxItems - Maximum number of items (comments + replies) to extract per video. Free users are limited to 100 items. Paid users can process up to 1,000,000 items.
- includeReplies - Whether to include replies to comments. If disabled, only main comments will be scraped. Enabled by default.
- maxRepliesPerComment - Maximum number of replies to fetch per comment. Only used when Include Replies is enabled. Default is 100, maximum is 1,000.
- aiEnhancement - Enable AI-powered analysis for each comment. When enabled, adds sentiment analysis, emotion detection, toxicity scoring, and language detection to every comment. This may increase run time due to AI processing. Note: AI enhancement is only available for paid users. Free users can enable this option, but comments will be scraped without AI analysis.
Here's what the input configuration looks like in JSON:
{"startUrls": [{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"maxItems": 100,"includeReplies": true,"maxRepliesPerComment": 100,"aiEnhancement": false}
Output
After the Actor finishes its run, you'll get a dataset with the output. The length of the dataset depends on the amount of results you've set. You can download those results as an Excel, HTML, XML, JSON, and CSV document.
Here's an example of scraped YouTube comment data you'll get if you decide to scrape a video:
{"type": "comment","commentId": "Ugzge340dBgB75hWBm54AaABAg","parentId": null,"videoId": "dQw4w9WgXcQ","videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","authorName": "@YouTube","authorId": "UCBR8-60-B28hp2BmDPdntcQ","authorUrl": "https://www.youtube.com/@YouTube","authorThumbnailUrl": "https://yt3.ggpht.com/...","text": "can confirm: he never gave us up","likeCount": 162000,"replyCount": 960,"publishedAt": 1747089703939,"publishedTimeText": "8 months ago","isPinned": true,"isEdited": false,"isVerified": true,"scrapedAt": "2026-01-12T22:41:43.939Z"}
What You Get: Complete comment data including author information, engagement metrics, timestamps, and full conversation threads. Each comment includes its relationship to parent comments (for replies), making it easy to reconstruct entire conversation threads.
AI Enhancement Output
When aiEnhancement is enabled, each comment includes additional analysis fields:
{"type": "comment","commentId": "Ugzge340dBgB75hWBm54AaABAg","text": "This video is absolutely amazing! Best tutorial ever!","sentimentLabel": "positive","sentimentScore": 0.92,"confidence": 0.95,"toxicityScore": 0.02,"emotionLabel": "joy","language": "en"}
AI Enhancement Fields:
- sentimentLabel - Overall sentiment classification: "positive", "neutral", or "negative". Helps identify audience reactions and feedback patterns.
- sentimentScore - Numeric sentiment score from -1 (very negative) to 1 (very positive). Provides granular sentiment measurement for trend analysis.
- confidence - Confidence level in the sentiment analysis from 0 to 1. Higher values indicate more reliable analysis results.
- toxicityScore - Toxicity level from 0 (not toxic) to 1 (very toxic). Detects harmful content including hate speech, harassment, and insults for content moderation.
- emotionLabel - Detected primary emotion: "joy", "anger", "fear", "sadness", "disgust", "surprise", or "neutral". Understands emotional context of comments.
- language - ISO 639-1 language code (e.g., "en", "es", "fr", "pt", "de", "ja", "zh"). Automatically detects comment language for multilingual analysis.
Business Value of AI Enhancement:
- Sentiment Analysis: Track overall audience sentiment trends over time
- Content Moderation: Identify toxic comments automatically for review
- Emotion Detection: Understand emotional reactions to your content
- Language Detection: Analyze comments across different languages
- Confidence Scoring: Filter results by analysis reliability
Download Options: CSV, Excel, or JSON formats for easy analysis in your preferred tools.
Why Choose the YouTube Comments Scraper?
- Complete Data Collection: Extract all comments and replies, not just top-level comments. Get the full conversation context for better analysis.
- No API Key Required: Start scraping immediately without needing YouTube API credentials or dealing with rate limits.
- AI-Powered Analysis: Optional sentiment analysis, emotion detection, toxicity scoring, and language detection for every comment.
- Flexible Configuration: Control exactly what you collect with options to include/exclude replies and set per-comment reply limits.
- Business-Ready Output: Data is structured and ready for analysis in Excel, CSV, or JSON formats that work with your existing tools.
- Scalable Processing: Handle videos with thousands of comments efficiently, with support for up to 1,000,000 items per video.
Time Savings: Save hours of manual comment collection and copying. What would take days of manual work can be completed in minutes.
Efficiency: Process multiple videos simultaneously and get structured data ready for analysis, eliminating the need for manual data entry and formatting.
How to Use
- Sign Up: Create a free account w/ $5 credit (takes 2 minutes)
- Find the Scraper: Visit the YouTube Comments Scraper page
- Set Input: Add your YouTube video URLs (we'll show you exactly what to enter)
- Run It: Click "Start" and let it collect your data
- Download Data: Get your results in the "Dataset" tab as CSV, Excel, or JSON
Total Time: Less than 5 minutes from sign-up to downloaded data
No Technical Skills Required: Everything is point-and-click
Business Use Cases
Content Creators:
- Analyze audience engagement and feedback
- Track comment sentiment on your videos
- Identify trending topics and discussions
- Monitor competitor video performance
Market Researchers:
- Collect user opinions and feedback at scale
- Analyze sentiment trends over time
- Track brand mentions and discussions
- Study audience behavior and preferences
Social Media Analysts:
- Monitor brand reputation and mentions
- Track engagement metrics across videos
- Analyze comment patterns and trends
- Generate reports for stakeholders
Data Analysts:
- Build comprehensive comment databases
- Create sentiment analysis datasets
- Track engagement trends over time
- Support business decisions with data
Using YouTube Comments Scraper with the Apify API
For advanced users who want to automate this process, you can control the scraper programmatically with the Apify API. This allows you to schedule regular data collection and integrate with your existing business tools.
- Node.js: Install the apify-client NPM package
- Python: Use the apify-client PyPI package
- See the Apify API reference for full details
Frequently Asked Questions
Q: How does it work?
A: YouTube Comments Scraper is easy to use and requires no technical knowledge. Simply paste your YouTube video URLs and let the tool collect all comments and replies automatically.
Q: How accurate is the data?
A: The scraper extracts data directly from YouTube, ensuring 100% accuracy. All comments, replies, engagement metrics, and timestamps are captured exactly as they appear on YouTube.
Q: Can I scrape replies to comments?
A: Yes! By default, the scraper includes all replies. You can control this with the "Include Replies" option and set limits on how many replies to fetch per comment.
Q: Can I schedule regular runs? A: Yes, you can schedule the scraper to run automatically using Apify's scheduling features or the API. This is perfect for tracking engagement over time.
Q: What does AI Enhancement do? A: When enabled, AI Enhancement analyzes each comment using advanced AI technology to detect sentiment (positive/neutral/negative), emotions (joy, anger, fear, sadness, disgust, surprise, or neutral), toxicity levels, and language. This is useful for sentiment analysis, content moderation, understanding audience reactions, and multilingual analysis without manual review. Each AI-enhanced comment includes confidence scores to help you filter and prioritize the most reliable analysis results.
Q: Can free users use AI Enhancement? A: AI Enhancement is only available for paid users. Free users can enable this option in the input form, but comments will be scraped without AI analysis. To use AI Enhancement features, please upgrade to a paid plan.
Q: Does AI Enhancement cost extra? A: Yes, AI Enhancement uses additional processing resources and is charged per comment analyzed. The charge is applied only when AI Enhancement is enabled and successfully processes a comment. You can disable AI Enhancement to scrape comments without additional charges.
Q: What if I need help?
A: Our support team is here to help you get the most out of this tool. Contact us through the Apify platform for assistance.
Q: Is my data secure?
A: Yes, all data processing happens securely on Apify's platform. Your data is private and only accessible to you.
Integrate YouTube Comments Scraper with any app and automate your workflow
Last but not least, YouTube Comments Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform.
These includes:
Alternatively, you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever YouTube Comments Scraper successfully finishes a run.
🔗 Recommended Actors
Looking for more data collection tools? Check out these related actors:
| Actor | Description | Link |
|---|---|---|
| Auto Video Thumbnail Generator | Automatically generates thumbnails for videos | https://apify.com/parseforge/auto-video-thumbnail-generator |
| PR Newswire Scraper | Collects press releases and news from PR Newswire | https://apify.com/parseforge/pr-newswire-scraper |
| Hubspot Marketplace Scraper | Extracts business app data from HubSpot marketplace | https://apify.com/parseforge/hubspot-marketplace-scraper |
| Hugging Face Model Scraper | Collects AI model information from Hugging Face | https://apify.com/parseforge/hugging-face-model-scraper |
| Smart Apify Actor Scraper | Scrapes Apify actor data with quality metrics | https://apify.com/parseforge/smart-apify-actor-scraper |
Pro Tip: 💡 Browse our complete collection of data collection actors to find the perfect tool for your business needs.
Need Help? Our support team is here to help you get the most out of this tool.
⚠️ Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by YouTube or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.