# YouTube Comments Scraper | Download YouTube Comments (`aurelix/youtube-comments-scraper`) Actor

Scrape YouTube comments and replies at $0.40 per 1,000 comments, less on paid plans. The exact count you ask for per video, top or newest first, from video links or a channel's latest uploads: text, author, likes, replies, pinned, creator heart, time. No login.

- **URL**: https://apify.com/aurelix/youtube-comments-scraper.md
- **Developed by:** [Aurelix](https://apify.com/aurelix) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 comment results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is 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.

[![YouTube Comments Scraper: 75-second demo video](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/youtube-comments-scraper-demo-thumb-v1.png)](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/youtube-comments-scraper-demo-v1.mp4)

**[▶ Watch the 75-second demo](https://api.apify.com/v2/key-value-stores/twkCCtTWzsi8fVbx5/records/youtube-comments-scraper-demo-v1.mp4)**

| | |
|---|---|
| **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 |
| **Price** | $0.40 per 1,000 comments (from $0.30 per 1,000 comments on paid Apify plans) |
| **Free to try** | Runs on Apify's free plan: the $5 monthly credit covers about 12,000 comments |
| **Login needed** | No |

### Daily monitor: only what's new, every morning

Set it once, get only the new comments every morning. The first run returns every comment up to your limit; later runs skip comments already returned, so you pay for new comments only (plus $0.0001 per video with nothing new, beyond 10 in a run).

```json
{
  "channels": [
    "@mkbhd"
  ],
  "maxVideosPerChannel": 5,
  "sort": "newest",
  "incremental": true,
  "stateKey": "mkbhd-comments-daily"
}
```

1. Paste this input into the **Input** tab (JSON view) and click **Save as a new task**; it appears under **Saved tasks**.
2. Open the task from **Saved tasks** and click **Schedule**.
3. Choose **Daily**, pick the hour, and save.

**Cost example:** 5 latest videos, about 200 new comments a day ≈ $2.43/month on the free plan (from $1.83 on paid plans): one run a day for 30 days, start fee included. The first run returns every comment up to your limit, so it costs more.

Add a Slack incoming-webhook URL in `slackWebhookUrl` (or any URL in `webhookUrl`) to get a short digest of each run's new comments; nothing is sent when a run finds nothing.

### Why YouTube Comments Scraper users pick this one

- **Cheaper than the leading tools.** $0.40 per 1,000 comments on the free plan, less on paid plans.
- **Exactly the count you ask.** Keeps loading until your limit, or every comment the video has.
- **Replies linked to comments.** Each reply row carries the ID of the comment it answers.
- **Daily comment monitoring.** Only-new mode plus a Slack or webhook digest.
- **Empty videos cost almost nothing.** Comments off or none: $0.0001 per video, first 10 per run free.

### Get started in 3 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.

**[▶ Try it with the example input](https://apify.com/aurelix/youtube-comments-scraper)**

The form opens with an example input already filled in.

### How much does it cost to scrape YouTube comments?

Pay per event: the comments the run returns, a $0.001 start fee, and $0.0001 per video that had nothing to return beyond the first 10 in a run. Bronze, Silver, Gold and higher Apify plans pay less per result. Paid plans pay $0.35 (Bronze) and $0.30 (Silver and higher) per 1,000 comments.

| Comments | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | $0.041 | $0.036 | $0.031 | $0.031 |
| 1,000 | $0.40 | $0.35 | $0.30 | $0.30 |
| 10,000 | $4.00 | $3.50 | $3.00 | $3.00 |

Totals include the $0.001 start fee per run, rounded to the cent (amounts under $0.10 to four decimals). Apify's free plan includes $5 of credit a month, enough for about 12,000 comments.

$0.40 per 1,000 comments (from $0.30 on paid Apify plans) plus a $0.001 start fee per run, so the example run (100 comments) costs about $0.04. Replies are charged like comments. A video read that had nothing to return (comments off, no comments, nothing new) costs $0.0001, and the first 10 in each run are free. Unavailable videos, videos that could not be read, invalid inputs, duplicates and comments already returned in only-new mode are never charged.

#### Billing events

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `comment-result` | $0.40 per 1,000 comments | $0.35 per 1,000 comments | $0.30 per 1,000 comments | $0.30 per 1,000 comments |
| `video-checked` | $0.0001 per video read with nothing to return (first 10 per run free) | $0.0001 per video read with nothing to return (first 10 per run free) | $0.0001 per video read with nothing to return (first 10 per run free) | $0.0001 per video read with nothing to return (first 10 per run free) |
| `apify-actor-start` | $0.001 per run | $0.001 per run | $0.001 per run | $0.001 per run |

### What data you get

**YouTube Comments Scraper** reads the public comments under YouTube videos the way a logged-out visitor sees them: give video links or IDs, or channels (their latest uploads), and get one row per comment with the full text, the author's name and channel link, likes, reply count, pinned and creator-heart flags, the time YouTube shows ("3 days ago") and that time as an ISO date. Turn on replies to get every reply too, each linked to its parent comment. You get exactly the number of comments you ask for per video, or every comment when the video has fewer. Videos with comments turned off or no comments get a status row (the first 10 such videos in a run are free, then $0.0001 each); private, removed, age-restricted or members-only videos get a free status row saying why.

- 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

| authorName | likeCount | replyCount | publishedTimeText | isPinned | text |
|---|---|---|---|---|---|
| @SanDiegoZoo | 4800000 | 986 | 6 years ago | True | We're so honored that the first ever YouTube video was fi... |
| @DaquanWiltshire1 | 251000 | 776 | 7 years ago | False | This started it all...... bruh 😳 |
| @jawed | 316000 | 995 | 6 months ago | False | Hello |
| @Jeff-th5ob | 422000 | 851 | 6 years ago | False | This guys is the only person who has the rights to say "f... |
| @Ramen_Noodlezzz | 89000 | 913 | 7 years ago (edited) | False | Good luck trynna find 5+ year comment |
| @TapL | 215000 | 995 | 1 year ago | False | Seeing "20 years ago" on a YouTube video makes me feel a ... |

One full record from a real run (long text shortened):

```json
{
  "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"
}
```

### Use cases

- 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

### Use-case recipes

#### New comments on your channel, every morning in Slack

For creators and channel managers. Put your channel in `channels`, keep `maxVideosPerChannel` at 5, choose `newest`, turn on `incremental`, give it a `stateKey`, paste a Slack webhook URL and schedule the task daily. Each run returns only comments not returned before.

```json
{
  "channels": [
    "@mkbhd"
  ],
  "maxVideosPerChannel": 5,
  "sort": "newest",
  "incremental": true,
  "stateKey": "mkbhd-comments-daily",
  "slackWebhookUrl": "https://hooks.slack.com/services/T000/B000/XXXX"
}
```

#### Full thread export for analysis

For research and sentiment analysis. Paste a video, set a high `maxCommentsPerVideo` and turn on `includeReplies` to get every comment and reply, linked by `parentId`.

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "maxCommentsPerVideo": 5000,
  "includeReplies": true
}
```

#### Compare audience reactions across videos

For brand and campaign reporting. List the videos in `videos` with a small per-video limit to get each one's top comments and likes side by side.

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "maxCommentsPerVideo": 50
}
```

### Input

| Field | Type | What it does | Default |
|---|---|---|---|
| `videos` (Videos) | array | YouTube video links or 11-character video IDs, e.g. \['https://www.youtube.com/watch?v=dQw4w9WgXcQ', 'https://youtu.be/jNQXAC9IVRw', 'https://www.youtube.com/shorts/…']. | \["https://www.youtube.com/watch?v=jNQXAC9IVRw"] |
| `maxCommentsPerVideo` (Max comments per video) | integer | Exactly this many comments per video (replies included when turned on), or every comment when the video has fewer, e.g.... | 100 |
| `channels` (Channels (latest videos)) | array | Channel links, @handles or UC… channel IDs, e.g. \['@mkbhd', 'https://www.youtube.com/@veritasium']. |  |
| `maxVideosPerChannel` (Latest videos per channel) | integer | How many of each channel's newest videos to read comments from, e.g. 5. | 5 |
| `sort` (Sort) | string | Top comments (YouTube's default order) or newest first. | "top" |
| `includeReplies` (Include replies) | boolean | Also return the replies under each comment (each reply is one row with isReply true and parentId set, charged like... | false |

All 12 fields, with examples: see the **Input** tab.

### Use with AI agents (MCP)

MCP (Model Context Protocol) is the open standard that lets AI assistants such as Claude, ChatGPT and Cursor call outside tools. Apify's hosted MCP server at `https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper` gives your assistant this Actor only: it fills in the input from your request, runs it and reads the comments back, at the same per-result price as a run started by hand.

#### Example prompts

- "Get the 500 newest comments on this YouTube video and summarise what viewers ask for most"
- "Read the comments on @mkbhd's latest 3 videos and list the most-liked complaints"
- "Pull the top comments and replies on this video and classify each as positive, negative or question"

#### Claude Desktop and claude.ai

**Settings > Connectors > Add custom connector**, name it Apify, paste `https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper`, keep the detected OAuth settings, select **Add** and sign in to Apify.

#### Claude Code

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper"
```

#### Cursor and VS Code

Add this to `~/.cursor/mcp.json` (Cursor); in VS Code's `.vscode/mcp.json` put the same entry under `"servers"` with `"type": "http"`. Sign in to Apify when asked.

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper"
    }
  }
}
```

#### ChatGPT

Turn on **Developer mode**, open **Settings > Apps & Connectors > Create**, paste the URL above as the MCP server URL, choose **OAuth** and authorize Apify.

Clients without sign-in send `Authorization: Bearer <YOUR_APIFY_TOKEN>` instead. No Apify account? This Actor supports Apify's agentic payments: an agent can pay per run with a prepaid, spend-capped token, bought with x402 stablecoin payments.

#### n8n AI agent

Give an **AI Agent** node an **MCP Client Tool** with the endpoint `https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper` and a Bearer credential holding your Apify token.

### Use it from AI agents (MCP), the API or no-code

#### Copy this to your AI assistant

```text
Use the Apify Actor aurelix/youtube-comments-scraper (YouTube Comments Scraper) through Apify's MCP server or API. Main input: videos (Videos); maxCommentsPerVideo (Max comments per video). Example input: {"videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"], "maxCommentsPerVideo": 500, "sort": "newest", "includeReplies": true}. Each result is one comment with fields such as text, authorName, likeCount, replyCount, publishedAt, isReply, parentId. It costs $0.40 per 1,000 comments on Apify's free plan plus a $0.001 start fee per run, and needs no login.
```

MCP server URL for this Actor: `https://mcp.apify.com/?tools=aurelix/youtube-comments-scraper` (setup for each client in the section above).

#### API

Start a run and read the dataset with Apify's REST API or the Python and JavaScript clients:

```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)
```

#### Run it daily (no code, 3 steps)

Send the results to Google Sheets, Zapier, Make, n8n, Slack or any webhook URL.

**Example:** Get every new comment on your channel's latest videos each morning in Slack: add your channel, choose **Newest first**, turn on **Only new comments since last run** and add a Slack webhook URL.

1. Fill in the input, then click **Save as a new task**.
2. In the task, click **Schedule** and pick daily or weekly (Apify Schedules).
3. Turn on **Only new comments since last run** so each run returns only what is new, and paste a Slack or webhook URL into **Slack webhook URL** / **Webhook URL** to get a digest of the new items (count plus the top 10) after every run.

Each run's status message says how many items are new since your last run. Google Sheets: add Apify's **Google Sheets** integration in the task's **Integrations** tab, or point **Webhook URL** at an n8n, Make or Zapier flow that appends the rows (the webhook carries `datasetUrl`, a link to all of the run's results).

Prefer n8n or Make? Ask in the **Issues** tab and we will share a ready-made workflow for it.

### FAQ

#### Can I scrape YouTube comments without login?

Yes. It never logs in, so you need no YouTube account, password or cookies; only a free Apify account to run it.

#### Is there a YouTube comments API?

You can use this Actor as one. Start it with Apify's REST API or the Python and JavaScript clients and read the results as JSON (see the code above), or call it from an AI agent through MCP.

#### How much does it cost to scrape YouTube comments?

About $0.40 for 1,000 comments on Apify's free plan and from $0.30 on paid plans, start fee included. The free $5 monthly credit covers about 12,000 comments.

#### Can I export YouTube comments to Excel or Google Sheets?

Yes. Download the results as Excel, CSV, JSON, XML or HTML from the run's **Storage** tab, or send them to Google Sheets with Apify's Google Sheets integration or the API.

#### Is it legal to scrape YouTube comments?

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.

#### 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.

#### 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.

#### 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.

### Limits (stated honestly)

- 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.

### Works great with

- **Before this: [YouTube Video Scraper API](https://apify.com/aurelix/youtube-video-scraper)**: find the videos for a keyword or channel with their views and likes, then read their comments
- **Then: [YouTube Transcript Scraper](https://apify.com/aurelix/youtube-transcript-scraper)**: add what is said in the same videos, as transcripts

### Related Aurelix tools

Public Aurelix Actors, grouped by the data they collect. All are pay-per-result and need no login.

#### AI, content and SEO

- **[Google Maps Rank Tracker](https://apify.com/aurelix/google-maps-rank-tracker)**: Extract Google Maps local rankings on a geo-grid at $1.00 per 1,000 grid points on the free plan: your rank...
- **[Google News Scraper](https://apify.com/aurelix/google-news-scraper)**: Returns Google News articles by keyword, topic or site with decoded publisher links, past the 100-result limit, with optional full text.
- **[Google Trends by Region](https://apify.com/aurelix/google-trends-scraper)**: Google Trends interest over time, by region and rising queries for any number of keywords, plus trending searches.
- **[Google Autocomplete API](https://apify.com/aurelix/google-autocomplete-scraper)**: Expands seed keywords into hundreds of real Google and YouTube autocomplete phrases, tagged by search intent.
- **[PDF Table Extraction & PDF to Markdown OCR](https://apify.com/aurelix/pdf-to-markdown)**: Turns linked PDF and Word files into Markdown per page, with tables as JSON rows, RAG chunks and OCR.
- **[Pinterest Scraper](https://apify.com/aurelix/pinterest-scraper)**: Exports Pinterest profiles (follower count), boards and pin links with saves and links; keyword search for discovery.
- **[Podcast Transcript API & Audio to Text](https://apify.com/aurelix/podcast-transcript-audio-to-text)**: Returns podcast and audio transcripts with timestamps and language from RSS feeds, Apple Podcasts links or audio files, billed per audio minute.
- **[Website to Knowledge Base Sync](https://apify.com/aurelix/rag-site-sync)**: Turns a website into knowledge base chunks with stable IDs, then returns only chunks to upsert or delete.
- **[Broken Link Crawler & SEO Audit](https://apify.com/aurelix/seo-audit-crawler)**: Audits a whole site: one row per page with SEO checks and broken links, plus a ranked issues summary.
- **[Threads Scraper](https://apify.com/aurelix/threads-scraper)**: Returns public Threads posts from keyword and #hashtag searches, @profiles and post links, with engagement counts and media.
- **[TikTok Follower Count Scraper](https://apify.com/aurelix/tiktok-profile-scraper)**: Returns TikTok profile stats (followers, likes, bio, verified) and the newest videos' views, likes, comments, shares and saves.
- **[Bulk TikTok Transcripts Scraper](https://apify.com/aurelix/tiktok-transcript-scraper)**: Returns TikTok video transcripts as text, timed segments and SRT, from video links or @profiles' latest videos.
- **[Website Change Tracker](https://apify.com/aurelix/website-change-monitor)**: Re-checks a site and returns only added, changed and deleted pages, with chunks to upsert and IDs to delete.
- **[Bulk Website Screenshot Tool](https://apify.com/aurelix/website-screenshot)**: Full-page screenshots or PDFs of a list of URLs, cookie banners hidden, lazy images loaded, a public link per image.
- **[Website to Markdown API](https://apify.com/aurelix/website-to-markdown)**: Crawls a site and returns one row of clean main-content Markdown per page, with title, headings and links.
- **[YouTube Transcript Scraper](https://apify.com/aurelix/youtube-transcript-scraper)**: Returns YouTube video transcripts as text, timed segments and AI chunks, from videos, channels, playlists or searches.
- **[YouTube Video Scraper API](https://apify.com/aurelix/youtube-video-scraper)**: Full details for every YouTube video in a search, channel or playlist: views, likes, comments, tags, publish time.

#### Jobs and hiring data

- **[Job Bank Canada Scraper API](https://apify.com/aurelix/job-bank-canada-scraper)**: Official Job Bank Canada postings by month: NOC and NAICS codes, wages, hours and location.
- **[Greenhouse Jobs Scraper](https://apify.com/aurelix/greenhouse-jobs-scraper)**: Live jobs from a company's Greenhouse, Lever, Ashby or SmartRecruiters board, with salary and Canadian province tags.
- **[Career Page Monitor](https://apify.com/aurelix/hiring-signal-monitor)**: New, removed and reposted roles plus hiring velocity per company, from seven job-board systems including Workday.
- **[LinkedIn Jobs Country Filter Scraper](https://apify.com/aurelix/linkedin-jobs)**: Public LinkedIn job postings by keyword and country: title, company, location, seniority, job type, salary text, description.
- **[Multiple Job Boards Scraper](https://apify.com/aurelix/multi-job-board-scraper)**: LinkedIn, about 50 company career sites, Remote OK and We Work Remotely jobs in one deduplicated list.
- **[Naukri Jobs Scraper](https://apify.com/aurelix/naukri-jobs-scraper)**: Naukri.com jobs with salary in rupees, experience, skills and posted date, $0.30 per 1,000 on full result pages.
- **[Remote Job Board Scraper API](https://apify.com/aurelix/remote-jobs-scraper)**: Remote OK and We Work Remotely jobs in one deduplicated list with salary, regions and tags.
- **[Wellfound Jobs API & Scraper](https://apify.com/aurelix/wellfound-jobs-scraper)**: Wellfound startup jobs with salary and equity ranges, company stage and size, $0.50 per 1,000.
- **[Workday Job Postings Scraper](https://apify.com/aurelix/workday-jobs-scraper)**: Jobs from any Workday career site by link or company name, with full descriptions and Canadian province tags.

#### E-commerce and product data

- **[AliExpress Scraper API](https://apify.com/aurelix/aliexpress-product-search)**: AliExpress search results by keyword: price, discount, rating, units sold, ship-from country and sponsored flag.
- **[Amazon Best Sellers & Amazon New Releases](https://apify.com/aurelix/amazon-best-sellers)**: Amazon Best Sellers and New Releases top 100 on 10 marketplaces: rank, ASIN, price, rating, rank change.
- **[Amazon Product Details Scraper](https://apify.com/aurelix/amazon-product-details-scraper)**: Amazon product pages by ASIN on 4 marketplaces: price, list price, buy box, stock, BSR, variants.
- **[Best Buy Canada Scraper API](https://apify.com/aurelix/best-buy-canada-scraper)**: Best Buy Canada search results: CAD price, sale savings, rating, reviews and seller, plus optional UPC and specs.
- **[Shopify App Store Scraper API](https://apify.com/aurelix/shopify-app-store-scraper)**: Shopify App Store apps with pricing plans, ratings, category ranks and reviews; new-app and new-review watch.
- **[Shopify Product Export Scraper](https://apify.com/aurelix/shopify-products-scraper)**: Every public product of any Shopify store with variants, SKUs, prices, barcodes, stock counts and collections.
- **[Shopify Best Sellers Tracker](https://apify.com/aurelix/shopify-best-sellers-tracker)**: Competitor Shopify stores' best-sellers, new products, price changes, stock-outs and restocks since your last run, plus catalogue summary.

#### Leads and company data

- **[Companies House Scraper](https://apify.com/aurelix/companies-house-scraper)**: Newly incorporated UK companies from Companies House: SIC codes, region, registered office, directors with roles.
- **[Company Phone Numbers Scraper](https://apify.com/aurelix/contact-details-scraper)**: Published company emails, phones, addresses, social pages and team members from a list of company websites.
- **[Decision Maker Finder](https://apify.com/aurelix/decision-maker-finder)**: Founders, CEOs, VPs and department heads from company team pages, with title, seniority and function.
- **[FMCSA API](https://apify.com/aurelix/fmcsa-carrier-api)**: FMCSA carriers by DOT, MC or name, plus daily new-authority leads: contacts, fleet, cargo, insurance, out of service.
- **[Newly Funded Companies Hiring](https://apify.com/aurelix/funded-companies-hiring)**: Companies that just raised money (SEC Form D), with their open roles and business contacts, as a new-only monitor.
- **[Google Maps Phone Scraper](https://apify.com/aurelix/google-maps-scraper)**: Local business lists from Google Maps: phones, websites, ratings, hours, coordinates; optional website emails and socials.
- **[Google Maps Reviews](https://apify.com/aurelix/google-maps-reviews-scraper)**: Google Maps reviews from many places per run with an only-new daily monitor: rating, text, date, likes, owner reply.
- **[Liquor License Applications](https://apify.com/aurelix/liquor-license-applications)**: New liquor license applications and new licenses from California, Texas, New York, Missouri, Washington and Ontario.
- **[New Business Licenses Scraper](https://apify.com/aurelix/new-business-licenses)**: Newly licensed businesses from 11 US and Canadian city open-data portals in one schema, with category, issue date and address.
- **[Recently Funded Companies API](https://apify.com/aurelix/recently-funded-companies)**: US companies that just filed an SEC Form D: amount raised, industry, state, executives, confirmed website.
- **[Tech Stack API](https://apify.com/aurelix/tech-stack-detector)**: CMS, e-commerce platform, analytics, ad pixels, chat, CDN and email provider for each domain you enter.
- **[Yellow Pages Canada Scraper](https://apify.com/aurelix/yellow-pages-canada-scraper)**: YellowPages.ca businesses by search term and city: phone, website, address, postal code, hours and rating.

#### Ad intelligence

- **[Competitor Watch](https://apify.com/aurelix/competitor-watch)**: One report per competitor with only what is new: Meta, TikTok and Google ads, page changes, Shopify products and prices, jobs.
- **[Facebook Ad Library Search & API](https://apify.com/aurelix/facebook-ad-library-scraper)**: Facebook and Instagram business ads from the Meta Ad Library: copy, creatives, landing pages, dates, optional EU reach.
- **[TikTok Ads Library API](https://apify.com/aurelix/tiktok-ads-library-scraper)**: TikTok Ads Library ads for Europe, UK, Switzerland and Turkey with targeting, reach, ad text and landing pages.
- **[TikTok Creative Center API](https://apify.com/aurelix/tiktok-creative-center-scraper)**: TikTok Creative Center Top Ads with CTR, likes, budget level, objective, industry and video links for 28 countries.

#### Canada and government data

- **[Canada Building Permits](https://apify.com/aurelix/canada-building-permits-scraper)**: Building permits and development applications from 7 Canadian cities: address, type, status, dates, value, applicant, contractor and Toronto planner contact.
- **[Government Tenders USA Scraper](https://apify.com/aurelix/government-tenders-scraper)**: Open tenders from SAM.gov, CanadaBuys and EU TED in one table: buyer, codes, value, deadline, contact and link.
- **[New York Building Permits Scraper](https://apify.com/aurelix/building-permits-scraper)**: Building permits from 12 US city open-data portals in one schema, with value, status, contractor, owner and applicant.
- **[USPTO Trademark API](https://apify.com/aurelix/uspto-trademark-search)**: US trademark search and watch from USPTO: mark, owner or number lookups, new filings, owner, attorney, goods.

#### More data tools

- **[Agoda API (Unofficial)](https://apify.com/aurelix/agoda-reviews-scraper)**: Scrape Agoda guest reviews at $0.50 per 1,000 with this unofficial Agoda API, cheaper than the leading tools: Agoda and...
- **[Merge CSV Files & Datasets: Remove Duplicates, Excel, JSON](https://apify.com/aurelix/dataset-merge-dedup)**: Merges datasets, CSV, JSON and Excel files and removes duplicates with careful URL, email and number matching.
- **[Polymarket Odds Tracker](https://apify.com/aurelix/polymarket-odds-tracker)**: Polymarket outcomes with implied probability, bid/ask, volume and results, plus price history and price-move alerts.
- **[Tennis Betting Odds Scraper](https://apify.com/aurelix/tennis-odds-scraper)**: Tennis results and upcoming matches with opening and closing odds per bookmaker and implied probabilities.

### Recent changes

- **0.1**: First release: comments and replies from video links and channels' latest uploads, top or newest first, exact per-video limit, pinned and creator-heart flags, publish times, only-new mode, Slack/webhook digest.

The full history is on the **Changelog** tab.

### Tested daily

An automated health check runs this Actor every day on a fixed input and checks that at least 18 comments come back with `videoId`, `commentId`, `url`, `text`, `authorName`, `likeCount` filled in; a failed check alerts the maintainer straight away.

### Was this useful?

- **Something went wrong?** [Open an issue](https://apify.com/aurelix/youtube-comments-scraper/issues) and tell us what you ran: we answer fast and aim to reply within a day.
- **It worked?** [Leave a review](https://apify.com/aurelix/youtube-comments-scraper/reviews): it takes a minute and helps other people find this tool.
- **Need a different source, more fields or a custom feed?** [Open an issue](https://apify.com/aurelix/youtube-comments-scraper/issues) and describe what you need.

# Changelog

This Actor's version history is a separate document: https://apify.com/aurelix/youtube-comments-scraper/changelog.md

# Actor input Schema

## `videos` (type: `array`):

YouTube video links or 11-character video IDs, e.g. \['https://www.youtube.com/watch?v=dQw4w9WgXcQ', 'https://youtu.be/jNQXAC9IVRw', 'https://www.youtube.com/shorts/…']. A channel link pasted here works too.

## `channels` (type: `array`):

Channel links, @handles or UC… channel IDs, e.g. \['@mkbhd', 'https://www.youtube.com/@veritasium']. The comments of each channel's latest uploads (Videos tab, newest first) are read; set how many below.

## `maxVideosPerChannel` (type: `integer`):

How many of each channel's newest videos to read comments from, e.g. 5.

## `maxCommentsPerVideo` (type: `integer`):

Exactly this many comments per video (replies included when turned on), or every comment when the video has fewer, e.g. 100. You pay only for the comments returned.

## `sort` (type: `string`):

Top comments (YouTube's default order) or newest first. Newest first suits a daily 'only new' schedule.

## `includeReplies` (type: `boolean`):

Also return the replies under each comment (each reply is one row with isReply true and parentId set, charged like a comment). Replies count toward 'Max comments per video'.

## `maxRepliesPerComment` (type: `integer`):

With replies on: at most this many replies under each comment, e.g. 10, so one busy thread cannot use up the per-video limit. 0 = all replies.

## `incremental` (type: `boolean`):

Return only comments (and replies) that a previous run with the same inputs did not return, per video, e.g. for a daily schedule. Comments already returned are skipped and not charged. With 'Newest first' each video stops at the first comments already returned, so a daily schedule gets just the comments posted since the last run.

## `stateKey` (type: `string`):

Name for the 'new since last run' memory, e.g. 'my-channel-daily'. Leave empty to derive it from the inputs.

## `slackWebhookUrl` (type: `string`):

After each run, post a short digest to Slack: how many comments were saved (new ones only when 'Only new comments' is on) and the top 10 with links, e.g. https://hooks.slack.com/services/T000/B000/XXXX. Nothing is posted when the run saved nothing. Leave empty to skip.

## `webhookUrl` (type: `string`):

After each run, POST the same digest as JSON (actor, newOnly, count, items = top 10 comments, runUrl, datasetUrl, text) to any URL, e.g. a Zapier, Make or n8n webhook that emails it to you. Nothing is sent when the run saved nothing. Leave empty to skip.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy (the default) is all this tool needs; other proxy groups fall back to it at no extra cost to you.

## Actor input object example

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "channels": [],
  "maxVideosPerChannel": 5,
  "maxCommentsPerVideo": 100,
  "sort": "top",
  "includeReplies": false,
  "maxRepliesPerComment": 0,
  "incremental": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `comments` (type: `string`):

One row per YouTube comment or reply: text, author, likes, reply count, pinned and creator-heart flags, publish time (status ok, charged), or a status row saying why a video or channel returned no comments (comments off or none: first 10 per run free, then $0.0001 each; unavailable videos and bad inputs: free).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videos": [
        "https://www.youtube.com/watch?v=jNQXAC9IVRw"
    ],
    "maxCommentsPerVideo": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("aurelix/youtube-comments-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],
    "maxCommentsPerVideo": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("aurelix/youtube-comments-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "maxCommentsPerVideo": 100
}' |
apify call aurelix/youtube-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aurelix/youtube-comments-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/mnD1Y1z5hpYVkKwPc/builds/aAtPuvbJmxZ4oK7RD/openapi.json
