YouTube comments for sentiment analysis
Api Harbor
Export the top comments of a YouTube video to measure audience sentiment with ChatGPT, Claude or a spreadsheet. Each row has comment ID, text, author, likes, reply count, publish date and video ID. Swap in your own video URLs, export to JSON, CSV or Excel, or run it on a schedule via API.
Input
Output fields
Sign up on Apify or log in
The YouTube Comments Scraper API Actor is ready to run with the inputs already set for "YouTube comments for sentiment analysis". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "YouTube comments for sentiment analysis" task
The YouTube Comments Scraper API Actor will start running based on the input automatically. You can also change all the input fields, like videos, max comments per video, and more, to match your specific use case.
Receive the "YouTube comments for sentiment analysis" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video id, author, text, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "YouTube comments for sentiment analysis" task via API.

The YouTube comments sentiment analysis task returns one row per comment with comment ID, text, author, author channel ID, likes, reply count, publish date and video ID.
Export the YouTube comments sentiment analysis task results to CSV or JSON and give the text column to ChatGPT, Claude or a sentiment model. Likes help weight the comments that the audience agrees with most.
The YouTube comments sentiment analysis task needs one or more YouTube video URLs or IDs, a max number of comments per video and a sort order: top comments or newest first.
The YouTube comments sentiment analysis task reads public YouTube comments, so no account, cookies, proxy or YouTube Data API key (and no API quota) is needed.
The YouTube comments sentiment analysis task can be scheduled in Apify Console or called through the Apify API, Python and JavaScript clients, Make, Zapier, n8n or any MCP client like Claude.
The YouTube comments sentiment analysis task costs $0.80 per 1,000 comments, plus $0.00005 per run start. Rows with an error field are delivered but never charged, and there is no proxy fee or monthly fee.