$ man twitter-search
/twitter-search
PRICE / CALL
$0.006
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
twitter-search — search recent public x and twitter posts for a query, with optional language and result-count controls
synonym alias of x-search — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/twitter-search
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Search recent public X and Twitter posts for a query, with optional language and result-count controls. Returns post text, timestamps, author profiles, and public engagement metrics; legacy Twitter search operators such as since:, until:, and -filter:retweets are normalized before the X API 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, X search API, recent tweet search, or public-post monitor.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | X/Twitter recent-search query. | required |
| max_results | number | Number of recent posts to fetch. Clamped to 10-50. Default 10. | optional |
| language | string | Optional two-letter language filter. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| mode | string | — |
| result_count | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/twitter-search \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the twitter-search tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probetwittersearchtwitter-search
- methods
- POST
- cluster
- webprobe
- price
- $0.006 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| google-search | Ranked Google organic results via Decodo Google Search. | $0.006 |
| mentions | Monitors public X mentions of a brand, handle, URL, ticker, or phrase by searching recent posts and returning matches with author and met… | $0.006 |
| public-post-search | Searches recent public posts on X/Twitter with public metrics and author expansion. | $0.006 |
| recent-tweet-search | Searches recent public tweets/posts on X and returns text, timestamps, public metrics, and expanded author context. | $0.006 |
| search | Returns ranked Decodo Google web results. | $0.006 |
| search-site | Site/domain-scoped search via Decodo Google results. | $0.006 |
| search-web | Answer engine retrieval API for finding live web sources before an agent writes its own response. | $0.006 |
| serp-search | Pull ranked Decodo Google results for any query. | $0.006 |
SEE ALSO