App Logo
x.com

Export an X (Twitter) user's reposts (retweets)

Automatically export an X (Twitter) user's reposts (retweets) on x.com. Get a user's Reposts tab by handle (x.com/<handle>/reposts), the posts they reposted, newest first. It is the third profile tab, next to get_user_posts (Posts) and get_user_replies (Replies). Returns per repost: id (the repost's own id, not the original), url (the original tweet), reposted_at, and retweeted_tweet with id, url, text, created_at, lang, author {id, handle, name}, likes, retweets, replies, quotes, views, bookmarks, is_quote. How many come back depends on how far X lets the timeline scroll before throttling.

Input

handle required

X handle, with or without the @, e.g. NASA

count optional

How many to return. Without it, the script returns the first page X shows (often 20 to 40). With it, the script loads more until it has count, reaches the end, or X stops loading.

Output

None

FAQ

Get a user's Reposts tab by handle (x.com/<handle>/reposts), the posts they reposted, newest first. It is the third profile tab, next to get_user_posts (Posts) and get_user_replies (Replies). Returns per repost: id (the repost's own id, not the original), url (the original tweet), reposted_at, and retweeted_tweet with id, url, text, created_at, lang, author {id, handle, name}, likes, retweets, replies, quotes, views, bookmarks, is_quote. How many come back depends on how far X lets the timeline scroll before throttling.
Ask an AI agent connected to Reduck to run reduck/x.com/get_user_reposts, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_user_reposts
You do not need one. "Export an X (Twitter) user's reposts (retweets)" drives the real x.com pages in a browser, so it works whether or not x.com offers an API for this.
Required: handle. Optional: count.
Yes. It acts as you on x.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the x.com cookies saved by the Reduck extension.
It only reads. It looks things up on x.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/x.com/get_user_reposts, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_user_reposts
It is part of Reduck's official curated catalogue.

Start building not clicking