Skip to main content
ScrapingRabbit

API

X Video Transcript API

Get the spoken words of any X video as text. Returns clean JSON from one GET request.

Request

One GET request to /twitter/transcript?url={postUrl}

curl "https://scrapingrabbit.com/twitter/transcript?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F2119833829389041896"

Example response

A real answer, shortened: long lists show three items and links have their tracking parameters removed.

{
  "success": true,
  "message": "OK",
  "data": {
    "tweetId": "2119833829389041896",
    "url": "https://x.com/NASA/status/2119833829389041896",
    "author": "NASA",
    "description": "The weekend ends. The mission keeps going.\n\nThis is what American ambition looks like. πŸ‡ΊπŸ‡ΈπŸš€ https://t.co/C5d5Z0imPm",
    "mediaId": "2119833138889158657",
    "duration": 86.708,
    "language": "en",
    "label": "English",
    "isAutoGenerated": false,
    "transcript": [
      {
        "text": "Welcome to Max Power.",
        "start": 1.583,
        "duration": 1.5
      },
      {
        "text": "NASA lit the fires and hosted a four-day",
        "start": 13.833,
        "duration": 2.167
      },
      {
        "text": "showcase of American",
        "start": 16,
        "duration": 1.25
      }
    ],
    "text": "Welcome to Max Power. NASA lit the fires and hosted a four-day showcase of American excellence in air and space right here at Kennedy Space ...",
    "availableLanguages": [
      {
        "language": "en",
        "label": "English"
      }
    ]
  },
  "meta": {
    "timestamp": "2026-11-28T08:44:05.462Z",
    "apiVersion": "1.0",
    "engine": "twitter_transcript"
  }
}

What developers build with it

Quote accurately

Copy what was said in a video instead of typing it out.

Repurpose videos

Turn a short video into a post, summary or script draft.

Research and monitoring

Read what people in your field say in video posts without watching each one.

Limits to plan for

  • A transcript exists only when X has captions for the video. Many videos have none.
  • Auto-generated captions can contain mistakes.
  • Posts without a video, and private accounts, have no transcript.
  • Public requests are limited to 100 per 15 minutes per IP address. Some routes have a lower limit.

Frequently asked questions

Why does my post show no transcript?

The video has no caption track on X. This is common, and it happens with music-only clips, very new posts and videos without captions.

Does it work with twitter.com links?

Yes. Both x.com and twitter.com post links are accepted.

Are the captions accurate?

Some are written by the poster and some are automatic. Names, slang and fast speech can be wrong, so check anything you plan to quote.

Can I get this data as JSON?

Yes. The ScrapingRabbit API returns the same transcript lines with start times as JSON. See the endpoint shown on this page.

Ready to build?

See how access works, or read the shared response format and error codes.