The playable video variants of a video tweet, ordered as the upstream ladder. Each variant carries its type and its own source URL, taken from the upstream payload rather than derived.
Run this endpoint
Endpoint
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.
string
Required
Tweet id, or any public x.com status URL. A full status URL is accepted and the id is extracted from it.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
id
video
{
"id": "1234567890123456789",
"video": {
"variants": [
{
"src": "https://video.twimg.com/amplify_video/example.mp4",
"type": "video/mp4",
"bitrate": 632000
},
{
"src": "https://video.twimg.com/amplify_video/example.m3u8",
"type": "application/x-mpegURL"
}
],
"poster_url": "https://pbs.twimg.com/poster_example.jpg",
"duration_millis": 27400
}
}
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.