YouTube transcripts for ChatGPT, LLM and RAG
Api Harbor
Turn YouTube videos into clean text for ChatGPT, Claude, LLM fine-tuning or RAG pipelines. Each result has the full transcript text plus timestamped segments to chunk, embed and cite back to the exact moment. This example pulls two Andrej Karpathy talks on LLMs. Call it from the Apify API or any MCP client.
Input
Output fields
Sign up on Apify or log in
The YouTube Transcript Scraper API Actor is ready to run with the inputs already set for "YouTube transcripts for ChatGPT, LLM and RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "YouTube transcripts for ChatGPT, LLM and RAG" task
The YouTube Transcript Scraper API Actor will start running based on the input automatically. You can also change all the input fields, like videos and language, to match your specific use case.
Receive the "YouTube transcripts for ChatGPT, LLM and RAG" 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, language, 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 ChatGPT, LLM and RAG" task via API.

Integrate "YouTube transcripts for ChatGPT, LLM and RAG" into your workflow
Connect "YouTube transcripts for ChatGPT, LLM and RAG" 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
The YouTube transcripts for LLM task returns the full text field, ready to paste into ChatGPT or Claude, or to send through their APIs as context.
The YouTube transcripts for LLM task gives timestamped segments. Chunk and embed them in your vector database, and keep start times to cite the exact moment.
The YouTube transcripts for LLM task is callable from Claude, Cursor or ChatGPT through the Apify MCP server at mcp.apify.com with your Apify token.
No. The YouTube transcripts for LLM task reads public captions, so no login, cookies, YouTube Data API key or Google Cloud quota are needed.
The YouTube transcripts for LLM task runs from the Apify API, Python and JavaScript clients, Make, Zapier, n8n or a schedule, and from MCP clients like Claude or Cursor.
The YouTube transcripts for LLM task costs $1 per 1,000 transcripts ($0.001 each) plus $0.00005 per run. Videos without captions return an error row that is never charged.