Youtube Comments Scraper avatar
Youtube Comments Scraper
Try for free

Pay $0.10 for 1,000 comments

View all Actors
Youtube Comments Scraper

Youtube Comments Scraper

Try for free

Pay $0.10 for 1,000 comments

YouTube Comments Scraper, the ultimate solution for extensive YouTube comments data retrieval. With its high-speed scraping abilities, it provides unmatched effectiveness and thoroughness. Additionally, its cost-effectiveness is unmatched, priced at just $0.10 per 1000 comments!

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




1from apify_client import ApifyClient
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
6# Prepare the Actor input
7run_input = {
8    "startUrls": [
9        "",
10        "",
11    ],
12    "sort": "top",
13    "maxItems": 1000,
14    "customMapFunction": "(object) => { return {...object} }",
17# Run the Actor and wait for it to finish
18run ="apidojo/youtube-comments-scraper").call(run_input=run_input)
20# Fetch and print Actor results from the run's dataset (if there are any)
21for item in client.dataset(run["defaultDatasetId"]).iterate_items():
22    print(item)
Community logoMaintained by Community
Actor metrics
  • 16 monthly users
  • 99.0% runs succeeded
  • 0.7 days response time
  • Created in Jan 2024
  • Modified about 4 hours ago

You might also like these Actors