Sign in Get free API key
Home / Transcript API / Twitter Transcript API

X / Twitter Transcript API

An X / Twitter transcript API returns the spoken words of a public video post as timed JSON text. You send the link of the post and your key, and you get back short text segments with start times when text exists for that video.

Terminal · transcriptapi● response shape

›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

Copy request as HTTP
1 transcript
per successful request
$3.00
per 1,000 transcripts, pay as you go
JSON
text with start times
API key
from your dashboard
Twitter transcript API response example in JSON format

G2

4.8 out of 5

4.8

Capterra

4.7 out of 5

4.7

Trustpilot

4.6 out of 5

4.6

Product Hunt

Twitter transcript API: more details

4.9 out of 5

4.9

Google Reviews

4.8 out of 5

4.8

Apify Store

4.7 out of 5

4.7

AppSumo

4.8 out of 5

4.8

GetApp

4.7 out of 5

4.7

TrustRadius

4.6 out of 5

4.6

Software Advice

4.8 out of 5

4.8

SourceForge

4.7 out of 5

4.7

Chrome Web Store

4.6 out of 5

4.6

Gartner Peer Insights

4.8 out of 5

4.8

AlternativeTo

4.7 out of 5

4.7

RapidAPI

4.8 out of 5

4.8

Quick answer

Quick answers
  • You send the link of a public X (formerly Twitter) video post and get back its transcript as JSON.
  • Text must exist for the video. Also, the API does not turn sound into text.
  • Protected accounts and deleted posts return nothing.
  • The official X API is a different tool with its own keys, plans and rules.
  • Billing is per transcript.

Endpoint

What data can I extract with X / Twitter Transcript API?

Of course, 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

In fact, check the input, press Run and read the response. Besides, without an API key you see the response shape on success, plus a real error response captured from the API. Nothing is billed.

X / Twitter›Video transcriptResponse shape
Platform
X / Twitter
Endpoint
GET/v1/x/transcript
Parameters
Required
https://twitter.com/i/status/1580661436132757506
Link of a public post with a video
{
  "video": "https://twitter.com/i/status/1580661436132757506"
}
Run · 1 transcriptGet free API key →
Response
Example shapeResponse shape on success · ... marks values that depend on the video · add your API key to run live · 0 transcripts
{
  "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
}
platformx
video_id...
video_url...
title...
authorhandle
author_name...
length_seconds45
published_atTwitter date string
language_codeen
language_nameEnglish
is_generatedtrue
is_translationfalse
transcript_sourcecaptions
video_index1
thumbnail_url...
available_languages[{"language_code":"en","name":"English","is_generated":true,"is_translatable":false}]
transcript[{"text":"...","start":1,"duration":1.5}]
text...
cachedfalse
HTTP 404Real captured response · failed calls bill 0 transcripts
{
  "error": {
    "code": "UNAVAILABLE",
    "message": "This post is unavailable (deleted, suspended account or not found)",
    "platform": "x"
  },
  "request_id": "4094dd9ab6464902a1c231e3fa176779"
}

Twitter transcript API: more details

Overview

What is an X / Twitter transcript API?

Picture Ines, an analyst at a small news desk. Officials, companies and reporters post short video statements on X every day, and Ines needs the exact words, fast. Also, she cannot watch every clip, and she cannot search what she has only seen. In addition, she needs each statement as text she can quote, check and file.

Moreover, this guide explains how an X / Twitter transcript call works, how it differs from the official X tools, and where it stops. Of course, it also covers Spaces, cost, limits and a daily routine.

Want to try it? Get a free TranscriptAPI key and test one public X video link. Furthermore, coverage of each platform can change, so a test is the best check.

In fact, an X / Twitter transcript API is a web service that returns the words spoken in a video on X, the platform formerly called Twitter. Besides, you pass the link, and the service answers with JSON. Likewise, each item holds a piece of text and the time where it starts.

Overall, people still use both names. Also, many search for a "twitter api" or an "x api" when they mean the developer tools of the platform. Others type "api twitter" or "twitterapi", and they often mean the same thing. In addition, this guide uses "X / Twitter" so that both names are covered.

Moreover, the videos live in Twitter video posts, in replies and in quote posts. Of course, some carry Closed captions, which are text that a transcript service can read when they exist as data. Others have none.

Twitter transcript API: where the words come from

Overall, the words come from caption data. In practice, an author can upload captions, or the platform can create them from the audio. When the data exists, a transcript API returns it. When it does not, there is nothing to return.

Besides, this is the main limit. Likewise, a caption-based service reads text that already exists. In fact, it does not listen to the sound.

How it works

How the X / Twitter transcript API works

Overall, the steps are short.

STEP 1
Get an API key. Create a free account on TranscriptAPI and copy the key from your dashboard.
STEP 2
Copy the link. Open the public post and copy its link from the share menu.
STEP 3
Send the request. Call the REST API with the link and your key. The dashboard lists the exact endpoint and fields.
STEP 4
Read the JSON. You get segments with text and start times when text exists.
STEP 5
Save the result. Store it with the link, the author handle and the fetch date.

In short, you do not connect an X account and you do not run OAuth. Moreover, the API key is enough.

Check the post first

Before you call the API, open the post signed out. If you can watch the video, the post is public. If you see a sign-in wall, the API cannot read it either. Of course, this one check removes most failed calls.

Input

Twitter transcript API: Input

Overall, every call takes the same kind of input: your API key in a header and the link of the video.

1
By video link

In short, you already have the link: pass it as is.

X-API-KeyYOUR_API_KEY
videohttps://twitter.com/i/status/1580661436132757506
Best for
public posts with a video · the full post link
Example requests
Video transcript
// GET /v1/x/transcript
// header: X-API-Key: YOUR_API_KEY
{
  "video": "https://twitter.com/i/status/1580661436132757506"
}

Guide

The official X routes

Of course, many developers search for "twitter api", "x api" and "twitterapi" first. In addition, the official X API is the developer interface of the platform. Moreover, it lets approved apps read and publish posts, search content and manage accounts. Of course, it uses keys, tokens and OAuth, and access depends on the plan you hold.

In practice, plans, limits and prices for the official API have changed more than once. Besides, check the current developer pages for what applies to you before you build on it. Likewise, that is why this guide does not quote its prices or limits.

Twitter transcript API: what this means for you

If you manage your own account or build an app that acts for users, the official tools give you the right control. In fact, a twitter api search call finds posts by keyword, which is a different job from reading the words inside a video. If you only need the text of public videos, a transcript service is a closer match.

Compare

Options compared

RouteNeedsBest forWeak spot
Watch and typeA browserOne or two videosSlow and not repeatable
Official X APIDeveloper account, keys, a planPosts, search and account toolsNot built to return video words
Caption-based APIAPI key and a public linkPublic videos with captionsNeeds captions to exist
Speech recognitionAudio file and a modelAny audio with speechNeeds the audio and more compute

Twitter transcript API: Speech recognition as a fallback

When captions are missing, a Speech-to-text model can listen to the audio. Also, the open Whisper model is released under the MIT license and handles many languages, though accuracy varies. In addition, you need the audio file and the right to use it. TranscriptAPI does not run speech recognition.

Output

What the response contains

Overall, a response is JSON with a list of segments. Of course, each has the text and a start time in seconds. Furthermore, that is enough to rebuild the video as text, link to a moment or build captions.

In practice, the transcript timestamps guide explains the values. If you want subtitle files, the W3C WebVTT specification gives the full rules for VTT, and the SRT, VTT and JSON formats guide compares the formats.

Twitter transcript API: Languages

Of course, language depends on the available caption data. Likewise, many posts have one language. When more exist, you may get Multilingual text, but only what is there.

In fact, the API does not translate. Also, for another language, translate the text after you fetch it.

Output

Output

In practice, the one thing to know: the response is plain JSON with the same field names on every successful call. Moreover, the sample below shows the response shape.

Video transcript
// 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
}

Twitter transcript API: more details

Overall, a failed call returns {"error": {"code", "message"}, "request_id"} and bills 0 transcripts.

Field reference

FieldTypeDescription
platformstringPlatform the transcript came from.
video_idstringID of the video on the platform.
video_urlstringCanonical link of the video.
titlestringTitle of the video.
authorstringName or handle of the account that posted it.
author_namestringDisplay name of the account.
length_secondsnumberLength of the video in seconds.
published_atstringWhen the video was published.
language_codestringLanguage code of the transcript. Null when the platform does not report one.
language_namestringLanguage name of the transcript. Null when not reported.
is_generatedbooleanTrue if the text was generated automatically instead of written by hand.
is_translationbooleanTrue if the transcript is a translation.
transcript_sourcestringWhere the text came from, for example captions or the platform transcript.
video_indexnumberPosition of the video inside the post.
thumbnail_urlstringThumbnail link of the video.
available_languagesarrayOther languages offered for this video. Empty when there is only one text.
transcriptarrayTimed segments, each with text, start and duration in seconds. Empty when the platform gives plain text only.
textstringThe full transcript as one string.
cachedbooleanTrue if the result was served from cache.

Twitter transcript API: more details

Errors

CodeHTTPMeaning
UNAUTHORIZED401Missing or invalid API key.
INVALID_INPUT400The link or ID is not valid for this platform.
NO_TRANSCRIPT404The video has no text to return.
UNAVAILABLE404The post is deleted, private or not found.
PLATFORM_UNAVAILABLE503The platform is not available right now.

Guide

Twitter transcript API: Video posts and Spaces

In short, two formats raise the most questions.

Video posts. Besides, a twitter video transcript api call works on a public post with a video. Likewise, an x video transcript is the same thing under the new name. In fact, see the Twitter video transcript API page for the one-video view.

Spaces. X Spaces are live audio rooms. Also, a twitter space transcript api would need text from a recording, and that text does not exist for most Spaces. In addition, do not assume a Space has a transcript. Moreover, test a link, and if it returns nothing, a speech tool is the fallback when you have the audio and the right to use it.

Limits

Limits and edge cases

Of course, plan for these before you build.

  • No captions. Furthermore, some videos have none, and the API returns nothing.
  • Protected accounts. In practice, only public content is in scope.
  • Deleted posts. Besides, a removed post returns an error.
  • Quote posts. Likewise, use the link of the post that holds the video.
  • Music only. In fact, a video with no speech has an empty transcript.
  • Accuracy. Auto-captions can misspell names and terms.

Twitter transcript API: Common mistakes

Overall, use the link of one post, not a profile or a search page. In addition, 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, captions and other add-ons

Teams often want more than text. Moreover, here is how the extras fit with a transcript call.

Captions. Of course, a twitter video caption extractor reads existing captions only. If a video has none, it returns nothing.

Speech. Furthermore, a twitter video speech to text job listens to the sound track. In practice, it works on videos with no captions, but it needs the audio file and more compute.

Posts. Besides, an x post video transcript call gives the words of the video, not the text of the post. If you need both, fetch the post text with the official tools and match them by link.

Timing. Likewise, a transcript has start times for each segment. In fact, use them to find the moment a statement begins.

Guide

Twitter transcript API: a daily routine for Ines

Of course, here is a plan that keeps the work small.

STEP 1
List the posts. Collect the public links of new video statements.
STEP 2
Call the API. Send each link and save the result with the link and time.
STEP 3
Flag the misses. Mark empty results and check whether captions show on the player.
STEP 4
Verify quotes. Play the moment of every quote you plan to use.
STEP 5
File. Store the text with the link and the author.

Overall, the routine takes under an hour. Moreover, an x / twitter transcript api removes the slowest step, which is watching and typing.

Measuring coverage

In fact, run the call on twenty recent videos. If fourteen return text, coverage is 70 percent. Furthermore, that number tells you whether you need a speech route for the rest.

Guide

Twitter transcript API: Using the data responsibly

Of course, a transcript is public speech turned into text, but the author still owns the video. Besides, use transcripts for research, search and accessibility. Likewise, 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 X / Twitter 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.

Ines handles about 400 videos a month, which costs about a dollar at the pay-as-you-go rate. Also, the pricing table lists every plan.

Scale

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. Moreover, check your dashboard and the pricing page for the limits that apply to you, since they can change.

In short, for a long list, use a queue. Process a small batch, save each result at once and put failures aside for a second pass. Furthermore, keep the post link as the key so you never fetch the same video twice.

Guide

Planning a larger archive

In practice, 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. Besides, a simple layout has one row per post, with the link, the author, the date, the language and the full text. Likewise, a second table holds the segments with start times.

In short, for a twitter video to text job at this scale, run a small test of fifty videos first. Also, count the misses, check ten transcripts by hand and fix your cleaning rules. Then run the full job in batches.

In addition, new posts arrive every day, so add a job that fetches only links you have not stored. Moreover, keep a log of failures and review it each month.

Use cases

Practical uses

News and monitoring. Capture exact words from public statements.

Research. Of course, track how topics appear across many accounts.

Brand tracking. Furthermore, check what people say in videos about your product.

Accessibility. Offer text for people who cannot listen.

Records. In practice, keep a text record of public announcements.

Besides, more patterns are in the use cases section.

Workflow

Working with the text

Raw segments are short and may lack punctuation. Join them with a space, then break the text where the start times show a pause. Likewise, store the link, the author, the date and the language beside the text.

Overall, for analysis, count key phrases and compare them across days. Also, for summaries, send one transcript at a time to a language model. In addition, for search, keep the start time of each chunk so a result can point back to the moment.

Guide

Quality checks before you trust a transcript

Of course, a transcript is useful only if it is right. Furthermore, these checks catch most errors.

  • Read the first minute. In practice, check names, places and numbers.
  • Search for a key term. Besides, 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. Likewise, a two-minute video that yields ten words probably had poor captions.

Of course, add an automatic check that flags transcripts with very few words per minute, and review those by hand.

Related

Related searches, answered

Overall, here is how the common searches line up.

API names. In addition, a twitter api, an x api, an api twitter query and a twitterapi search usually mean the official developer tools. Moreover, an x / twitter transcript api serves a narrower job, which is video text.

Video text. Of course, a twitter video transcript api, an x video transcript, a twitter video to text job and a twitter video caption extractor aim at the same output. Furthermore, a twitter video speech to text service works from the audio.

Spaces and posts. In practice, a twitter space transcript api depends on whether text exists for the recording. Besides, an x post video transcript call covers the video in one post.

Search. Likewise, a twitter api search call finds posts. In fact, it does not return the words inside a video.

Glossary

Key terms for this guide

TermWhat it means here
X (formerly Twitter)The social platform, renamed from Twitter
Twitter APIThe older name of the official developer API
X SpacesLive audio rooms on X
Twitter video postsPosts that carry an uploaded video
Closed captionsTimed text of the speech in a video
Speech-to-textSoftware that turns audio into text
REST APIA web interface you call with HTTP requests
OAuthA standard that lets an app act for a user
JSONThe structured format of the response
MultilingualMore than one language, when tracks exist

Summary

Final Word

Of course, an X / Twitter transcript API gives you the words of a public video from one link. In addition, it reads existing captions, so it is quick and cheap, and it stops where captions are missing or accounts are protected.

Overall, test it on a few videos. Create a free TranscriptAPI key, send a link and read the JSON. Then add a queue for volume. Likewise, see the pricing page for plans and the service list for other platforms.

FAQ

Frequently asked questions

Does the X / Twitter transcript API need my X login?
No. TranscriptAPI uses an API key from your dashboard.
Does it work on protected accounts?
No. Only public videos are in scope.
Is the official X API an alternative?
It is a different tool for posts, search and account work. It has its own keys and plans. Check the current developer pages for details.
What if the video has no captions?
Then there is no text to return. A speech tool can transcribe the audio if you have it and the right to use it.
Does it work on Spaces?
Only if text exists for the recording, which is rare. Test a link to see.
How much does it cost?
Usage is measured in transcripts. 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.
Can I get subtitle files?
Yes, you can build SRT or VTT from the timed segments.

Ship transcription today, not next quarter.

In fact, 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 →
Last updated: 17 November 2026