twitr.sh
v1.0.0X/Twitter reads, search, monitors and posting.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
x_read
Read live X/Twitter data: look up a single tweet or user profile, batch-read up to 100 tweets or users at once, check whether one account follows another, fetch trending topics by region, extract a long-form article, or download tweet media. Pay per call in USDC — no API key, no signup; failed calls are never charged. Guidance: resource=get-tweet|get-user (id), batch-tweets|batch-users (ids array, ≤100), check-follower (source+target usernames), trends (optional woeid/count), article (tweet id), followers-you-know (id + mandatory resultsLimit), download-media (id or ids ≤50 — returns…
| Parameter | Type | Description |
|---|---|---|
resource * | string | Which read operation to run. |
count | integer | trends: number of trends to return. |
id | string | Tweet ID, user ID, or username (depends on resource). |
ids | array | batch-tweets|batch-users: up to 100 tweet IDs or user IDs/usernames. |
resultsLimit | integer | Mandatory for followers-you-know: max results, billed per result. |
source | string | check-follower: source username. |
target | string | check-follower: target username. |
woeid | integer | trends: region WOEID (default 1 = worldwide). |
x_search
Search X/Twitter tweets with the full operator set — keyword, exact phrase, from-user, language, date range, media type, minimum likes/retweets, verified-only — or search user profiles by keyword. Billed per tweet returned against your resultsLimit cap. Built for tracking what people say about a topic, brand, or ticker in real time. Guidance: type=search-tweets (default): q required, resultsLimit MANDATORY (billed per tweet returned). Supports the full filter set: fromUser, language, sinceDate/untilDate, mediaType, minFaves, verifiedOnly, exactPhrase, excludeWords, advancedQuery, and more…
| Parameter | Type | Description |
|---|---|---|
q * | string | Search query (X operator syntax supported for tweets). |
advancedQuery | string | Raw X search operator string appended to q. |
cursor | string | search-users: pagination cursor from a previous call's report.next_cursor. |
exactPhrase | string | |
excludeWords | string | |
fromUser | string | |
language | string | |
mediaType | string | |
minFaves | integer | |
minReplies | integer | |
minRetweets | integer | |
resultsLimit | integer | search-tweets: MANDATORY max tweets returned, billed per tweet. |
sinceDate | string | YYYY-MM-DD |
type | string | Search tweets (default) or users. |
untilDate | string | YYYY-MM-DD |
verifiedOnly | boolean |
x_timeline
Fetch a user's X/Twitter timeline — their tweets, replies, likes, media posts, or mentions — plus follower and following lists, and per-tweet engagement lists (who replied, quoted, retweeted, or favorited). Billed per item returned. The building block for monitoring what an account posts or ranking accounts by activity. Guidance: kind selects the timeline: user-tweets|user-replies|user-likes|user-media|user-mentions|followers|following|verified-followers (id = user) or tweet-replies|tweet-quotes|tweet-thread|tweet-favoriters|tweet-retweeters (id = tweet). resultsLimit is MANDATORY — bil…
| Parameter | Type | Description |
|---|---|---|
id * | string | User ID/username or tweet ID (depends on kind). |
kind * | string | Which timeline to fetch. |
resultsLimit * | integer | MANDATORY: max items returned, billed per item. |
includeParentTweet | boolean | |
includeReplies | boolean | |
language | string | |
mediaType | string | |
minFaves | integer | |
verifiedOnly | boolean |
x_lists
Read an X/Twitter List: its combined tweet timeline, its member roster, or its followers. Billed per item returned. Useful for following a curated set of accounts as one feed. Guidance: kind=tweets|members|followers; id = list ID. resultsLimit is MANDATORY — billed per item returned. tweets supports sinceTime/untilTime and includeReplies.
| Parameter | Type | Description |
|---|---|---|
id * | string | List ID. |
kind * | string | What to read from the list. |
resultsLimit * | integer | MANDATORY: max items returned, billed per item. |
includeReplies | boolean | |
sinceTime | string | |
untilTime | string |
x_communities
Read an X/Twitter Community: profile info, member and moderator rosters, the community's tweets, or keyword search inside the community. Fixed price for info; billed per item for rosters, tweets, and search. Guidance: kind=info (fixed price) or members|moderators|tweets|search (per-item — resultsLimit MANDATORY). id = community ID. search additionally requires q.
| Parameter | Type | Description |
|---|---|---|
id * | string | Community ID. |
kind * | string | What to read. |
q | string | search: query within the community. |
resultsLimit | integer | Mandatory for members/moderators/tweets/search: max items, billed per item. |
x_extract
Bulk-export X/Twitter data as downloadable datasets: followers, following, repliers, quoters, reposters, likers, mentions, full threads, list and community members, spaces, or people/tweet search results — 23 extractors. Runs async: you get a claim check immediately and poll a free status URL for the download link. Billed per result. Guidance: tool selects the extractor (23 options). Provide the matching target: targetTweetId (reply/repost/quote/thread/article/favoriters extractors), targetUsername (follower/following/verified/post/mention/likes/media), targetCommunityId, targetListId, targ…
| Parameter | Type | Description |
|---|---|---|
resultsLimit * | integer | MANDATORY: max results extracted, billed per result. |
tool * | string | Which extractor to run. |
language | string | |
mediaType | string | |
minFaves | integer | |
searchQuery | string | |
sinceDate | string | |
targetCommunityId | string | |
targetListId | string | |
targetSpaceId | string | |
targetTweetId | string | |
targetUsername | string | |
untilDate | string | |
verifiedOnly | boolean |
x_monitor
Watch an X/Twitter account or keyword query in real time: new tweets, replies, quotes, mentions, hashtags, and profile changes, delivered to your agent by free polling or HMAC-signed webhooks. Prepaid by the hour with a hard stop at expiry — no open-ended billing. The way to track a brand, competitor, or topic without re-polling paid reads. Guidance: action=create needs username (account monitor, e.g. "vercel") OR query (keyword monitor, X search syntax, ≤512 chars), optional eventTypes — 21 available: post events (tweet.new, .reply, .retweet, .quote, .media, .link, .poll, .mention, .ha…
| Parameter | Type | Description |
|---|---|---|
action * | string | Create a new monitor or extend an existing one. |
eventTypes | array | Event types to receive (default: all applicable). Post events (tweet.*) work for any monitor; profile-change events (profile.*.changed) apply to ACCOUNT monitors only. |
hours | integer | Prepaid hours to purchase (default 1). |
monitorId | string | Monitor to extend (extend only). |
query | string | X search query to monitor (create, type=keyword). |
type | string | Monitor kind (create). Inferred from username/query when omitted. |
username | string | X handle to monitor, without @ (create, type=account). |
x_draws
Run a provably fair giveaway on X/Twitter: pick crypto-random winners from a tweet's replies, with retweet, follow, hashtag, keyword, minimum-follower, and account-age conditions. Fixed price set upfront from your estimated entry count. Guidance: tweetUrl required. Optional: winnerCount (default 1), backupCount, uniqueAuthorsOnly, mustRetweet, mustFollowUsername, filterMinFollowers, filterAccountAgeDays, filterLanguage, requiredHashtags/Keywords/Mentions. Pricing is fixed upfront from the estimatedEntries you set (default 1000, max 10000) — set it near the tweet's reply count; that number i…
| Parameter | Type | Description |
|---|---|---|
tweetUrl * | string | Full tweet URL (https://x.com/user/status/ID). |
backupCount | integer | |
estimatedEntries | integer | Expected replies inspected — drives the fixed price (default 1000). |
filterAccountAgeDays | integer | |
filterLanguage | string | |
filterMinFollowers | integer | |
mustFollowUsername | string | |
mustRetweet | boolean | |
requiredHashtags | array | |
requiredKeywords | array | |
requiredMentions | array | |
uniqueAuthorsOnly | boolean | |
winnerCount | integer |
x_write
Act on X/Twitter through an account you connect: post a tweet, reply, like, retweet, follow or unfollow, send a DM, delete a tweet, remove a follower, or upload media. Ownership is checked server-side — an agent can only write as a handle its own wallet connected. Guidance: PREREQUISITE: connect an X account first — POST /api/x-accounts/start (free, SIWX) with {username} only; it returns a one-time connect_url the USER opens in their own browser to sign in there. Never ask the user for their X password, email, or 2FA secret. Poll GET /api/x-accounts until the handle shows linked, then ref…
| Parameter | Type | Description |
|---|---|---|
account * | string | A connected X handle owned by this wallet (no @). |
action * | string | Which write to perform. |
community_id | string | post: optional community to post into. |
is_note_tweet | boolean | post: long-form note tweet. |
media_ids | array | send_dm: optional uploaded media ids to attach. |
media_url | string | upload_media: public URL of the file to upload; returns a media_id. |
reply_to_tweet_id | string | reply: the tweet being replied to. |
target_tweet_id | string | like|unlike|retweet|unretweet|delete_tweet: the target tweet ID. |
target_user_id | string | follow|unfollow|send_dm|remove_follower: the numeric X user id of the target (not the @handle). Get it from x_read get-user. |
text | string | post|reply|send_dm: the message body. |
x_inbox
Read a connected X/Twitter account's private surfaces: bookmarks and bookmark folders, notifications, and DM history. Billed per item returned; readable only for handles this wallet connected. Guidance: PREREQUISITE: connect an X account (see /api/x-accounts/start). Reads act AS that account, so you can only read the inbox of a handle THIS wallet connected. action=bookmarks (optional folderId) | bookmark_folders | notifications (optional type) | dm_history (target_user_id required). bookmarks/notifications/dm_history are billed per item — set resultsLimit (1–10000). account (the connected…
| Parameter | Type | Description |
|---|---|---|
account * | string | A connected X handle owned by this wallet (no @). |
action * | string | Which inbox read to run. |
folderId | string | bookmarks: optional folder to read. |
maxId | string | dm_history: paginate before this message id. |
resultsLimit | integer | Max items to return (billed per item); ignored for bookmark_folders. |
target_user_id | string | dm_history: the other party's user id. |
type | string | notifications: optional filter (e.g. mentions). |
x_profile
Edit a connected X/Twitter account's profile: display name, bio, location, website link, avatar image, and banner image. Acts only on handles this wallet connected. Guidance: PREREQUISITE: connect an X account. Acts as a handle THIS wallet owns. action=update_profile (any of name, description, location, url) | set_avatar (media_url) | set_banner (media_url). account required. Payment settles before the change; Idempotency-Key required.
| Parameter | Type | Description |
|---|---|---|
account * | string | A connected X handle owned by this wallet (no @). |
action * | string | Which profile edit to make. |
description | string | update_profile: new bio. |
location | string | update_profile: new location. |
media_url | string | set_avatar|set_banner: public image URL. |
name | string | update_profile: new display name. |
url | string | update_profile: new website URL. |
x_community
Manage X/Twitter Communities as a connected account: join or leave an existing community, or delete a community you own. (X no longer allows creating new Communities.) Guidance: PREREQUISITE: connect an X account. Acts as a handle THIS wallet owns. action=join|leave (community_id) | delete (community_id + community_name confirmation). action=create is refused: X no longer allows new Communities. account required. Payment settles before the action; Idempotency-Key required.
| Parameter | Type | Description |
|---|---|---|
account * | string | A connected X handle owned by this wallet (no @). |
action * | string | Which community action. |
community_id | string | join|leave|delete: the community ID. |
community_name | string | delete: the community name, as confirmation. |
description | string | create: optional community description. |
name | string | create: the community name. |
x_radar
Trending topics and breaking stories across tech, dev, science, business, culture, politics, and entertainment — aggregated from multiple public sources with regional and time-window filters. Flat sub-cent price per call; the cheap first stop for what is happening right now. Guidance: Optional filters: category, region, hours (lookback), limit, source. Use report.next_cursor via `after` for the next page. Flat floor price per call.
| Parameter | Type | Description |
|---|---|---|
after | string | Pagination cursor. |
category | string | Topic category filter. |
hours | integer | |
limit | integer | |
region | string | |
source | string | Trend source filter. |
x_compose
Draft tweets with AI: generate variants from a topic and goal, refine an existing draft, or score a draft for likely engagement — with tone, call-to-action, and style-matching options. Flat sub-cent price per step. Guidance: step=generate (topic + goal required; optional tone/styleUsername/additionalContext/callToAction/mediaType/hasLink/hasMedia), refine (draft required), or score (draft required). Returns text variants with scores and suggestions. Flat floor price per call.
| Parameter | Type | Description |
|---|---|---|
step * | string | Composer step. |
additionalContext | string | |
callToAction | string | |
draft | string | |
goal | string | |
hasLink | boolean | |
hasMedia | boolean | |
mediaType | string | |
styleUsername | string | |
tone | string | |
topic | string |