X (Twitter) video download API (coming soon)
Coming soon: X (Twitter) is not live yet — today the API serves YouTube, TikTok and Instagram. Videos on X are delivered as adaptive streams split into segments, so there is no single file to save. CrawlFetch resolves a public post URL into a direct download link to a complete MP4.
Which X (Twitter) URLs work
- Public post URLs on
x.com/<user>/status/…andtwitter.com/<user>/status/…. - Posts from protected accounts, and deleted posts, return
404.
What one request returns
- Title, account handle, duration and thumbnail URL.
- A list of available formats with container, resolution label and size.
downloadUrl— a direct download link on the CrawlFetch domain for the format you asked for.audioUrl— the audio track on its own, when the platform publishes one.
Download a X (Twitter) video with one request
Send the X (Twitter) URL to the same GET /v1/resolve endpoint you use for every other platform — CrawlFetch detects the platform from the URL. The downloadUrl in the response is a direct download link on the CrawlFetch domain, so your code downloads a normal file instead of dealing with players, manifests or cookies.
curl -sG "https://api.crawlfetch.com/v1/resolve" \--data-urlencode "url=https://x.com/NASA/status/1234567890123456789" \-H "Authorization: Bearer $CRAWLFETCH_KEY"
From segmented stream to one file
You don't need to download HLS segments and stitch them together — the downloadUrl is a single file. Pick a resolution with res, or let the API return the best available.
What developers build with the X (Twitter) download API
- Media monitoring and newsrooms preserving public video posts.
- Social analytics dashboards.
- Research datasets built from public posts.
Use it responsibly
Only download content you own, have licensed, or have the creator's permission to use, and follow X (Twitter)'s terms for your use case. CrawlFetch is not affiliated with X (Twitter).
FAQ
Do I need X API access?
No. The X developer API is not required — only a CrawlFetch key.
Does it work with both twitter.com and x.com links?
Yes, both domains are accepted.
Related
Last updated 2026-10-25