Go to example tasks

Extract YouTube comment text

Use a YouTube comment text extractor to collect public comment text with authors, dates, likes, reply counts, video IDs, and URLs.

Try for free
YouTube Search & Comments Scraper
YouTube Search & Comments Scraperdevcake/youtube-search-comments
Record type
Query
Video id
Title
+10 fields
Text
Number
Boolean
List
Object

Input

What do you want to collect?:direct_comments
Channel URLs, handles, or IDs:@OpenAI
Channel tab:videos
Video URLs or IDs:dQw4w9WgXcQ
Maximum videos:1
Include comments:true
Maximum comments per video:50
Include replies:false
Maximum replies per comment:50
Language code:en
Country code:US

Output fields

Record type
Query
Video id
Title
Channel
Comment id
Parent comment id
Author
Text
Like count
Reply count
Published text
Video url
Scraped at

How it works

Sign up on Apify or log in

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

Start the "Extract YouTube comment text" task

The YouTube Search & Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like what do you want to collect?, channel urls, handles, or ids, and more, to match your specific use case.

Receive the "Extract YouTube comment text" 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, query, video id, 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 "Extract YouTube comment text" task via API.

Image

Integrate "Extract YouTube comment text" into your workflow

Connect "Extract YouTube comment text" 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