{"uid":"cap_XeftHuxqYJlgVb0pusQSM","slug":"twit-sh-user-tweets-endpoint-cb1f33ca","name":"twit.sh User Tweets Endpoint","description":"Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402. Fully autonomous.","url":"https://twit.sh/tweets/user","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","description":"Twitter screen name (without @)"},"next_token":{"type":"string","description":"Pagination cursor from previous response"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"id":"1110302988","text":"Running bitcoin","author":{"id":"9253672","name":"Hal Finney","username":"halfin"},"created_at":"2009-01-11T03:39:18.000Z","public_metrics":{"like_count":134000,"quote_count":3500,"reply_count":5400,"retweet_count":32000}}],"meta":{"next_token":"abc123"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CTIlWutK-jheZ45hn95AJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches recent tweets from a specified Twitter/X user's timeline, paginated, in real-time without requiring API keys","exampleAgentPrompt":"Can you pull the most recent tweets from @elonmusk on X and show me their text along with how many likes and retweets each got?","exampleUseCases":[{"title":"Monitor influencer posting activity","prompt":"Grab the latest tweets from @naval and show me what he's been posting recently, including engagement numbers like likes and retweets."},{"title":"Track a brand's social media output","prompt":"Fetch the most recent tweets from the Nike Twitter account — I want to see what they've posted and how those posts are performing in terms of likes and replies."},{"title":"Paginate through a user's tweet archive","prompt":"Get me the next batch of tweets from @paulg — I already have a pagination token 'abc123' from the previous page, so continue from there."}],"resultDescription":"Returns a JSON array of tweet objects under a 'data' key, each containing the tweet ID, full text, author object (id, name, username), ISO 8601 creation timestamp, and public metrics (like_count, quote_count, reply_count, retweet_count). Also includes a 'meta' object with a 'next_token' cursor for retrieving the next page of results.","failureModes":["Username not found or account suspended — likely returns empty data or 404-equivalent","Invalid or expired next_token causing pagination failure","Rate limiting or payment failure via x402 protocol causing request rejection","Private/protected account returning no tweets","Malformed username input causing query to fail"],"whenToPreferThis":"Choose this endpoint when you need real-time Twitter/X user timeline data without managing Twitter API credentials or OAuth flows. Ideal for autonomous AI agents that need pay-per-request access via USDC on Base (x402 protocol) with zero onboarding friction. Prefer this over direct Twitter API integration when you want stateless, keyless access and are already operating in a crypto-native payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:58.408Z","isFirstParty":false}