Twitter Video Transcript API
A Twitter video transcript API takes the link of one public video post on X (Twitter) and returns its spoken words as timed JSON text. You call it once per video, and the answer is a list of segments that you can store, search or turn into subtitles.
›Get the transcript of this X / Twitter video
└GET /v1/x/transcript?video=https://twitter.com/i/status/1580661436132757506
✓200 OK · 1 transcript
{ "title": "...", "transcript_source": "captions", "language_code": "en", "transcript": [ { "text": "...", "start": 1 }, … ] }
●X / Twitter · response shape

G2
4.8 out of 5
Capterra
4.7 out of 5
Trustpilot
Twitter video transcript API: more details
4.6 out of 5
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
- You send one video link per request and get one transcript back.
- The text comes from caption data, so a video with no captions returns nothing.
- Each response is a list of segments with start times.
- Protected accounts and deleted posts return nothing.
- Billing is per transcript.
Endpoint
Twitter video transcript API: what data can I extract with X / Twitter 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 X / Twitter Transcript API live
Of course, check the input, press Run and read the response. Moreover, without an API key you see the response shape on success, plus a real error response captured from the API. Nothing is billed.
{
"video": "https://twitter.com/i/status/1580661436132757506"
}{
"platform": "x",
"video_id": "...",
"video_url": "...",
"title": "...",
"author": "handle",
"author_name": "...",
"length_seconds": 45,
"published_at": "Twitter date string",
"language_code": "en",
"language_name": "English",
"is_generated": true,
"is_translation": false,
"transcript_source": "captions",
"video_index": 1,
"thumbnail_url": "...",
"available_languages": [
{
"language_code": "en",
"name": "English",
"is_generated": true,
"is_translatable": false
}
],
"transcript": [
{
"text": "...",
"start": 1,
"duration": 1.5
}
],
"text": "...",
"cached": false
}| platform | x |
|---|---|
| video_id | ... |
| video_url | ... |
| title | ... |
| author | handle |
| author_name | ... |
| length_seconds | 45 |
| published_at | Twitter date string |
| language_code | en |
| language_name | English |
| is_generated | true |
| is_translation | false |
| transcript_source | captions |
| video_index | 1 |
| thumbnail_url | ... |
| available_languages | [{"language_code":"en","name":"English","is_generated":true,"is_translatable":false}] |
| transcript | [{"text":"...","start":1,"duration":1.5}] |
| text | ... |
| cached | false |
{
"error": {
"code": "UNAVAILABLE",
"message": "This post is unavailable (deleted, suspended account or not found)",
"platform": "x"
},
"request_id": "4094dd9ab6464902a1c231e3fa176779"
}Twitter video transcript API: more details
Overview
What is a Twitter video transcript API?
Consider Pablo, who researches public statements for a policy group. Leaders and agencies post short video clips on X, and Pablo must quote them exactly. Replaying each clip to type a line is slow, and mistakes creep in. He wants every clip as text with the time of each line.
Furthermore, this guide shows how that call works from the first request to a full archive. In practice, it covers the post link, the response, Spaces, subtitle files, limits, cost and a routine for a long list of videos.
Ready to test? Get a free TranscriptAPI key and send one public X video link as you read.
Of course, a Twitter video transcript API is a web service that answers one question: what is said in this video? Besides, you pass the video, and it returns the words in order with the time each piece starts.
Overall, the platform is now called X, but many people still search for "twitter" first. Likewise, that is why you also see "x video transcript api" and "x/twitter transcript api" in search. In fact, they mean the same job. Also, a Twitter video can sit in a post, a reply or a quote post, and Twitter Spaces are a separate audio format.
Search phrases vary. In addition, people type "twitter video to text api" and "twitter video caption extractor" when they want the words of one video. Moreover, they type "twitter video transcription service" and "twitter video speech to text" when they care about how the text is made. And they type "twitter video subtitle download" when they want a file at the end.
Twitter video transcript API: one call per video
In short, most projects start with a single video. Also, of course, you check that the text is good, then you loop over a list. Furthermore, the same call works for both, so the code you write for one video becomes the core of a bulk job.
How it works
How the Twitter video transcript API works
In practice, the steps are short.
Of course, you do not connect an X account, and you do not run OAuth. In practice, the key from the dashboard is enough.
Link shapes
Overall, post links come in several shapes. Besides, the domain may be x.com or twitter.com, and short links redirect. Likewise, all point to one post.
In fact, your code should accept each and keep the final clean link as the key in your database. Also, see the broader X / Twitter transcript API page for the account-level view.
Input
Twitter video transcript API: Input
In short, every call takes the same kind of input: your API key in a header and the link of the video.
Of course, you already have the link: pass it as is.
// GET /v1/x/transcript // header: X-API-Key: YOUR_API_KEY { "video": "https://twitter.com/i/status/1580661436132757506" }
Output
What the response contains
Overall, a response is JSON with a list of segments. In addition, each has the text and a start time in seconds. Moreover, that is enough to rebuild the video as text, link to a moment or build captions.
Of course, the transcript timestamps guide explains the values. Furthermore, of course, a two-minute clip has a few dozen segments, so the start times are what make the text useful. Furthermore, a reader can search a phrase and land on the right second.
Twitter video transcript API: Turning segments into plain text
Join the segments with a space to get one block of text. If the captions lack punctuation, sentences will run together. Break the text where the start times show a pause, and the result reads much better.
Turning segments into subtitle files
If you search for "twitter video subtitle download", you probably want an SRT or VTT file. In practice, build it from the segments. SRT lists numbered cues with a start and end time and a comma before the milliseconds.
VTT starts with WEBVTT and uses a period. Besides, the W3C WebVTT specification gives the full rules, and the SRT, VTT and JSON formats guide compares both.
Output
Twitter video transcript API: Output
In short, the one thing to know: the response is plain JSON with the same field names on every successful call. Likewise, the sample below shows the response shape.
// GET /v1/x/transcript?video=https://twitter.com/i/status/1580661436132757506 // response shape on success · ... marks values that depend on the video { "platform": "x", "video_id": "...", "video_url": "...", "title": "...", "author": "handle", "author_name": "...", "length_seconds": 45, "published_at": "Twitter date string", "language_code": "en", "language_name": "English", "is_generated": true, "is_translation": false, "transcript_source": "captions", "video_index": 1, "thumbnail_url": "...", "available_languages": [ { "language_code": "en", "name": "English", "is_generated": true, "is_translatable": false } ], "transcript": [ { "text": "...", "start": 1, "duration": 1.5 } ], "text": "...", "cached": false }
Of course, a failed call returns {"error": {"code", "message"}, "request_id"} and bills 0 transcripts.
Twitter video transcript API: more details
Field reference
| Field | Type | Description |
|---|---|---|
| platform | string | Platform the transcript came from. |
| 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. |
| author_name | string | Display name of the account. |
| length_seconds | number | Length of the video in seconds. |
| published_at | string | When the video was published. |
| 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. |
| is_translation | boolean | True if the transcript is a translation. |
| transcript_source | string | Where the text came from, for example captions or the platform transcript. |
| video_index | number | Position of the video inside the post. |
| thumbnail_url | string | Thumbnail link of the video. |
| 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. |
| text | string | The full transcript as one string. |
| 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. |
Guide
Spaces and long videos
Overall, two cases raise the most questions.
Spaces. In fact, a twitter space transcript is a different job. Also, twitter Spaces are live audio rooms, and text for a recording rarely exists as caption data. Moreover, test a link, and if the twitter space transcript comes back empty, a speech tool is the fallback when you have the audio and the right to use it.
Long videos. In addition, of course, some posts carry videos that run for many minutes. Furthermore, the response will be long, so give your code room to handle it. In practice, store the segments in a database and build chunks for search and summaries.
Guide
Twitter video transcript API: Official routes
Of course, many developers search for "twitter api" first. Besides, the official X API is the developer interface of the platform. Likewise, it lets approved apps read and publish posts, search content and manage accounts, and it uses keys, tokens and OAuth. In fact, plans and limits have changed in the past, so check the current developer pages for what applies to you.
Overall, that model suits apps that manage accounts or read posts. Also, it is not built to hand a general reader the words inside a video.
Compare
Options compared
| Route | Needs | Best for | Weak spot |
|---|---|---|---|
| Watch and type | A browser | One or two videos | Slow and not repeatable |
| Official X API | Developer account, keys, a plan | Posts, search and account tools | Not built to return video words |
| Caption-based API | API key and a public link | Public videos with captions | Needs captions to exist |
| Speech recognition | Audio file and a model | Any audio with speech | Needs the audio and more compute |
Twitter video transcript API: Speech recognition as a fallback
When captions are missing, a Speech-to-text model can listen to the audio. In addition, the open Whisper model is released under the MIT license and handles many languages, though accuracy varies. Moreover, you need the audio file and the right to use it. TranscriptAPI does not run speech recognition.
Limits
Limits and edge cases
In short, plan for these before you build.
- No captions. Likewise, of course, some videos have none, and the API returns nothing.
- Protected accounts. Furthermore, only public content is in scope.
- Deleted posts. In practice, a removed post returns an error.
- Quote posts. Besides, use the link of the post that holds the video.
- Music only. Likewise, a video with no speech has an empty transcript.
- Accuracy. Auto-captions can misspell names and terms.
Twitter video transcript API: Common mistakes
In practice, use the link of one post, not a profile or a search page. In fact, copy the clean link without tracking text. If a call fails, log the link and the status code so you can check it later.
Guide
Speech, metadata and downloads
Teams often want more than text. Also, here is how the extras fit with a transcript call.
Downloads. In addition, a twitter video downloader api gives you the video file. Moreover, that is a separate step from text, and rights and platform rules apply.
Metadata. Also, of course, a twitter video metadata api returns fields such as the post date and counts. Furthermore, the transcript response holds text and timing only. If you need both, match them by the post link and check that you have the right to use each source.
Speech. In practice, a twitter video speech to text job listens to the sound track. Besides, it works on videos with no captions, but it needs the audio file and more compute.
Languages. Likewise, some videos use more than one language. Auto-captions may handle the switch badly, so read those transcripts with extra care. In fact, for a Multilingual archive, translate the text after you fetch it.
Guide
Twitter video transcript API: a routine for Pablo's archive
Overall, here is a plan that keeps the work small.
In short, a twitter video transcript api removes the slowest step, which is watching and typing. Also, the archive grows each day with little effort.
Measuring coverage
Of course, run the call on twenty recent videos. If fifteen return text, coverage is 75 percent. In addition, that number tells you whether you need a speech route for the rest.
Guide
Twitter video transcript API: Planning a larger archive
Overall, a larger archive needs a plan before the first call. Decide what you will store, how you will name it and how people will search it. Moreover, a simple layout has one row per video, with the link, the author, the date, the language and the full text. Likewise, of course, a second table holds the segments with start times.
In fact, to extract transcript from twitter video collections at scale, run a small test of fifty videos first. Count the misses, check ten transcripts by hand and fix your cleaning rules. Then run the full job in batches. Furthermore, new posts arrive every day, so add a job that fetches only links you have not stored.
Guide
Using the data responsibly
In practice, a transcript is public speech turned into text, but the author still owns the video. In practice, use transcripts for research, search and accessibility. Besides, do not build lists of private details about people. Respect copyright, cite the speaker when you quote and follow platform terms and the laws that apply to you.
Auto-captions can mishear words, so watch the clip before you publish a quote. If you store transcripts, set a retention rule and delete what you no longer need.
Pricing
What the Twitter video transcript API costs
Usage is measured in transcripts. Likewise, 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.
If Pablo's archive has 2,000 videos, a one-time run costs about $5.00 at the pay-as-you-go rate. After that, new videos add a few cents a day. In fact, the pricing table lists every plan.
Scale
Twitter video transcript API: Rate limits and bulk work
Of course, every API has limits. If you send many calls at once, you can get an HTTP 429 response. Wait and retry with longer pauses. Also, check your dashboard and the pricing page for the limits that apply to you, since they can change.
Overall, for a long list, use a queue. Process a small batch, save each result at once and put failures aside for a second pass. In addition, keep the post link as the key so you never fetch the same video twice.
Guide
Why one call per video works
Of course, a single call keeps the job simple. Moreover, each twitter video transcript api request has one input and one output, so you can retry a failed link without touching the rest. Likewise, of course, it also keeps cost clear, because one video equals one transcript, and a log of links and results shows exactly what you paid for.
Use cases
Practical uses
Public statements. Capture exact words from officials and companies.
Research. Furthermore, track how topics appear across many accounts.
Accessibility. Offer text for people who cannot listen.
Repurposing. In practice, turn a video script into a thread, a post or a blog.
Records. Besides, keep a text record of public announcements.
Likewise, more patterns are in the use cases section.
Guide
Quality checks before you trust a transcript
In short, a transcript is useful only if it is right. In fact, these checks catch most errors.
- Read the first minute. Also, check names, places and numbers.
- Search for a key term. In addition, fix odd spellings with a find and replace.
- Compare with the video. Play the moment of any quote you plan to publish.
- Check the length. Moreover, a two-minute video that yields ten words probably had poor captions.
In fact, add an automatic check that flags transcripts with very few words per minute, and review those by hand.
Related
Related searches, answered
Of course, here is how the common searches line up.
Text and captions. Furthermore, of course, a twitter video to text api, a twitter video caption extractor and an extract transcript from twitter video job all aim at the same output. Furthermore, a twitter video transcription service might use captions or audio, and twitter video speech to text works from the audio.
Files. In practice, a twitter video subtitle download needs timed segments. Besides, a twitter video downloader api gives you the video file instead.
Names. Likewise, an x video transcript api is the same service under the new name, and an x/twitter transcript api covers both names.
Official and metadata. In fact, a twitter api serves apps that manage accounts and posts. Also, a twitter video metadata api returns fields, not words.
Glossary
Key terms for this guide
| Term | What it means here |
|---|---|
| X (Twitter) | The social platform formerly called Twitter |
| Twitter video | A video attached to a post on X |
| Twitter Spaces | Live audio rooms on X |
| Closed captions | Timed text of the speech in a video |
| Speech-to-text | Software that turns audio into text |
| REST API | A web interface you call with HTTP requests |
| JSON | The structured format of the response |
| OAuth | A standard that lets an app act for a user |
| Multilingual | More than one language, when tracks exist |
Summary
Final Word
In fact, a Twitter video transcript API gives you the words of a video with one call. In addition, it reads existing captions, so it is quick and cheap, and it works best on public videos that have captions.
Of course, start with one link. Create a free TranscriptAPI key, send it and read the JSON. Then add a queue for the archive. Moreover, see the pricing page for plans and the service list for other platforms.
FAQ
Frequently asked questions
What is a Twitter video transcript API?
Do I need an X login?
Does it work on Spaces?
What if a video has no captions?
Can I get an SRT file?
How much does it cost?
Is the official X API an alternative?
Ship transcription today, not next quarter.
Overall, no waitlist, no sales call required to start. Also, of course, get a key, make your first call, see structured JSON back in seconds.
Get your free API key →