Go to example tasks

Collect YouTube comments for sentiment analysis

Gather the newest comments on movie trailers in one table, with their likes and dates, ready for a sentiment analysis tool, a spreadsheet or an AI model. This example compares the reaction to three trailers; replace them with launches, ads or any videos you want to measure.

Try for free
YouTube Comments Scraper
YouTube Comments Scraperjclabs/youtube-comments-scraper
Video
#
Reply #
Avatar
+8 fields
Text
Number
Boolean
List
Object

Input

Videos(required):https://www.youtube.com/watch?v=TcMBFSGVi1c+2
Comments per video:200
Order:newest

Output fields

Video
#
Reply #
Avatar
Author
Comment
Likes
Replies
Posted (approx.)
Pinned
Creator heart
Link

How it works

Sign up on Apify or log in

The YouTube Comments Scraper Actor is ready to run with the inputs already set for "Collect 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 "Collect YouTube comments for sentiment analysis" task

The YouTube Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like videos, comments per video, and more, to match your specific use case.

Receive the "Collect 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, #, reply #, 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 "Collect YouTube comments for sentiment analysis" task via API.

Image

Integrate "Collect YouTube comments for sentiment analysis" into your workflow

Connect "Collect YouTube comments for sentiment analysis" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The sentiment analysis collector returns one row per comment with its text, likes and date, video by video, so you can score the sentiment of each comment and compare the videos.

Yes. Open the sentiment analysis collector, replace the videos with yours (links, Shorts links or video IDs, one per line) and click Start. A free Apify account is enough.

The sentiment analysis collector costs $1 per 1,000 comments on Apify's Free plan and as little as $0.45 per 1,000 on paid plans, with replies charged as comments. The free $5 monthly credit covers about 5,000 comments.

Yes. Schedule the sentiment analysis collector daily or weekly in Apify Console, or start it from the API tab with Python, JavaScript or cURL. Results can go to Make, Zapier or n8n.