Go to example tasks

Export comments and replies from a YouTube video

Exports the top comments of a YouTube video together with their replies. Each reply is its own row placed right after its parent, with parent comment ID, so thread structure stays intact. Every row has the text, likes, author, publish time and pinned or hearted flags. Export to CSV, Excel or JSON.

Try for free
YouTube Comments Scraper: Replies, Shorts, Channels
YouTube Comments Scraper: Replies, Shorts, Channelszhtech/youtube-comments-scraper
Comment ID
Parent
Reply
Author
+5 fields
Text
Number
Boolean
List
Object

Input

YouTube URLs or IDs:https://www.youtube.com/watch?v=dQw4w9WgXcQ
Max comments per video:30
Include replies:true
Max replies per comment:5

Output fields

Comment ID
Parent
Reply
Author
By creator
Comment
Likes
Date (est.)
Edited

How it works

Sign up on Apify or log in

The YouTube Comments Scraper: Replies, Shorts, Channels Actor is ready to run with the inputs already set for "Export comments and replies from a YouTube video". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export comments and replies from a YouTube video" task

The YouTube Comments Scraper: Replies, Shorts, Channels Actor will start running based on the input automatically. You can also change all the input fields, like youtube urls or ids, max comments per video, and more, to match your specific use case.

Receive the "Export comments and replies from a YouTube video" 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 comment id, parent, 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 "Export comments and replies from a YouTube video" task via API.

Image

Integrate "Export comments and replies from a YouTube video" into your workflow

Connect "Export comments and replies from a YouTube video" 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 YouTube video comments and replies task returns one row per comment or reply with text, likes, author, publish time, reply flag and parent comment ID, so you can rebuild every thread.

Set Max comments per video and Max replies per comment to 0 in the YouTube video comments and replies task to get all of them, and paste your own video, Shorts or live URL.

Save the YouTube video comments and replies task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.

The YouTube video comments and replies task is pay per event: a small start fee per run plus a fee per comment or reply saved. Error rows for videos with comments off are free. Prices are on the Pricing tab.