# Twitter Surf Tweet Search

> Twitter Surf Tweet Search is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11, last successful call 2026-05-17).

Search tweets on Twitter/X using advanced query operators, returning matching tweets sorted by latest or top

## Facts

- Endpoint: GET https://twitter.surf.cascade.fyi/tweets/search?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-05-17
- Success rate: 69% of calls made through Zero
- Rating: 2.2 / 5 from 2 reviews
- Activations on Zero: 39
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-surf-cascade-fyi-6e390a46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pDe91-IS5F2MsehHpS2U7

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 twitter-surf-cascade-fyi-6e390a46
```

Example prompt: Search Twitter for the latest tweets about 'OpenAI GPT-5' — show me up to 50 results sorted by Latest.

## When to prefer this

Use this endpoint when you need to search public tweets by keyword, hashtag, mention, or advanced Twitter search operators. Prefer this over user-specific tweet endpoints when you don't have a specific username and need broad topic-based search. Ideal for monitoring public sentiment, tracking trends, or gathering social media data programmatically via a paid x402 micropayment API.

## Known failure modes

- Missing required 'q' parameter returns a validation error
- Invalid sort enum value (not 'Latest' or 'Top') causes rejection
- Limit outside 1-200 range may be clamped or cause an error
- Payment failure or insufficient USDC balance returns 402 error
- Rate limiting if too many requests are made in quick succession
- Empty results returned if query matches no tweets

## How this service works

Pay-per-use Twitter/X data API with x402 micropayments.

## Output

A list of up to 200 tweets matching the search query, including tweet content and associated metadata such as author, timestamps, and engagement signals, sorted by either latest or top.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "artificial intelligence",
   "sort": "Latest",
   "limit": 10
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "123",
    "text": "Hello world",
    "author": {
     "username": "elonmusk"
    }
   }
  ],
  "meta": {
   "result_count": 20,
   "has_next_page": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-surf-cascade-fyi-6e390a46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.surf.cascade.fyi](https://www.zero.xyz/host/twitter.surf.cascade.fyi/llms.txt)
