YouTube Comments Scraper & API: Video Comments Export
YouTube comments scraper, API and MCP tool: export the comments of any video with text, likes, reply count, date, video title and comment count. Paste video links, Shorts links or IDs. Top and recent comments, up to 700 per video. No author names. Pay per comment plus small fetch and start fees.
Typical uses
- Sentiment analysis and AI summaries: feed clean comment text to an LLM, a BI tool or an AI agent (MCP) to see what viewers like, ask and complain about.
- Product and brand research: read the comments under product reviews, launches and ads, yours or your competitors'.
- Creators and social media teams: turn on Only new comments, schedule a daily run and get the new comments on your videos, never the same one twice, in Slack or a spreadsheet.
- Content ideas: collect the questions viewers ask under the top videos of your niche.
Ready-to-run examples
- Export YouTube comments of a video for sentiment analysis: Get the top and recent comments of a YouTube video with text, likes, reply count and date, ready for sentiment analysis, an LLM summary or a spreadsheet. No author names.
- Get new comments on your YouTube videos every day: Schedule this task daily: each run returns only comments posted since the last run on your videos, so you can answer viewers fast. Pay only for new comments.
- Read the comments on competitors' YouTube videos: Collect the comments of several competing YouTube videos on the same topic: what viewers ask, praise or complain about, with likes and reply counts.
Guides and comparisons
Pricing
Pay per use, no subscription, no monthly fee. The price depends on your Apify plan. Apify's free plan includes $5 of usage every month.
| You pay per | Free plan | Starter | Scale | Business |
|---|---|---|---|---|
| Comment One YouTube comment returned with its text, likes, reply count and date, plus the video's title and comment count. Videos with no comment, duplicates and input mistakes are free. | $0.0003 | $0.00027 | $0.00024 | $0.0002 |
| Block of 20 comments requested YouTube comments are fetched in blocks of 20 per video (100 comments = 5 blocks). Charged for each block requested once YouTube has answered, even when the video has fewer comments than requested or is not found, at about what the data source charges us. Not charged when YouTube does not answer. | $0.001 | $0.001 | $0.001 | $0.001 |
| Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.002 | $0.002 | $0.002 | $0.002 |
Run it from your code
Get an API token in the Apify Console (Settings → Integrations), then:
curl -X POST \
"https://api.apify.com/v2/acts/plainrows~youtube-comments-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"maxCommentsPerVideo": 100
}'
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("plainrows/youtube-comments-scraper").call(run_input={'videos': ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],
'maxCommentsPerVideo': 100})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)
Use it in automations and AI agents
- n8n, Make, Zapier: use the official Apify integration and pick the Actor
plainrows/youtube-comments-scraper. - Get new YouTube comments on your videos in Slack every day (n8n workflow JSON)
- MCP (Claude, Cursor, other AI agents):
https://mcp.apify.com?tools=plainrows/youtube-comments-scraper
Full documentation, input options and output fields: https://apify.com/plainrows/youtube-comments-scraper