1,393 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Search X (Twitter) posts
Search X (Twitter) for tweets with every X search operator, from the Top tab (a ranked sample, the default) or the Latest tab (chronological), picked by the tab arg. Returns per tweet a canonical record: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus followers (the author's follower count, a search-only enrichment), and the top-level query and count. Top is a ranked sample, not exhaustive.
Get a tweet and its replies on X (Twitter)
Get a tweet on X (Twitter) by URL, with the conversation around it: `tweet` (the post itself) and `replies` (every other post of its conversation on the page: the thread above it when it is a reply, and the replies below; use in_reply_to to rebuild the thread). Each post has id, url, author, text, created_at, lang, counts, in_reply_to and quoted_tweet. With count, it loads more replies until it has count or X reaches the end. complete is true only when X reached the end and left no folded replies (Show replies, hidden or probable-spam sections), which this script does not open. A deleted or unavailable tweet is an error. Requires being signed in to X.
See who reposted (retweeted) a post on X (Twitter)
List the accounts that reposted (retweeted) an X post, by post URL. Returns per account: user_id, handle, name, followers, following, tweets, verified, location, website, bio. X returns a sample of reposters, not the full set: high-repost posts cap out a few hundred deep.
Export an X (Twitter) account's followers or following
List a user's followers or the accounts they follow, by handle — selected by the direction arg ('followers', the default, or 'following'). Returns per account: user_id, handle, name, followers, following, tweets, verified, location, website, bio. Scrolls until count is met or the list dries up.
Search X (Twitter) users by keyword, with bio and follower counts
Search X for accounts by keyword (the People tab). Returns per account: user_id, handle, name, followers, following, tweets, verified, location, website, bio.
Get X (Twitter) user posts
Get an X (Twitter) user's latest posts by handle (the Posts tab of x.com/<handle>), with their views, likes, reposts, replies, quotes and bookmarks. Returns { posts, complete }; until 16 Oct 2026 the answer was the bare posts array, so a caller written before then reads result.posts now. Posts come in the order X shows them: the pinned post, if any, first, then newest first, with each self-thread kept in thread order. complete is true only when X marked the end of the tab and every post fits in count. Replies (see get_user_replies) and reposts (see get_user_reposts) are not included. Works signed in or signed out. Signed out, X only shows visitors a short preview of recent posts, so fewer than count is expected, complete is false, and in_reply_to and quoted_tweet are not available; each post's source field says which one you got.
Export an X (Twitter) user's replies
Get a user's Replies tab by handle (x.com/<handle>/with_replies) — their replies, newest first, plus the user's own tweets that sit at the root of those reply threads (self-threads). Standalone posts and reposts are not on this tab: use get_user_posts for the Posts tab, and X keeps reposts on a separate Reposts tab. Owner-authored rows only — the thread-context tweets X shows from other accounts are excluded. Returns per tweet: id, url, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to {id, author_handle} (null on a plain post) so replies are distinguishable and the parent is fetchable via get_tweet. Count is capped by how far X paginates before throttling.
Get X (Twitter) user profile
Look up an X (Twitter) user's profile by handle. Returns handle, user_id, name, bio, location, website, joined, followers_count, following_count, is_verified, is_self, is_following, follows_you. Counts are exact integers. bio and website carry the real destination URLs, with X's shortlinks resolved. is_following is null on your own profile. Any of is_self, is_following, follows_you and is_verified is null when X does not say. Requires being signed in to X; a missing or suspended account is an error that says which.
List Dropbox invoices
List Dropbox billing history for the signed-in account (Manage › Billing), with per-entry date, description, status and amount. Returns invoiceUrl and receiptUrl per payment, both session-gated HTML pages. Dropbox exposes no direct PDF, so print-to-PDF to archive.
Get the quote tweets of a post on X (Twitter)
List the tweets that quote-tweeted a given X post, by post URL, including each quoter's own commentary. Returns per tweet a canonical record: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote.
X (Twitter) analytics unofficial API: export your post analytics
An unofficial X (Twitter) analytics API: export the analytics of one of your posts (impressions, engagements, profile visits, link clicks) as data, in one call, without the X API. To export a whole account, list its posts with get_user_posts and run this on each. Read a single X post's owner-only analytics panel (impressions, engagements, detail expands, profile visits, link clicks, and on media posts views/unique views, plus likes, reposts and replies) by post URL or id. Requires that the post belongs to the logged-in account. Returns metrics as a label-to-value list since the set varies by post type; the UI is assumed to be English, and abbreviated large counts (e.g. 1.2K) make `value` approximate. X sometimes shows a transient Retry error, so re-run on failure.
Unlike a tweet on X (Twitter)
Remove your like from a tweet given its URL. Already-unliked tweets are reported rather than erroring. Returns tweet_id, liked, was_liked.
Bookmark a tweet on X (Twitter)
Bookmark a tweet given its URL. Already-bookmarked tweets are reported rather than re-bookmarked. Returns tweet_id, bookmarked, was_bookmarked.
Get the members of an X (Twitter) List
List the accounts that belong to an X list, given the list's URL or id. Returns per account: user_id, handle, name, followers, following, tweets, verified, location, website, bio.
Add an account to an X (Twitter) List
Add an account to one of your X (Twitter) Lists, by its exact handle and the List's id (from x.com/i/lists/<id>, or from create_list). An account already in the List is reported, not added twice. Returns list_id, handle, already_member, and the List's member count before and after.
Block an account on X (Twitter)
Block an X user by handle. Already-blocked accounts are reported rather than re-blocked. Returns handle, blocked, was_blocked.
Change your X (Twitter) display language
Change the display language for the signed-in X (Twitter) account, under Settings > Accessibility, display, and languages > Languages. Takes an X locale code (e.g. fr, de, en, it, es, en-gb, zh-cn) and applies it immediately — the account's interface language changes account-wide until switched again. This only affects X's own UI text (menus, buttons), not the language of tweets in your timeline.
Check which X (Twitter) account is signed in
Report which X (Twitter) account this browser is signed in as: the @handle, display name and numeric user id. When the browser is signed out of X, the run fails with a message asking you to sign in to x.com, so it can be used to check a session before running other X scripts.
Create an X (Twitter) List
Create an X (Twitter) List with a name (25 characters at most), an optional description (100) and public or private visibility. Returns the new list_id, its url, the name, the description and whether it is private. Add accounts to it with add_to_list.
Delete a tweet on X (Twitter) from an AI agent
Delete one of your own tweets given its URL. Returns the deleted tweet id and a deleted flag.
Download Dropbox invoice as PDF
Download one Dropbox invoice or receipt as a PDF. Pass the invoiceUrl or receiptUrl from dropbox.com/list_invoices (or either one as url). Returns the file name and where the PDF was saved: a path in the browser's downloads folder, or a url to the file on a managed browser. A browser not signed in to Dropbox fails with a message saying so.
Dropbox login
Log into Dropbox via Google SSO. Drives Dropbox's Continue-with-Google flow, picks the account (optional email arg), clears consent, and lands on the Dropbox home. Requires an active Google session in the browser; not available on cloud/managed browsers.
Dropbox whoami (signed-in account)
Report which Dropbox account this browser is signed in as: the account id, numeric user id, email, display name, account type (basic, plus, business…) and country. When the browser is not signed in to Dropbox, the run fails with a signed-out error that says to sign in, then retry. It only reads and never signs an account in.
Edit your X (Twitter) profile: name, bio, location, website
Update the signed-in X (Twitter) account's own display name (50 characters at most), bio (160), location (30) and website link (100). Omit a field to leave it unchanged; an empty string clears the bio, the location or the website. Returns the profile's name, bio, location and url after the edit.
Export an X (Twitter) user's reposts (retweets)
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.
