Go to example tasks

Collect YouTube comments for sentiment analysis

Build a text dataset for sentiment research or topic analysis. Collect newest comments and reply relationships with local language labels, likes and source URLs. Apply your own sentiment model after export; the task does not calculate sentiment scores.

Try for free
YouTube Comments Scraper — Replies, Shorts & Creator Hearts
YouTube Comments Scraper — Replies, Shorts & Creator Heartsvalev-lab/youtube-comments-scraper
Record type
Video title
Author handle
Comment text
+10 fields
Text
Number
Boolean
List
Object

Input

Videos, Shorts or channels:https://www.youtube.com/watch?v=aircAruvnKk
Comments and replies per video:100
Comment order:newest
Include replies:true
Detect comment language:true

Output fields

Record type
Video title
Author handle
Comment text
Likes
Reported replies
Published at (UTC)
Pinned by creator
Creator heart
Reply
Language
Unseen in monitor
Diagnostic message
Comment URL

How it works

Sign up on Apify or log in

The YouTube Comments Scraper — Replies, Shorts & Creator Hearts 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 — Replies, Shorts & Creator Hearts Actor will start running based on the input automatically. You can also change all the input fields, like videos, shorts or channels, comments and replies 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 record type, video title, author handle, 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

No. It collects public text and metadata for your own sentiment or NLP pipeline. It does not return positive, negative or neutral scores.

Yes. Local language detection adds ISO 639-3 labels such as eng and bul. Short or ambiguous text can be und, and related languages can be confused.