Go to example tasks

YouTube Search to Transcripts & Chapters API

Search YouTube by keyword and automatically extract clean transcripts, chapter-aligned Markdown, and overlapping RAG chunks from top matching videos. Ideal for AI research agents, n8n, and Make flows.

Try for free
YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP)
YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP)datapipestudio/youtube-transcript-rag
Video ID
Title
Channel
Language
+6 fields
Text
Number
Boolean
List
Object

Input

YouTube Search Queries (Optional):python asyncio tutorial
Max Videos:3
Preferred Languages (ISO 639-1):en
Include Rich Video Metadata (Add-on):true
Generate Chapter Markdown & RAG Chunks (Add-on):true
Target Tokens per RAG Chunk:400
RAG Chunk Overlap (Tokens):50

Output fields

Video ID
Title
Channel
Language
Auto-Generated
Words
Duration (s)
RAG Chunks
Status
URL

How it works

Sign up on Apify or log in

The YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP) Actor is ready to run with the inputs already set for "YouTube Search to Transcripts & Chapters API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "YouTube Search to Transcripts & Chapters API" task

The YouTube Transcript Scraper — Subtitles, Chapters & RAG (MCP) Actor will start running based on the input automatically. You can also change all the input fields, like youtube search queries (optional), max videos, and more, to match your specific use case.

Receive the "YouTube Search to Transcripts & Chapters API" 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 video id, title, channel, 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 "YouTube Search to Transcripts & Chapters API" task via API.

Image

Integrate "YouTube Search to Transcripts & Chapters API" into your workflow

Connect "YouTube Search to Transcripts & Chapters API" 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 Search to Transcripts & Chapters API provides videoId, title, channelName, language, isAutoGenerated, wordCount, durationSeconds, ragChunkCount, status, and url.

The ragChunkCount field indicates the number of overlapping token-sized chunks extracted from the video, ready for use in AI applications.

This task charges $0 for unavailable or captionless videos, ensuring fair billing without unexpected costs.

Optional rich video metadata includes title, channelName, channelId, viewCount, likeCount, durationSeconds, publishDate, category, keywords, thumbnailUrl, and description.

This task supports automatic scheduling to run through the Apify Console.

The YouTube Search to Transcripts & Chapters API is ready to connect with AI agents via the Apify MCP server.