{"uid":"cap_wzdo5vJ_lNeB1Z-wAiDgN","slug":"twitter-surf-cascade-fyi-690dd0e7","name":"Twitter Surf - Fetch User Tweets by Username","description":"User tweets","url":"https://twitter.surf.cascade.fyi/users/Optimism/tweets","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","properties":{"include_replies":{"type":"boolean","description":"Include replies"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"object","required":["_truncated","_originalSize"],"properties":{"_truncated":{"type":"boolean"},"_originalSize":{"type":"number"}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"include_replies":false}}},"response":{"_truncated":true,"_originalSize":25742}},"exampleRequest":{"include_replies":false},"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZdlWXPH4EFRpFL0ghwlF4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves recent tweets for a specified Twitter/X username, with optional inclusion of replies","exampleAgentPrompt":"Can you get me the recent tweets from the Optimism Twitter account, including any replies they've posted?","exampleUseCases":[{"title":"Monitor competitor brand activity","prompt":"Can you pull the latest tweets from our main competitor's Twitter account so I can see what they've been announcing and talking about recently?"},{"title":"Track influencer posting patterns","prompt":"I want to see everything that Elon Musk has tweeted in the past few days, including his replies, so I can get a sense of what topics he's been engaging with."},{"title":"Summarize executive public statements","prompt":"Can you fetch the recent tweets from the Satya Nadella account and give me a summary of the key things he's been saying publicly?"}],"resultDescription":"A list of tweets from the specified Twitter user, potentially including replies if the include_replies parameter is set to true. Each tweet likely contains tweet text, metadata such as timestamp and engagement counts, and other standard tweet fields.","failureModes":["Username not found or account does not exist — likely returns a 404 or empty result","Account is private or suspended — may return an authorization error","Rate limiting or payment failure — 402 payment required or quota exceeded","Network timeout or upstream Twitter API unavailability","Invalid query parameters — non-boolean value for include_replies"],"whenToPreferThis":"Use this endpoint when you need to programmatically fetch tweets from a known Twitter/X username via a pay-per-call x402 API, especially in agent workflows that need to monitor, analyze, or display public Twitter content without managing Twitter API credentials directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:42:49.032Z","isFirstParty":false}