Media
Download images and videos from tweets
post/x/media/download
Request body
Example request
{
"tweetInput": "https://x.com/elonmusk/status/1234567890",
"tweetId": "1234567890",
"tweetUrl": "https://x.com/elonmusk/status/1234567890",
"tweetIds": [
"1234567890",
"1234567891"
]
}Response
Media download result. Single: tweetId + galleryUrl + cacheHit. Bulk: galleryUrl + totalTweets + totalMedia.
Example response
{
"tweetId": "1234567890",
"galleryUrl": "https://xquik.com/gallery/abc123",
"totalTweets": 2,
"totalMedia": 5
}