Go to example tasks

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.

Try for free
YouTube Transcript API: Any Video, Channel or Playlist
YouTube Transcript API: Any Video, Channel or Playlistaquixlabs/youtube-channel-scraper
Title
Video type
Views (exact)
Likes
+28 fields
Text
Number
Boolean
List
Object

Input

Channels, playlists, videos or search terms(required):https://www.youtube.com/@lexfridman
Max videos per channel, playlist or search:20
Include transcripts / subtitles (billed separately):true
Preferred transcript languages:en
Add timed transcript segments (no extra charge):true

Output fields

Title
Video type
Views (exact)
Likes
Published (RFC-3339)
Duration (s)
Transcript status
Category
Video ID
Channel
Subscribers (approx.)
Keywords
Thumbnail
Description
Transcript
Transcript language
Transcript language matched
Auto-generated
Transcript cues
Transcript segments
Channel ID
Channel description
Live
Private
Crawlable
Source URL
From cache
Cached at
Input
Site
Error kind
Error

How it works

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.

Image

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

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