{"uid":"cap_7hWLurnigc3qrkxb6Ad_l","slug":"glim-sh-twitter-tweet-search-e9dace75","name":"glim.sh Twitter Tweet Search","description":"Search tweets, X-API-style raw shape. Body: {\"q\":\"x402\",\"sort\":\"Latest\",\"limit\":20} - the param is q, not query","url":"https://glim.sh/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":{"type":"json","example":{"data":[{"id":"1234567890","text":"Example tweet"}],"meta":{"result_count":1}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_ok4C-ValK8RgAVIXFYZIP","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 for tweets matching a query and return live results without requiring API keys","exampleAgentPrompt":"Search Twitter for up to 20 recent tweets about 'AI agents' and show me what people are saying right now.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'data' array of tweet objects (each containing an 'id' and 'text' field) and a 'meta' object with the result_count — providing live tweets matching the search query.","failureModes":["Query returns zero results if no matching tweets exist","Rate limiting or quota exceeded returns an error response","Invalid or missing query parameter causes a 400-level error","Twitter platform downtime may cause upstream failures","Count exceeding platform limits may be capped silently"],"whenToPreferThis":"Use this endpoint when your agent needs live tweet data without setting up Twitter API credentials or a scraping infrastructure. Ideal for agents that need real-time social sentiment, trending mentions, or keyword monitoring on X/Twitter and want a simple pay-per-call model with no key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:58.427Z","isFirstParty":false}