Skip to content
Scrappa Get API key
X (Twitter) API 1 credit/request

X (Twitter) Tweet Transcript

GET https://scrappa.co/api/x-twitter/tweet/transcript

The WebVTT caption track of a video tweet, resolved through the stream's subtitle rendition. The track already exists upstream, so no speech recognition is involved. Returns the playlist, the segment URL and the full track with per-word timing.

X (Twitter) Tweet Transcript 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/x-twitter/tweet/transcript
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "id": "1234567890123456789",
    "format": "vtt",
    "segment": "https://video.twimg.com/subtitles/example.vtt",
    "playlist": "https://video.twimg.com/amplify_video/example.m3u8",
    "transcript": "WEBVTT\n\n00:00:01.000 --> 00:00:03.500\nPublic tweet text.\n"
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

Tweet id, or any public x.com status URL. A full status URL is accepted and the id is extracted from it.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

id format segment playlist transcript
JSON Response
200 OK
{
    "id": "1234567890123456789",
    "format": "vtt",
    "segment": "https://video.twimg.com/subtitles/example.vtt",
    "playlist": "https://video.twimg.com/amplify_video/example.m3u8",
    "transcript": "WEBVTT\n\n00:00:01.000 --> 00:00:03.500\nPublic tweet text.\n"
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.