YouTube Comments Scraper
Paste up to 20 YouTube video or Shorts links and export every comment and reply, with likes, reply counts, commenter details and the video's own stats. No YouTube API key or code needed.
Watch me run the YouTube Comments Scraper
Every run has the same four steps: the input, the run, the results and the export. This demo uses sample data and replays on its own.
Sample data. Real runs return the same columns, up to thousands of rows.
Data you get
Every result is one row with these fields, ready for CSV, Excel, JSON or Google Sheets.
Comment
Commenter
Video
Channel
Input options
| Option | What it does |
|---|---|
video_urls | Required. 1 to 20 video, Shorts or youtu.be links. |
sort_type | Newest (default) or Top. |
includeReplies | Include replies. Default true. |
scrape_all_comments | Collect every comment and ignore the limit. |
max_comments | Comments per video, replies included. Default 100. |
Run it from your code
Python with the official Apify client. JavaScript and cURL work the same way.
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("itclan-bd/youtube-comments-scraper").call(run_input={
"video_urls": ["https://www.youtube.com/watch?v=..."],
"sort_type": "Top",
"max_comments": 500,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)What people use it for
Questions about this scraper
Do I need a YouTube API key?
No. Paste the video links and run it.
Does it work on Shorts?
Yes. Shorts links and youtu.be short links both work.
How do I run a scraper?
Open the scraper on Apify, create a free Apify account, fill in the input and press Start. Results export to CSV, JSON, Excel or Google Sheets, or come back through the Apify API.
How is pricing worked out?
You pay per result on Apify, at the price shown on each scraper. Apify bills you directly. Custom feeds are quoted per project.
Other scrapers
Google Maps Places & Reviews Scraper
Business listings and their reviews from Google Maps, in one run.
Daraz Product Review Scraper
Review text, star ratings, photos and votes for any Daraz product.
Need more than this scraper gives you?
Extra fields, a different site, or a daily feed into your database. We build it and keep it running.