VOOZH about

URL: https://apify.com/streamers/youtube-comments-scraper

โ‡ฑ ๐Ÿ’ฌ Youtube Comments Scraper ยท Apify


Pricing

from $0.90 / 1,000 comments

Go to Apify Store

YouTube Comments Scraper

This alternative YouTube Data API has no limits or quotas. Extract YouTube comments data from one or multiple YouTube videos: full comment text, posting date, author username, video title, videoId. Download YouTube comments in JSON, CSV, and Excel.

Pricing

from $0.90 / 1,000 comments

Rating

4.8

(38)

Developer

๐Ÿ‘ Streamers

Streamers

Maintained by Apify

Actor stats

324

Bookmarked

18K

Total users

1.9K

Monthly active users

2.3 days

Issues response

3 hours ago

Last modified

Share

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.

โฌ‡๏ธ 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.

{
"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:

{
"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:

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:

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.

Error items

When the scraper cannot retrieve data for a given input โ€” for example a video is unavailable or has no comments โ€” it pushes an error item to the dataset instead of silently skipping it. Normal output items are never affected; you can tell them apart by the presence of an error field.

Error item structure

{
"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"input":"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"error":"VIDEO_UNAVAILABLE",
"note":"This video is not available"
}

Error codes reference

errorMeaning
CHANNEL_DOES_NOT_EXISTChannel URL points to a channel that does not exist
NOT_FOUNDPage was not found
VIDEO_UNAVAILABLEVideo is not available (deleted, region-blocked, etc.)
AGE_RESTRICTEDChannel is age-restricted and cannot be accessed without login
CHANNEL_HAS_NO_VIDEOSChannel exists but has no uploaded videos
CHANNEL_HAS_NO_LIVE_VIDEOSChannel exists but has no live videos
CHANNEL_HAS_NO_SHORTSChannel exists but has no Shorts
DATE_FILTER_TOO_STRICTVideos exist but none match the active date filter
NO_VIDEOSNo videos found on the page
NO_RESULTSNo results collected โ€” check that video-type limits are set above 0
NO_VALID_START_URLSAll provided start URLs were invalid or malformed
INVALID_INPUTActor failed due to bad configuration (run is also terminated)
NO_COMMENTSNo comments found for the video

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.

You might also like

YouTube Comments Scraper

scrapier/youtube-comments-scraper

Scrape YouTube video comments easily with the YouTube Comments Scraper. Extract usernames, comment text, timestamps, likes, and replies. Ideal for sentiment analysis, trend tracking, and audience research. Fast, reliable, and customizable for any video or channel URL.

Youtube Comment Scraper

supreme_coder/youtube-comment-scraper

Scrape comments from any youtube video or shorts in bulk.

276

5.0

Youtube Comments Scraper

scraper-engine/youtube-comments-scraper

YouTube Comments Scraper extracts comments from any public YouTube video or channel. Gather usernames, timestamps, likes, replies, and full comment text. Ideal for sentiment analysis, audience research, or content insights. Export clean structured data in JSON, CSV, or Excel.

๐Ÿ‘ User avatar

Scraper Engine

291

5.0

YouTube Scraper

streamers/youtube-scraper

YouTube crawler and video scraper. Alternative YouTube API with no limits or quotas. Extract and download channel name, likes, number of views, and number of subscribers.

88K

4.8

YouTube Comments Scraper API - Extract Video Comments Fast

apidojo/youtube-comments-scraper

YouTube Comments Scraper, the ultimate solution for extensive YouTube comments data retrieval. With its high-speed scraping abilities, it provides unmatched effectiveness and thoroughness. Additionally, its cost-effectiveness is unmatched, priced at just $0.50 per 1000 comments!

1.6K

4.6

Youtube Comments Api

caa_software/youtube-comments-api

This alternative YouTube Data API has no limits or quotas. Extract YouTube comments data from any YouTube video via Url or VideoId: full comment text, posting date, author username, video title, videoId. Download YouTube comments in JSON, CSV, and Excel.

28

4.3

YouTube Comments Scraper

api-ninja/youtube-comments-scraper

Export YouTube comments & replies to a structured dataset in minutes. Get author, text, likes, timestamps, and moreโ€”ready for analysis, dashboards, or archiving. Built for speed and reliability.

434

5.0

Youtube Comment Scrapper

deeper/youtube-comment-scrapper

Scrape comments on Youtube Video Pages. Just specify the video page urls to visit and how many comments you would like to collect. We'll get all meaningful information: comment text, author, publication date, number of likes and replies and video+channel url and id

๐Ÿ‘ User avatar

Deeper Scrapper

699

5.0

Youtube Comment Scraper

crawlerbros/youtube-comment-scraper

Scrape YouTube video comments with full metadata. Extracts comment text, author info, likes, timestamps, pinned/hearted status, and reply threads. Supports sorting by Top comments or Newest first.

40

5.0