# PayWeave Twitter Tweet Search

> PayWeave Twitter Tweet Search is a paid API for AI agents from twitter.payweave.services, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Search X/Twitter tweets using advanced search syntax, returning paginated tweet objects via a pay-per-call API

## Facts

- Endpoint: GET https://twitter.payweave.services/tweets/search
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-twitter-tweet-search-39c79858
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ywnoVNmTddTO9lTd2a7ui

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 payweave-twitter-tweet-search-39c79858
```

Example prompt: Search Twitter for the latest tweets about 'AI agents' using X advanced search syntax — show me the most recent results and include a cursor so I can get the next page.

## When to prefer this

Choose this endpoint when you need to search public X/Twitter tweets by keyword, hashtag, user, or advanced search syntax and want pay-per-call pricing with no subscription commitment. Prefer it over scraping or official Twitter API when you need simple programmatic access with USDC micropayments and no OAuth setup.

## Known failure modes

- Empty results if query matches no tweets or is too narrow
- Invalid query syntax returns an error from the upstream Twitter API
- Missing required 'query' field causes a validation error
- Expired or invalid next_token causes pagination failure
- Rate limiting or upstream twitterapi.io downtime causing 5xx errors
- Payment failure (x402) if wallet has insufficient USDC balance

## How this service works

X/Twitter data — tweets, users, communities, lists, articles, and trends.

## Output

A JSON object containing an array of tweet objects (each with full tweet metadata as forwarded from twitterapi.io), a next_cursor string for fetching the next page, and a has_next_page boolean indicating whether more results are available.

## 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": {
     "anyOf": [
      {
       "not": {}
      },
      {
       "type": "object",
       "required": [
        "query"
       ],
       "properties": {
        "type": {
         "enum": [
          "Latest",
          "Top"
         ],
         "type": "string",
         "description": "Result ranking: \"Latest\" (default) or \"Top\"."
        },
        "query": {
         "type": "string",
         "minLength": 1,
         "description": "Search terms using X advanced-search syntax, e.g. \"from:elonmusk since:2024-01-01\"."
        },
        "next_token": {
         "type": "string",
         "description": "Pagination cursor from a previous response `next_cursor`. Omit for the first page."
        }
       },
       "additionalProperties": false
      }
     ]
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "example"
   ],
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "tweets": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of tweet objects."
      },
      "next_cursor": {
       "type": "string",
       "description": "Cursor to pass as `next_token` for the next page."
      },
      "has_next_page": {
       "type": "boolean",
       "description": "True when more pages are available."
      }
     },
     "description": "Tweet list JSON forwarded verbatim from twitterapi.io.",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-twitter-tweet-search-39c79858/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.payweave.services](https://www.zero.xyz/host/twitter.payweave.services/llms.txt)
