YouTube comments scraper
Scrape YouTube comments and replies from any video or Short, or from a channel, playlist or search. Text, author, likes, reply count, creator heart, pinned, date and exact comment total. No API key or quota. Same input and output as the popular YouTube Comments Scraper. $0.25 per 1,000 comments.
Run YouTube comments scraper on Apify
What it's for
- comments and replies of YouTube videos and Shorts with likes, reply counts, creator hearts, pinned flags and dates
- comments across a channel, playlist or search, optionally only since a date
- YouTube comments for sentiment analysis, brand monitoring or AI datasets, without a YouTube API key or quota
- drop-in replacement for other Apify YouTube comments Actors: accepts startUrls + maxComments + sortCommentsBy and startUrls + sort + maxItems, same output field names as the most used one
Price
- $0.00025 per comment
Call it with curl
curl -X POST "https://api.apify.com/v2/acts/wulfcare~youtube-comments-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" -H "content-type: application/json" -d '{"startUrls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxComments":100,"sortCommentsBy":"TOP_COMMENTS"}'
Call it from Python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("wulfcare/youtube-comments-scraper").call(run_input={'startUrls': ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],
'maxComments': 100,
'sortCommentsBy': 'TOP_COMMENTS'})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
Use it from an AI agent
Add this MCP server to Claude, Cursor or any MCP client: https://mcp.apify.com?tools=wulfcare/youtube-comments-scraper
Related scrapers
Replace YOUR_APIFY_TOKEN with the token from your Apify account. Prices are for Apify's free plan and can change.