YouTube Comments Scraper: Replies & Shorts
Pricing
from $0.28 / 1,000 comments
YouTube Comments Scraper: Replies & Shorts
Scrape YouTube comments and replies from videos and Shorts, top or newest first. Get comment text, likes, reply count, author name and channel ID, publish time, plus pinned, hearted by creator and channel owner flags. No API key or login. Export to JSON, CSV or Excel.
Pricing
from $0.28 / 1,000 comments
Rating
0.0
(0)
Developer
Wiseus Labs
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
17 hours ago
Last modified
Categories
Features
Share
YouTube comments and replies from videos and Shorts: comment text, likes, reply count, author, posting time and video link, exported to JSON, CSV or Excel. Also: replies placed right after the comment they answer, flags for pinned comments, creator hearts and the channel owner, Top or Newest order, and a free row with the reason when a video has comments turned off, has no comments or is unavailable.
Wiseus Labs · YouTube
Copy to your AI assistant
Help me use wiseus-labs/youtube-comments-scraper, an Apify Actor that scrapes comments and replies of YouTube videos and Shorts. Read https://apify.com/wiseus-labs/youtube-comments-scraper.md for documentation and the input schema. Choose settings for my requested outcome. If you cannot open the page, ask me to paste the relevant sections.
Key inputs: videos (video or Shorts links, or IDs), maxCommentsPerVideo (default 100, 0 = no limit), sortBy (top or newest), includeReplies with maxRepliesPerComment (default 20).
💬 What is YouTube Comments Scraper?
YouTube Comments Scraper collects the comments and replies of YouTube videos and Shorts as clean rows, one row per comment, ready for a spreadsheet, a sentiment model or your own pipeline.
- Videos and Shorts in one list, in any link form or as bare video IDs.
- Top comments or Newest first, as YouTube orders them.
- Reply threads kept together: each reply comes right after its parent comment.
- Creator signals: pinned comments, creator hearts and comments by the channel owner.
- A clear reason on every video that gives no comments, in a free row.
- No API key, no login.
| Group | What you get |
|---|---|
| 💬 Comment | text · comment ID · posting time as YouTube shows it · reply flag · parent comment ID |
| 👤 Author | author handle · author channel ID · written by the channel owner |
| 📊 Engagement | likes as a number and as shown · reply count · pinned · hearted by the creator |
| 🎬 Video | video ID · video link |
| 🔎 Run context | status · reason |
🚀 Quick start
- Paste one or more video or Shorts links and choose how many comments to save per video.
- Click Start, or run it from your code or an AI agent.
- Open the table and download it as JSON, CSV or Excel.
With an empty input the scraper takes the comments of an example music video, so you can see the output right away.
🍳 How to scrape YouTube comments: input recipes
1. Comments of one video into a spreadsheet
The quickest way to read what viewers say about a video.
{"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxCommentsPerVideo": 500}
2. A sentiment dataset with reply threads
Top comments of several videos with the conversation under each one.
{"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ","https://www.youtube.com/watch?v=yFuTAKq_j3Q"],"maxCommentsPerVideo": 1000,"sortBy": "top","includeReplies": true,"maxRepliesPerComment": 10}
3. The latest comments of your video
What your audience wrote most recently, newest first.
{"videos": ["https://www.youtube.com/watch?v=yFuTAKq_j3Q"],"maxCommentsPerVideo": 200,"sortBy": "newest"}
4. As many comments of a video as YouTube shows
No limit on comments or replies, newest first.
{"videos": ["https://www.youtube.com/watch?v=yFuTAKq_j3Q"],"maxCommentsPerVideo": 0,"sortBy": "newest","includeReplies": true,"maxRepliesPerComment": 0}
5. Comments of Shorts
Shorts links go into the same list as regular videos.
{"videos": ["https://www.youtube.com/shorts/M93h41hyPsM"],"maxCommentsPerVideo": 300}
6. A long list of videos for a pipeline
More videos at the same time for large batches; bare video IDs work too.
{"videos": ["dQw4w9WgXcQ", "yFuTAKq_j3Q", "M93h41hyPsM"],"maxCommentsPerVideo": 200,"maxConcurrency": 10}
⚙️ Input
The form opens with video links and the comment limit. Order, replies and speed settings are in the sections below.
| Field | What it does | Default |
|---|---|---|
videos | Video or Shorts links, one per line: watch, youtu.be, Shorts, embed, live, mobile links or bare IDs. | example video |
maxCommentsPerVideo | Rows saved per video, comments and replies together. 0 = no limit. | 100 |
sortBy | top (Top comments) or newest (Newest first). | top |
includeReplies | Save replies right after their parent comment. | false |
maxRepliesPerComment | Replies saved per comment. 0 = no limit. | 20 |
maxConcurrency | Videos scraped at the same time, 1 to 20. | 5 |
Every field is explained in the Input tab.
📦 Output example
Two real rows from this video: the creator's pinned comment and one of the creator's replies. Long text is shortened.
[{"videoId": "yFuTAKq_j3Q","videoUrl": "https://www.youtube.com/watch?v=yFuTAKq_j3Q","commentId": "Ugw3ym-bCRN6KQQYH_d4AaABAg","text": "If you wanna talk home lab, networking, pc builds, or any tech stuff then feel free to come hang out in the Raid Owl Discord server...","authorName": "@RaidOwl","authorChannelId": "UC9evhW4JB_UdXSLeZGy8lGw","authorIsChannelOwner": true,"likeCount": 12,"likeCountText": "12","replyCount": 0,"publishedTimeText": "5 years ago","isPinned": true,"isHeartedByCreator": false,"isReply": false,"parentCommentId": null,"status": "ok"},{"videoId": "yFuTAKq_j3Q","videoUrl": "https://www.youtube.com/watch?v=yFuTAKq_j3Q","commentId": "UgwbSW3ZNZtQUwPsLYR4AaABAg.9XcHxn_Z4De9XcUo4aIvYR","text": "Thanks!","authorName": "@RaidOwl","authorChannelId": "UC9evhW4JB_UdXSLeZGy8lGw","authorIsChannelOwner": true,"likeCount": 1,"likeCountText": "1","replyCount": 0,"publishedTimeText": "4 years ago","isPinned": false,"isHeartedByCreator": false,"isReply": true,"parentCommentId": "UgwbSW3ZNZtQUwPsLYR4AaABAg","status": "ok"}]
📋 Output fields
One row per comment or reply. The table has these tabs:
| Tab | Fields |
|---|---|
| 💬 Comments | videoId, text, authorName, likeCount, likeCountText, replyCount, publishedTimeText, isPinned, isHeartedByCreator, authorIsChannelOwner, isReply, parentCommentId, commentId, authorChannelId, videoUrl, status, reason |
| 👤 Authors | authorName, authorChannelId, authorIsChannelOwner, text, isReply, likeCount, videoId, videoUrl |
| 📊 Engagement | text, likeCount, likeCountText, replyCount, isPinned, isHeartedByCreator, authorIsChannelOwner, isReply, publishedTimeText, videoId |
| 🔎 Status | videoId, videoUrl, status, reason, commentId, isReply |
likeCount is a number ready for sorting and charts ("1.2K" becomes 1200); likeCountText keeps the text YouTube shows. A reply has isReply true and parentCommentId set to the comment it answers.
| status | Meaning | Charged |
|---|---|---|
ok | A comment or reply | Charged |
comments_disabled | The creator turned comments off | Free |
no_comments | The video has no comments yet | Free |
unavailable | The video is private, removed or does not exist; reason says why | Free |
invalid_input | The entry is not a YouTube video link or ID | Free |
error | The video could not be read to the end; comments saved before that stay; reason says why | Free |
run_summary | The run saved no comments; reason says why | Free |
The Output tab also has a Run summary with totals and the result of every video.
What you don't pay for
- Videos with comments turned off, without comments, unavailable videos, invalid links and errors: they get a free status row with a reason.
- The same comment met twice in a run: it is saved and charged once.
- A video listed twice: it is processed once.
- The run summary.
🔌 API and integrations
Get comments in one call:
curl -X POST "https://api.apify.com/v2/acts/wiseus-labs~youtube-comments-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "maxCommentsPerVideo": 200, "includeReplies": true}'
Python:
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("wiseus-labs/youtube-comments-scraper").call(run_input={"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "sortBy": "newest"})for row in client.dataset(run["defaultDatasetId"]).iterate_items():if row.get("status") == "ok":print(row.get("likeCount"), row.get("text"))
- Sentiment and topics: load
textwithlikeCountandreplyCountinto Python, a spreadsheet or an LLM. - Schedules and webhooks: run on a timetable and get notified when a run finishes. See schedules and webhooks.
- Make, Zapier, n8n: use the Apify app or node and pick this Actor to send comments to Google Sheets, Airtable or Slack. See integrations.
- API reference: the API tab on this page shows ready code for every language.
Use with AI agents (MCP)
Connect the Apify MCP server to Claude, Cursor or another AI assistant and add this Actor. Then ask in plain words, for example: "Get the top 300 comments of this YouTube video and tell me what viewers like and dislike."
❓ FAQ
Can I scrape YouTube comments without an API key or login? Yes. No YouTube API key, no Google account and no cookies. You only need an Apify account.
Does it get replies to comments?
Yes. Turn on includeReplies. Each reply comes right after its parent comment and carries parentCommentId. maxRepliesPerComment sets how many replies per comment, 0 for no limit.
Does it work with YouTube Shorts? Yes. Paste Shorts links or their IDs in the same list as regular videos.
How do I get as many comments of a video as possible?
Set maxCommentsPerVideo to 0, sortBy to newest, turn on includeReplies and set maxRepliesPerComment to 0.
How do I get only the newest comments?
Choose newest and set maxCommentsPerVideo. The rows start with the most recent comment.
What do likeCount and likeCountText mean?
likeCountText is the like count as YouTube shows it, for example "1.2K". likeCount is the same value as a number, 1200, ready for sorting.
What if comments are turned off?
You get a free comments_disabled row for that video, and the run goes on with the other videos.
Can I use it for sentiment analysis? Yes. Each row has the comment text with its likes and reply count, ready for a sentiment model, a topic model or an LLM.
How do I export YouTube comments to CSV or Excel?
After the run, open the Output tab and click Export. Choose CSV, Excel, JSON or another format. Through the API add format=csv to the dataset items link.
Can I get the transcript or the video list of a channel too? Yes, with YouTube Transcript Scraper and YouTube Channel Scraper.
💬 Feedback and support
Found a bug or missing a field? Open an issue on the Issues tab and tell us what you need.
Ready to try it? Open the input form, paste a video link and click Start.







