YouTube Comments Scraper avatar

YouTube Comments Scraper

Pricing

from $0.30 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper

YouTube Comments Scraper

Extract comments and replies from any YouTube video. Scrape by video URL or channel. Get comment text, likes, replies, author info, and more. Fast bulk extraction — export to JSON, CSV, or Excel.

Pricing

from $0.30 / 1,000 comments

Rating

0.0

(0)

Developer

ScrapeForge

ScrapeForge

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Share

Extract comments and replies from any YouTube video. Fast, reliable, and no browser needed — pure HTTP-based extraction at scale.

Features

  • Fast extraction — Direct API calls, no browser emulation needed
  • Multiple input modes — Paste video URLs, channel URLs, or @handles
  • Reply support — Optionally fetch replies to each comment
  • Sort options — Get top comments or newest first
  • Low resource usage — Minimal memory and bandwidth (JSON only, no page rendering)
  • Automatic pagination — Fetches all comments, even on videos with thousands
  • Deduplication — No duplicate comments in your dataset

What data do you get?

Each comment includes:

FieldDescription
textFull comment text
likeCountNumber of likes on the comment
replyCountNumber of replies
publishedTimeWhen the comment was posted (e.g., "2 hours ago")
isPinnedWhether the comment is pinned by the creator
isHeartedWhether the creator hearted the comment
videoIdSource video ID
videoUrlSource video URL
author.nameCommenter's display name
author.channelIdCommenter's channel ID
author.channelUrlCommenter's channel URL
author.avatarUrlCommenter's profile picture URL
repliesArray of reply comments (when enabled)

Sample output

{
"commentId": "UgyBxGk...",
"text": "This video is amazing! Great explanation.",
"likeCount": 142,
"replyCount": 5,
"publishedTime": "2 days ago",
"isPinned": false,
"isHearted": true,
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"author": {
"name": "John Doe",
"channelId": "UCxxxxxxxxxxxxxxxxxxxxxxxx",
"channelUrl": "https://www.youtube.com/channel/UCxxxxxxxxxxxxxxxxxxxxxxxx",
"avatarUrl": "https://yt3.ggpht.com/..."
},
"replies": []
}

Input

FieldDescriptionDefault
videoURLsList of YouTube video URLs[]
channelURLsList of YouTube channel URLs or @handles[]
commentsPerVideoMax comments per video. Set to 0 for all comments0
maxRepliesPerCommentMax replies to fetch per comment. Set to 0 to skip0
sortBySort order: top or newesttop
proxyProxy configuration (recommended)Apify Proxy

Example input

{
"videoURLs": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"commentsPerVideo": 500,
"maxRepliesPerComment": 5,
"sortBy": "top"
}

Scraping comments from a channel

{
"channelURLs": [
"https://www.youtube.com/@MrBeast"
],
"commentsPerVideo": 100,
"sortBy": "newest"
}

Use cases

  • Sentiment analysis — Analyze audience reactions to products, campaigns, or creators
  • Brand monitoring — Track what people say about your brand across YouTube
  • Competitor research — Study engagement patterns on competitor content
  • Influencer vetting — Evaluate comment quality and authenticity before partnerships
  • Trend detection — Spot emerging topics and opinions in comment sections
  • Academic research — Collect data for social media studies and NLP projects
  • Content strategy — Understand what resonates with audiences by analyzing top comments

How it works

This scraper fetches comments in bulk without launching a browser or rendering any pages. It uses fast, efficient JSON requests under the hood. This means:

  • No scroll delays — Comments are fetched via pagination, not scrolling
  • Minimal bandwidth — Only JSON data is transferred, no HTML/CSS/JS/images
  • Low memory — Runs in 256MB, no browser overhead

Export formats

Export your data in JSON, CSV, Excel, XML, or HTML. Integrate via the Apify API, webhooks, or connect directly to Google Sheets, Slack, Zapier, Make, and more.

Limitations

  • Only public video comments are accessible
  • Comments disabled by the creator cannot be scraped
  • Age-restricted videos may not be accessible without authentication
  • YouTube may rate-limit requests from the same IP — use proxy for best results

Disclaimer

This is an unofficial actor and is not affiliated with, endorsed by, or sponsored by YouTube or Google. It is developed and maintained independently. YouTube is a trademark of Google LLC.

This actor accesses only publicly available data. Users are responsible for ensuring their use complies with YouTube's Terms of Service and all applicable laws. By using this actor, you agree that you are solely responsible for how you use the extracted data.