Skip to Content

X (Twitter) Transcript API

Turn any X (Twitter) video into text via a simple REST API call. No X API key required — works with tweets, Spaces recordings, and video posts. Python and JavaScript SDKs included.

✔️ Extract transcripts from tweets, Spaces, and X video posts

✔️ No X API key required — works with any public video URL

✔️ Timestamps, multi-language support, and AI fallback transcription

Trusted by top teams

Appsflyer
Bosch
Hellofresh
Huel
Openai
Usage
curl 'https://api.supadata.ai/v1/transcript?url=https://x.com/SpaceX/status/1481651037291225113' \
  -H 'x-api-key: {your_api_key}'
{
  "lang": "en",
  "availableLangs": [
    "en"
  ],
  "content": [
    {
      "text": "As you heard from the call out there",
      "duration": 5489,
      "offset": 3710
    },
    {
      "text": "and from the cheers behind me, we have",
      "duration": 5490,
      "offset": 9199
    },
    {
      "text": "successfully landed this Falcon nine for the tenth time.",
      "duration": 5490,
      "offset": 14689
    }
  ]
}

Built for Developers, by Developers

Nobody likes bloated APIs and unnecessary complexity. That’s why we’ve built our service to be:

Fast

Plug & Play

Scalable

Reliable

Well-documented

Affordable


Use Cases

SaaS Product Development

Build products powered by data:

  • Chatbots and AI agents
  • Content repurposing machines
  • Brand mention monitoring
  • Marketing research and analysis

Content Analysis

Extract insights from content:

  • Research and data mining
  • Content moderation
  • Topic analysis
  • Trend detection

AI

Feed your AI with quality data:

  • Retrieval-Augmented Generation (RAG)
  • Content recommendation systems
  • Chatbot development
  • Sentiment analysis

How Does Supadata Compare?

X (Twitter) has no transcript endpoint of its own, so the alternatives are awkward. Here’s how Supadata compares:

FeatureSupadataOfficial X APIManual download + transcribe
Video transcriptsYes, with timestampsNo transcript endpointManual, one at a time
SetupAPI key, one requestDeveloper account, OAuth 2.0, app reviewSave video, run a transcriber
AI fallbackWhisper when no captions existNot availableDepends on the tool
Spaces recordingsSupportedLimitedManual
Language support50+ languages, auto-detectedNot applicableVaries
No-code integrationsZapier, Make, n8n, Active PiecesNoneNone
SDKsPython, JavaScript/TypeScriptOfficial SDKs (no transcripts)None

Pass any public X URL and Supadata returns timestamped JSON — no X developer account, no OAuth.

Ready to try it? Get your free API key → — 100 requests/month, no credit card.


Pricing That Scales To Zero

Start free and grow with us. Simple pricing that scales to zero. No hidden fees, no surprises.

View Pricing


Trusted by Makers Who Ship

“Finally, an API that just works without the BS.” - Sarah Chen, AI Maker

“Saved me weeks of development time.” - Mark T., Solopreneur


Performance & Capabilities

CapabilitySupported
Tweet videos and video posts
X Spaces recordings
AI fallback when no captions exist
Millisecond-precision timestamps
50+ languages, auto-detected
Plain-text or segmented JSON output

Processing speed is typically a few seconds for video posts and a few minutes for long Spaces recordings. For high volume, batch requests and cache results — transcripts don’t change once a post is published.


Code Examples

Turn any public X (Twitter) video into text with a single request. No X API key, no developer account, no OAuth.

curl 'https://api.supadata.ai/v1/transcript?url=https://x.com/i/status/1838766001137844356' \ -H 'x-api-key: YOUR_API_KEY'

Response:

{ "lang": "en", "content": [ { "text": "Here's what most people get wrong about shipping fast", "offset": 1200, "duration": 2600 }, { "text": "You don't need more time, you need a smaller scope", "offset": 3800, "duration": 2900 } ] }

FAQs

Do I need an X (Twitter) API key?

No. Supadata handles all authentication with X (Twitter) internally. You only need a Supadata API key to make requests — no X developer account required.

What types of X content does this support?

The API works with X video posts, tweet videos, and Spaces recordings. Pass any public X URL and get the transcript back in seconds.

What happens when an X video has no captions?

Supadata transcribes the audio using AI speech recognition, so you get accurate, timestamped text even when X provides no captions — same endpoint, same response format.

Is there a free tier?

Yes. Every account starts on the Basic plan with 100 free credits per month, no credit card required.

What programming languages are supported?

Any language that can make HTTP requests. We offer first-class SDKs for Python and JavaScript/TypeScript, plus no-code integrations for Zapier, Make, n8n, and ActivePieces.

What format is the transcript returned in?

JSON with an array of { text, offset, duration, lang } objects. Set text: true to get a plain string instead. See transcript endpoint docs.


X (Twitter) Transcript API: A Quick Guide

X (Twitter) is now a video-first platform — product launches, founder threads, interviews, and live Spaces all happen on video. But X gives you no way to read that content as text. The X (Twitter) Transcript API closes that gap: pass a public X video URL and get a clean, timestamped transcript back in seconds.

What it does

It extracts spoken text from X video posts and Spaces recordings. Unlike the official X API — which has no transcript endpoint at all — Supadata fetches the media, pulls native captions where they exist, and falls back to AI transcription when they don’t. You call one endpoint and get structured JSON, so it works in any language or framework that can make an HTTP request. No X developer account, OAuth flow, or app review required.

Working with X Spaces recordings

Spaces are long-form audio, which makes them painful to review manually. The API transcribes recorded Spaces the same way it handles video posts, so you can turn an hour-long conversation into searchable text, pull quotes, or feed it to an LLM for summarization. Spaces without captions still come back fully transcribed via AI.


Ready to build?

Get your API key in 30 seconds. No credit card required. Start Building Now →