X (Twitter) Media Scraper & Downloader avatar

X (Twitter) Media Scraper & Downloader

Pricing

from $2.00 / 1,000 media item founds

Go to Apify Store
X (Twitter) Media Scraper & Downloader

X (Twitter) Media Scraper & Downloader

Download photos, videos and GIFs from X (Twitter) tweets and profiles, with direct media URLs, author and metrics. No login needed; works with Apify MCP and the API.

Pricing

from $2.00 / 1,000 media item founds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

X (Twitter) Media Scraper: photos, videos and GIFs

Get every photo, video and GIF from X (Twitter) profiles, tweet links and searches. One clean row per file, with the best video quality first and the original-size photo link. No login, no cookies.

What you get and why it helps

  • Download-ready links. Every video quality (best first), the original-size photo, a preview image and alt text.
  • Context for each file. Post link, author, post text, date, language, hashtags, likes, reposts, replies, quotes, views and bookmarks.
  • Deep profile history. Pull up to 1,000 media rows from one account, newest first. Filter by date or minimum likes.
  • Search by keyword or hashtag. Find media posts about any topic.
  • Tweet IDs or links. Paste links or plain IDs. Duplicates are removed and lookups run 100 at a time.
  • Plain-English summary per row (agentSummary) so AI agents can use results directly.
  • Honest results. The run summary says what worked, what was empty and what failed for each input.

Data fields

FieldMeaning
tweetUrl, tweetIdLink and ID of the post
author, authorHandle, authorVerifiedWho posted it
tweetText, tweetDate, tweetDateIso, language, hashtagsPost details
likeCount, retweetCount, replyCount, quoteCount, viewCount, bookmarkCountEngagement
mediaTypephoto, video or animated_gif
mediaUrlBest file link (original size for photos, highest quality for videos)
videoVariants, hlsUrlEvery video quality and the streaming playlist
thumbnailUrl, altText, width, height, durationMs, bitrate, mediaId, mediaIndexFile details
source, sourceInputWhich input found it
kvKeySaved-file key when downloads are on
agentSummaryOne-sentence description of the row

How to use

  1. Add handles, tweet links or IDs, or search phrases (any mix).
  2. Set Max media rows (up to 1,000).
  3. Optional: choose media types, a date range, a minimum like count, or turn on file downloads.
  4. Run. Read results in the dataset and the outcome in RUN_SUMMARY.

Example inputs

{ "handles": ["NASA"], "maxItems": 50 }
{ "searchQueries": ["#aurora"], "mediaTypes": ["video"], "minLikes": 100, "maxItems": 200 }
{ "tweetUrls": ["https://x.com/NASA/status/2123435938848067841"] }

Pricing

Pay per result: you pay for each media row saved, plus a tiny start fee per run. The per-row price drops with your Apify plan (Free, Bronze, Silver, Gold). Set a maximum cost on the run and it stops there. Free plan runs return up to 25 rows.

Results you can trust

  • COMPLETE: every input returned data.
  • PARTIAL: some inputs returned data, some failed or stopped early. The summary says which.
  • VALID_EMPTY: the posts exist but have no matching media (or nothing matched your filters).
  • FAILED: the data source did not answer for any input. The run ends as failed.

If a very old or deleted post cannot be found, that one input is marked failed instead of silently skipped.

Good to know

  • Retweets are skipped. Their media belongs to the original post.
  • Replies, quotes and thread media are not collected as separate sources.
  • If the main source is down, profile runs can fall back to recent posts only (about 20).
  • Downloads use run memory, so very large files are skipped when memory is small.

Collects only publicly visible posts. You are responsible for following X's terms, copyright law and privacy rules for how you use the media. This Actor is not affiliated with X Corp.

FAQ

Does it need a login? No. Can I get videos in every quality? Yes, see videoVariants. Can I get private accounts? No, public posts only. Why fewer rows than I asked for? The account may have fewer media posts, your filters may exclude some, or your cost limit was reached. The summary explains.