YouTube transcripts for RAG and LLM pipelines
Turn a YouTube channel into a text corpus for retrieval-augmented generation (RAG), embeddings or LLM fine-tuning. Each row holds the full transcript plus timed segments (start time, duration, text), so every chunk can cite the exact moment in the video. Output as JSON, CSV or Excel. Example input: the Lex Fridman Podcast, 20 latest videos.
Input
Output fields
Sign up on Apify or log in
The YouTube Transcript API: Any Video, Channel or Playlist Actor is ready to run with the inputs already set for "YouTube transcripts for RAG and LLM pipelines". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "YouTube transcripts for RAG and LLM pipelines" task
The YouTube Transcript API: Any Video, Channel or Playlist Actor will start running based on the input automatically. You can also change all the input fields, like channels, playlists, videos or search terms, max videos per channel, playlist or search, and more, to match your specific use case.
Receive the "YouTube transcripts for RAG and LLM pipelines" 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 title, video type, views (exact), 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 transcripts for RAG and LLM pipelines" task via API.

Integrate "YouTube transcripts for RAG and LLM pipelines" into your workflow
Connect "YouTube transcripts for RAG and LLM pipelines" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay