YouTube Shorts Transcript API
A YouTube Shorts transcript API returns the spoken words of a Short as timed JSON text. You send the Short link or video ID, and you get back short text segments with start times that your code can store, search or turn into captions.
›Get the transcript of this YouTube Shorts video
└GET /v1/youtube/shorts/transcript?video=dQw4w9WgXcQ&format=json
✓200 OK · 1 transcript
{ "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)", "language_code": "en", "transcript": [ { "text": "[♪♪♪]", "start": 1.36 }, … ] }
●YouTube Shorts · real sample

G2
4.8 out of 5
Capterra
4.7 out of 5
Trustpilot
4.6 out of 5
YouTube shorts transcript API: more details
Product Hunt
4.9 out of 5
Google Reviews
4.8 out of 5
Apify Store
4.7 out of 5
AppSumo
4.8 out of 5
GetApp
4.7 out of 5
TrustRadius
4.6 out of 5
Software Advice
4.8 out of 5
SourceForge
4.7 out of 5
Chrome Web Store
4.6 out of 5
Gartner Peer Insights
4.8 out of 5
AlternativeTo
4.7 out of 5
RapidAPI
4.8 out of 5
Quick answer
- A Short has a normal video ID, so the same caption system applies as for long videos.
- The API reads the caption track, so a Short with no captions has no transcript.
- Text printed on the screen by an editor is part of the picture and is not returned.
- Each response is a list of segments with start times.
- Billing is per transcript.
Endpoint
What data can I extract with YouTube Shorts Transcript API?
In practice, one endpoint covers it: send a link, get the transcript back as JSON for 1 transcript per successful call.
Try it live
Try YouTube Shorts Transcript API live
In fact, check the input, press Run and read the response. Besides, without an API key you see a response captured from the API, and nothing is billed.
{
"video": "dQw4w9WgXcQ",
"format": "json"
}{
"video_id": "dQw4w9WgXcQ",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"author": "Rick Astley",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"length_seconds": 213,
"is_live_content": false,
"language_code": "en",
"language_name": "English",
"is_generated": false,
"available_languages": [
{
"language_code": "en",
"name": "English",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "en",
"name": "English (auto-generated)",
"is_generated": true,
"is_translatable": true
},
{
"language_code": "de-DE",
"name": "German (Germany)",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "ja",
"name": "Japanese",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "pt-BR",
"name": "Portuguese (Brazil)",
"is_generated": false,
"is_translatable": true
},
{
"language_code": "es-419",
"name": "Spanish (Latin America)",
"is_generated": false,
"is_translatable": true
}
],
"transcript": [
{
"text": "[♪♪♪]",
"start": 1.36,
"duration": 1.68
},
... 60 more segments
],
"cached": true
}| video_id | dQw4w9WgXcQ |
|---|---|
| video_url | https://www.youtube.com/watch?v=dQw4w9WgXcQ |
| title | Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster) |
| author | Rick Astley |
| channel_id | UCuAXFkgsw1L7xaCfnd5JJOw |
| length_seconds | 213 |
| is_live_content | false |
| language_code | en |
| language_name | English |
| is_generated | false |
| available_languages | [{"language_code":"en","name":"English","is_generated":false,"is_translatable":true},{"language_code":"en","name":"English (auto-generated)","is_generated":true,"is_translatable":true},{"language_code":"de-DE","name":"Ge |
| transcript | [{"text":"[♪♪♪]","start":1.36,"duration":1.68},... 60 more segments] |
| cached | true |
YouTube shorts transcript API: more details
Overview
What is a YouTube Shorts transcript API?
Consider Ana, who manages social content for a software brand. She posts a Short every day and wants to study what the top creators in her niche say in the first three seconds. Watching hundreds of clips is slow, and typing out hooks by hand is worse. She needs the scripts as text.
Also, this guide explains how a Shorts transcript call works, what comes back, and where it falls short. In addition, it also covers burned-in text, languages, cost, and how to run the job for a whole channel.
Want to try it? Get a free TranscriptAPI key and test one Short as you read.
Of course, a YouTube Shorts transcript API is a web service that returns the words spoken in a Short. Furthermore, you send a link, and the service answers with JSON. In practice, each item holds a piece of text and the time where it starts.
YouTube Shorts are Short-form video, usually shot as Vertical video for phones. Besides, under the hood they are ordinary YouTube videos. Likewise, they have a Video ID, a page, and a caption track just like a long video. In fact, that is why the same approach works.
People use many names for this service. Also, you will see "youtube shorts transcript generator" and "youtube shorts transcript extractor" for tools that handle one Short at a time. In addition, you will also see "shorts video transcription api" and "short-form video transcript api" for services that handle many. Moreover, they all aim at the same result: text from a clip.
YouTube shorts transcript API: why Shorts need their own page
Of course, shorts are different in practice, even if the system is the same. Furthermore, they are brief, so the transcript is brief. In practice, they often use music and fast cuts, so captions are more likely to be missing or wrong. And creators often burn text into the picture, which no caption API can read.
How it works
How the YouTube Shorts transcript API works
In fact, the process has five small steps.
Of course, you never connect a YouTube or Google account. Also, the key from the dashboard is enough.
Link formats you will meet
In short, shorts links come in a few shapes. Moreover, a Short can be opened as a Shorts link or as a normal watch link with the same ID.
Of course, your code should accept both. Pull the 11 character ID with a pattern, then ignore the rest. Furthermore, this also protects you from tracking text at the end of shared links.
Input
YouTube shorts transcript API: Input
Overall, every call takes the same kind of input: your API key in a header and the link of the video.
In short, you have a link or a video ID: pass it as is.
// GET /v1/youtube/shorts/transcript // header: X-API-Key: YOUR_API_KEY { "video": "dQw4w9WgXcQ", "format": "json" }
Output
Output
Of course, the one thing to know: the response is plain JSON with the same field names on every successful call. In addition, the sample below is a real response captured from the API.
// GET /v1/youtube/shorts/transcript?video=dQw4w9WgXcQ&format=json // real captured response · transcript list shortened to 1 of 61 segments { "video_id": "dQw4w9WgXcQ", "video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)", "author": "Rick Astley", "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw", "length_seconds": 213, "is_live_content": false, "language_code": "en", "language_name": "English", "is_generated": false, "available_languages": [ { "language_code": "en", "name": "English", "is_generated": false, "is_translatable": true }, { "language_code": "en", "name": "English (auto-generated)", "is_generated": true, "is_translatable": true }, { "language_code": "de-DE", "name": "German (Germany)", "is_generated": false, "is_translatable": true }, { "language_code": "ja", "name": "Japanese", "is_generated": false, "is_translatable": true }, { "language_code": "pt-BR", "name": "Portuguese (Brazil)", "is_generated": false, "is_translatable": true }, { "language_code": "es-419", "name": "Spanish (Latin America)", "is_generated": false, "is_translatable": true } ], "transcript": [ { "text": "[♪♪♪]", "start": 1.36, "duration": 1.68 }, ... 60 more segments ], "cached": true }
YouTube shorts transcript API: more details
Overall, a failed call returns {"error": {"code", "message"}, "request_id"} and bills 0 transcripts.
Field reference
| Field | Type | Description |
|---|---|---|
| video_id | string | ID of the video on the platform. |
| video_url | string | Canonical link of the video. |
| title | string | Title of the video. |
| author | string | Name or handle of the account that posted it. |
| channel_id | string | ID of the channel that owns the video. |
| length_seconds | number | Length of the video in seconds. |
| is_live_content | boolean | True if the video is a live broadcast. |
| language_code | string | Language code of the transcript. Null when the platform does not report one. |
| language_name | string | Language name of the transcript. Null when not reported. |
| is_generated | boolean | True if the text was generated automatically instead of written by hand. |
| available_languages | array | Other languages offered for this video. Empty when there is only one text. |
| transcript | array | Timed segments, each with text, start and duration in seconds. Empty when the platform gives plain text only. |
| cached | boolean | True if the result was served from cache. |
Errors
| Code | HTTP | Meaning |
|---|---|---|
| UNAUTHORIZED | 401 | Missing or invalid API key. |
| INVALID_INPUT | 400 | The link or ID is not valid for this platform. |
| NO_TRANSCRIPT | 404 | The video has no text to return. |
| UNAVAILABLE | 404 | The post is deleted, private or not found. |
| PLATFORM_UNAVAILABLE | 503 | The platform is not available right now. |
Output
YouTube shorts transcript API: what the response looks like
In short, a response is a list of segments. Also, each has the text and a start time in seconds. Because a Short is brief, the list is short too, often a few dozen segments.
Of course, start times let you build captions, link to a moment or measure how fast a creator speaks. Moreover, the transcript timestamps guide explains the values.
Turning segments into a script
Join the segments with a space and you have the script. Of course, auto-captions often lack punctuation, so a first read may feel like one long sentence. Break the text where the start times show a pause.
YouTube shorts transcript API: Turning segments into subtitle files
If you search for "youtube shorts subtitle download", you probably want an SRT or VTT file. Furthermore, build it from the segments. In practice, each cue needs a start time and an end time, and the next start time works as the end time of the one before. Besides, the SRT, VTT and JSON formats guide shows the layout of both.
Guide
Captions on Shorts
Overall, shorts can carry Closed captions in two ways. In fact, the creator can upload a caption file, or YouTube can create Auto-captions from the audio. Also, both are stored as a caption track, and the API reads either.
Accuracy varies. In addition, a creator file is usually clean. YouTube Auto-captions struggle with music, slang, names and fast speech, which Shorts have plenty of. Always read a sample before you rely on a batch.
If you search "youtube shorts closed captions" or "youtube shorts auto subtitle", you are asking about this same track. Moreover, the viewer sees it as an on-screen option, and the API sees it as data.
YouTube shorts transcript API: Burned-in text is not a caption
Overall, many Shorts show big words on the screen, edited into the video. Furthermore, those words are pixels, not caption data. In practice, a caption API cannot read them. If the burned-in text is what you need, you would require image text recognition on the frames, which is a different job and a different tool.
Guide
Languages
In practice, language depends on the caption tracks. Likewise, a Short with one track gives one language. Also, a Short with several gives you a choice.
In fact, the API returns what exists and does not translate. Moreover, for Multilingual needs, translate the text after you fetch it.
Limits
YouTube shorts transcript API: Limits and edge cases
Of course, plan for these before you build.
- No captions. Furthermore, some Shorts have none, especially very new ones.
- Music only. In practice, a clip with no speech has an empty or near-empty transcript.
- Private or removed. If you cannot watch it signed out, the API cannot read it.
- Burned-in text. Besides, not returned, as noted above.
- Wrong text. Likewise, auto-captions can misspell names and brands.
When there are no captions
If a Short has no caption track, you can skip it or run the audio through a Speech-to-text tool. Open models such as Whisper work on your own hardware. Whisper is released under the MIT license and supports many languages, though accuracy varies. TranscriptAPI does not run speech recognition, so a Short with no captions has no transcript from the API.
Pricing
What the YouTube Shorts transcript API costs
Usage is measured in transcripts. In fact, pay As You Go costs $3.00 per 1,000 transcripts, Pro costs $20 per month, Ultra costs $50 per month and Max costs $200 per month. Usage is billed proportionally and never rounded up.
Ana's plan is to fetch the last 300 Shorts from ten competitor channels. Also, that is 3,000 transcripts, which is about $7.50 at the pay-as-you-go rate. In addition, the pricing table lists every plan.
If you search for a youtube shorts api, note that this is a transcript service. Moreover, it does not post, list or manage Shorts. Of course, for that you would use the official YouTube Data API v3.
Guide
YouTube shorts transcript API: Running it for a whole channel
Overall, for a full channel, you need a list of Short IDs first. Besides, the official YouTube Data API v3 can list a channel's videos, and you can filter for Shorts by length and format on your side. Then loop over the IDs and call the transcript API for each.
Use a queue. Likewise, process a small batch, save each result at once, and put failed IDs aside for a second pass. In fact, keep the video ID as the key in your database so you never fetch a Short twice.
Rate limits
Of course, every API has rate limits. If you send too many calls too quickly, you get an HTTP 429 response. Wait and retry with longer pauses. In addition, check your dashboard and the pricing page for the limits that apply to you, since they can change.
Use cases
YouTube shorts transcript API: Practical uses
Hook research. Collect the first ten seconds of top Shorts in your niche and look for patterns in the opening line.
Repurposing. Moreover, turn a Short script into a blog post, a thread or a newsletter blurb.
Accessibility. Of course, build captions for your own clips and check them for errors before you post.
Trend tracking. Furthermore, store the text of new Shorts each week and count how often certain words appear.
In practice, more examples are in the use cases section.
Workflow
Working with short transcripts
Overall, short scripts are easy to handle but easy to misread. Likewise, keep the start time of each line so you can find the moment again. In fact, store the video ID, the channel name, the fetch date and the language beside the text.
Of course, for analysis, lower-case the text, remove filler words and count phrases. Moreover, for summaries, one Short fits in a single request to a language model. Furthermore, for a large set, group Shorts by topic first.
Guide
Common mistakes with Shorts transcripts
In practice, most failed calls trace back to a short list of causes. Check these first.
- Using the channel link. Besides, a channel link has no video ID. Likewise, use the link of one Short.
- Copying extra text. In fact, shared links can end with tracking text. Also, keep only the 11 character ID.
- Expecting on-screen text. In addition, words burned into the picture are not in the caption track.
- Skipping the caption check. Open the Short and look for the captions option. If it is missing, there is nothing to fetch.
- No pause between calls. Moreover, a burst of requests can hit the rate limit.
Overall, log the ID and the status code for every failure. Furthermore, a weekly list of failed IDs tells you which Shorts need another route.
Guide
Caption API or speech engine for Shorts?
In fact, a caption API reads text that already exists. Besides, a speech engine listens to the audio and creates text. Likewise, for a youtube shorts transcript api job, the caption route is faster and cheaper whenever captions exist. In fact, the speech route is the fallback for clips with none.
Of course, many teams use both. Furthermore, call the caption API first, then send only the misses to a speech tool. In practice, that keeps cost low and coverage high. Besides, be careful with music-heavy clips, because a speech engine may transcribe lyrics or noise as words.
If you need to extract shorts transcript text from a channel with thousands of clips, start with the caption route and measure the miss rate on a sample of fifty. Likewise, that number tells you how much speech work to budget for.
Guide
Official routes for Shorts data
Of course, teams that search for a youtube shorts api usually want one of two things. Also, the first is channel data, such as lists of videos and titles. In addition, the second is caption text. Moreover, they come from different places.
Of course, for channel data, the official YouTube Data API v3 is the right tool, and Google documents quota costs for each call. In practice, for caption text on public videos, a caption-based service fills the gap, because the official caption download method is built for the video owner. Besides, a youtube shorts caption api in the official sense therefore serves owners, while a transcript API serves readers of public Shorts.
Combine the two. Likewise, list the Shorts with the official API, store the IDs, then fetch each transcript. In fact, this split keeps each tool doing what it does best. Also, it also means a youtube shorts to text pipeline has two clear stages that you can test on their own.
Related
Related searches, answered
Overall, here is how the common searches line up with this API.
Generators and extractors. Moreover, a youtube shorts transcript generator or a youtube shorts transcript extractor is usually a page for one clip. Of course, a youtube shorts transcript api does the same for thousands.
API names. Furthermore, a youtube shorts api, a youtube shorts caption api and a shorts video transcription api all point to caption data in code. In practice, the caption version is what you want for text.
Text and downloads. Besides, to extract shorts transcript data or do a youtube shorts to text job, call the API and save the JSON. Likewise, many teams ask for a youtube shorts caption api when they mean this call. In fact, for a youtube shorts subtitle download, write SRT or VTT from the segments.
IDs and formats. Also, a youtube shorts video id api call needs only the 11 character code. In addition, a short-form video transcript api may support several platforms, and this one covers YouTube Shorts here.
Caption terms. Moreover, the phrases youtube shorts closed captions and youtube shorts auto subtitle refer to the track the API reads.
Glossary
Key terms for this guide
| Term | What it means here |
|---|---|
| YouTube Shorts | The brief vertical videos on YouTube |
| Short-form video | Clips of about a minute or less |
| Vertical video | Video shot in portrait format for phones |
| Auto-captions | Captions made by speech recognition |
| Closed captions | Timed text of the speech in a video |
| Video ID | The 11 character code in a video link |
| REST API | A web interface you call with HTTP requests |
| JSON | The structured format of the response |
| Speech-to-text | Software that turns audio into text |
| Timestamps | Start times attached to each text segment |
| Multilingual | More than one language, when tracks exist |
Summary
Final Word
In short, a YouTube Shorts transcript API gives you the script of a clip with one call. Furthermore, it reads existing captions, so it is quick and cheap, and it misses only clips with no captions or text burned into the picture.
Of course, test it on one Short today. Create a free TranscriptAPI key, send the link and read the JSON. Then add a queue for a whole channel. Likewise, see the pricing page for plans and the list of service pages for other platforms.
FAQ
Frequently asked questions
Does the YouTube Shorts transcript API work on every Short?
Can it read text that is burned into the video?
Do I need a YouTube login?
How do I get the ID of a Short?
Can I get SRT or VTT files?
How much does it cost?
What if a Short has no captions?
Ship transcription today, not next quarter.
In short, no waitlist, no sales call required to start. Also, get a key, make your first call, see structured JSON back in seconds.
Get your free API key →