YouTube Comments & Replies Scraper
Pricing
from $1.25 / 1,000 youtube comments
YouTube Comments & Replies Scraper
Fast direct YouTube comments & reply threads scraper. Extract top or newest comments from video URLs, IDs, or search queries with likes, author handles, pinned/hearted status, and keyword filters.
Pricing
from $1.25 / 1,000 youtube comments
Rating
0.0
(0)
Developer
Leopold saint
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 hours ago
Last modified
Categories
Features
Share
What does YouTube Comments & Replies Scraper do?
YouTube Comments & Replies Scraper is a fast, lightweight Apify Actor that extracts top or newest comments and nested reply threads from any public YouTube video, Short, or search query — using direct InnerTube JSON requests with no headless browser overhead and no YouTube API key required.
Extract clean comment text, parsed numeric like counts, reply counts, author handles and channel URLs, pinned/creator-hearted flags, timestamps, and optional keyword/like-threshold filtering for audience research, sentiment analysis, LLM/RAG datasets, and lead discovery.
With Apify, you get REST API access, scheduled monitoring, webhooks, Make/Zapier/n8n integrations, MCP server support for AI agents, and strict pay-per-event budget controls.
Why use YouTube Comments & Replies Scraper?
- Product & Customer Pain-Point Mining: Filter comments with
containsKeywords(e.g."pricing","alternative","bug","wish") across competitor tutorials and product reviews to uncover real buyer objections and feature requests. - Sentiment Analysis & Voice-of-Customer Datasets: Feed clean JSON/CSV comment corpora directly into LLMs, BI dashboards, or brand-monitoring pipelines.
- Reply Threads & Creator Engagement Signals: Optionally expand reply threads (
includeReplies: true) and filter byisPinned,isHeartedByCreator,authorIsCreator, andminLikes. - No Browser Bloat: Runs on 256 MB memory directly against YouTube's web JSON endpoints — fast, cheap, and reliable.
How to scrape YouTube comments
- Open YouTube Comments & Replies Scraper in Apify Console.
- Paste one or more YouTube video URLs, Shorts URLs, or video IDs — or supply YouTube search queries to auto-discover top videos.
- Choose Sort order (
topornewest), set Max comments per video, and toggle Include reply threads if you want nested replies. - Optionally add Minimum likes or Keyword filters so you only pay for relevant comments.
- Click Start and export your results as JSON, CSV, Excel, or HTML.
Input
Configure fields in the Input tab or send JSON via the Apify API:
{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"sortBy": "top","maxCommentsPerVideo": 50,"maxTotalComments": 100,"includeReplies": true,"maxRepliesPerComment": 5,"minLikes": 0}
Output
Each dataset item is one deduplicated comment or reply. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
{"commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg","videoId": "jNQXAC9IVRw","videoTitle": "Me at the zoo","videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw","channelName": "jawed","channelUrl": "https://www.youtube.com/@jawed","videoTotalCommentsText": "10,643,418 Comments","authorDisplayName": "@SanDiegoZoo","authorHandle": "@SanDiegoZoo","authorChannelId": "UC7kB1z9v3u","authorChannelUrl": "https://www.youtube.com/@SanDiegoZoo","authorAvatarUrl": "https://yt3.ggpht.com/...","authorIsCreator": false,"authorIsVerified": true,"isPinned": true,"isHeartedByCreator": true,"isReply": false,"parentCommentId": null,"text": "We're so honored that the first ever YouTube video was filmed here!","publishedTimeText": "6 years ago","likeCount": 4800000,"likeCountText": "4.8M","replyCount": 986,"sortBy": "top","scrapedAt": "2026-11-23T15:30:00.000Z"}
Data table
| Field | Type | Description |
|---|---|---|
commentId | string | Unique YouTube comment ID |
videoId | string | 11-character YouTube video ID |
videoTitle | string | Video title |
authorDisplayName | string | Comment author display name / handle |
authorChannelUrl | string | Direct URL to the commenter's YouTube channel |
text | string | Full comment text |
likeCount | number | Parsed numeric like count (e.g. 4.8M → 4800000) |
replyCount | number | Total replies on top-level comments |
isReply | boolean | true when the row is a reply inside a thread |
parentCommentId | string | Parent comment ID when isReply is true |
isPinned | boolean | Whether the creator pinned the comment |
isHeartedByCreator | boolean | Whether the channel creator hearted the comment |
publishedTimeText | string | Relative publish time reported by YouTube |
How much does it cost to scrape YouTube comments?
This Actor uses Pay-Per-Event (PPE) pricing with platform usage included:
- Free tier:
$2.00per 1,000 comments ($0.002/ comment) - Bronze tier:
$1.75per 1,000 comments ($0.00175/ comment) - Silver tier:
$1.50per 1,000 comments ($0.0015/ comment) - Gold / Platinum / Diamond tier:
$1.25per 1,000 comments ($0.00125/ comment) - Actor start:
$0.00005per run
Comments filtered out by minLikes or containsKeywords are never charged — you only pay for rows actually written to your dataset.
API, n8n, Make & AI Agent (MCP) integration
JavaScript / TypeScript (apify-client)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('leopoldsaint/youtube-comments-scraper').call({videoUrls: ['https://www.youtube.com/watch?v=jNQXAC9IVRw'],sortBy: 'top',includeReplies: true,maxTotalComments: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("leopoldsaint/youtube-comments-scraper").call(run_input={"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"sortBy": "newest","containsKeywords": ["pricing", "alternative"],"maxTotalComments": 100,})for c in client.dataset(run["defaultDatasetId"]).iterate_items():print(c["authorHandle"], c["likeCount"], c["text"][:120])
n8n, Make & Zapier (1-request HTTP API)
POST https://api.apify.com/v2/acts/leopoldsaint~youtube-comments-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKENContent-Type: application/json
AI Agents & MCP Server (Claude, Cursor, OpenAI)
Enable leopoldsaint/youtube-comments-scraper on Apify MCP (https://mcp.apify.com) so AI agents can extract audience objections, product feedback, and top questions directly from any YouTube video.
Tips & related Actors
- Full YouTube research stack: Pair with YouTube Video, Channel & Search Scraper, YouTube Transcript & Subtitles Scraper, and YouTube Channel & Creator Business Email Scraper.
- Keep runs fast on viral videos: Set
includeReplies: falsewhen scraping thousands of top-level comments across many videos, or enableincludeReplies: truewithmaxRepliesPerComment: 5to capture the best conversation threads without bloating volume.
FAQ, disclaimers, and support
- What if comments are disabled on a video? The Actor logs a warning, skips that video cleanly, and charges nothing for it.
- Legality & compliance: Only public YouTube comments are collected. Ensure your usage complies with applicable data privacy laws and platform terms.
- Questions or feature requests? Open an issue in the Issues tab on Apify Store.