# AgentUtility Tweet Search

> AgentUtility Tweet Search is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Searches recent public X (Twitter) posts with author expansion and public engagement metrics via X API v2 recent search

## Facts

- Endpoint: POST https://x402.agentutility.ai/tweet-search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-tweet-search-1ca436b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ial61403FDpt4FEtvIxB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentutility-tweet-search-1ca436b0 -d '<json body>'
```

Example prompt: Search recent X posts mentioning 'AI agents' and show me the top results with author info and engagement metrics like likes and retweets.

## When to prefer this

Choose this endpoint when you need real-time or recent X/Twitter post data with author context and engagement metrics in a single paid-per-call model without managing your own Twitter API credentials. Ideal for autonomous agents that need social listening, trend monitoring, or brand mention tracking on X without OAuth setup overhead. Prefer over direct X API access when you want USDC micropayment billing per query via x402 protocol.

## Known failure modes

- Query returns no results if search terms are too narrow or no recent posts match
- X API rate limits may cause temporary failures under high call volume
- Payment failure via x402 if USDC balance is insufficient
- Query syntax errors if unsupported operators are used
- Posts older than 7 days not returned since endpoint uses recent search only

## How this service works

Searches recent public X posts with author expansion and public metrics. Same backend as x-search, with exact tweet-search buyer wording; read-only X API v2 recent search. Use it as a tweet search API, Twitter recent search, or X public post search.

## Output

Returns a list of recent public X posts matching the search query, each including tweet text, author information (username, display name), and public metrics such as like count, retweet count, reply count, and timestamp.

## Request schema (JSON Schema)

```json
{
 "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 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"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "search",
  "source": "X API v2 recent search",
  "result_count": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-tweet-search-1ca436b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
