{"uid":"cap_7mWI5yvBqai57L7mpg2fU","slug":"twitter-x-tweet-search-api-twitter-surf-ee2c9f7a","name":"Twitter/X Tweet Search API (twitter.surf)","description":"Search tweets, X-API-style raw shape. Body: {\"q\":\"x402\",\"sort\":\"Latest\",\"limit\":20} - the param is q, not query","url":"https://twitter.surf.cascade.fyi/api/v1/twitter/tweets/search","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["q"],"properties":{"q":{"type":"string","minLength":1,"description":"Twitter search query with operators"},"sort":{"enum":["Latest","Top"],"type":"string","default":"Top","description":"Sort order"},"limit":{"type":"integer","default":20,"maximum":200,"minimum":1,"description":"Maximum tweets to return"},"cursor":{"type":"string","description":"Pagination cursor. Ranking is strongest on page 1 - paged results under sort=Top trend toward recency (upstream behavior)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"meta":{"type":"object","required":["result_count"],"properties":{"next_cursor":{"type":"string"},"result_count":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"has_next_page":{"type":"boolean"}}},"summary":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kz4Jr2BbjPJuxf7FS2dSo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search Twitter/X tweets by keyword or query string, returning results in X-API-style shape sorted by latest or relevance.","exampleAgentPrompt":"Search Twitter for the latest 20 tweets about 'x402', sorted by most recent, and summarize what people are saying.","exampleUseCases":[{"title":"Crypto project sentiment monitoring","prompt":"Pull the 20 most recent tweets mentioning 'Base blockchain' sorted by latest and tell me what the overall sentiment is."},{"title":"Breaking news Twitter scan","prompt":"Search Twitter for the latest tweets about the Fed interest rate decision today — give me the 15 most recent ones sorted by newest first."},{"title":"Brand mention tracking","prompt":"Find the 20 latest tweets mentioning 'Coinbase' on Twitter so I can see what users are saying about them right now."}],"resultDescription":"A list of tweets matching the query in X-API-style JSON format, including tweet content, metadata, and author info, ordered by the specified sort (Latest or Top), limited to the requested count.","failureModes":["Query returns no results if the keyword is too obscure or misspelled","Rate limits or payment failures return 402 or 429 errors","Invalid sort value or missing 'q' parameter may result in a 400 bad request","Service may return stale or incomplete results if the underlying Twitter data source lags"],"whenToPreferThis":"Use this endpoint when you need real-time or recent Twitter/X tweet search results via a simple paid API without requiring OAuth credentials — particularly suited for agents that need social media signal gathering, trend monitoring, or keyword listening on X without managing Twitter developer accounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:20.842Z","isFirstParty":false}