Go to example tasks

Build a YouTube Comment Sentiment Analysis Dataset

This actor collects the raw comments and replies for sentiment analysis of a YouTube video. Paste a video URL and it returns up to max_comments comments with replies, each carrying comment_content, comment_user, comment_time, and comment_like_count. Export to CSV or JSON and feed it into your own sentiment, emotion, or toxicity model. It gathers comments only, not sentiment scores.

Try for free
YouTube Comments & Replies Scraper
YouTube Comments & Replies Scraperdelicious_zebu/youtube-comments-replies-scraper
Video Link
Post Like Count
Post Comment Count
Comment User
+9 fields
Text
Number
Boolean
List
Object

Input

YouTube Video URL(s)(required):https://www.youtube.com/watch?v=kJQP7kiw5Fk
Max top-level comments per video:500
Max replies per top-level comment:10

Output fields

Video Link
Post Like Count
Post Comment Count
Comment User
Comment Content
Comment Time
Comment Like Count
Comment Reply Count
Reply User
Reply Content
Reply Time
Reply Like Count
Crawl Time

How it works

Sign up on Apify01

Create your Apify account to access the YouTube Comments & Replies Scraper.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

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