YouTube Comments Scraper
Pricing
from $1.00 / 1,000 comments
YouTube Comments Scraper
Get every comment of a YouTube video, with replies, author, votes and reply counts. 1 USD per 1,000 comments, no minimum charge per run.
Pricing
from $1.00 / 1,000 comments
Rating
0.0
(0)
Developer
Brahim Sliti
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Give it YouTube videos, get back every comment, with replies if you want them. One row per comment or reply.
YouTube only shows a first page of comments at a time and hides most replies behind a click. We page through all of it for you.
What people use it for
- Audience research. Read what viewers actually say about a video, a product review, or a launch.
- Sentiment at scale. Pull thousands of comments into a spreadsheet or a model instead of scrolling.
- Competitor and creator monitoring. Track how people react to a competitor's or your own new upload.
- Moderation and support. Find questions and complaints buried in a busy comment section.
How to use it
- Add videos in Videos, one per line: a watch URL, a
youtu.belink, a Shorts URL, or a bare video id. - Set Max comments per video (default 100).
- Optional: Sort comments by (top comments or newest first) and Include replies.
- Click Start. Export as JSON, CSV or Excel, or pull the results through the API.
{"startUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxComments": 500,"sortCommentsBy": "TOP_COMMENTS","includeReplies": true}
What you get
{"cid": "UgyEnXfdC-umwvTt8JF4AaABAg","comment": "Gonna flag this for nudity so I can rick roll the YouTube staff","author": "@Oatman69","authorChannelId": "UCWf34D_s8K_m2vwBISIDWtg","voteCount": 569000,"replyCount": 722,"replyToCid": null,"type": "comment","publishedTimeText": "6 years ago","authorIsChannelOwner": false,"hasCreatorHeart": true,"isPinned": false,"videoId": "dQw4w9WgXcQ","pageUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","commentsCount": 1600000}
typeiscommentfor a top-level comment,replyfor a reply;replyToCidis the parent comment'scid, null for a top-level comment.voteCount/replyCountare0when YouTube shows no likes or replies yet, and null only when the figure is missing from YouTube's response.hasCreatorHeartis true when the channel owner hearted that comment.isPinnedis true for the comment the creator pinned on top.commentsCountis the video's total comment count, the same on every row.
Pricing
1 USD per 1,000 comments, all fields included, replies counted the same as top-level comments.
There is no minimum charge per run: 100 comments from one video cost 0.10 USD. Error rows are free, and there's no monthly fee or Apify platform usage on top.
Example: 500 comments each from 10 videos (5,000 comments) costs 5 USD.
Good to know
- Including replies adds one extra request per thread that has any, so a video with many long threads takes longer to finish.
- With replies on, each thread's replies come right after their parent comment and count toward Max comments per video. A small limit can therefore return only a few threads with all their replies: raise the limit if you want more top-level comments.
- The
oldestCommentDatefield of other comment scrapers is accepted but ignored: YouTube only gives relative dates ("3 days ago"). Sort by newest first and set a limit instead. - This actor only scrapes comments. For the video itself, our YouTube Scraper gets views, likes and metadata; our YouTube Transcript Scraper gets captions.
- You don't need a proxy, a YouTube account or a YouTube API key.
Use it from n8n, Make or an API
- Small inputs: call
run-sync-get-dataset-itemsand read the items back directly. Set Time budget (seconds) (default 240) to how long you are willing to wait: the actor stops picking up new videos before that point and returns what it already has, so you never hit Apify's 300 second run-sync limit and lose the whole run. Any video left unfinished comes back as aTIME_BUDGET_EXCEEDEDrow instead of being silently dropped. - Big inputs: start the run with
POST /v2/acts/vakitek~youtube-comments/runs, pollGET /v2/actor-runs/<runId>(or addwaitForFinish=60) until the status isSUCCEEDED, then readGET /v2/datasets/<datasetId>/items. Set Time budget (seconds) to0(no limit) for this pattern.
Errors
A bad input never crashes the run. It becomes a row with an error code, and you are not charged for it.
error | What happened | Retry? |
|---|---|---|
NOT_FOUND | The URL or id doesn't match a real video | No |
NO_RESULTS | The video has no comments | No |
COMMENTS_DISABLED | The creator turned comments off for this video | No |
INVALID_INPUT | The video input could not be read | No |
BLOCKED | YouTube refused us for now, even after trying every proxy tier | Yes |
UPSTREAM_ERROR | Something went wrong on YouTube's side or ours | Yes |
UPSTREAM_UNAVAILABLE | Our API was unreachable | Yes |
TIME_BUDGET_EXCEEDED | The time budget ran out before this video finished | Yes |
FAQ
How many comments can I get per video? Up to 100,000. Set Max comments per video as high as you need.
I already use another YouTube comments actor. Do I have to change my code? Probably not. The output field names follow the most used comments scraper on the Store.
Can I call it from my code or from an AI agent? Yes, like any Apify actor: REST API, the Python and JavaScript clients, or the Apify MCP server. The examples are in the API tab.
Something broke or a field is missing? Open an issue on this page. We read every one and usually answer within a day.