Media

Download images and videos from tweets

Downloads images and videos attached to selected tweets.

post/x/media/download

Request body

tweetInputstring

Tweet URL or ID (single tweet)

tweetIdstring

Numeric tweet ID alias for tweetInput

tweetUrlstring

Tweet URL alias for tweetInput

tweetIdsstring[]

Array of tweet URLs or IDs (bulk, max 50 string items)

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.

tweetIdstring
galleryUrlstring
cacheHitboolean
totalTweetsinteger
totalMediainteger

Example response

{
  "tweetId": "1234567890",
  "galleryUrl": "https://xquik.com/gallery/abc123",
  "totalTweets": 2,
  "totalMedia": 5
}

Changes

Changed in 3 of the 13 revisions of this API.11685

  • 5b381ffca02c11See the full diff
    • the / response's property type changed from no type to object for status

      response-property-type-changed

    • added 'propertyNames' constraint to the / response property for the status

      response-property-property-names-added

    • added the new closed enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new closed enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new expired enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_complete_replies_request enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_request enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_output_options enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_reply_options enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new login_service_unavailable enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new missing_url enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new too_many_tweets enum value to the /////// response property for the response status

      response-property-enum-value-added

  • d5855df0e349424See the full diff
    • added the new coverage_cursor_gone enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the ////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • added the new coverage_cursor_gone enum value to the /////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the ////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • added the new coverage_cursor_unavailable enum value to the /////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the ////// response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the ////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • added the new invalid_coverage_cursor enum value to the /////// response property for the response status (media type: application/json)

      response-property-enum-value-added

    • response property oneOf[AuthenticatedPaymentRequired]/payment_options/credits/create_checkout/provider deprecated (media type: application/json)

      response-property-deprecated

    • response property oneOf[AuthenticatedPaymentRequired]/payment_options/subscription/create_checkout/provider deprecated (media type: application/json)

      response-property-deprecated

    • response property oneOf[GuestPaymentRequired]/payment_options/credits/create_checkout/provider deprecated (media type: application/json)

      response-property-deprecated

    • response property payment_options/guest_wallet/create_checkout/provider deprecated (media type: application/problem+json)

      response-property-deprecated