twit.sh
Payment-gated Twitter/X user and tweet lookup API. Pay per request in USDC on Base via x402.
Call via Rooms
Rooms resells calls to twit.sh: you make one x402 payment to Rooms, Rooms pays twit.sh from its own wallet and returns the answer with a signed Rooms receipt. Never charged when the call fails. No account or API key.
$0.0072 per call, all in (twit.sh's listed price $0.006 plus the Rooms margin; the 402 quotes the live price)
See the price (free, unpaid)
curl -i -X POST https://rooms.aurmada.com/x402/v1/broker/twitsh -H 'Content-Type: application/json' -d '{"path":"/tweets/search","query":{}}'
Send {"path", "method", "query", "body"}: path is one of the paid endpoints below (default /tweets/search), query and body go to twit.sh as given. Pay the 402 with any x402 client and resend the same POST with PAYMENT-SIGNATURE (or X-PAYMENT). Parameters: its docs.
New to paying per call? x402 for agents explains the 402 → pay → retry loop.
Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "twitsh" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="twitsh")Track record
- Uptime
- Collecting: shown after 3 daily checks.
Calls and jobs that go through Rooms will show here. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Paid endpoints (12)
- GET /tweets/search $0.0072 via RoomsSearch Twitter/X tweets with advanced filters. Returns up to 20 tweets per page, most recent first, with pagination. At least one filter required. Params: words, phrase, anyWords, noneWords, hashtags, from, to, mentioning, minReplies, minLi
- GET /tweets/user $0.012 via RoomsGet the latest tweets (timeline) from a specific Twitter/X user by their username. Returns up to 20 tweets per page sorted by most recent first, with pagination support. Query params: username (string, required) - Twitter screen name; next_
- GET /users/by/username $0.006 via RoomsLook up a Twitter/X user profile by their screen name. Returns full profile data including id, name, username, bio, follower count, following count, tweet count, verification status, and profile image URL. Query param: username (string, req
- GET /tweets/by/id $0.0035 via RoomsLook up a single Twitter/X tweet by its numeric tweet ID. Returns full tweet data including text, author profile, creation date, engagement metrics (likes, retweets, replies, quotes, bookmarks), and referenced tweets. Query param: id (strin
- GET /tweets/quote_tweets $0.012 via RoomsGet a list of tweets that quote a specific tweet. Returns paginated quote tweets with author profiles for a given tweet ID. Query params: id (string, required) - numeric tweet ID; next_token (string, optional) - pagination cursor, e.g. GET
- GET /tweets/replies $0.012 via RoomsGet replies to a specific Twitter/X tweet. Returns paginated reply tweets for a given tweet ID. Query params: id (string, required) - numeric tweet ID; next_token (string, optional) - pagination cursor, e.g. GET /tweets/replies?id=111030298
- GET /users/search $0.012 via RoomsSearch Twitter/X for user accounts matching a keyword or phrase. Returns up to 20 matching user profiles per page with pagination support. Useful for discovering users by topic, name, or keyword. Query params: query (string, required) - sea
- GET /tweets $0.012 via RoomsBulk look up multiple Twitter/X tweets by their numeric tweet IDs in a single request. Each tweet includes full text, author profile, and engagement metrics. Query param: ids (string, required) - comma-separated numeric tweet IDs, max 50, e
- GET /users/following $0.012 via RoomsGet the list of Twitter/X users that a specific user follows. Returns up to 50 following profiles per page with pagination support. Query params: id (string, required) - numeric Twitter user ID; next_token (string, optional) - pagination cu
- GET /users/followers $0.012 via RoomsGet the list of Twitter/X users who follow a specific user. Returns up to 50 follower profiles per page with pagination support. Query params: id (string, required) - numeric Twitter user ID; next_token (string, optional) - pagination curso
- GET /lists/tweets $0.012 via RoomsGet the latest tweets from a Twitter/X List by its numeric List ID. Returns ~100 tweets per page with pagination support. Query params: id (string, required) - numeric List ID; next_token (string, optional) - pagination cursor, e.g. GET /li
- GET /tweets/retweeted_by $0.012 via RoomsGet the list of Twitter/X users who reposted a specific tweet. Returns paginated user profiles for a given tweet ID. Query params: id (string, required) - numeric tweet ID; next_token (string, optional) - pagination cursor, e.g. GET /tweets
Automated check: 89/100
Last run 2026-10-12 17:52 UTC. What we measured, not a guarantee.
- 10/10Every URL is https.
- 40/40An unpaid request to x402.twit.sh answered 402 with complete x402 payment requirements ($0.006 on eip155:8453).
- 24/25x402 trust check: 96/100 (price, asset, network, payTo, response time, Bazaar listing, probe history).
- 10/10Has a homepage or documentation link.
- 5/5Answered in 891 ms.
- 0/10Not claimed with a domain proof yet.