{"name":"twitter-x-api","description":"Read-only X API v2 wrapper for tweet search, tweet lookup, username lookup, bulk users lookup, and user timeline fetch. Set mode='search' for recent public posts, mode='tweets' for tweet IDs, mode='user' for one public profile, mode='users' for bulk profile lookup, or mode='user_tweets' for recent public posts from one username. Uses X_BEARER_TOKEN or TWITTER_BEARER_TOKEN. No posting, replying, liking, following, DM access, or account mutation. Use it as a Twitter X API or general social data API.","price":"$0.01","method":"POST","input_schema":{"properties":{"mode":{"type":"string","enum":["search","user","tweets","users","user_tweets"],"description":"Lookup mode. Defaults to 'search' unless username or IDs are supplied."},"query":{"type":"string","description":"Recent-search query for mode='search'."},"username":{"type":"string","description":"Handle for mode='user' or mode='user_tweets', with or without @."},"usernames":{"type":"array","items":{"type":"string"},"description":"Handles for mode='users'. Up to 100."},"tweet_ids":{"type":"array","items":{"type":"string"},"description":"Tweet IDs for mode='tweets'. Up to 100."},"user_ids":{"type":"array","items":{"type":"string"},"description":"User IDs for mode='users'. Up to 100."},"ids":{"type":"array","items":{"type":"string"},"description":"Alias for tweet_ids in mode='tweets' or user_ids in mode='users'."},"max_results":{"type":"number","description":"Search or user timeline result count. Search clamps to 10-50; user_tweets clamps to 5-50."},"language":{"type":"string","description":"Optional two-letter language filter for search."},"pagination_token":{"type":"string","description":"Optional X pagination token for mode='user_tweets'."},"include_retweets":{"type":"boolean","description":"For mode='user_tweets', include retweets when true. Defaults false."}}},"input_example":{"mode":"search","query":"x402 payments","language":"en","max_results":10},"output_example":{"mode":"search","result_count":10,"source":"X API v2 recent search"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}