Aurelix

Tools › Social media

YouTube Comments Scraper

Get public YouTube comments and replies with likes, authors, pinned and hearted flags and publish times, for $0.40 per 1,000 comments, no login.

Exactly the number of comments you ask for per video, top or newest first, from video links or a channel's latest uploads. An only-new mode with a Slack digest, a cost cap, and a status row when a video has none.

$0.40 per 1,000 comments (from $0.30 on paid Apify plans)

At a glance

What the YouTube Comments Scraper does

Input
Video links or IDs, Shorts links, channel links or @handles (latest uploads)
Output
Text, author, channel link, likes, replies, pinned, hearted, edited, time; 27 fields incl. a status
Per video
Your exact limit (1 to 100,000) or every comment it has; top or newest first; replies optional
Automate
Only new comments since last run, Slack/webhook digest, schedules, MCP for AI agents

Who it is for

  • Creators and channel managers reading what viewers ask for, love and complain about, every day
  • Brand and marketing teams measuring reactions to a launch, a campaign or a sponsored video
  • Researchers and data teams building comment datasets for sentiment and topic analysis
  • Agencies comparing audience engagement across a list of channels

Output

What you get

  • status (ok, or why a video returned nothing: no_comments, comments_off, unavailable, not_found, no_videos, invalid_input, failed, skipped), error, input
  • videoId, videoUrl, videoTitle, videoCommentCount (the total YouTube shows, replies included)
  • commentId, url (direct link to the comment), text (email addresses and phone numbers masked)
  • authorName, authorChannelId, authorChannelUrl, authorIsVerified, authorIsChannelOwner
  • likeCount, likeCountText, replyCount, isReply, parentId (the comment or reply it answers), isPinned, isHearted, isEdited
  • publishedTimeText (as YouTube shows it), publishedAt (ISO 8601 UTC, approximate), publishedAtPrecision, scrapedAt

Example

Input and output

Input

{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "maxCommentsPerVideo": 500,
  "sort": "newest",
  "includeReplies": true
}

One output record

{
  "status": "ok",
  "error": null,
  "input": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "videoId": "jNQXAC9IVRw",
  "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "videoTitle": "Me at the zoo",
  "commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg",
  "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg",
  "text": "We're so honored that the first ever YouTube video was filmed here!",
  "authorName": "@SanDiegoZoo",
  "authorChannelId": "UCC5NfQ6Mf0dq_eEwv4P_hWA",
  "authorChannelUrl": "https://www.youtube.com/@SanDiegoZoo",
  "authorIsVerified": true,
  "authorIsChannelOwner": false,
  "likeCount": 4800000,
  "likeCountText": "4.8M",
  "replyCount": 986,
  "isReply": false,
  "parentId": null,
  "isPinned": true,
  "isHearted": true,
  "isEdited": false,
  "publishedTimeText": "6 years ago",
  "publishedAt": "2020-11-22T21:05:00Z",
  "publishedAtPrecision": "year",
  "videoCommentCount": 10643367,
  "scrapedAt": "2026-11-21T21:05:21Z"
}

From a real run of this tool; long text and lists shortened here.

How to use it

Three steps

  1. Paste YouTube video links or IDs (or channels for their latest uploads) and set how many comments you want per video.
  2. Pick Top comments or Newest first, and turn on 'Include replies' if you want replies too.
  3. Click Start, then download JSON, CSV or Excel, or send the comments to Google Sheets, Zapier, Make, n8n or an AI agent through the API.

API

Call it from Python

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("aurelix/youtube-comments-scraper").call(run_input={'videos': ['https://www.youtube.com/watch?v=jNQXAC9IVRw'],
 'maxCommentsPerVideo': 500,
 'sort': 'newest',
 'includeReplies': True})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

pip install apify-client. The same input works from the Apify console, a schedule, Make, n8n, Zapier or an AI agent through the Apify MCP server.

Pricing

Pay per result

Per 1,000 comments, free plan$0.40
Per 1,000 comments, paid plansfrom $0.30
Video checked, per 1,000, free plan$0.10
Start fee per run$0.001

Live prices from the Apify Store; no subscription and no platform usage billed on top. See the Store page.

Honest limits

What it does not do

  • Logged-out view only: what YouTube shows any visitor; members-only and age-restricted videos are skipped with a status row.
  • Like counts above 1,000 are rounded by YouTube (1.2K, 4.8M); likeCountText keeps the shown value.
  • publishedAt is worked out from YouTube's rounded age label ('2 years ago'), so it is only as precise as that label.
  • YouTube's total comment count includes replies and comments it holds back, so a video can list fewer comments than its total.
  • No dislike counts, commenter subscriber counts or profile details beyond the name and channel link.
  • Live chat is not read; live streams return their regular comments only.
  • If YouTube refuses the run, it stops with a BLOCKED status after a few fresh connections.

FAQ

Questions buyers ask

Is there a cheaper YouTube comments scraper on Apify?

On price, yes: it is cheaper than the leading tools, $0.40 per 1,000 comments on the free plan and less on paid plans, and unavailable videos are never charged.

Can I export YouTube comments with replies?

Yes: turn on 'Include replies'. Every reply is a row linked to its parent comment, and the dataset downloads as Excel, CSV or JSON.

Can I send YouTube comments to Google Sheets, n8n or an AI agent?

Yes: run it from n8n, Make or Zapier, export to Google Sheets, or call it through Apify's MCP server or API; a webhook can receive a digest after each run.

How much does the YouTube Comments Scraper cost?

$0.40 per 1,000 comments (from $0.30 on paid Apify plans), billed through your Apify account; you pay only for results. Apify's free plan includes $5 of credit a month, enough for about 12,500 comments.

Do I get exactly the number of comments I ask for?

Yes, per video: the run keeps loading comment pages until it has your number, or until the video has no more comments. On big videos YouTube's Top list stops after about 1,000 featured comments, so the run continues in Newest order (without repeats) to reach your number. When a video simply has fewer comments, you get all of them. YouTube's own total (videoCommentCount) includes replies and comments it does not list publicly, so it can be higher than what any visitor can load.

Does it get replies?

Yes, turn on 'Include replies'. Each reply is its own row with isReply true and parentId set to the comment it answers, right after that comment. Replies count toward 'Max comments per video'; use 'Max replies per comment' to cap busy threads.

Are there timestamps?

Yes. Every row has the time exactly as YouTube shows it (publishedTimeText, e.g. '3 days ago') and that time as an ISO 8601 date (publishedAt), worked out from when the run read it. YouTube shows only the rounded age, so publishedAt is as precise as that label: publishedAtPrecision says whether it is to the minute, hour, day, week, month or year.

Is this legal?

It reads only public data any logged-out visitor can see: YouTube watch pages and the comment pages they load. It never logs in, never solves CAPTCHAs and never uses keys or signed requests, and it stops when YouTube refuses it. It returns what the page shows: comment text, the commenter's YouTube name and channel link, likes and reply counts. Email addresses and phone numbers written in a comment are replaced with [email removed] and [phone removed]; age-restricted and members-only videos are skipped. The text stays its authors' copyright. People can ask for removal of their data by opening an issue on this Actor's Issues tab; if YouTube formally asks us to stop, this Actor will stop. You are responsible for using the data lawfully, incl. privacy laws and YouTube's terms; this is not legal advice.

Can I download YouTube comments to Excel or Google Sheets?

Yes. When the run finishes, open its Storage tab and export the dataset as Excel (XLSX), CSV, JSON or HTML; each comment or reply is one row. For Google Sheets, use Apify's Google Sheets integration or import the CSV export link from the API.

What am I charged when nothing comes back?

The start fee, plus $0.0001 for each video read that had nothing to return (comments turned off, no comments, or nothing new in only-new mode) beyond the first 10 such videos in a run, which are free. So a daily only-new run over 5 videos with nothing new costs just the start fee. Private, removed, age-restricted or members-only videos, videos that could not be read, channels that do not exist, invalid inputs, duplicates and comments already returned are never charged.

Can I cap what a run costs?

Yes. Set a maximum charge per run in the run options: the run stops exactly at it and keeps the comments already returned (a $0.10 cap returned 282 comments in our test). A built-in cost guard also stops a run whose compute outruns what it charges (hundreds of comments-off videos); the status says so and unread videos are never charged.

What does a BLOCKED status mean?

YouTube refused the run's requests: a rate limit, or its 'confirm you're not a bot' check on 3 videos in a row. The run tries a few fresh connections, then stops instead of pushing on, keeps the comments already returned and charges only for those. Try again later.

How fast is it?

About 20 comments per page request. In our tests 1,000 comments from one video took about 1.5 minutes, and a video with comments turned off about 2 seconds; three videos are read at the same time.

Guides

Tutorials using this tool

Related

Related tools

Try the YouTube Comments Scraper

Open it on the Apify Store, paste the example input above and click Start. Results download as CSV, Excel or JSON.