YouTube Comments Scraper API — Export Comments & Replies avatar

YouTube Comments Scraper API — Export Comments & Replies

Pricing

from $0.80 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper API — Export Comments & Replies

YouTube Comments Scraper API — Export Comments & Replies

YouTube comments scraper and API: export comments and replies from a video, Short, channel or search. One flat row per comment: text, author, likes, reply count, date, pinned and creator-heart flags. Top or newest. Comments your keyword or date filters remove are not charged. No login, no API key.

Pricing

from $0.80 / 1,000 comments

Rating

0.0

(0)

Developer

Yugenox Corp

Yugenox Corp

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

YouTube Comments Scraper — Export Comments & Replies

Export YouTube comments to a spreadsheet, JSON or your own app. Paste any video or Shorts link (or a channel, or a search term) and get one row per comment — and, if you want, one row per reply — with the comment text, author, likes, reply count, date, and the pinned / creator-heart flags. Top comments or newest first. No login, no YouTube API key, no quota.

What does YouTube Comments Scraper do?

  • Extracts every comment from public YouTube videos, Shorts and live-stream replays — top comments (YouTube's default order) or newest first.
  • Exports replies too: each reply is its own row, linked to its parent comment with parentCommentId, so threads are easy to rebuild.
  • Works from a channel or a search: give a channel (@mkbhd) and it takes the latest videos; give a search term and it takes the top results — then exports their comments.
  • Filters before you pay: keep only comments containing your keywords, or only comments newer than a date. Comments you filter out are not charged.
  • Flat, analysis-ready rows — no nested arrays, so a video with 50,000 comments exports cleanly to CSV, Excel, Google Sheets or a database.

Use cases

  • Sentiment analysis & audience research — what viewers love, hate and ask about, at scale.
  • Product feedback mining — find every comment mentioning a feature, a price or a bug on review videos.
  • Brand & community monitoring — track what is said under your videos, your competitors' videos, or a whole niche.
  • Creator analytics — top comments, pinned comments, creator replies and hearts, engagement per comment.
  • Training and research datasets — clean comment text with dates and like counts.

How to use it

  1. Paste one or more YouTube video URLs (watch, youtu.be, Shorts, embed or live links all work) — or fill in Channel or Search term.
  2. Choose Max comments per video, Sort (Top or Newest) and whether to Include replies.
  3. Optional: add keywords and a Newer than date.
  4. Click Start and download your comments as JSON, CSV, Excel or HTML, or read them through the Apify API.

Input

FieldWhat it does
videoUrlsVideo links or IDs: youtube.com/watch?v=…, youtu.be/…, youtube.com/shorts/…
channelUrlOptional channel link, @handle or channel ID — takes its latest videos
searchTermOptional search — takes the top results
maxVideosVideos per channel / search (default 10)
maxCommentsPerVideoTop-level comments per video (default 100, 0 = all)
sorttop (default) or newest
includeReplies / maxRepliesPerCommentReplies as their own rows (default off / 10 per comment, 0 = all)
keywordsKeep only comments containing any of these words
newerThanKeep only comments newer than a date (2026-10-01) or an age (7 days, 3 months)
maxItemsMaximum rows for the whole run (default 1,000) — you are never charged for more

Example:

{
"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"maxCommentsPerVideo": 200,
"sort": "top",
"includeReplies": true,
"maxRepliesPerComment": 20
}

Output

One row per comment (trimmed real row):

{
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"videoTitle": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"commentId": "UgyyEqaBXOKgoi4cf7l4AaABAg",
"commentUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&lc=UgyyEqaBXOKgoi4cf7l4AaABAg",
"isReply": false,
"parentCommentId": null,
"text": "Ok let’s be honest here\nRick rolling is the one meme that will never die",
"author": "@JetpackGamer456",
"authorIsChannelOwner": false,
"likeCount": 428000,
"replyCount": 768,
"publishedTimeText": "6 years ago (edited)",
"publishedAtApprox": "2020-11-06T21:20:14.164Z",
"publishedAtPrecision": "year",
"isEdited": true,
"isPinned": false,
"isHeartedByCreator": false,
"position": 2,
"sort": "top",
"videoCommentCount": 2461404,
"source": "https://youtu.be/dQw4w9WgXcQ",
"scrapedAt": "2026-11-07T08:15:25.920Z"
}

Also in every row: channelUrl, authorChannelId, authorChannelUrl, authorIsVerified, authorIsArtist. Replies have isReply: true and parentCommentId set.

How much does it cost to scrape YouTube comments?

Pay only for what you get:

  • $0.80 per 1,000 comments ($0.0008 per comment or reply saved)
  • $0.0005 per video whose comments were read (videos that are private, removed or don't exist are free)
  • $0.002 per run start fee

So 1,000 comments from one video cost about $0.80; 100 comments from each of 10 videos about $0.81. Comments dropped by your keyword or date filters are never charged, and the run never charges more than Max comments in total.

Tips

  • Only want fresh reactions? Use Sort = Newest with Newer than = 7 days: reading stops at the first older comment, so it is fast and cheap.
  • Monitoring a channel? Put the channel in Channel, set Max videos to 5 and schedule the run daily.
  • Large exports: set Max comments per video to 0 for all comments; raise the run's Timeout for videos with hundreds of thousands of comments.
  • YouTube shows comment dates as "3 weeks ago", so publishedAtApprox is approximate — publishedAtPrecision tells you how precise (day, month or year).
  • Like counts above 1,000 are rounded by YouTube itself ("428K").
  • A comment with no written text (for example, only an image) has an empty text; the rest of its row (author, likes, replies, date) is filled in as usual.

FAQ

Is it legal to scrape YouTube comments? This actor reads only public comments that anyone can see on youtube.com without signing in. It does not log in, does not use cookies from any account and does not get around any access control. Scraping public data is generally lawful, but how you use it matters: if your dataset includes personal data (such as commenters' display names), privacy laws like the GDPR or CCPA may apply. Use the data for legitimate purposes and consult a lawyer if unsure.

Does it access any private data? No. Only public comments on public videos. Private and unlisted-only data, members-only comments and anything behind a sign-in are never accessed. E-mail addresses and phone numbers that people type into comments are masked in the output.

Do I need a YouTube API key or a Google account? No. There is no quota and nothing to set up.

Can I get comments from YouTube Shorts? Yes — paste the Shorts link (youtube.com/shorts/…).

Why did I get fewer comments than the video's comment count? YouTube's count includes replies and comments that were later deleted or held for review. Turn on Include replies to get the replies as rows too.

What if comments are turned off? The run says so in its status message and moves on to the next video.

Can I export to CSV or Excel? Yes — every row is flat, so the dataset downloads straight into CSV, Excel, JSON, XML or HTML.