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

Price

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

YouTube transcriptsYouTube

Replace YOUR_APIFY_TOKEN with the token from your Apify account. Prices are for Apify's free plan and can change.