YouTube Transcript Scraper & Subtitles API avatar

YouTube Transcript Scraper & Subtitles API

Pricing

from $1.20 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper & Subtitles API

YouTube Transcript Scraper & Subtitles API

Get the transcript of any YouTube video: full text and timestamped segments in any caption language or translated, plus title, channel, views and duration. Paste video, Shorts, channel or playlist URLs. Built for AI, RAG and research. $1.50 per 1,000 transcripts.

Pricing

from $1.20 / 1,000 transcripts

Rating

0.0

(0)

Developer

Nathan Carter

Nathan Carter

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Share

YouTube Transcript Scraper is an Apify Actor that returns the transcript of any YouTube video: the full text, timestamped segments and the video's details, in any caption language or translated. Paste video, Shorts, channel or playlist URLs and get one clean JSON row per video, ready for an LLM, a RAG index or analysis.

Quick facts

  • What you get, one row per video:
    • the transcript as plain text, plus timestamped segments (start, duration, text)
    • language, whether it's auto-generated, and every caption language the video has
    • title, channel, views, duration, description, tags and thumbnail
  • Any language: manual captions first, then auto-generated ones. Translate to asks for YouTube's machine translation, which YouTube rate-limits; when it refuses, you get the original language with a note.
  • Videos, Shorts, channels and playlists: a channel or playlist URL adds its latest 15 videos.
  • Reliable: it reads captions through YouTube's app endpoint, and retries on residential IPs when YouTube asks a server to sign in.
  • Price: $1.50 per 1,000 transcripts (less on paid Apify plans). Videos without captions, private or removed videos are free. Apify's free $5 monthly credit covers about 3,300 transcripts.
  • AI agents: connect https://mcp.apify.com?tools=automationnation/youtube-transcript-scraper (setup below).

What can you do with YouTube transcripts?

  • AI and RAG: index talks, courses and podcasts so an LLM can answer questions with sources and timestamps.
  • Content repurposing: turn videos into blog posts, newsletters, show notes and social threads.
  • Research and analysis: study what creators, competitors or experts say, across hundreds of videos.
  • SEO: find the topics and phrases videos cover; pair with our Google Videos Scraper to find the videos first.
  • Accessibility: get captions in every language the creator uploaded.

How to use it

  1. Click Try for free.
  2. Paste YouTube links into Videos: videos, Shorts, a channel (https://www.youtube.com/@mkbhd) or a playlist.
  3. Choose the Transcript language (default English) and whether you want timestamped segments.
  4. Click Start. Most videos take a second or two. Download JSON, CSV or Excel, or use the API.

Input example

{
"videos": [
"https://www.youtube.com/watch?v=UF8uR6Z6KLc",
"https://youtu.be/aircAruvnKk",
"https://www.youtube.com/@lexfridman"
],
"language": "en",
"includeTimestamps": true,
"maxVideosPerChannel": 5
}

Output example

{
"videoId": "UF8uR6Z6KLc",
"url": "https://www.youtube.com/watch?v=UF8uR6Z6KLc",
"title": "Steve Jobs' 2005 Stanford Commencement Address",
"channel": "Stanford",
"channelId": "UC-EnprmCZ3OXyAoG7vjVNCA",
"viewCount": 49185798,
"durationSeconds": 904,
"duration": "15:04",
"status": "ok",
"transcriptLanguage": "en",
"transcriptLanguageName": "English - English",
"isAutoGenerated": false,
"isTranslated": false,
"transcript": "This program is brought to you by Stanford University. Please visit us at stanford.edu. Thank you. I am honored to be with you today…",
"wordCount": 2295,
"segments": [
{ "start": 6.05, "duration": 1.0, "text": "This program is brought to you by Stanford University." },
{ "start": 21.05, "duration": 1.03, "text": "Thank you." }
],
"availableLanguages": [
{ "languageCode": "en", "languageName": "English (auto-generated)", "isAutoGenerated": true },
{ "languageCode": "en", "languageName": "English - English", "isAutoGenerated": false },
{ "languageCode": "es", "languageName": "Spanish - Spanish", "isAutoGenerated": false }
],
"thumbnail": "https://i.ytimg.com/vi/UF8uR6Z6KLc/hqdefault.jpg",
"scrapedAt": "2026-10-05T11:00:00.000Z"
}

Output fields

FieldDescription
videoId, url, titleThe video
channel, channelId, channelUrlWho published it
viewCount, durationSeconds, duration, isLiveViews and length
statusok, no_transcript, unavailable or failed; only ok rows are charged
transcript, wordCountFull transcript as plain text
segmentsCaption lines with start and duration in seconds (switch off with Timestamped segments)
transcriptLanguage, transcriptLanguageName, isAutoGeneratedWhich captions were used
isTranslated, translatedFrom, translationNoteSet when YouTube translated the transcript, or why it didn't
availableLanguagesEvery caption track on the video
description, keywords, thumbnailVideo details
errorWhy there's no transcript, when status isn't ok

How much does it cost?

TranscriptsFree & Bronze plansSilverGold and above
1,000$1.50$1.35$1.20
10,000$15$13.50$12

Only transcripts returned are charged. Set a maximum cost per run in the run options; the Actor stops at your limit and keeps everything saved up to then.

Use it with AI agents (MCP)

Hosted: add https://mcp.apify.com?tools=automationnation/youtube-transcript-scraper to Claude, ChatGPT, Cursor or another MCP client and sign in with Apify.

Local (Claude Desktop or Cursor config):

{
"mcpServers": {
"youtube-transcripts": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server", "--tools", "automationnation/youtube-transcript-scraper"],
"env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
}
}
}

Then ask, for example: "Summarise the last 5 videos on @lexfridman with the key quotes and timestamps."

Integrations and API

curl -X POST "https://api.apify.com/v2/acts/automationnation~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"videos":["https://www.youtube.com/watch?v=UF8uR6Z6KLc"],"includeTimestamps":false}'
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("automationnation/youtube-transcript-scraper").call(run_input={"videos": ["UF8uR6Z6KLc"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["title"], item["wordCount"])
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('automationnation/youtube-transcript-scraper').call({ videos: ['UF8uR6Z6KLc'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].transcript);

LangChain and LlamaIndex users can load the dataset straight into documents with Apify's integrations. Schedules, webhooks, Google Sheets, Slack, n8n, Make and Zapier work through Apify.

FAQ

Does it work for videos without manual subtitles? Yes. It uses YouTube's auto-generated captions when there are no manual ones (switch this off with Allow auto-generated captions).

Can I get a transcript in another language? Set Transcript language to pick among the video's caption tracks. If the video doesn't have that language, the Actor asks YouTube for a machine translation; YouTube rate-limits these, so when it refuses you get the original language and a translationNote.

What about videos with no captions at all? They come back with status: no_transcript and aren't charged. The Actor doesn't transcribe audio.

Can I get every video of a channel? A channel or playlist URL adds its latest 15 videos. For more, paste the video URLs, for example from our Google Videos Scraper.

Is it legal? Transcripts are public captions that YouTube shows to everyone. They can be copyrighted by the creator, so use them for analysis, research and accessibility, and respect creators' rights and YouTube's terms.

More from AutomationNation

Questions or a missing field? Open an issue on the Issues tab; fixes usually ship within a day.