Youtube Comments Scraper avatar
Youtube Comments Scraper
Try for free

Pay $2.00 for 1,000 comments

View all Actors
Youtube Comments Scraper

Youtube Comments Scraper

streamers/youtube-comments-scraper
Try for free

Pay $2.00 for 1,000 comments

This alternative YouTube Data API has no limits or quotas. Extract YouTube comments data from one or multiple YouTube videos: full comment text, posting date, author username, video title, videoId. Download YouTube comments in JSON, CSV, and Excel.

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    {
9      "url": "https://www.youtube.com/watch?v=xObhZ0Ga7EQ"
10    }
11  ],
12  "maxComments": 10
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/streamers~youtube-comments-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 166 monthly users
  • 17 stars
  • 95.8% runs succeeded
  • 8.3 days response time
  • Created in Jul 2023
  • Modified 8 days ago