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.
Download content from X, delivering images, videos, and post metadata with direct links, multiple qualities available, and full multimedia support.
Download video - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] Enter a video URL |
{"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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
30ms
Service Level:
100%
Response Time:
50ms
Service Level:
100%
Response Time:
13ms
Service Level:
100%
Response Time:
25ms
Service Level:
100%
Response Time:
1,281ms
Service Level:
100%
Response Time:
131ms
Service Level:
100%
Response Time:
1,626ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
623ms
Service Level:
100%
Response Time:
2,819ms
Service Level:
100%
Response Time:
152ms
Service Level:
100%
Response Time:
7ms
Service Level:
100%
Response Time:
169ms
Service Level:
100%
Response Time:
121ms
Service Level:
100%
Response Time:
133ms
Service Level:
100%
Response Time:
2,379ms
Service Level:
100%
Response Time:
124ms
Service Level:
100%
Response Time:
100ms
Service Level:
100%
Response Time:
2,350ms
Service Level:
100%
Response Time:
52ms