Go to example tasks

YouTube Channel Transcripts for RAG and ChatGPT

Pull the latest videos of a YouTube channel and get transcripts split into timestamp-linked chunks ready for embeddings, RAG pipelines or ChatGPT. Each chunk links back to the exact second in the video.

Try for free
YouTube Transcript API — RAG, Markdown, Chapters
YouTube Transcript API — RAG, Markdown, Chapterssmartlinks/youtube-transcript-api
inputIndex
videoId
status
language
+7 fields
Text
Number
Boolean
List
Object

Input

Video or collection URLs:https://www.youtube.com/@minutephysics
Expand collections:true
Videos per collection:10
RAG chunks:true
Chunk size unit:tokens
Chunk size:300
Chunk overlap:50

Output fields

inputIndex
videoId
status
language
trackKind
translationStatus
text
retryable
errorCode
errorDetail
reused

How it works

Sign up on Apify or log in

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

Start the "YouTube Channel Transcripts for RAG and ChatGPT" task

The YouTube Transcript API — RAG, Markdown, Chapters Actor will start running based on the input automatically. You can also change all the input fields, like video or collection urls, expand collections, and more, to match your specific use case.

Receive the "YouTube Channel Transcripts for RAG and ChatGPT" 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 inputindex, videoid, status, 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 Channel Transcripts for RAG and ChatGPT" task via API.

Image

Integrate "YouTube Channel Transcripts for RAG and ChatGPT" into your workflow

Connect "YouTube Channel Transcripts for RAG and ChatGPT" 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

A window of transcript text (words, characters or estimated tokens) with start/end times and a link to that moment in the video, ready to embed.

It is an estimate (characters / 4), not a model tokenizer. Use words or characters if you need exact sizing.

Use publishedAfter with a date, or reuse a previous dataset with previousDatasetId so already-fetched videos are skipped and free.