Twitter / X
GET /v1/twitter/transcript

Twitter/X Transcript API

Extract timestamped transcripts from any public Twitter / X video in a single request.

7 credits per request
TL;DR
Extract timestamped transcripts from any public Twitter / X video in a single request. The Twitter/X Transcript API (Twitter / X) is a single authenticated GET request to /v1/twitter/transcript that responds with clean JSON, costs 7 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the Twitter/X Transcript API?

The Twitter/X Transcript API lets you extract the full, timestamped transcript from Twitter / X with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.

What you get

  • Full transcript text with start/end timestamps
  • Auto-detected language and segment count
  • AI audio transcription fallback when no captions exist
  • Clean JSON ready for RAG, search, or subtitles

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

curl "https://api.captapi.com/v1/twitter/transcript?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F1816004914774937656" \
  -H "Authorization: Bearer capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "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"
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • platformPlatform identifier (e.g. youtube, instagram).
  • urlCanonical URL of the item.
  • tweetIdTweet id. Example: "2073078061499617543".
  • transcriptComplete text transcript.
  • wordCountTotal number of words in the transcript.
  • segmentsTotal number of transcript segments.
  • publishedAtPublish date (ISO 8601).

Transcript segments

Each item in transcriptSegments contains:

  • textText content.
  • startStart time in seconds.
  • durationLength in seconds.
  • timestampHuman-readable timestamp (MM:SS format).

Author

The author object contains:

  • usernameAccount username / handle.
  • displayNameDisplay name of the account.
  • urlCanonical URL of the item.
  • followersFollower count.
  • verifiedWhether the account is verified.
  • profileImageProfile image URL.

Parameters

NameTypeRequiredDescription
urlstringYesPublic 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.
cachebooleanNoResponses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true).

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 7 credits. Repeat calls for the same request are served from cache for free.

Using an AI agent? This endpoint is the MCP tool twitter_transcript via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/twitter/transcript and parse the JSON response.

Use cases

Accessibility

Provide captions and transcripts for hearing-impaired users.

Content Analysis

Analyze spoken content for keywords, topics, and sentiment.

Search & Discovery

Make video content searchable by text.

Content Creation

Extract quotes and key phrases from videos.

Language Learning

Provide text alongside audio for language learners.

Research

Analyze large volumes of video content efficiently.

SEO

Extract text content for search engine optimization.

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.

More Twitter / X APIs

Ready to use the Twitter/X Transcript API?

Sign up, grab your key, and make your first call in 60 seconds.