YouTube Comment Scraper
Pricing
from $1.70 / 1,000 comments
YouTube Comment Scraper
Scrape comments from YouTube videos and playlists. Supports multiple video or playlist URLs, comment sorting, and a global comment limit.
Pricing
from $1.70 / 1,000 comments
Rating
0.0
(0)
Developer
Scraptivo
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share
YouTube Comment Scraper collects comments from YouTube videos and playlists and turns them into structured data for audience research, sentiment analysis, and community management. Provide one or more video or playlist URLs, run the Actor, and export comment text, authors, likes, reply status, and video metadata to JSON, CSV, Excel, or your preferred integration. Use it to analyze viewer sentiment, monitor brand mentions, and expand playlists automatically. Scraping 1,000 comments costs $2.50.
What can you automate with YouTube Comment Scraper?
- Analyze audience sentiment — extract comment text, likes, and timestamps to understand viewer reaction.
- Monitor brand mentions — track what people say across your own and competitors' videos.
- Build content research datasets — collect comments at scale for research or training data.
- Manage communities — export comments for offline review and reply workflows.
- Expand playlists automatically — provide a playlist URL and scrape comments from every video in it.
Who is this scraper for?
| Team | Workflow |
|---|---|
| Content and social teams | Study viewer feedback and sentiment. |
| Market researchers | Analyze opinions and trends around a topic. |
| Brand and reputation teams | Track mentions across YouTube. |
| Data scientists | Build comment datasets for analytics or training. |
What data can you collect from YouTube?
| Data group | Example fields | How it helps |
|---|---|---|
| Comment content | text, commentId, publishedAt | Access and identify each comment. |
| Author | author, authorChannelId | Attribute the commenter. |
| Engagement | likeCount, isFavorited, isReply, parentCommentId | Gauge reaction and thread structure. |
| Video metadata | videoTitle, videoUrl, videoId, channelName, channelId | Trace the source video. |
| Video stats | videoViewCount, videoCommentCount, videoPublishedAt | Contextualize the comment. |
How to use YouTube Comment Scraper
- Open the Actor in the Scraptivo account.
- Paste one or more YouTube video or playlist URLs.
- Set a comment limit and choose the sort order.
- Run the Actor.
- Export the dataset to JSON, CSV, Excel, or your integration.
{ "videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"], "maxItems": 1000, "commentSort": "new", "maxConcurrency": 3, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] } }
Example workflow
Collect weekly feedback on a new video
- Run your newest video URL each day for the first week.
- Keep comments above a like-count threshold for follow-up.
- Send new comments to Google Sheets or a community tool.
- Deduplicate using the stable
commentIdfield.
Automate and integrate your results
- Schedule recurring runs using Apify's Scheduler or the API.
- Webhooks after a successful run to trigger downstream processing.
- Export to Google Sheets, Make, Zapier, or a database.
- Deduplicate using the stable
commentIdfield.
curl "https://api.apify.com/v2/acts/scraptivo~youtube-comment-scraper/run-sync" -H "Content-Type: application/json" -d '{"videoUrls":["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"maxItems":1000,"commentSort":"new"}'
Input reference
| Field | Type | Required | Default | What it controls |
|---|---|---|---|---|
| videoUrls | array | yes | — | YouTube video or playlist URLs to scrape comments from. |
| maxItems | integer | no | 100 | Maximum comments across all videos (0 = unlimited). |
| commentSort | string | no | new | Order: new (newest first) or top. |
| maxConcurrency | integer | no | 3 | Videos to process in parallel (1–10). |
| proxyConfiguration | object | no | RESIDENTIAL | Proxy settings; residential by default. |
Output example
{"commentId": "UgzuC3zzpRZkjc5Qzsd4AaABAg","text": "We're so honored that the first ever YouTube video was filmed here!","author": "@SanDiegoZoo","authorChannelId": "UCC5NfQ6Mf0dq_eEwv4P_hWA","likeCount": 4600000,"isFavorited": true,"isReply": false,"parentCommentId": null,"publishedAt": "2020-07-09T00:00:00+00:00","videoId": "jNQXAC9IVRw","videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw","videoTitle": "Me at the zoo","channelName": "jawed","videoViewCount": 398675009,"videoCommentCount": 10}
How much does it cost to scrape YouTube?
YouTube Comment Scraper uses pay-per-event billing on Apify:
- $0.0025 per comment scraped (the headline result event).
- $0.00005 per run for the actor-start event.
Examples: 1,000 comments cost about $2.50; 10,000 comments cost about $25. Apify platform plan discounts apply at higher volumes, and residential proxy traffic is billed separately by Apify according to your plan.
Reliability and responsible use
- Expands playlist URLs into individual videos automatically.
- Handles pagination and rate limits with residential proxies by default.
- Reply fields (
isReply,parentCommentId) are only present for reply comments. - Scrape only public comment data and follow YouTube's terms of service.
Frequently asked questions
Can I scrape comments from a whole playlist?
Yes. Paste a playlist URL into videoUrls and the Actor expands it into individual videos automatically.
Can I schedule YouTube Comment Scraper to run automatically?
Yes. Use Apify's Scheduler or the API to run a video or playlist on a recurring cadence.
What counts as one result?
One comment. Use maxItems to cap the number of comments across all videos in a run.
What is the difference between "new" and "top" comment sort?
new returns the newest comments first; top returns the highest-engagement comments.
Why are some reply fields empty?
isReply and parentCommentId only apply to reply comments; top-level comments have these fields unset.
How do I avoid duplicate records?
Deduplicate using the stable commentId field before writing to your pipeline.
Related Scraptivo automations
- YouTube Channel Scraper — channel and video metadata from YouTube.
- Instagram Comment Scraper — comments from Instagram posts.
- Twitter/X Profile Scraper — profile and post data from X.
Support and custom workflows
Need a different field, source, or delivery workflow? Contact Scraptivo at scraptivo@gmail.com. Include the Actor name, a sample URL, the required fields, and expected volume so we can assess the request.