SMART Youtube Comments Scraper (Pay per result)
Under maintenancePricing
from $2.00 / 1,000 results
SMART Youtube Comments Scraper (Pay per result)
Under maintenanceExtract YouTube comments instantly with author names, likes, replies, and complete data in just a few clicks! π
Pricing
from $2.00 / 1,000 results
Rating
5.0
(1)
Developer
Actor stats
0
Bookmarked
4
Total users
0
Monthly active users
6 months ago
Last modified
Categories
Share
π¬ YouTube Comments Scraper
Extract thousands of YouTube comments in minutes - no coding required. Get complete comment data including text, authors, likes, replies, and timestamps from any video.
β‘ Quick Start (30 seconds)
- π Copy this JSON into the Input editor
- βοΈ Replace the URL with your video
- βΆοΈ Click Start
{"startUrls":["https://www.youtube.com/watch?v=YOUR_VIDEO_ID"],"maxComments":100}
That's it! π No configuration needed. Download results as Excel, CSV, or JSON.
β¨ What This Actor Does
- β Extract all comments from any YouTube video (including Shorts)
- β Get comment text, author names, and timestamps
- β Track likes and reply counts for each comment
- β Capture complete reply threads
- β Export to Excel, CSV, JSON, XML, or HTML
- β Handle multiple videos in one run
- β No API key or YouTube account needed
- β Automatic proxy rotation prevents blocks
π― Use Cases
π Sentiment Analysis & Market Research
Track customer feedback and public opinion about products, brands, or topics mentioned in videos.
π¨ Content Strategy & Audience Insights
Understand what your audience cares about by analyzing comments on your videos or competitors' content.
π¨ Brand Monitoring & Crisis Management
Monitor brand mentions across YouTube to catch negative sentiment early and respond quickly.
π Academic Research & Social Media Studies
Collect data for research papers on online communities, discourse analysis, or viral content patterns.
π Competitive Intelligence
Analyze comments on competitor videos to understand their audience and identify gaps in the market.
π€ Influencer Marketing & Campaign Tracking
Measure engagement quality and audience sentiment on influencer partnerships or sponsored content.
π How to Use
π Step 1: Get the Video URL
Open YouTube and find the video you want to analyze. Copy the URL from your browser's address bar.
Supported formats:
- π¬ Regular videos:
https://www.youtube.com/watch?v=VIDEO_ID - π± Short URLs:
https://youtu.be/VIDEO_ID - β‘ YouTube Shorts:
https://www.youtube.com/shorts/VIDEO_ID
βοΈ Step 2: Configure Your Input
Paste the URL into the startUrls field. Want to limit results? Set maxComments (or leave it out for unlimited).
Pro tip: Set commentsSortBy to "1" for newest comments first, or "0" for top comments.
βΆοΈ Step 3: Start the Actor
Click the green Start button. Your extraction begins immediately - no waiting around!
π Step 4: Monitor Progress
Watch the log output to track extraction in real-time. Typical speed: 100-200 comments per minute.
πΎ Step 5: Download Your Data
Once complete, go to the Storage tab and download your results:
- π Excel (.xlsx) - Perfect for analysis in spreadsheets
- π CSV (.csv) - Import into databases or BI tools
- π§ JSON - For developers and custom processing
π§ Input Parameters (Full Reference)
| Parameter | Required? | Type | Default | What It Does |
|---|---|---|---|---|
startUrls | β YES | Array | β | YouTube video URLs to scrape |
maxComments | β No | Number | βΎοΈ unlimited | Max comments per video |
commentsSortBy | β No | String | "0" | "0" = π₯ top comments, "1" = π newest first |
proxyConfiguration | β No | Object | residential | Proxy settings (auto-configured) |
π‘ Input Examples
π Simple: Extract comments from one video
{"startUrls":["https://www.youtube.com/watch?v=v2AC41dglnM"],"maxComments":30,"commentsSortBy":"1"}
π Extract from multiple videos at once
{"startUrls":["https://www.youtube.com/watch?v=v2AC41dglnM","https://www.youtube.com/watch?v=44XYEeD1A1U","https://www.youtube.com/watch?v=pAgnJDJN4VA"],"maxComments":10}
π‘ Pro tip: maxComments: 10 means 10 comments from EACH video (30 total in this example).
π Sample Output
This is exactly what you'll get:
{"comment":"It's DECEMBER 12 2025, let's see how many are listening to this masterpiece of the ACDC","author":"@JonasSilva-i4x","voteCount":2000,"replyCount":209,"date":"2 weeks ago","type":"comment","videoId":"v2AC41dglnM","title":"AC/DC - Thunderstruck (Official Video)"}
π€ Output Data (What You Get)
Every comment includes these fields:
| Field | Type | Meaning |
|---|---|---|
π¬ comment | Text | The actual comment text |
π€ author | Text | Comment author's display name (e.g., @username) |
π voteCount | Number | Number of likes/thumbs up |
π replyCount | Number | Number of replies to this comment |
π
date | Text | Relative timestamp (e.g., "2 weeks ago") |
π·οΈ type | Text | "comment" for top-level, "reply" for nested |
π¬ videoId | Text | YouTube video ID |
πΊ title | Text | Video title |
π Advanced Configuration: Proxies
π For most users: The default proxy settings work perfectly. Skip this section!
π§ If you want custom proxy configuration:
By default, this actor uses residential proxies (real home internet connections) to prevent YouTube blocks. This is included automatically - no setup needed!
π Custom country targeting:
{"startUrls":["https://www.youtube.com/watch?v=v2AC41dglnM"],"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}}
π° Cost implications: Residential proxies cost ~$0.50-1.00 per 1,000 comments (already included in pricing above).
β Limitations
- π Cannot extract comments from private or unlisted videos (YouTube restriction)
- π Cannot access age-restricted content without authentication (YouTube restriction)
- β° Cannot get exact timestamps - only relative dates like "2 weeks ago" (YouTube API limitation)
- ποΈ Cannot extract deleted or removed comments (data no longer available)
- π Cannot bypass region-restricted videos (YouTube restriction)
- β‘ May encounter rate limiting on extremely high volumes (>100k comments/hour)
Important: These limitations are due to YouTube's platform restrictions, not actor capabilities.
π Getting Started Now
Ready to try it? Here's your 5-step quickstart:
- π Copy this example:
{"startUrls":["https://www.youtube.com/watch?v=YOUR_VIDEO_ID"],"maxComments":100}
-
βοΈ Replace
YOUR_VIDEO_IDwith your actual video ID -
βΆοΈ Click Start (the big green button!)
-
β±οΈ Wait 1-2 minutes (for 100 comments)
-
π₯ Download results as Excel, CSV, or JSON
That's it! You're done. No setup, no API keys, no hassle.
π‘ Common Questions
β How long does extraction take?
Typical speeds:
- β‘ 100 comments: ~30 seconds
- β±οΈ 1,000 comments: ~2-5 minutes
- π 10,000 comments: ~15-30 minutes
Note: Speed depends on video complexity, reply threads, and current YouTube API responsiveness.
β How much does this cost?
Pay-per-result pricing:
- π΅ ~$2.0 per 1,000 comments
- β Includes proxies, storage, and unlimited downloads
- π Free tier: Apify gives you $5/month credit (~2,500 comments free!)
β Do I need a YouTube account or API key?
No! π This actor works without any YouTube account, API key, or authentication. Just paste the video URL and click Start.
β Is scraping YouTube comments legal?
Yes. β This scraper only extracts publicly visible data - the same comments anyone can see on YouTube. No private data or emails are accessed. Always comply with YouTube's Terms of Service and applicable laws.
β Does this work with YouTube Shorts?
Yes! π± Shorts are fully supported. Just paste the Shorts URL like any regular video URL.
β What if the video has comments disabled?
If comments are disabled, the actor will complete with 0 results and log a message. No errors, no charges. π
β Will this break when YouTube updates?
Nope! π‘οΈ We actively monitor YouTube for changes and update the actor automatically. You'll be notified if any breaking changes require action.
β Can I use this through the API?
Yes! π Perfect for developers integrating into applications:
π» Node.js:
import{ ApifyClient }from'apify-client';const client =newApifyClient({token:'YOUR_API_TOKEN'});const run =await client.actor('smart_api/youtube-comments-scraper').call({startUrls:['https://www.youtube.com/watch?v=v2AC41dglnM'],maxComments:1000});const{ items }=await client.dataset(run.defaultDatasetId).listItems();
π Python:
from apify_client import ApifyClientclient = ApifyClient('YOUR_API_TOKEN')run = client.actor('smart_api/youtube-comments-scraper').call({'startUrls':['https://www.youtube.com/watch?v=v2AC41dglnM'],'maxComments':1000})items = client.dataset(run['defaultDatasetId']).list_items().items
β Can I integrate this with other tools?
Absolutely! π Apify integrates with:
- β‘ Zapier - Automate workflows
- π§ Make (Integromat) - Build scenarios
- π Google Sheets - Direct export
- π¬ Slack - Get notifications
- πͺ Webhooks - Custom integrations
β οΈ Troubleshooting
π« Problem: "No comments extracted" but comments are visible on YouTube
What it means: YouTube's API didn't return comments, or the video has comments disabled/restricted.
β Solution:
- β Verify comments are enabled on the video (check YouTube manually)
- β Try running the actor again (temporary YouTube API issues happen!)
- β Check if the video is age-restricted (requires login = may block scraping)
π΄ Problem: "Invalid URL" error
What it means: The URL format isn't recognized as a valid YouTube video URL.
β Solution:
- β Use one of these formats:
- π¬
https://www.youtube.com/watch?v=VIDEO_ID - π±
https://youtu.be/VIDEO_ID - β‘
https://www.youtube.com/shorts/VIDEO_ID
- π¬
- β Remove any extra parameters (e.g.,
&t=30s) if causing issues - β Ensure URL is inside the
startUrlsarray:["https://..."]
π Problem: Only getting partial results (fewer comments than expected)
What it means:
Either maxComments is limiting results, or YouTube's API stopped returning more data.
β Solution:
- β Remove or increase
maxCommentsparameter - β Try sorting by "newest" (
commentsSortBy: "1") instead of "top" - β Run again - YouTube sometimes has temporary pagination issues
β³ Problem: Actor times out or runs very slowly
What it means: Large comment volumes or slow YouTube API responses are causing delays.
β Solution:
- β Set
maxCommentsto limit extraction volume - β Check the video doesn't have 100k+ comments (split into multiple runs)
- β Contact support if timeout happens with <10k comments
π Problem: "Proxy error" or connection issues
What it means: Residential proxies had temporary connectivity issues.
β Solution:
- β Retry the run - proxy issues are usually temporary
- β Check Apify status page for platform-wide proxy issues
- β Contact support if proxy errors persist across multiple runs
π¬ Still stuck? Contact support at czajkowski.krystian@gmail.com - we respond within 48 hours!
π Support & Maintenance
β° Response time: We respond within 48 hours
βοΈ Contact: czajkowski.krystian@gmail.com
π€ How we help:
- π§ Troubleshooting extraction issues
- π Custom integration support
- π‘ Feature requests and suggestions
π οΈ Maintenance:
- π We actively monitor YouTube for platform changes
- π Updates are rolled out automatically when YouTube changes
- π’ You'll be notified if breaking changes affect your runs
π Version History
β¨ v1.0 β Initial release (December 2025)
- β Extract comments from YouTube videos
- β Support for Shorts and regular videos
- β Multiple output formats (Excel, CSV, JSON)
- β Automatic proxy rotation
- β Top comments and newest-first sorting
π Last updated: 2025-12-30
πͺ Commitment: We maintain this actor actively and update as YouTube changes.
