Youtube Comments Scraper avatar
Youtube Comments Scraper

Pricing

$0.40 / 1,000 results

Go to Store
Youtube Comments Scraper

Youtube Comments Scraper

Developed by

Imran Khalifa

Maintained by Community

Scrape YouTube comments with detailed author info. Extract comment text, likes, replies, timestamps, and channel details. Sort by relevance or newest. No proxies needed. Perfect for sentiment analysis and engagement tracking.

0.0 (0)

Pricing

$0.40 / 1,000 results

0

Monthly users

2

Last modified

8 hours ago

What 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
  • Channel information for comment authors

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 a YouTube video URL to scrape comments
  4. Choose the number of comments to scrape (default: 100)
  5. Select the sort order (Top Comments or Newest First)
  6. Click the "Start" button and wait for the data to be extracted
  7. 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 choose how many results you would like to extract and the sort order. Here's an example input in JSON:

1{
2  "videoUrl": "https://www.youtube.com/watch?v=pP44EPBMb8A",
3  "maxComments": 100,
4  "sortOrder": "relevance",
5  "includeRawData": false
6}

Output Sample

The scraped YouTube comments will be shown as a dataset which you can find in the Storage tab. Here's an example of the output in JSON:

1{
2  "comment_id": "UgxRn0_LUxzRP2MybPR4AaABAg",
3  "comment_text": "This is up there with their best songs.",
4  "like_count": 2,
5  "reply_count": 0,
6  "published_at": "2023-04-15T12:34:56Z",
7  "published_time_ago": "1 year ago",
8  "author": {
9    "channel_id": "UC1234567890",
10    "display_name": "Nonie Jay",
11    "profile_image_url": "https://yt3.ggpht.com/...",
12    "channel_url": "https://www.youtube.com/channel/UC1234567890",
13    "channel_details": {
14      "title": "Nonie Jay's Channel",
15      "description": "Music enthusiast",
16      "country": "US",
17      "created_at": "2020-01-01T00:00:00Z",
18      "created_time_ago": "3 years ago",
19      "statistics": {
20        "view_count": "10000",
21        "subscriber_count": "500",
22        "video_count": "50"
23      }
24    }
25  }
26}

In addition to this comments scraper, you might find these other YouTube tools useful:

YouTube Search API

Search YouTube videos, channels, and playlists using the YouTube Data API. Features comprehensive filtering options, automatic authentication, and detailed results including thumbnails and metadata. Perfect for content research, marketing analysis, and finding targeted videos.

Try YouTube Search API

FAQ

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?

Nope.

Can I integrate YouTube Comments Scraper with other apps?

Yes! 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, use the apify-client PyPi package.

Check out the Apify API reference docs for full details.

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

Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$0.40