Youtube Comment Scraper avatar
Youtube Comment Scraper
Under maintenance
Try for free

3 days trial then $20.00/month - No credit card required now

View all Actors
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
Youtube Comment Scraper

Youtube Comment Scraper

Try for free

3 days trial then $20.00/month - No credit card required now

Introducing the YouTube Comment Scraper — a dynamic tool designed to unlock the wealth of insights hidden within YouTube video comments. Whether you're a content creator, researcher, or simply curious, this actor empowers you to effortlessly extract and analyze valuable information, including commen

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode




1import { ApifyClient } from 'apify-client';
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
8// Prepare Actor input
9const input = {
10    "startUrls": [
11        ""
12    ],
13    "maxCommentCount": 10
16(async () => {
17    // Run the Actor and wait for it to finish
18    const run = await"topaz_sharingan/youtube-comment-scraper").call(input);
20    // Fetch and print Actor results from the run's dataset (if any)
21    console.log('Results from dataset');
22    const { items } = await client.dataset(run.defaultDatasetId).listItems();
23    items.forEach((item) => {
24        console.dir(item);
25    });
Maintained by Community
Actor metrics
  • 4 monthly users
  • 87.9% runs succeeded
  • 0.0 days response time
  • Created in Nov 2023
  • Modified about 2 months ago