Youtube Comments Scraper
Pay $2.00 for 1,000 comments
Youtube Comments Scraper
Pay $2.00 for 1,000 comments
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.
Do you want to learn more about this Actor?
Get a demoWhat is YouTube Comment Scraper?
YouTube Comments Scraper is a data extraction tool created for scraping comments from YouTube. 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 a comment has creator's heart or whether its author is channel owner
- total comments count
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:
- Create an Apify account.
- Open YouTube Comments Scraper.
- Add one or more YouTube video URLs to scrape comments.
- Click the “Start” button and wait for the data to be extracted.
- Download your data in JSON, XML, CSV, Excel, or HTML.
⬇️ 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. Then choose how many results you would like to extract and click Start. Click on the input tab for a full explanation of an input example in JSON.
1{ 2 "videoUrls": [ 3 "<https://www.youtube.com/watch?v=dQw4w9WgXcQ>" 4 ] 5}
⬆️ 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:
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:
1{ 2 "comment": "This is up there with their best songs.", 3 "cid": "UgxRn0_LUxzRP2MybPR4AaABAg", 4 "author": "@Nonie_Jay", 5 "videoId": "bJTjJtRPqYE", 6 "pageUrl": "https://www.youtube.com/watch?v=bJTjJtRPqYE", 7 "commentsCount": 171, 8 "replyCount": 0, 9 "voteCount": 2, 10 "authorIsChannelOwner": false, 11 "hasCreatorHeart": false, 12 "type": "comment", 13 "replyToCid": null, 14 "title": "Halestorm - Unapologetic [Official Audio]" 15 }, 16 { 17 "comment": "Way better in SHOW 😂 ❤️it Lizzy!!", 18 "cid": "UgzggDW9vLDoz6Di0Vd4AaABAg", 19 "author": "@julesharger2786", 20 "videoId": "bJTjJtRPqYE", 21 "pageUrl": "https://www.youtube.com/watch?v=bJTjJtRPqYE", 22 "commentsCount": 171, 23 "replyCount": 0, 24 "voteCount": 0, 25 "authorIsChannelOwner": false, 26 "hasCreatorHeart": false, 27 "type": "comment", 28 "replyToCid": null, 29 "title": "Halestorm - Unapologetic [Official Audio]" 30 }, 31 { 32 "comment": "Can't believe it's been almost 5 years since this album came out!! ❤❤", 33 "cid": "UgzU858E1UQw5IoHvDl4AaABAg.9mJwFj7qgRy9mwX1IjDiuZ", 34 "author": "@mondler107", 35 "videoId": "bJTjJtRPqYE", 36 "pageUrl": "https://www.youtube.com/watch?v=bJTjJtRPqYE", 37 "commentsCount": 171, 38 "replyCount": 0, 39 "voteCount": 2, 40 "authorIsChannelOwner": false, 41 "hasCreatorHeart": false, 42 "type": "comment", 43 "replyToCid": "UgzU858E1UQw5IoHvDl4AaABAg", 44 "title": "Halestorm - Unapologetic [Official Audio]" 45 }, 46...
Want to try other YouTube APIs and scrapers?
Use the dedicated scrapers below if you want to scrape specific public data from YouTube. Each of them is built particularly for the relevant scraping case be it videos, comments, or channel data. Feel free to browse them:
📹 YouTube Scraper | 🏎 Fast YouTube Channel Scraper | ▶️ YouTube Shorts Scraper |
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 ($49).
For more details about how our pricing works, platform credits, proxies, and usage, see the platform pricing page.
Can I integrate YouTube Comments Scraper with other apps?
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. You can integrate with LangChain, Make, Trello, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, Asana, and more.
You can also use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever YouTube Comment Scraper successfully finishes a run.
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.
How to use data after web scraping YouTube comments?
The data extracted from YouTube Comment Scraper can be used for a variety of purposes, including:
- Sentiment analysis to understand user feedback and reactions.
- Tracking trending topics or keywords through comment frequency.
- Studying user engagement and interaction with videos or channels.
- Incorporating user suggestions to enhance products or content.
- Understanding the audience's interests and demographics.
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 in Apify Console.
Actor Metrics
388 monthly users
-
33 stars
>99% runs succeeded
24 hours response time
Created in Jul 2023
Modified 5 hours ago