The X Content Download API is a solution designed to quickly, reliably, and systematically obtain and process multimedia content published on X (formerly Twitter). This API allows you to retrieve images, videos, and data associated with any public post simply by providing the post's URL. The service provides results with complete metadata, including author information, available quality, resolution, duration in the case of videos, and details of each detected multimedia file. Its main objective is to simplify content extraction, avoiding manual processes and eliminating common platform limitations.
Each request returns an organized set of data where media types, formats, extensions, sizes, quality labels, and direct download URLs are clearly identified.
In short, this API offers a clear, functional, and scalable way to obtain any image or video available on X through a single endpoint, making it an ideal tool for developers who need to automate downloads, store content, build analysis tools, or integrate media from X into different platforms.
{"status":true,"data":{"url":"https://x.com/fifaworldcup_es/status/1992189571509993802","source":"x","author":"fifaworldcup_es","title":"Magia en los pies de Nicole Mancilla. ✨⚽️\n\n@FCFSeleccionCol | #FutsalWWC","thumbnail":"https://pbs.twimg.com/amplify_video_thumb/1992189137919598593/img/Yq9SRZhVZWeXFhtV.jpg","duration":20.84,"medias":{"images":[],"videos":[{"id":"media_69285fc39f373","url":"https://video.twimg.com/amplify_video/1992189137919598593/vid/avc1/1080x1920/WMJ_T1LpmuFIccHG.mp4?tag=21","type":"video","extension":"mp4","quality":"1080p","width":1080,"height":1920,"duration":20.84,"bitrate":null,"fps":null,"size":null,"is_audio":false,"resolution":"1080x1920","label":"1080p","has_no_audio":false}],"audio":[]},"type":"single","error":false,"time_end":351}}
curl --location --request GET 'https://zylalabs.com/api/11448/x+content+download+api/21607/download+video?url=https://x.com/fifaworldcup_es/status/1992189571509993802' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns multimedia content including images, videos, and associated metadata from public posts on X. Each response includes details such as author information, media types, quality options, and direct download URLs.
Key fields in the response include "url" (post link), "author" (content creator), "medias" (array of media files), "duration" (for videos), and "quality" (resolution details). Each media file also includes its type, extension, and size.
The response is structured in a JSON format, with a top-level "status" field indicating success, followed by a "data" object containing organized details about the post, including media types and their respective attributes.
The endpoint provides information on multimedia content such as images and videos, along with metadata like author name, post title, media quality, resolution, and duration for videos, ensuring comprehensive content retrieval.
Users can customize requests by specifying the post URL in the API call. The API automatically retrieves all available media and metadata associated with that specific post, allowing for tailored content extraction.
Typical use cases include automating content downloads for archiving, integrating multimedia into applications, conducting data analysis on social media trends, and building tools for content curation or marketing.
Data accuracy is maintained by directly sourcing content from X, ensuring that the information retrieved reflects the latest updates and metadata associated with public posts, thus providing reliable and current data.
Users can expect responses to include a mix of media types (images, videos) with varying qualities. The structure will consistently include metadata fields, allowing for predictable parsing and integration into applications.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
50ms
Service Level:
100%
Response Time:
30ms
Service Level:
100%
Response Time:
1,281ms
Service Level:
100%
Response Time:
13ms
Service Level:
100%
Response Time:
131ms
Service Level:
100%
Response Time:
1,626ms
Service Level:
100%
Response Time:
25ms
Service Level:
100%
Response Time:
623ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
2,819ms