YouTube Comments Scraper

YouTube Comments Scraper

by streamers

Need to pull comments from YouTube videos for research, sentiment analysis, or community insights? Forget the official API's restrictive quotas. This ...

323,371 runs
10,431 users
Try This Actor

Opens on Apify.com

About YouTube Comments Scraper

Need to pull comments from YouTube videos for research, sentiment analysis, or community insights? Forget the official API's restrictive quotas. This YouTube Comments Scraper acts as your direct pipeline to YouTube comment data, without any limits on how much you can collect. You can scrape comments from a single video or scale up to process entire playlists or lists of video IDs. It captures everything: the full comment text, the author's username, the exact posting timestamp, plus the video's title and ID for easy organization. When the job is done, you get your data in clean, ready-to-use formats like JSON, CSV, or Excel. I use this for gathering customer feedback on product reviews, tracking brand mentions, or performing academic research on social discussions. It runs reliably in the cloud, handles the heavy lifting, and just delivers the structured data. If you've ever been blocked by an API limit, this is the straightforward solution.

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

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

What is YouTube Comment Scraper? YouTube Comments Scraper is a data extraction tool created for scraping comments from YouTube that goes beyond the standard YouTube API. As soon as you provide a video URL, you will be able to extract: - All comments from chosen YouTube videos - Comment text, author name, date posted, vote count, reply count - Whether it has been liked by the video’s creator - Total comment count ## How to use data extracted from YouTube comments - Monitor competitors’ comments to see mentions of your brand - Find current trends and opinions shared by commenters - Analyze comments to find potential for expansion - Use extracted data for sentiment analysis - Identify harmful or illegal comments - Get quick insight into what your community is doing and he opinions they hold ## How do I use YouTube Comment Scraper? YouTube Comments Scraper is designed to be user-friendly, even for those who have never extracted data from YouTube before. Here’s how you can use YouTube Comment Scraper to extract YouTube comment data: 1. Create an Apify account 2. Open YouTube Comments Scraper 3. Add one or more YouTube video URLs to scrape comments 4. Click the “Start” button and wait for the data to be extracted 5. Download your data in JSON, XML, CSV, Excel, or HTML For more information, watch our short video tutorial. https://www.youtube.com/watch?v=LOmod3V9pZw ## ⬇️ Input example The input for YouTube Comments Scraper should be a YouTube video URL. You can add as many URLs as you want, or even import a CSV file or Google Sheet with a prepared list of URLs. YouTube Comments Scraper input Once you’ve entered the URL, you can choose how many results you would like to extract and then click “Start.” Click on the input tab for a full explanation of an input example in JSON. json { "maxComments": 300, "startUrls": [ { "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "method": "GET" } ] } ## ⬆️ Output sample The scraped YouTube comments will be shown as a dataset which you can find in the Storage tab. Note that the output is organized as a table for viewing convenience, but it doesn’t show all the fields: YouTube Comments Scraper output You can preview all the fields and choose in which format to download the YouTube comments you’ve extracted: JSON, Excel, HTML table, CSV, or XML. Here below is the same dataset in JSON: json { "comment": "This is up there with their best songs.", "cid": "UgxRn0_LUxzRP2MybPR4AaABAg", "author": "@Nonie_Jay", "videoId": "bJTjJtRPqYE", "pageUrl": "<https://www.youtube.com/watch?v=bJTjJtRPqYE>", "commentsCount": 171, "replyCount": 0, "voteCount": 2, "authorIsChannelOwner": false, "hasCreatorHeart": false, "type": "comment", "replyToCid": null, "title": "Halestorm - Unapologetic [Official Audio]" }, ## Want to try other YouTube APIs and scrapers? If you want to extract specific YouTube data, you can use one of the specialized scrapers below, each built particularly for the relevant YouTube data scraping case, whether it's shorts, comments, or channels: - ▶️ YouTube Scraper - 🏎 Fast YouTube Channel Scraper - ▶️ YouTube Shorts Scraper - 📽️ YouTube Video Scraper by Hashtag If you need to download scraped YouTube videos, you can use YouTube Video Downloader. You can also combine YouTube data with that from other social networks using any of the following scrapers: - TikTok scrapers - Instagram scrapers - Facebook scrapers - Or try our other social media scrapers. Furthermore, you can use the power of AI agents to do multiple tasks at one. For example, our Comments Analyzer Agent can perform sentiment analysis of YouTube videos, or you could try our Influencer Discovery Agent for lead generation on TikTok videos. ## Integrating YouTube Shorts Scraper with other apps YouTube Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. These include Make, Zapier, Slack, Airbyte, GitHub, Google Drive, and plenty more. Alternatively, you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever YouTube Scraper successfully finishes a run, or initiate a new process, like ordering your data. ## FAQ ### Is YouTube comments scraping legal? Our YouTube scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping. ### Do I need proxies to scrape YouTube comments? If you run the scraper on the Apify platform, for successful YouTube scraping you will need residential proxies which are included in Apify's monthly Starter plan. For more details about how our pricing works, platform credits, proxies, and usage, see the platform pricing page. ### Can I use YouTube Comments Scraper with the API? Yes. You can do so using Apify API which will enable you to manage, schedule, and run any Apify Actors, including this one. The API also lets you access any datasets, monitor Actor performance, fetch results, create and update versions, and more. To access the API using Node.js, use the apify-client NPM package. To access the API using Python for scraping YouTube comments, use the apify-client PyPi package. Check out the Apify API reference docs for full details or click on the API tab for code examples. ### Can I use YouTube Scraper through an MCP Server? With Apify API, you can use almost any Actor in conjunction with an MCP server. You can connect to the MCP server using clients like ClaudeDesktop and LibreChat, or even build your own. Read all about how you can set up Apify Actors with MCP. For YouTube Scraper, go to the MCP tab and then go through the following steps: 1. Start a Server-Sent Events (SSE) session to receive a sessionId 2. Send API messages using that sessionId to trigger the scraper 3. The message starts the Amazon ASINs Scraper with the provided input 4. The response should be: Accepted ### Your feedback We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for YouTube Comment Scraper or simply found a bug, please create an issue on the Actor’s Issues tab.

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 Trial

Actor Information

Developer
streamers
Pricing
Paid
Total Runs
323,371
Active Users
10,431
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support