How to get a Twitter / X transcript
GET request to /v1/twitter/transcript with your input. You get clean JSON back in seconds for 7 credits per call — no OAuth, scraping or platform SDKs. Extract timestamped transcripts from any public Twitter / X video in a single request.How to get a Twitter / X transcript (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Twitter/X Transcript API
Send an authenticated GET request to /v1/twitter/transcript with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Results are cached for 24 hours, so repeat calls are free.
Code example
curl "https://api.captapi.com/v1/twitter/transcript?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F1816004914774937656" \
-H "Authorization: Bearer capt_live_..."What the response looks like
{
"success": true,
"cached": false,
"creditsUsed": 7,
"data": {
"platform": "twitter",
"url": "https://x.com/NASA/status/2073078061499617543",
"tweetId": "2073078061499617543",
"transcript": "Happy 250th, America! 🇺🇸\n\nRed (Mars), white (Moon), and blue (Earth) brought to you by the solar system. https://t.co/ggjzhkO596",
"transcriptSegments": [
{
"text": "Happy 250th, America! 🇺🇸\n\nRed (Mars), white (Moon), and blue (Earth) brought to you by the solar system. https://t.co/ggjzhkO596",
"start": 0,
"duration": 0,
"timestamp": "00:00"
}
],
"wordCount": 19,
"segments": 1,
"author": {
"username": "NASA",
"displayName": "NASA",
"url": "https://x.com/NASA",
"followers": 92152455,
"verified": true,
"profileImage": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg"
},
"publishedAt": "Fri Jul 03 16:15:00 +0000 2026"
}
}Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public tweet URL, e.g. https://x.com/user/status/ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
Frequently asked questions
What does the Twitter/X Transcript API do?
The Twitter/X Transcript API lets you extract the full, timestamped transcript from a public Twitter / X video using one GET request to /v1/twitter/transcript. It returns clean JSON — no OAuth or scraping setup required.
How many credits does the Twitter/X Transcript API cost?
Each successful call costs 7 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.
Do I need a Twitter / X API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.
What if the Twitter / X video has no captions?
When no captions are available, Captapi transcribes the audio with AI (Whisper) automatically, so you still get a usable transcript.
Is the Twitter/X Transcript API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.
Ready to get a Twitter / X transcript?
Start free with 100 credits — no credit card required.
Get your free API key