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 Scraper - Replies, Likes & Shorts
YouTube Comments Scraper - Replies, Likes & Shortsdelicious_zebu/youtube-comments-replies-scraper
Row type
Comment
Reply
Comment author
+34 fields
Text
Number
Boolean
List
Object

Input

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

Output fields

Row type
Comment
Reply
Comment author
Reply author
Comment likes
Reply likes
Comment replies
Comment time
Reply time
Pinned
Hearted
Reply hearted
Comment by creator
Reply by creator
Video title
Video URL
Video likes
Video comments
Comment rank
Comment link
Reply link
Comment ID
Reply ID
Comment author channel ID
Comment author URL
Comment author avatar
Comment author verified
Comment edited
Comment date (approx.)
Reply author channel ID
Reply author URL
Reply author avatar
Reply author verified
Reply edited
Reply date (approx.)
Video ID
Scraped at

How it works

Sign up on Apify01

Create your Apify account to access the YouTube Comments Scraper - Replies, Likes & Shorts.

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