Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402.
Price
from $0.0025
up to $0.0100 per request
Network
base
Category
ai
On-chain txns
75
Uptime
100%
Avg latency
372ms
Checks
160
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
Retrieve the full content of an X Article by the tweet ID of the post that hosts it. Returns article title, preview text, cover image, publish date, and full article_content as Markdown (headings, bold, italic, lists, images). Not available in the official X API. Query param: id (string, required) - numeric tweet ID of the article post, e.g. GET /articles/by/id?id=2010751592346030461.
Retrieve full details of a specific X Community by its numeric ID. Returns name, description, member count, moderator count, join policy, topic, rules, banner image, and admin/creator profiles. Query param: id (string, required) - numeric community ID, e.g. GET /communities/by/id?id=1693573582226665701. Returns X v2 API-compatible JSON with additional fields.
Get a paginated list of members belonging to a specific X Community. Returns full user profiles with community role (Admin, Moderator, Member). This endpoint has no equivalent in the official X API. Query params: id (string, required) - numeric community ID; next_token (string, optional) - pagination cursor, e.g. GET /communities/members?id=1693573582226665701. Returns X v2 API-compatible JSON.
Get the latest posts from a specific X Community. Returns paginated tweets with author profiles. This endpoint has no equivalent in the official X API. Query params: id (string, required) - numeric community ID; next_token (string, optional) - pagination cursor, e.g. GET /communities/posts?id=1693573582226665701. Returns X v2 API-compatible JSON.
Retrieve details of a specific Twitter/X List by its numeric ID. Returns name, description, mode, member count, subscriber count, creation date, banner image, and owner profile. Query param: id (string, required) - numeric List ID, e.g. GET /lists/by/id?id=84839422. Returns X v2 API-compatible JSON.
Retrieves a list of Users who follow a specific Twitter/X List by its ID. Returns up to 20 user profiles per page with pagination support. Query params: id (string, required) - numeric List ID; next_token (string, optional) - pagination cursor, e.g. GET /lists/followers?id=84839422. Returns X v2 API-compatible JSON.
Get the members of a Twitter/X List by its numeric List ID. Returns up to 100 user profiles per page with pagination support. Query params: id (string, required) - numeric List ID; next_token (string, optional) - pagination cursor, e.g. GET /lists/members?id=84839422. Returns X v2 API-compatible JSON.
Get 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 /lists/tweets?id=84839422. Returns X v2 API-compatible JSON.
Bulk 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.g. GET /tweets?ids=1110302988,1234567890. Returns X v2 API-compatible JSON.
Adds a Post to the authenticated user's Bookmarks by its ID. Query params: id (string, required) - numeric tweet ID to bookmark; auth_token (string, required) - Twitter auth_token cookie; ct0 (string, required) - Twitter ct0 cookie. Returns { bookmarked: true } on success.
Look 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 (string, required) - numeric tweet ID, e.g. GET /tweets/by/id?id=1110302988. Returns X v2 API-compatible JSON.
Causes the authenticated user to Like a specific Post by its ID. Query params: id (string, required) - numeric tweet ID to like; auth_token (string, required) - Twitter auth_token cookie; ct0 (string, required) - Twitter ct0 cookie. Returns { liked: true } on success.
Get 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 /tweets/quote_tweets?id=1110302988. Returns X v2 API-compatible JSON.
Get 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=1110302988. Returns X v2 API-compatible JSON.
Causes the authenticated user to repost a specific Post by its ID. Query params: id (string, required) - numeric tweet ID to retweet; auth_token (string, required) - Twitter auth_token cookie; ct0 (string, required) - Twitter ct0 cookie. Returns { retweeted: true } on success.
Get 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/retweeted_by?id=1110302988. Returns X v2 API-compatible JSON.
Search 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, minLikes, minReposts, since (YYYY-MM-DD), until, next_token. e.g. GET /tweets/search?words=bitcoin&from=elonmusk&minLikes=100. Returns X v2 API-compatible JSON.
Get 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_token (string, optional) - pagination cursor, e.g. GET /tweets/user?username=elonmusk. Returns X v2 API-compatible JSON.
Bulk look up multiple Twitter/X user profiles by their numeric user IDs in a single request. Returns an array of full user profiles. Query param: ids (string, required) - comma-separated numeric Twitter user IDs, max 50, e.g. GET /users?ids=44196397,12,783214. Returns X v2 API-compatible JSON.
Look up a single Twitter/X user profile by their numeric user ID. Returns full profile data including id, name, username, bio, follower count, following count, tweet count, and verification status. Query param: id (string, required) - numeric Twitter user ID, e.g. GET /users/by/id?id=44196397. Returns X v2 API-compatible JSON.
Look 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, required) - Twitter screen name without @, e.g. GET /users/by/username?username=elonmusk. Returns X v2 API-compatible JSON.
Get 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 cursor, e.g. GET /users/followers?id=44196397. Returns X v2 API-compatible JSON.
Causes the authenticated user to follow a specific user by their ID or username. Query params: id (string, optional) - numeric user ID to follow; username (string, optional) - screen name to follow (one of id/username required); auth_token (string, required) - Twitter auth_token cookie; ct0 (string, required) - Twitter ct0 cookie. Returns { following: true } on success.
Search 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) - search keyword or phrase; next_token (string, optional) - pagination cursor from previous response, e.g. GET /users/search?query=bitcoin. Returns X v2 API-compatible JSON.
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://x402.twit.sh \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://x402.twit.shimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://x402.twit.sh", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.