YouTube Comments Scraper - Comments & Replies
Pricing
from $0.20 / 1,000 results
YouTube Comments Scraper - Comments & Replies
Scrape YouTube comments from any video URL or ID via the official YouTube Data API v3. Optionally include reply threads. Returns text, author, likes, timestamps, language, and channel info. Built for sentiment analysis, AI training, brand monitoring, and creator research.
Pricing
from $0.20 / 1,000 results
Rating
0.0
(0)
Developer
NIJ KANANI
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
5 days ago
Last modified
Share
πΊ YouTube Comments Scraper
Scrape YouTube comments and replies from any video URL or ID using the official YouTube Data API v3. Returns text, author, likes, timestamps, language, and channel info β JSON or CSV.
π― Built for sentiment analysis, AI/LLM training datasets, brand monitoring, creator research, and audience insights.
β¨ What you can do
- π₯ Multiple videos per run β paste any list of URLs or IDs
- π¬ Top-level comments + reply threads β flattened with
parentIdfor tree reconstruction - π Optional substring filter β only return comments containing your keywords
- π Sort by relevance (top) or time (newest)
- πΊ Includes video metadata β title, channel, view/like/comment counts
π Quick start
{"videoUrlsOrIds": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ","kffacxfA7G4"],"apiKey": "AIzaSy...","includeReplies": true,"order": "relevance","maxCommentsPerVideo": 500,"searchTerms": ["amazing", "great"]}
π Get the API key (free, 5 min)
- Open https://console.cloud.google.com/
- Create a project (any name)
- Search "YouTube Data API v3" β click β Enable
- Left sidebar: APIs & Services β Credentials
- Click "+ Create credentials" β "API key"
- Recommended: Restrict key β API restrictions β YouTube Data API v3
- Paste the
AIzaSy...key into the input form
Free quota: 10,000 units/day per project.
- 1 page of comments (~100) = 1 unit
- Average video (500 comments) = ~5 units
- 2,000 average videos/day for free
π₯ Input
| Field | Description |
|---|---|
videoUrlsOrIds | List of YouTube URLs or 11-char video IDs |
apiKey | Required β your YouTube Data API v3 key |
includeReplies | Fetch reply threads (default true) |
order | relevance (top) or time (newest) |
maxCommentsPerVideo | Cap on top-level comments per video |
searchTerms | Optional substring filter |
URL formats supported: youtube.com/watch?v=ID, youtu.be/ID, youtube.com/shorts/ID, youtube.com/embed/ID.
π€ Output (per comment)
{"videoId": "dQw4w9WgXcQ","videoTitle": "Rick Astley - Never Gonna Give You Up","channelTitle": "Rick Astley","commentId": "Ugw...","parentId": null,"isReply": false,"author": "@username","authorChannelId": "UC123...","authorProfileImage": "https://...","text": "Comment text","textOriginal": "Comment text","likeCount": 234,"publishedAt": "2026-04-15T...","updatedAt": "2026-04-15T...","totalReplyCount": 5,"scrapedAt": "2026-05-06T..."}
π― Use cases
| Who | Why |
|---|---|
| π€ AI / sentiment teams | Real audience reactions for training/benchmarking |
| π¨ Creators & marketers | Audience insights, content optimization |
| π’ Brand teams | Track mentions on competitors' / influencers' videos |
| π Researchers | Study online discourse around news/topics/products |
βοΈ Tech notes
- Uses YouTube Data API v3 β official, terms-compliant
- Each user provides their own API key (we never store it)
- Auto-handles videos with disabled comments β logs and skips, doesn't fail
- Pagination via
nextPageTokenuntil cap or end
β FAQ
Will it use up my quota? A typical video scrape costs ~5 quota units. 10,000/day = ~2,000 typical scrapes.
What about comment replies?
We fetch them automatically when includeReplies is on. They appear as separate items with isReply: true and parentId set.
Hidden / spam comments? The API only returns publicly visible comments. Hidden ones aren't included.