YouTube Transcript Extractor — Manual & Auto Captions
Pricing
from $2.40 / 1,000 transcripts
YouTube Transcript Extractor — Manual & Auto Captions
Extract YouTube transcripts from video links or IDs: timed segments and full text, manual or auto-generated captions, any language. $2.50 per 1,000 transcripts.
Pricing
from $2.40 / 1,000 transcripts
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
YouTube Transcript Extractor returns the transcript of YouTube videos from their links or IDs: every caption line with its start time, the full plain text, and optional SRT subtitles, from manual or auto-generated captions in the language you choose. It costs USD 3.00 per 1,000 transcripts plus USD 0.005 per run, and videos without captions in your language are not charged.
Use it as a bulk YouTube transcript API for research, AI and RAG pipelines, content repurposing, SEO, accessibility checks and video analytics. One run handles 1 to 500 videos.
What does YouTube Transcript Extractor return?
One record per video that has captions in the chosen language. Each record holds:
| Field | What it contains | Example |
|---|---|---|
position | Position of the video in your list; records are written in this order | 1 |
videoId | 11-character YouTube video ID | jNQXAC9IVRw |
videoUrl | Watch link of the video | https://www.youtube.com/watch?v=jNQXAC9IVRw |
input | Your entry, exactly as given | https://youtu.be/jNQXAC9IVRw |
language | Caption language code as YouTube serves it | en, pt-BR, zh-CN |
languageName | English name of that language | Brazilian Portuguese |
requestedLanguage | The language you asked for, normalized | pt |
captionSource | manual (uploaded by the creator) or auto-generated (YouTube speech captions) | manual |
manualLanguages | Every language the video has manual captions in | ["de", "en"] |
autoGeneratedLanguages | Every language the video has auto-generated captions in | ["en"] |
segmentCount, wordCount, characterCount | Size of the transcript | 6, 39, 217 |
text | Full transcript as plain text | All right, so here we are… |
segments | Timed caption lines: start and duration in seconds, text | [{"start": 1.2, "duration": 2.16, "text": "…"}] |
srt | SubRip (.srt) subtitle text, when includeSrt is on | 1\n00:00:01,200 --> … |
extractedAt | When the transcript was read (UTC) | 2026-11-08T07:00:00.000Z |
How do I get a YouTube transcript with timestamps?
Paste video links or IDs into YouTube video links or IDs and start the run. Timed segments are on by default.
| Input | Description | Default |
|---|---|---|
videoUrls | 1 to 500 YouTube links or IDs: watch?v= links, youtu.be links, Shorts, embed and live links, or bare IDs. Playlist and channel links are not expanded. | required |
language | Caption language code: en, es, de, fr, hi, ja, pt-BR, zh-Hans… | en |
captionSource | manualFirst, autoFirst, manualOnly or autoOnly | manualFirst |
includeTimestamps | Return the segments array with start times | true |
includeSrt | Also return the transcript as SRT subtitle text | false |
Example input:
{"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw","https://youtu.be/iG9CE55wbtY"],"language": "en","captionSource": "manualFirst","includeTimestamps": true,"includeSrt": false}
Duplicates are removed before any work, so the same video listed twice is read and charged once. Records come out in the order of your list.
Which caption languages and sources does it support?
Any language YouTube has captions in. A plain code also matches regional tracks: pt finds pt-BR or pt-PT, en finds en-GB when there is no plain en track, zh-Hant finds zh-TW, and he finds Hebrew tracks that YouTube still files under iw. The record's language field shows the exact track you got.
- Manual captions are uploaded by the creator and are usually punctuated and accurate.
- Auto-generated captions come from YouTube's speech recognition, in the spoken language, without punctuation in most languages.
manualFirst(default) returns manual captions and falls back to auto-generated ones in the same language;autoFirstdoes the reverse;manualOnlyandautoOnlynever fall back.
The Actor reads the captions YouTube already has. It does not translate and does not transcribe audio, so a video without captions returns no transcript.
What does the output look like?
{"position": 1,"videoId": "jNQXAC9IVRw","videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw","input": "https://www.youtube.com/watch?v=jNQXAC9IVRw","language": "en","languageName": "English","requestedLanguage": "en","captionSource": "manual","manualLanguages": ["de", "en"],"autoGeneratedLanguages": [],"segmentCount": 6,"wordCount": 39,"characterCount": 217,"text": "All right, so here we are …","segments": [{ "start": 1.2, "duration": 2.16, "text": "All right, so here we are …" }],"srt": null,"extractedAt": "2026-11-08T08:13:58.067Z"}
Every run also writes an OUTPUT record to the key-value store: the run status (SUCCEEDED, PARTIAL, EMPTY, FAILED), counts, and one line per input with its outcome and reason.
How much does YouTube Transcript Extractor cost?
You pay per transcript delivered, plus a small start fee per run. Videos without a transcript are free.
| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| Transcript (one dataset record) | USD 0.003 | USD 0.002925 | USD 0.00285 | USD 0.0024 |
| Actor start (per run) | USD 0.005 | USD 0.005 | USD 0.005 | USD 0.005 |
The start fee is charged once per started GB of allocated memory, so one event at the default 256 MB. Worked examples on the Free plan price: 1 video costs USD 0.008; 100 videos with captions cost USD 0.305; 500 cost USD 1.505. Platform usage is included in these prices.
What happens when a video has no captions?
You are not charged for it. The OUTPUT record lists each such video with the reason:
language-not-available: the video has captions, but not in your language. The record lists the languages it does have, so you can run again with one of them.no-captions: the video has no captions at all.unavailable: the video is deleted, private, age-restricted or otherwise not public.invalid-input: the entry is not a YouTube video link or ID (for example a playlist link).duplicate: the same video appears earlier in the list.
A run where no video has a transcript ends as EMPTY with that explanation instead of failing.
How do I use it from the API or an AI assistant?
Call it like any Apify Actor. JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('muhammadafzal/youtube-transcript-extractor').call({videoUrls: ['https://www.youtube.com/watch?v=jNQXAC9IVRw'],language: 'en',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items[0].text);
Python (apify-client 3.x):
from apify_client import ApifyClientclient = ApifyClient("<APIFY_TOKEN>")run = client.actor("muhammadafzal/youtube-transcript-extractor").call(run_input={"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"], "language": "en"})for item in client.dataset(run.default_dataset_id).iterate_items():print(item["language"], item["text"][:200])
Use it from an AI assistant. The Actor works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add https://mcp.apify.com/?tools=muhammadafzal/youtube-transcript-extractor as an MCP server, then ask, for example: "Get the English transcripts of these three YouTube videos and summarize each one."
When should I use a different tool?
- Video titles, view counts, channel details or search results: use a YouTube video or channel data Actor. This Actor returns transcripts only.
- Videos without any captions: this Actor reads existing captions and does not run speech-to-text.
- A whole channel or playlist: list the video links first, then pass them here (up to 500 per run).
- Translated captions: the Actor returns the languages a video already has; it does not machine-translate.
FAQ
Is this a YouTube transcript API? Yes. Every run can be started from the Apify API, the JavaScript or Python client, or an MCP client, and returns JSON records with the transcript text and timed segments.
Does it work with YouTube Shorts and live streams?
Yes for Shorts and finished live streams that have captions; pass their links as they are. A live stream that is still running has no captions yet and is reported in OUTPUT without a charge.
Can I get transcripts in other languages?
Yes, set language to any language code. You get the transcript when the video has captions in that language; otherwise OUTPUT lists the languages it has.
What is the difference between manual and auto-generated captions?
Manual captions are uploaded by the creator. Auto-generated captions come from YouTube's speech recognition. The captionSource field of every record says which one you got.
How many videos can I process in one run? Up to 500. Lists longer than 30 videos are sent as batch jobs instead of one request per video.
Am I charged for videos without captions, private videos or bad links? No. Only delivered transcripts are charged, plus the start fee once per run.
Can I export transcripts as SRT or plain text?
Yes. text is plain text, segments holds the timestamps, and includeSrt adds SubRip subtitle text. Datasets also export to JSON, CSV, Excel and other formats.
Limits and data use
Public videos only: private, members-only, age-restricted and deleted videos are reported as unavailable, and nothing behind a sign-in is read. Captions belong to the video creators; make sure your use of transcripts respects their copyright and YouTube's terms. The Actor stores no personal data beyond what the captions themselves contain.
Questions or a video that should work but does not? Open an issue on the Actor's Issues tab with the video link and the run ID.
Last verified: 2026-11-09