YouTube Comment Scraper: Comments and Replies avatar

YouTube Comment Scraper: Comments and Replies

Pricing

from $0.60 / 1,000 youtube comments

Go to Apify Store
YouTube Comment Scraper: Comments and Replies

YouTube Comment Scraper: Comments and Replies

Scrape the comments and replies of any YouTube video with no login and no API key. Every row carries the text, author, likes, date and parent comment. Export JSON, CSV or Excel.

Pricing

from $0.60 / 1,000 youtube comments

Rating

0.0

(0)

Developer

herus13

herus13

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

The YouTube Comment Scraper extracts the comments and replies of any YouTube video, with no login and no API key. Get one clean row per comment with its text, author, likes, date and the thread it belongs to, ready for sentiment analysis, community research or moderation reviews.

What you get

One row per comment or reply. It carries the comment text, the author's name, channel id and link, whether the author is verified or the video's uploader, the like count, whether the comment is pinned or hearted by the creator, the date, the parent comment for a reply, and the video's total comment count.

{
"kind": "comment",
"video_id": "jNQXAC9IVRw",
"video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"comment_id": "UgxExampleCommentId",
"parent_id": null,
"text": "Where it all began.",
"author": "@ExampleViewer",
"author_id": "UCexampleChannelId",
"author_url": "https://www.youtube.com/channel/UCexampleChannelId",
"author_is_verified": false,
"author_is_uploader": false,
"like_count": 1240,
"is_pinned": false,
"is_favorited": false,
"published_at": "2024-03-02T00:00:00+00:00",
"total_comment_count": 10000000,
"scraped_at": "2026-10-28T09:00:00Z",
"_meta": {"author": "https://apify.com/herus13", "status": "ok", "message": null}
}

_meta is run metadata, not scraped data. A reply has kind set to reply. Its parent_id is the id of the comment it answers, which can itself be a reply, so follow parent_id upward to reach the top-level comment. total_comment_count is the number YouTube shows for the whole video, not how many this run read.

What it costs

EventPrice
Actor Start (apify-actor-start)$0.00005
YouTube comment (comment)$0.0006

Input

FieldTypeRequiredDefaultWhat it does
video_urlsarrayno—YouTube videos to read the comments of, one per entry, for example https://www.youtube.com/watch?v=jNQXAC9IVRw, a youtu.be or Shorts link, or the 11-character id jNQXAC9IVRw. An entry that is not a video, such as a playlist or channel link, is skipped with a warning naming it. Leave empty and the run stops with an error, so give at least one video.
comment_sortstringno"top"Which comments come first: top for the most popular, new for the most recent. Default top.
max_comments_per_videointegerno100How many top-level comments to read from each video. Default 100, minimum 0. Set 0 to read no comments; replies are limited by the next field and count separately.
max_replies_per_commentintegerno0How many replies to read under each top-level comment. Default 0, minimum 0. Set 0 for top-level comments only. Every reply is a row and is charged like a comment.
max_comments_totalintegerno10000Stop after this many rows across all videos, comments and replies together. Default 10000, minimum -1. Set 0 for no rows. Set -1 for no limit.
proxyUrlsarrayno—Leave empty: the run uses the residential proxy this actor ships with, included in the price of the run. To route the run through your own provider instead, add one gateway URL per entry, for example http://user:pass@host:port — works with any provider that issues URLs. When set, the run uses these first and switches to the included proxy if they stop working, so a broken proxy never fails the run.

How to run it

  1. Add one or more video links or ids.
  2. Choose whether top comments or the newest come first.
  3. Set how many comments to read per video, and how many replies under each, if you want replies.
  4. Run it and export the dataset as JSON, CSV or Excel.

The 200 newest comments of one video, with up to 3 replies under each:

{
"video_urls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],
"comment_sort": "new",
"max_comments_per_video": 200,
"max_replies_per_comment": 3
}

Minimal input:

{
"video_urls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"]
}

Available as the MCP tool herus13--youtube-comment-scraper on mcp.apify.com, so an AI agent can call it with the same input.

Use cases

  • Sentiment and audience research: read what viewers say about a launch, a trailer or a competitor's video.
  • Brand and creator monitoring: follow the newest comments on your own videos and the replies they start.
  • Moderation reviews: pull a video's comments with their likes and authors to find spam and abuse.
  • Market and product feedback: collect feature requests and complaints from tutorial and review videos.
  • Datasets for AI: build a clean table of comments and replies for classification or summarisation models.

FAQ

Does it need a YouTube account or API key? No. It reads what any visitor can see, without logging in.

Are replies included? Only when you ask for them. Set the replies per comment above 0 and each reply becomes its own row, linked to the comment it answers by parent_id.

How many comments can it read? You set the limits: comments per video and rows in total for the run. The defaults are 100 comments per video and 10,000 rows in total, so a run never reads more than you asked for.

Why do some rows have only a day-accurate date? YouTube shows comments as "6 years ago", so the date is accurate to the day at best.

What happens with a video that has no comments, or that is private or removed? It returns no rows, costs nothing, and the run log names the video.

Can I use my own proxy? Yes. Paste gateway URLs into Your own proxy URLs and the run uses them first, then falls back to the included residential proxy if they fail.

Is the data fresh? Every run reads YouTube live, so rows reflect the moment of the run, and each row carries its scraped_at time.

I use another YouTube comments actor. Do I have to rewrite my input? Usually not. Over the API or MCP, the run also reads the input of the most-used YouTube actors as you would send it to them. Single names work too: startUrls, urls, videoUrls or youtubeUrls for the videos, maxComments, commentsPerVideo or max_comments for the comments per video, maxItems for the total and maxRepliesPerComment for the replies. A field you set on this actor's own form always wins. A limit of 0 means none here, never "all"; a form whose 0 means all gets this actor's own limit instead. Sorts and filters from another actor are not translated, and the run log names anything it cannot use. Each row also carries the column names of the most-used YouTube comments actor (comment, cid, videoId, pageUrl, commentsCount, voteCount, authorIsChannelOwner, hasCreatorHeart, type, replyToCid), filled from this actor's own data and left empty where it has none, so an export or integration built for that actor keeps working.