YouTube Comments Scraper - with Replies avatar

YouTube Comments Scraper - with Replies

Pricing

from $10.00 / 1,000 results

Go to Apify Store
YouTube Comments Scraper - with Replies

YouTube Comments Scraper - with Replies

Extract all comments and replies from any YouTube video. Get comment text, author, likes, reply count, and timestamps. Supports pagination for videos with thousands of comments.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Donny

Donny

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Categories

Share

YouTube Comments Scraper

What does YouTube Comments Scraper do?

YouTube Comments Scraper is a powerful Apify actor that extracts all comments and replies from any public YouTube video. It uses YouTube's internal InnerTube API to efficiently paginate through comments, extracting the comment text, author name, author channel ID, like count, reply count, published time, and other metadata for each comment. The scraper supports both top-level comments and threaded replies, giving you a complete picture of the conversation happening on any video.

This tool is ideal for sentiment analysis, audience research, competitor monitoring, content strategy planning, and social listening. Whether you are analyzing public opinion on a topic, monitoring brand mentions in video comments, or building a dataset for natural language processing research, this scraper provides clean, structured data ready for immediate use.

Features

  • Extract all comments from any public YouTube video using the InnerTube API
  • Scrape threaded replies for each top-level comment
  • Get author name, channel ID, comment text, like count, reply count, and timestamps
  • Detect hearted and pinned comments
  • Configurable maximum comment limit per video
  • Sort by top comments or newest first
  • Batch processing of multiple video URLs
  • Proxy support for reliable large-scale scraping
  • Fast and cost-effective at approximately $1 per 1,000 comments

How to Use

  1. Navigate to the actor's input page on Apify Console
  2. Add one or more YouTube video URLs to the "Video URLs" field
  3. Set the maximum number of comments to extract (default is 500)
  4. Choose whether to include replies (enabled by default)
  5. Select sort order: top comments or newest first
  6. Optionally configure proxy settings for reliability
  7. Click "Start" to begin the extraction
  8. Download results in JSON, CSV, Excel, or other formats from the Dataset tab

You can also call this actor programmatically via the Apify API or integrate it into automated workflows using the Apify client libraries for JavaScript, Python, and other languages.

Input Parameters

ParameterTypeDescriptionDefault
urlsArrayList of YouTube video URLs to scrape comments from (required)-
maxCommentsIntegerMaximum number of top-level comments per video (1-50,000)500
includeRepliesBooleanWhether to also scrape replies to each commenttrue
sortByStringSort order: "top" or "newest""top"
proxyConfigurationObjectProxy settings for the scraperNone

Output Data

Each scraped comment returns the following fields:

FieldTypeDescription
videoIdStringYouTube video ID
commentIdStringUnique comment ID
authorStringComment author display name
authorChannelIdStringAuthor's YouTube channel ID
textStringFull comment text
likeCountStringNumber of likes on the comment
replyCountIntegerNumber of replies
publishedTimeStringRelative publish time (e.g., "2 days ago")
isHeartedBooleanWhether the creator hearted the comment
isPinnedBooleanWhether the comment is pinned
isReplyBooleanWhether this is a reply to another comment
parentCommentIdStringParent comment ID (for replies only)
scrapedAtStringISO timestamp of when the data was scraped

Pricing

This actor is priced at approximately $1 per 1,000 comments scraped, making it one of the most affordable YouTube comment extraction solutions available. Actual costs depend on your Apify subscription plan and proxy usage.

Check out these other YouTube scrapers by quick_kirigami: