YouTube Comments Scraper — Replies, Shorts & Live
Pricing
from $0.85 / 1,000 comments
YouTube Comments Scraper — Replies, Shorts & Live
Scrape YouTube comments and replies with no login, no API key, and free empty runs ($0 per-comment charge). Export videos, Shorts & live streams to CSV, JSON, or Excel: text, author, likes, pinned/hearted flags & full reply threads. Top or newest order, $1/1K ($0.85 Gold).
Pricing
from $0.85 / 1,000 comments
Rating
0.0
(0)
Developer
Ben
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
12 days ago
Last modified
Categories
Features
Share
No login, no cookies, no YouTube API key, and free empty runs ($0 per-comment charge). YouTube Comments Scraper extracts public comments and nested reply threads from YouTube videos, Shorts, and live streams into clean JSON, CSV, or Excel datasets. Each row includes comment text, author handle and channel URL, likes, reply count, pinned and creator-hearted flags, and parent_id linking every reply to its parent comment.
- Pricing: $1.00 per 1,000 comments on Free, $0.95 on Bronze, $0.90 on Silver, $0.85 on Gold+ (half the Free-tier price of
streamers/youtube-comments-scraperat $2.00/1K). - Empty runs are free of comment charges: deleted videos, private videos, or videos with comments turned off emit 0 dataset rows ($0.00 comment fee; only Apify's $0.00005 run-start fee applies).
- Speed: direct HTTP requests with no headless browser — 50 comments in ~9 seconds, 3,000 comments in ~80 seconds.
How this Actor handles common YouTube comment scraper issues
| Issue reported on other YouTube comment scrapers | How this Actor handles it |
|---|---|
| "Returning only a few comments" / fewer rows than YouTube's count | Top order is capped by YouTube at ~1,000 comments for every visitor. Switch sort to "newest" to paginate past that cap, and turn on includeReplies because YouTube's header total includes replies. The status message states if top order hit YouTube's cap. |
| "Comments scraper is also returning video results in response" | Only comment and reply rows (record_type: "comment" or "reply") are written to the dataset. Video context (video_id, video_title, channel) is attached as fields on every row. |
| "Reply threads not included" | Set includeReplies: true to fetch replies right after each parent comment, linked via parent_id, with maxRepliesPerComment preventing one mega-thread from consuming your whole budget. |
| "Uncaught exception" on missing or comments-off videos | Missing, private, and comments-disabled videos are skipped cleanly without failing the batch, recorded in the SUMMARY key-value record, and incur $0 in comment charges. |
| "Timestamp for comments" | Public watch pages expose only relative age ("3 days ago"). This Actor returns published and is_edited honestly instead of inventing synthetic timestamps. |
Cost examples
You pay per saved comment or reply (apify-default-dataset-item), plus Apify's $0.00005 start fee per run.
| Comments saved | Free ($1.00 / 1K) | Bronze ($0.95 / 1K) | Silver ($0.90 / 1K) | Gold+ ($0.85 / 1K) |
|---|---|---|---|---|
| 0 (empty / comments off / deleted) | $0.00 comment fee | $0.00 comment fee | $0.00 comment fee | $0.00 comment fee |
| 100 comments | $0.10 | $0.095 | $0.09 | $0.085 |
| 1,000 comments | $1.00 | $0.95 | $0.90 | $0.85 |
| 10,000 comments | $10.00 | $9.50 | $9.00 | $8.50 |
Set Maximum cost per run (maxTotalChargeUsd) in run options to cap spend automatically — the Actor stops cleanly at your limit and reports it in the status message.
MCP & x402 for AI agents
AI agents can call this Actor directly through Apify MCP Server or over HTTP with Pay-Per-Event / x402 micropayments — no YouTube credentials or OAuth setup required.
Connect via Apify MCP (Claude Desktop, Cursor, Windsurf, OpenAI Agents)
Add this entry to your MCP client configuration:
{"mcpServers": {"youtube-comments": {"url": "https://mcp.apify.com/?tools=benthepythondev/youtube-comments-scraper","headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}}}}
Direct HTTP / x402 agent call
No Apify account? An AI agent can pay per run instead using a prepaid token via x402 or MPP stablecoin payment (or a Skyfire token) as the Bearer token with a spending cap — supported here because this Actor runs with limited permissions. See Apify agentic payments.
Run synchronously and receive JSON rows in one request:
curl -X POST "https://api.apify.com/v2/acts/benthepythondev~youtube-comments-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=0.25" \-H "Authorization: Bearer YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"maxResults": 100,"sort": "newest","includeReplies": true,"maxRepliesPerComment": 5}'
Use cases by role
- Brand & Social Media Managers: Monitor product launches, sponsored creator videos, and brand mentions on a schedule using
sort: "newest"and pipe new comments to Slack, Google Sheets, or a moderation queue. - YouTube Creators & Content Strategists: Mine recurring viewer questions, objections, and topic requests from top-performing videos and Shorts in your niche.
- AI / ML Engineers & Researchers: Build structured conversation datasets with preserved
parent_idreply trees, like counts, verified/creator badges, and pinned/hearted signals for sentiment models or RAG pipelines. - Product & Growth Marketers: Extract voice-of-customer quotes from competitor review videos and comparison roundups without hitting YouTube Data API daily quota limits.
Input
| Field | Type | Default | Description |
|---|---|---|---|
videoUrls | array of strings | ["https://www.youtube.com/watch?v=jNQXAC9IVRw"] | YouTube watch URLs, youtu.be links, /shorts/, /live/, /embed/, or bare 11-character video IDs. |
maxResults | integer | 50 | Maximum rows (comments + replies) saved per video, up to 100000. |
sort | string | "top" | "top" (YouTube default, capped at ~1,000–1,200) or "newest" (full pagination, best for exports and monitoring). |
includeReplies | boolean | false | When true, fetches replies right after each parent comment with parent_id set. |
maxRepliesPerComment | integer | 10 | Maximum replies saved per comment when includeReplies is true (1–1,000). |
Example input
{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw","https://youtu.be/9bZkp7q19f0"],"maxResults": 1000,"sort": "newest","includeReplies": true,"maxRepliesPerComment": 5}
Output
Every dataset row is either a top-level comment or a reply linked via parent_id:
{"record_type": "comment","id": "UgzuC3zzpRZkjc5Qzsd4AaABAg","url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg","video_id": "jNQXAC9IVRw","video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw","video_title": "Me at the zoo","channel": "jawed","text": "We're so honored that the first ever YouTube video was filmed here!","published": "6 years ago","is_edited": false,"likes": 4800000,"reply_count": 985,"author": "@SanDiegoZoo","author_channel_id": "UCC5NfQ6Mf0dq_eEwv4P_hWA","author_url": "https://www.youtube.com/@SanDiegoZoo","author_is_verified": true,"author_is_creator": false,"is_pinned": true,"is_hearted": true,"parent_id": null,"scraped_at": "2026-10-03T09:19:18.021692+00:00"}
A reply row links back to its parent comment through parent_id:
{"record_type": "reply","id": "UgzuC3zzpRZkjc5Qzsd4AaABAg.958xaQsh63D958yN1-HDaK","url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg.958xaQsh63D958yN1-HDaK","video_id": "jNQXAC9IVRw","video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw","video_title": "Me at the zoo","channel": "jawed","text": "San Diego Zoo That’s so awesome! I’m so glad the first YouTube video featured cute animals in it! 😊🐘","published": "6 years ago","is_edited": true,"likes": 205000,"reply_count": 0,"author": "@TheGreekPianist","author_channel_id": "UC8h3BHk1Pk1_-VH9PRIxtgg","author_url": "https://www.youtube.com/@TheGreekPianist","author_is_verified": false,"author_is_creator": false,"is_pinned": false,"is_hearted": false,"parent_id": "UgzuC3zzpRZkjc5Qzsd4AaABAg","scraped_at": "2026-10-03T09:19:16.002965+00:00"}
Limits
sort: "top"stops at roughly 1,000–1,200 comments per video (a YouTube limit for all visitors);sort: "newest"continues past it.publishedreflects the relative age YouTube displays ("2 weeks ago"), not an exact UTC timestamp.- Community tab posts and live chat replay messages are not included — only comment sections under videos, Shorts, and live streams.
Frequently Asked Questions
What does YouTube Comments Scraper return?
It returns structured JSON, CSV, or Excel rows with record_type (comment or reply), id, url, video_id, video_title, channel, text, published, is_edited, likes, reply_count, author, author_channel_id, author_url, author_is_verified, author_is_creator, is_pinned, is_hearted, parent_id, and scraped_at.
Do I need a YouTube API key or Google login? No. The Actor reads the same public comment feed as an unauthenticated watch page, with no login, cookies, or YouTube Data API quota.
How much does it cost, and what happens on empty runs? Comments cost $1.00 per 1,000 on Free and $0.85 per 1,000 on Gold+ (100 comments = $0.10 Free / $0.085 Gold; 10,000 comments = $10.00 Free / $8.50 Gold). Deleted, private, or comments-off videos emit 0 rows and cost $0 in comment fees.
Why did top order stop around 1,000 comments?
YouTube caps the "Top comments" sort at ~1,000–1,200 items for all visitors. Switch sort to "newest" to scrape deeper comment histories.
Does maxResults apply per video or per run?
Per video. Passing 2 video URLs with maxResults: 500 can export up to 1,000 rows. Use Maximum cost per run to cap total spend across a batch.
Does it work on YouTube Shorts and live streams?
Yes. Any public video, Short (/shorts/...), or live stream (/live/...) with comments enabled is supported.
Is scraping YouTube comments legal? This Actor accesses only publicly visible data without logging in. Because comments may contain personal data, ensure your storage and processing comply with GDPR, CCPA, and YouTube's terms of service.
Related YouTube Actors
Build complete YouTube research pipelines by pairing this Actor with our other YouTube scrapers:
- YouTube Transcript Scraper — Extract video transcripts and captions in plain text, SRT, and VTT.
- YouTube Channel Videos Scraper — Export all videos, view counts, likes, and dates from any YouTube channel.
- YouTube Search Results Scraper — Scrape YouTube keyword search results to CSV or JSON without an API key.
- YouTube Video Metadata Scraper — Pull views, likes, descriptions, tags, and channel metadata per video.
- YouTube Playlist Scraper — Export every video inside public YouTube playlists.
- YouTube Shorts Scraper — Collect YouTube Shorts from any channel to CSV or JSON.
- YouTube Scraper (All-in-One) — Search, channels, playlists, and Shorts in a single Actor.
Keywords: youtube comments scraper, scrape youtube comments, youtube comment replies scraper, export youtube comments to csv, youtube shorts comments scraper, youtube comments api alternative, youtube comments without api key, youtube sentiment analysis, youtube comment monitoring, apify youtube comments mcp