Go to example tasks

Export YouTube Comments and Replies with Thread IDs

Review audience discussions in context. This example requests up to 100 public comments and replies combined, capped at 10 replies per thread. Export text, direct links and parent IDs to group replies with their comments.

Try for free
YouTube Comments Scraper – Comments & Replies
YouTube Comments Scraper – Comments & Repliesarjun_code/youtube-comments-scraper
Record type
Video
Author
Comment
+8 fields
Text
Number
Boolean
List
Object

Input

YouTube video or Shorts URLs / IDs(required):https://www.youtube.com/watch?v=YE7VzlLtp-4
Maximum comments per video (0 = all):100
Sort comments by:top
Include replies:true
Maximum replies per comment:10

Output fields

Record type
Video
Author
Comment
Image / GIF
Likes
Replies
Reply
Published
Comment URL
Video status
Status message

How it works

Sign up on Apify or log in

The YouTube Comments Scraper – Comments & Replies Actor is ready to run with the inputs already set for "Export YouTube Comments and Replies with Thread IDs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export YouTube Comments and Replies with Thread IDs" task

The YouTube Comments Scraper – Comments & Replies Actor will start running based on the input automatically. You can also change all the input fields, like youtube video or shorts urls / ids, maximum comments per video (0 = all), and more, to match your specific use case.

Receive the "Export YouTube Comments and Replies with Thread IDs" 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, author, 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 YouTube Comments and Replies with Thread IDs" task via API.

Image

Integrate "Export YouTube Comments and Replies with Thread IDs" into your workflow

Connect "Export YouTube Comments and Replies with Thread IDs" 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 comments and replies task counts parent comments and replies together toward the limit of 100. At most 10 replies per thread are requested by this preset.

Export JSON from the comments and replies task. Join each reply's parentCommentId to the parent's commentId for the same videoId. A missing reply is not proof that it was deleted.

The comments and replies task exports public discussion data for your own review or analysis. It does not score sentiment or collect live-chat messages.