YouTube Comments Scraper avatar

YouTube Comments Scraper

Pricing

$0.50 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper

YouTube Comments Scraper

YouTube comment scraper is a powerful tool that extracts valuable data from any YouTube video's comment section. Gather all comments, authors, posting dates, votes, reply counts. Use CSV or Excel or HTML tables, JSON...

Pricing

$0.50 / 1,000 comments

Rating

0.0

(0)

Developer

karamelo

karamelo

Maintained by Community

Actor stats

3

Bookmarked

63

Total users

0

Monthly active users

9 days ago

Last modified

Share

Extract public top or newest comments from one YouTube video. Provide a standard YouTube watch URL, a comment limit, and an optional sort order. The actor follows YouTube's public web request flow, deduplicates comments by their public comment ID, and stops when it reaches the requested limit or YouTube has no further comments.

Input

FieldRequiredDescription
urlYesURL of the YouTube video to inspect.
numberYesNumber of comments to collect. The actor enforces a maximum of 10,000 comments per run.
sortingNoTop comments first (default) or Newest comments first.

Output

Each dataset item is a public comment with the existing actor fields: author, hasHeart, publishedTime, likes, replies, uCommentId, videoURL, and title. Comment text is retained in sortTopCommentsFirst or sortNewestCommentsFirst, matching the selected sorting option.

Comments that are unavailable, disabled, or no longer returned by YouTube are not fabricated. The actor does not access private or login-only content.

Example input

{
"url": "https://www.youtube.com/watch?v=HXJx8j7JpKY",
"number": 100,
"sorting": "Top comments first"
}