{"uid":"cap_vkUrRk_3xiqOKayFf692D","slug":"www-surplusintelligence-ai-f69f713b","name":"X/Twitter Full-Archive Tweet Search via Surplus Intelligence","description":"X/Twitter API v2 via Surplus Intelligence: Tweet search (10 units)","url":"https://www.surplusintelligence.ai/x402/api/twitter/v2/tweets/search/all?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"X/Twitter full-archive search query."},"max_results":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of results to return."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{},"meta":{"type":"object"},"errors":{"type":"array"}},"additionalProperties":true}}}}},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","text","edit_history_tweet_ids"],"properties":{"id":{"type":"string"},"text":{"type":"string"},"edit_history_tweet_ids":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","required":["newest_id","oldest_id","next_token","result_count"],"properties":{"newest_id":{"type":"string"},"oldest_id":{"type":"string"},"next_token":{"type":"string"},"result_count":{"type":"number"}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"query":"artificial intelligence","max_results":10}}},"response":{"data":[{"id":"2067470734881083895","text":"RT @itspriionly: All Paid Courses (Free for First 4500 People)\n\n 𝗣𝗮𝗶𝗱 𝗖𝗼𝘂𝗿𝘀𝗲 𝗙𝗥𝗘𝗘 (PART - 1)\n 1. Artificial Intelligence\n 2. Machine Learni…","edit_history_tweet_ids":["2067470734881083895"]},{"id":"2067470727201394831","text":"🆕  AI talent gap leaves IT firms scrambling for forward deployed engineers\n\nRead more at:\nhttps://t.co/hXwhdmgUFT\n\nBy @JochelleJourno","edit_history_tweet_ids":["2067470727201394831"]},{"id":"2067470703910166736","text":"RT @expertwith_AI: All Paid Courses (Free for First 4500 People)\n\n 𝗣𝗮𝗶𝗱 𝗖𝗼𝘂𝗿𝘀𝗲 𝗙𝗥𝗘𝗘 (PART - 1)\n 1. Artificial Intelligence\n 2. Machine Lear…","edit_history_tweet_ids":["2067470703910166736"]},{"id":"2067470655956615416","text":"RT @Trevor8Hobbs: BRIEF OVERVIEWS by Artificial Intelligence (AI)\n***\n@trevor8hobbs is the online handle for Trevor Hobbs, a multi-awarded…","edit_history_tweet_ids":["2067470655956615416"]},{"id":"2067470649157648869","text":"Trump's 5 Most Recent Executive Orders:\n1. Strengthening Customs Enforcement (June 3, 2026)\n\n2. Implementing Schedule Policy/Career in the Excepted Service (June 3, 2026)\n\n3. Promoting Advanced Artificial Intelligence Innovation and Security (June 2, 2026)\n\n4. Realigning United","edit_history_tweet_ids":["2067470649157648869"]},{"id":"2067470532560470305","text":"RT @Nishan_011: All Paid Courses (Free for First 4500 People)\n\n 𝗣𝗮𝗶𝗱 𝗖𝗼𝘂𝗿𝘀𝗲 𝗙𝗥𝗘𝗘 (PART - 1)\n 1. Artificial Intelligence\n 2. Machine Learnin…","edit_history_tweet_ids":["2067470532560470305"]},{"id":"2067470529238544852","text":"RT @Starboy2079: History does not move in a straight line, it advances in leaps. Such transformative moments emerge once every 25–30 years,…","edit_history_tweet_ids":["2067470529238544852"]},{"id":"2067470366117618128","text":"RT @WSJ: President Trump said negotiations with Anthropic over restoring access to the company’s latest artificial-intelligence models were…","edit_history_tweet_ids":["2067470366117618128"]},{"id":"2067470365857583454","text":"RT @Eliseevanews: Hitler's descendants attacked a bus with children from Belarus, who were traveling from Gomel to Gelendzhik.\n\nWhat a delu…","edit_history_tweet_ids":["2067470365857583454"]},{"id":"2067470356055765430","text":"RT @FirstSquawk: The CSI Artificial Intelligence Index in China gains over 3% on strong buying in AI stocks.","edit_history_tweet_ids":["2067470356055765430"]}],"meta":{"newest_id":"2067470734881083895","oldest_id":"2067470356055765430","next_token":"b26v89c19zqg8o3jueqj21aj6exmktnl5qedl3jqvpf99","result_count":10}}},"exampleRequest":{"query":"artificial intelligence","max_results":10},"tags":["x402"],"displayCostAmount":"0.052000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.052000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Tn6Ma9sE6VlrCe5VUJ1fq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.052","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches the full archive of all public tweets on X/Twitter using a query string, returning matching tweets and metadata","exampleAgentPrompt":"Search the full X/Twitter archive for tweets mentioning 'climate change' using the query '\"climate change\" -is:retweet lang:en' and return up to 50 results.","exampleUseCases":[{"title":"Monitor competitor mentions across Twitter history","prompt":"Search all of X/Twitter for tweets mentioning our competitor and their product launches over the past two years, so we can understand how the market reacted to their announcements."},{"title":"Track sentiment on brand reputation issues","prompt":"Find tweets discussing the data breach we had last quarter using relevant keywords and filters, so I can analyze how public perception evolved and identify the most critical concerns customers raised."},{"title":"Research historical trends for market analysis","prompt":"Look up all tweets containing our industry hashtag from the past year, excluding retweets, so we can identify emerging topics and see which discussions are gaining the most engagement."}],"resultDescription":"Returns a JSON object with an array of tweet data objects matching the query, a meta object with pagination info (next_token, result_count), and optionally an errors array if any issues occurred.","failureModes":["Invalid or malformed search query returns an error response","max_results outside 1-100 range causes validation failure","Authentication/payment failure returns 402 Payment Required","Rate limits exceeded returns 429 Too Many Requests","Query too complex or long may be rejected by X API","Network timeout on large result sets"],"whenToPreferThis":"Use this endpoint when you need to search the complete historical archive of all public tweets — not just the recent 7-day window — with support for full X/Twitter query syntax including operators. Prefer this over recent-search when historical data is needed, and over tweet-counts endpoints when you need actual tweet content rather than just volume metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-13T02:44:12.006Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:37:30.858Z","isFirstParty":false,"canonicalSlug":"www-surplusintelligence-ai-f69f713b"}