YouTube Comments Scraper - Comments, Replies & Likes
Pricing
from $0.24 / 1,000 comments
YouTube Comments Scraper - Comments, Replies & Likes
YouTube Comments Scraper: export all comments and replies of YouTube videos and Shorts to CSV, Excel or JSON: text, author, likes, reply count, date, pinned and hearted. Paste video URLs or IDs, or use search terms and channels. Top or newest first. No login or API key. $0.30 per 1,000 comments.
Pricing
from $0.24 / 1,000 comments
Rating
0.0
(0)
Developer
Social Scrapers
Maintained by CommunityActor stats
0
Bookmarked
6
Total users
2
Monthly active users
4 days ago
Last modified
Categories
Features
Share
YouTube Comments Scraper exports the comments and replies of any public YouTube video or Short: the comment text, author and author channel, likes, reply count, date, and whether it is pinned, edited or hearted by the creator. Paste video URLs or IDs, or let it find videos through search terms, channels or playlists. Top comments or newest first. Download the comments as CSV, Excel or JSON. No login, no API key, $0.30 per 1,000 comments.
💡 Need a feature that isn't here? Just ask. Open an issue on the Issues tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.
⭐ Found it useful? A short review on the Reviews tab helps other people find this scraper, and tells us what to build next.
What does YouTube Comments Scraper do?
- 💬 All comments of a video, as many as you ask for, with no upper limit.
- ↩️ Replies under each comment, up to the number you choose per comment.
- 🔝 Top comments or newest first, the same two orders as on YouTube.
- ❤️ Rich comment data: likes, reply count, date, pinned, edited, creator heart, and whether the creator wrote it.
- 🎬 Videos and Shorts: paste watch URLs, youtu.be links, Shorts URLs or bare video IDs.
- 🔎 Find videos for you: add search terms, channels or playlists, and the scraper collects the comments of their videos.
- 📺 Video context included: each video is saved once with its title, views, likes and exact comment count, followed by its comments, so you can group and filter them.
- ✅ Pay only for what is saved, and set a maximum cost per run if you want one.
What data can you extract from YouTube comments?
| Item | Data |
|---|---|
| Comment | comment ID, text, author name or @handle, author channel ID and URL, likes, reply count, date (and YouTube's "2 weeks ago" text), edited, pinned, creator heart, written by the video's creator |
| Reply | the same fields, plus parentId: the comment it answers |
| Video | title, URL, publish date, views, likes, exact comment count, comments turned off, channel name and subscribers |
How to scrape YouTube comments
- Open YouTube Comments Scraper on Apify and click Try for free.
- Paste video URLs or IDs, one per line (or add search terms, channels or playlists).
- Set Max comments per video and, if you want replies, Max replies per comment.
- Choose Top comments or Newest first.
- Click Start and download the comments as CSV, Excel, JSON, XML or HTML. The Comments view shows them as a table.
How to export YouTube comments to Excel or CSV
Run the scraper, open the Comments view of the results, and click Export with CSV or Excel. Each row is one comment or reply, with the video it belongs to.
How to get the newest comments of a video
Choose Newest first and set Max comments per video to how many recent comments you need. Run it on a schedule to follow a video's new comments.
How to scrape the comments of a whole channel
Paste the channel URL (for example https://www.youtube.com/@NASA) and set Videos per channel or playlist: the scraper takes the channel's newest videos and collects the comments of each.
How much does it cost to scrape YouTube comments?
Pay per result, with platform usage and proxies included and no monthly fee for the Actor:
| Result | Price per 1,000 | Silver plan | Gold plan |
|---|---|---|---|
| Comments (replies included) | $0.30 | $0.27 | $0.24 |
| Videos (saved once each, before their comments) | $0.61 | $0.549 | $0.488 |
Each run also has Apify's standard Actor start charge: $0.001 per run (one event per GB of memory, at least one; this Actor uses at most 1 GB, so one event per run).
Examples:
- One video with 10,000 comments: $3.00 + $0.00061 = $3.00.
- 100 videos with 500 comments each (50,000 comments): $15.00 + $0.06 = $15.06.
Apify's free plan comes with $5 of platform credit every month, enough for about 16,000 comments. Set a maximum cost per run and the scraper stops cleanly before the first result that would go over it.
Input example
{"startUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw","https://youtu.be/VIDEO_ID","https://www.youtube.com/shorts/SHORT_ID"],"maxCommentsPerVideo": 1000,"maxRepliesPerComment": 10,"commentsSortBy": "top","searchQueries": ["iphone 18 review"],"maxResultsPerQuery": 10}
Output example
Each result has a dataType. A comment:
{"dataType": "comment","id": "COMMENT_ID","videoId": "jNQXAC9IVRw","videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw","videoTitle": "Me at the zoo","text": "The beginning of everything.","author": "@viewer","authorChannelId": "AUTHOR_CHANNEL_ID","authorChannelUrl": "https://www.youtube.com/channel/AUTHOR_CHANNEL_ID","authorIsChannelOwner": false,"authorIsVerified": false,"likeCount": 4100,"replyCount": 93,"publishedAt": "2025-11-08T00:00:00.000Z","publishedTimeText": "1 year ago","isEdited": false,"isPinned": false,"hasCreatorHeart": false,"parentId": null,"scrapedAt": "2026-11-08T10:30:00.000Z"}
A reply has the same fields, with parentId set to the ID of the comment it answers. Each video comes once, before its comments, with dataType video and its title, views, likes and commentCount.
Use cases
- Sentiment analysis and opinion mining: what viewers think about a product, a brand or a topic.
- Product and market research: feature requests, complaints and questions under review videos.
- Community management: follow new comments on your videos, find questions to answer.
- Influencer vetting: the real engagement under a creator's videos.
- AI and NLP datasets: large, dated collections of real comments and replies.
Use it via API, Python, JavaScript and integrations
Run it and get the comments in one call with the Apify API:
curl -X POST "https://api.apify.com/v2/acts/socialscrapers~youtube-comments-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"startUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"], "maxCommentsPerVideo": 200}'
Python, with the Apify client:
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("socialscrapers/youtube-comments-scraper").call(run_input={"startUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],"maxCommentsPerVideo": 500,"maxRepliesPerComment": 5,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():if item["dataType"] == "comment":print(item["author"], item["likeCount"], item["text"][:80])
JavaScript, with the Apify client:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('socialscrapers/youtube-comments-scraper').call({ startUrls: ['jNQXAC9IVRw'], commentsSortBy: 'newest' });const { items } = await client.dataset(run.defaultDatasetId).listItems();const comments = items.filter((i) => i.dataType === 'comment');
Schedule runs, get a webhook when one finishes, or send the comments to Make, Zapier, n8n, Google Sheets and other tools through Apify integrations. AI agents and assistants can run it through Apify's MCP server.
YouTube Data API vs YouTube Comments Scraper
| Official YouTube Data API | YouTube Comments Scraper | |
|---|---|---|
| Setup | Google Cloud project and API key | None: paste video URLs or IDs |
| Limits | 10,000 quota units a day by default | No quota |
| Finding videos | A separate search, 100 quota units each | Search terms, channels and playlists in the same run |
| Price | Free within the quota | $0.30 per 1,000 comments |
Limits
- Public videos only. Comments of age-restricted videos need a signed-in account, so those videos are saved without comments. Videos with comments turned off are saved with
commentsTurnedOff: true. - Dates are estimated from YouTube's "2 weeks ago" text, to the day for dates a day or more back. Comment likes are as precise as YouTube shows them ("1.2K" becomes 1200).
- Speed: comments come about 20 per request, so very large threads take a while. In test runs, 500 comments took under half a minute.
- Live chat is not collected; live streams have a chat instead of comments.
- Datacenter proxy choices fall back to residential. If you pick Apify Proxy without the RESIDENTIAL group, the first session YouTube refuses moves the run to RESIDENTIAL, in the same country; custom proxy URLs are used exactly as given.
- Share links work as they are:
youtu.be/…links, links with the app's?si=…share parameter,m.youtube.com,music.youtube.com,/shorts/…,/live/…and/embed/…links all name the same video, channel or playlist. - A run with 0 results still succeeds. When a video is private or deleted, a channel does not exist or a search finds nothing, the run ends as Succeeded with a status message naming each input and why, and nothing is charged. When nothing in the input can be used at all, the run also ends as Succeeded, with a status message that starts "Nothing to scrape:" and says what to fix; no results are charged. A run fails only when YouTube refuses every one of 3 or more inputs and a well-known public channel is refused too (the scraper is then blocked; try again later).
FAQ
Is it legal to scrape YouTube comments? YouTube Comments Scraper collects only comments that anyone can see without signing in. Comments contain personal data (names and opinions), which laws such as the GDPR protect, so collect only what you need and have a legitimate reason for it. You are responsible for how you use the data and for following YouTube's terms and the laws that apply to you.
Do I need a YouTube account or API key? No. Paste the videos and start the run.
How many comments can I get from one video? As many as YouTube lists; there is no upper limit in the scraper.
Why did I get fewer comments than the video's comment count? The count includes replies and comments YouTube holds back or later removed; set Max replies per comment to collect replies too.
Can I scrape YouTube Shorts comments? Yes. Paste the Shorts URL like any other video.
Do I pay for the videos? Each video is saved once before its comments, at $0.61 per 1,000 videos, which is $0.00061 a video.
Other scrapers by Social Scrapers
| Scraper | What it gets |
|---|---|
| TikTok API | Profiles, Videos and Comments |
| TikTok Comments Scraper | Comments, Replies and Likes |
| TikTok Hashtag Scraper | Top Videos, Views and Likes |
| TikTok Profile Scraper | Followers, Bio, Stats and Videos |
| TikTok Scraper | Videos, Profiles, Hashtags and Comments |
| TikTok Sound Scraper | Videos Using a Sound and Music Info |
| TikTok Video Scraper | Views, Likes, Captions and Comments |
| Instagram API | Profiles, Posts, Reels, Comments and Hashtags |
| Instagram Comments Scraper | Comments, Likes and Reply Counts |
| Instagram Hashtag Scraper | Reels and Keyword Search |
| Instagram Post Details Scraper | Likes, Comments, Views and Media |
| Instagram Post Scraper | Posts, Reels and Comments |
| Instagram Profile Scraper | Followers, Bio, Posts and Reels |
| Instagram Reels Scraper | Reels, Plays, Likes and Comments |
| Instagram Reels Transcript Scraper | Speech to Text and Captions |
| Instagram Scraper | Posts, Profiles, Reels, Comments and Hashtags |
| YouTube API | Videos, Transcripts, Search, Channels and Comments |
| YouTube Channel Scraper | Videos, Shorts, Subscribers and About |
| YouTube Scraper | Videos, Shorts, Channels and Comments |
| YouTube Search Scraper | Videos, Channels, Views and Filters |
| YouTube Shorts Scraper | Shorts, Views, Likes and Search |
| YouTube Transcript Scraper | Subtitles, Captions and SRT |
| YouTube Video Details Scraper | Stats, Subtitles and Comments |
| Facebook Ads Library Scraper | Meta Ad Library and Spend |
| Facebook Comments Scraper | Posts, Reels, Videos and Replies |
| Facebook Groups Scraper | Public Group Posts and Reactions |
| Facebook Marketplace Scraper | Prices, Locations and Sellers |
| Facebook Page Contact Info Scraper | Email, Phone and WhatsApp |
| Facebook Posts Scraper | Pages, Profiles and Timelines |
| Facebook Pages Scraper | Profiles, Contact Info and Reviews |
| Facebook Reels Scraper | Reels, Videos, Plays and Captions |
| X (Twitter) Profile Scraper | Followers, Bio and Tweets |
| X (Twitter) Tweet Scraper | Latest Posts by Profile |
| Threads Profile Scraper | Followers, Bio, Links and Posts |
| Threads Replies Scraper | Comments, Authors, Likes and Media |
| Threads Scraper | Posts, Profiles, Replies and Search |
| Threads Search Scraper | Keywords, Hashtags, Top and Recent Posts |
| Reddit Comments Scraper | Threads, Replies, Votes and Authors |
| Reddit Scraper | Posts, Comments, Subreddits, Users and Search |
| Reddit Search Scraper | Posts by Keyword, Subreddit and Date |
| Reddit User Scraper | Profiles, Karma, Posts and Comments |
| Subreddit Scraper | Hot, New and Top Posts with Comments |
| Quora Scraper | Answers, Questions, Profiles and Topic Search |
| LinkedIn Ad Library Scraper | Ads, Advertisers and Impressions |
| LinkedIn Job Search Scraper | Filters, Salaries and New Jobs |
| LinkedIn Jobs Scraper | Job Listings, Salaries and Companies |
| Google Maps Email Extractor | Emails, Phones and Social Links |
| Google Maps Scraper | Places, Phones, Websites, Ratings and Hours |
| Google News Scraper | Headlines, Articles and Search |
| Google Ads Transparency Scraper | Ad Creatives and Advertisers |
| Amazon Product Scraper | Search Results, Prices, Ratings, ASINs |
| Indeed Jobs Scraper | Salaries, Full Descriptions, Company Data |
| Contact Details Scraper | Emails, Phones and Social Links |
| Telegram Channel Scraper | Posts, Views and Media |
| Doximity Scraper | Physician Profiles and Doctor Directory |
| KevinMD Scraper | Physician Articles and Author Specialties |
| Op-Med Scraper | Physician Essays and Doctor Profiles |
| Career Site Jobs Scraper | Greenhouse, Lever, Ashby and Workday |
| Google Trends Scraper | Interest Over Time, Regions and Queries |