{"uid":"cap_hvAVcR9zGT-tL-39LNmiJ","slug":"agentutility-twitter-x-search-x402-bc2f0b5f","name":"AgentUtility Twitter/X Search (x402)","description":"Repeat a saved X/Twitter search query to monitor a brand, topic, or phrase over time. Send the same query, language, and max_results on each check; it returns recent public post text, timestamps, metrics, and expanded author profiles. Legacy Twitter search operators such as since:, until:, and -filter:retweets are normalized before the read-only X API v2 call. If X access is unavailable, the same tweets array returns clearly labeled public-index results with degraded status instead of an empty paid response. Use it as a Twitter search API, saved-query monitor, X recent-post search, or public-post watchlist.","url":"https://x402.agentutility.ai/twitter-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":{"required":["query"],"properties":{"query":{"type":"string","description":"X/Twitter recent-search query."},"language":{"type":"string","description":"Optional two-letter language filter."},"max_results":{"type":"number","description":"Number of recent posts to fetch. Clamped to 10-50. Default 10."}}},"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","properties":{"mode":{"type":"string"},"source":{"type":"string"},"result_count":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"mode":"search","source":"X API v2 recent search","result_count":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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_ux2ymoa1hCneUUfWqIyGO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches recent public posts on X (Twitter) using the X API v2, returning post text, author profiles, timestamps, and public engagement metrics — excluding retweets by default.","exampleAgentPrompt":"Search X for the most recent public posts mentioning 'AI agents' — exclude retweets and give me the post text, author usernames, and like/retweet counts.","exampleUseCases":[{"title":"Brand sentiment monitoring on X","prompt":"Search X for recent posts mentioning 'OpenAI' from the last 24 hours — skip retweets — and show me the text, author handle, and how many likes and retweets each got."},{"title":"Tracking a trending hashtag","prompt":"Find recent public posts on X using the hashtag #Web3 and return the authors' profile info and engagement numbers so I can see who's driving the conversation."},{"title":"Competitive intelligence feed","prompt":"Pull the latest public tweets mentioning our competitor 'Acme Corp' — no retweets — and give me the post text, timestamps, and public metrics so I can track what people are saying."}],"resultDescription":"Returns a list of recent public posts matching the query, each including post text, author profile fields (username, display name, follower count), timestamp, and public metrics such as like count, retweet count, and reply count. Retweets are excluded by default.","failureModes":["Query returns no results if the search term has no recent activity","Rate limits or quota exhaustion from the underlying X API v2","Payment failure if USDC balance is insufficient (x402 protocol)","Invalid or malformed query syntax returns an error","X API downtime or temporary unavailability propagates as a server error"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call access to recent public X/Twitter posts without managing your own X API credentials or developer account. It is ideal for AI agents that need real-time social listening, trend monitoring, or brand tracking on X with per-call USDC micropayments via the x402 protocol, especially within autonomous agent pipelines on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:19.292Z","isFirstParty":false}