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": {
"transcript": "Hey everyone, welcome back to the channel. Today we're breaking down structured data APIs.",
"wordCount": 1240,
"segments": 86,
"transcriptSegments": [
{
"text": "Hey everyone, welcome back to the channel.",
"start": 0,
"duration": 4.12,
"timestamp": "00:00"
},
{
"text": "Today we're breaking down structured data APIs.",
"start": 4.12,
"duration": 4.28,
"timestamp": "00:04"
}
]
}
}Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public tweet URL, e.g. https://x.com/user/status/ID. |
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