{"openapi":"3.1.0","info":{"title":"TwitterAPI.io x402","version":"1.0.0","description":"Read-only X (Twitter) data, paid per request in USDC on Base or Solana via x402. No API key or account needed.","contact":{"email":"hello@twitterapi.io"}},"servers":[{"url":"https://api.twitterapi.io"}],"paths":{"/x402/twitter/tweet/advanced_search":{"get":{"operationId":"x402_advanced_search","summary":"Search public X (Twitter) posts with advanced operators (from:, since:, until:, min_faves:, lang:)","description":"Search public X (Twitter) posts with advanced operators (from:, since:, until:, min_faves:, lang:). Returns one page of tweets and a cursor. Fixed price per request, for up to 20 results; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"query","required":true,"description":"Search query, same syntax as X advanced search","schema":{"type":"string"}},{"in":"query","name":"queryType","required":false,"description":"Sort order, default Latest","schema":{"type":"string","enum":["Latest","Top"]}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"tweets":[{"id":"1850000000000000000","text":"...","createdAt":"...","author":{"userName":"nasa"}}],"has_next_page":true,"next_cursor":"..."}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/info":{"get":{"operationId":"x402_user_info","summary":"Get a public X (Twitter) user profile by username: name, bio, follower and following counts, verification, creation date","description":"Get a public X (Twitter) user profile by username: name, bio, follower and following counts, verification, creation date. Fixed price per request. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","data":{"userName":"nasa","name":"NASA","followers":0}}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/last_tweets":{"get":{"operationId":"x402_last_tweets","summary":"Get a public X (Twitter) user's most recent posts by username or user ID, one page of tweets and a cursor","description":"Get a public X (Twitter) user's most recent posts by username or user ID, one page of tweets and a cursor. Fixed price per request, for up to 20 results; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":false,"description":"X username without @ (or pass userId)","schema":{"type":"string"}},{"in":"query","name":"userId","required":false,"description":"Numeric X user ID (alternative to userName)","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page","schema":{"type":"string"}},{"in":"query","name":"includeReplies","required":false,"description":"Include replies, default false","schema":{"type":"boolean"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","data":{"tweets":[{"id":"...","text":"..."}]},"has_next_page":true,"next_cursor":"..."}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweets":{"get":{"operationId":"x402_tweets","summary":"Get public X (Twitter) posts by tweet ID, up to 20 IDs per request (comma-separated)","description":"Get public X (Twitter) posts by tweet ID, up to 20 IDs per request (comma-separated). Fixed price per request; IDs that are deleted or not found are simply missing from the result and the request is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweet_ids","required":true,"description":"Comma-separated numeric tweet IDs, at most 20","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","tweets":[{"id":"...","text":"...","author":{"userName":"nasa"}}]}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/followers":{"get":{"operationId":"x402_followers","summary":"Get one page of a public X (Twitter) user's followers by username, up to 200 profiles and a cursor","description":"Get one page of a public X (Twitter) user's followers by username, up to 200 profiles and a cursor. Fixed price per page; an empty page is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","followers":[{"userName":"...","name":"..."}],"has_next_page":true,"next_cursor":"..."}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/trends":{"get":{"operationId":"x402_trends","summary":"Get current X (Twitter) trending topics for a location by WOEID (1 = worldwide), up to 50 trends","description":"Get current X (Twitter) trending topics for a location by WOEID (1 = worldwide), up to 50 trends. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"woeid","required":true,"description":"Yahoo WOEID of the location, 1 = worldwide","schema":{"type":"string"}},{"in":"query","name":"count","required":false,"description":"Number of trends, 1-50, default 30","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","trends":[{"trend":{"name":"...","rank":1}}],"metadata":{"woeid":1}}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/followings":{"get":{"operationId":"x402_followings","summary":"Get one page of the accounts a public X (Twitter) user follows, up to 200 profiles and a cursor","description":"Get one page of the accounts a public X (Twitter) user follows, up to 200 profiles and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/verifiedFollowers":{"get":{"operationId":"x402_verified_followers","summary":"Get one page of a user's verified (blue check) followers by numeric user ID, up to 20 profiles and a cursor","description":"Get one page of a user's verified (blue check) followers by numeric user ID, up to 20 profiles and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"user_id","required":true,"description":"Numeric X user ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user_about":{"get":{"operationId":"x402_user_about","summary":"Get the 'About this account' details of a public X (Twitter) user: account location, username changes, verification info","description":"Get the 'About this account' details of a public X (Twitter) user: account location, username changes, verification info. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/batch_info_by_ids":{"get":{"operationId":"x402_batch_user_info","summary":"Get public X (Twitter) user profiles by numeric user ID, up to 20 IDs per request (comma-separated)","description":"Get public X (Twitter) user profiles by numeric user ID, up to 20 IDs per request (comma-separated). Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userIds","required":true,"description":"Comma-separated numeric X user IDs, at most 20","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/tweet_timeline":{"get":{"operationId":"x402_tweet_timeline","summary":"Get one page of a user's tweet timeline by numeric user ID, newest first, with a cursor","description":"Get one page of a user's tweet timeline by numeric user ID, newest first, with a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userId","required":true,"description":"Numeric X user ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"includeReplies","required":false,"description":"true to include replies, default false","schema":{"type":"string"}},{"in":"query","name":"includeParentTweet","required":false,"description":"true to include the parent tweet of replies","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.018"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/articles":{"get":{"operationId":"x402_user_articles","summary":"Get one page of X Articles (long-form posts) published by a user, with a cursor","description":"Get one page of X Articles (long-form posts) published by a user, with a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"username","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/mentions":{"get":{"operationId":"x402_mentions","summary":"Get one page of recent tweets that mention a user (up to 20) and a cursor; optional time range","description":"Get one page of recent tweets that mention a user (up to 20) and a cursor; optional time range. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"sinceTime","required":false,"description":"Unix seconds, only tweets after this time","schema":{"type":"string"}},{"in":"query","name":"untilTime","required":false,"description":"Unix seconds, only tweets before this time","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/community/get_tweets_from_all_community":{"get":{"operationId":"x402_community_search","summary":"Search tweets posted in X Communities by keyword, one page and a cursor","description":"Search tweets posted in X Communities by keyword, one page and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"query","required":true,"description":"Search keywords","schema":{"type":"string"}},{"in":"query","name":"queryType","required":false,"description":"Latest or Top, default Latest","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.009"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweet/replies":{"get":{"operationId":"x402_replies","summary":"Get one page of replies to a tweet (up to 20) and a cursor; optional time range","description":"Get one page of replies to a tweet (up to 20) and a cursor; optional time range. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweetId","required":true,"description":"Numeric tweet ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"queryType","required":false,"description":"Latest or Relevance","schema":{"type":"string"}},{"in":"query","name":"sinceTime","required":false,"description":"Unix seconds","schema":{"type":"string"}},{"in":"query","name":"untilTime","required":false,"description":"Unix seconds","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweet/thread_context":{"get":{"operationId":"x402_thread_context","summary":"Get the conversation thread around a tweet: the parent tweets and replies in the same thread, with a cursor","description":"Get the conversation thread around a tweet: the parent tweets and replies in the same thread, with a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweetId","required":true,"description":"Numeric tweet ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.018"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/list/tweets":{"get":{"operationId":"x402_list_tweets","summary":"Get one page of tweets from an X List (up to 20) and a cursor; optional time range","description":"Get one page of tweets from an X List (up to 20) and a cursor; optional time range. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"listId","required":true,"description":"Numeric X List ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"includeReplies","required":false,"description":"true to include replies","schema":{"type":"string"}},{"in":"query","name":"queryType","required":false,"description":"Latest or Top","schema":{"type":"string"}},{"in":"query","name":"sinceTime","required":false,"description":"Unix seconds","schema":{"type":"string"}},{"in":"query","name":"untilTime","required":false,"description":"Unix seconds","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweet/quotes":{"get":{"operationId":"x402_quotes","summary":"Get one page of quote tweets of a tweet (up to 20) and a cursor; optional time range","description":"Get one page of quote tweets of a tweet (up to 20) and a cursor; optional time range. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweetId","required":true,"description":"Numeric tweet ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"includeReplies","required":false,"description":"true to include replies","schema":{"type":"string"}},{"in":"query","name":"sinceTime","required":false,"description":"Unix seconds","schema":{"type":"string"}},{"in":"query","name":"untilTime","required":false,"description":"Unix seconds","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/subscriptions":{"get":{"operationId":"x402_subscriptions","summary":"Get one page of the creators a user subscribes to on X (paid subscriptions), up to 20 profiles and a cursor","description":"Get one page of the creators a user subscribes to on X (paid subscriptions), up to 20 profiles and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userId","required":true,"description":"Numeric X user ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweet/retweeters":{"get":{"operationId":"x402_retweeters","summary":"Get one page of users who retweeted a tweet (up to 20 profiles) and a cursor","description":"Get one page of users who retweeted a tweet (up to 20 profiles) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweetId","required":true,"description":"Numeric tweet ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/article":{"get":{"operationId":"x402_article","summary":"Get the full content of an X Article (long-form post) by its tweet ID","description":"Get the full content of an X Article (long-form post) by its tweet ID. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweet_id","required":true,"description":"Tweet ID of the article post","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/list/followers":{"get":{"operationId":"x402_list_followers","summary":"Get one page of users who follow an X List (up to 20 profiles) and a cursor","description":"Get one page of users who follow an X List (up to 20 profiles) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"list_id","required":true,"description":"Numeric X List ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/list/members":{"get":{"operationId":"x402_list_members","summary":"Get one page of the members of an X List (up to 20 profiles) and a cursor","description":"Get one page of the members of an X List (up to 20 profiles) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"list_id","required":true,"description":"Numeric X List ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/community/info":{"get":{"operationId":"x402_community_info","summary":"Get the details of an X Community by ID: name, description, member count, rules, creator","description":"Get the details of an X Community by ID: name, description, member count, rules, creator. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"community_id","required":true,"description":"Numeric X Community ID","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/community/members":{"get":{"operationId":"x402_community_members","summary":"Get one page of the members of an X Community (up to 20 profiles) and a cursor","description":"Get one page of the members of an X Community (up to 20 profiles) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"community_id","required":true,"description":"Numeric X Community ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/community/moderators":{"get":{"operationId":"x402_community_moderators","summary":"Get one page of the moderators of an X Community (up to 20 profiles) and a cursor","description":"Get one page of the moderators of an X Community (up to 20 profiles) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"community_id","required":true,"description":"Numeric X Community ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/community/tweets":{"get":{"operationId":"x402_community_tweets","summary":"Get one page of tweets posted in an X Community (up to 20) and a cursor","description":"Get one page of tweets posted in an X Community (up to 20) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"community_id","required":true,"description":"Numeric X Community ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/search":{"get":{"operationId":"x402_user_search","summary":"Search X (Twitter) accounts by keyword, up to 20 profiles per page and a cursor","description":"Search X (Twitter) accounts by keyword, up to 20 profiles per page and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"query","required":true,"description":"Search keywords","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/check_follow_relationship":{"get":{"operationId":"x402_check_follow","summary":"Check whether one X (Twitter) user follows another, and whether they are followed back","description":"Check whether one X (Twitter) user follows another, and whether they are followed back. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"source_user_name","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"target_user_name","required":true,"description":"X username without @","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/list/tweets_timeline":{"get":{"operationId":"x402_list_timeline","summary":"Get one page of an X List's timeline (up to 100 tweets) and a cursor","description":"Get one page of an X List's timeline (up to 100 tweets) and a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"listId","required":true,"description":"Numeric X List ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/tweet/replies/v2":{"get":{"operationId":"x402_replies_v2","summary":"Get one large page of replies to a tweet (up to about 140, including nested replies) and a cursor; sort by Relevance, Latest or Likes","description":"Get one large page of replies to a tweet (up to about 140, including nested replies) and a cursor; sort by Relevance, Latest or Likes. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"tweetId","required":true,"description":"Numeric tweet ID","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}},{"in":"query","name":"queryType","required":false,"description":"Relevance, Latest or Likes","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.042"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/user/followers_ids":{"get":{"operationId":"x402_followers_ids","summary":"Get one page of up to 5000 follower user IDs (IDs only, no profiles) of a public X (Twitter) user, with a cursor","description":"Get one page of up to 5000 follower user IDs (IDs only, no profiles) of a public X (Twitter) user, with a cursor. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"userName","required":true,"description":"X username without @","schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"description":"Cursor from the previous page; omit for the first page","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.08"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}},"/x402/twitter/spaces/detail":{"get":{"operationId":"x402_space_detail","summary":"Get the details of an X Space by ID: title, state, host, speakers, start and end time","description":"Get the details of an X Space by ID: title, state, host, speakers, start and end time. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.","parameters":[{"in":"query","name":"space_id","required":true,"description":"X Space ID","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":["x402"]},"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"status":"success","...":"same response body as the regular endpoint, see https://docs.twitterapi.io"}}}},"400":{"description":"Missing or invalid parameter (not charged)"},"402":{"description":"Payment Required (x402)"}}}}}}