Youtube Comments Scraper (Pay Per Result) avatar
Youtube Comments Scraper (Pay Per Result)
Try for free

Pay $0.50 for 1,000 comments

View all Actors
Youtube Comments Scraper (Pay Per Result)

Youtube Comments Scraper (Pay Per Result)

apidojo/youtube-comments-scraper
Try for free

Pay $0.50 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.50 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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.youtube.com/watch?v=xuCn8ux2gbs",
9    "https://www.youtube.com/shorts/vVTa1_hm4n4"
10  ],
11  "sort": "top",
12  "maxItems": 1000,
13  "customMapFunction": "(object) => { return {...object} }"
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/apidojo~youtube-comments-scraper/runs?token=$API_TOKEN" \
20  -X POST \
21  -d @input.json \
22  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 43 monthly users
  • 1 star
  • 98.3% runs succeeded
  • 7.8 hours response time
  • Created in Jan 2024
  • Modified 1 day ago