How to Download a Twitter (X) Video

Last updated November 27, 2026

Short answer: Paste the post link into Claude with twitr connected, or call the x_read tool with resource download-media and the post ID. You get direct links to the video, GIF and images in that post, valid for 7 days.

Get a free API key No signup · $0.0024 per post

How to do it

  1. Get a twitr API key at twitr.sh/start. No signup, free to start.
  2. Copy the link of the post with the video (Share → Copy link).
  3. Ask Claude (prompt below) or call the API. Open the returned link to save the file.

Ask Claude

With twitr connected to Claude, Cursor or any MCP app (see the Twitter MCP setup), paste:

Download the video from this X post and give me the file link: https://x.com/NASA/status/1880000000000000000

Or call the API

One POST to the x_read tool with your key. The exact price is checked before anything is charged.

curl -X POST https://twitr.sh/api/tools/x_read \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"resource":"download-media","id":"1880000000000000000"}'

Price

$0.0024 per post. $0.0012 per post, with a $0.0024 minimum per call. Up to 50 posts in one call. New keys come with a free starter balance. Agents with a USDC wallet can pay per call with no key (how it works).

Good to know

  • Public posts only. Videos from protected accounts can't be fetched.
  • Links last 7 days. Save the file if you need it longer.
  • Only download videos you have the right to use.

More tasks

FAQ

Can I download a Twitter video without an app?

Yes. Ask Claude with twitr connected, or call the x_read tool with resource download-media and the post ID. It returns direct file links you open in any browser, no app or extension needed.

Does it work for GIFs and images too?

Yes. The same call returns every media file in the post: videos, GIFs (as MP4) and images.

How do I get the post ID?

It's the long number at the end of the post link, after /status/. For https://x.com/NASA/status/1880000000000000000 the ID is 1880000000000000000. Claude can read it from the link for you.

Can I download many videos at once?

Yes. Send up to 50 post IDs in one call with ids instead of id. Each post costs $0.0012.

Why does a video fail to download?

The post is deleted, from a protected account, or the media was removed. You aren't charged for calls that fail.