# Twitter Surf - User Tweets by Username

> Twitter Surf - User Tweets by Username is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Retrieves the recent tweets posted by a specific Twitter/X user by their username, optionally including replies

## Facts

- Endpoint: GET https://twitter.surf.cascade.fyi/users/levie/tweets
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-surf-cascade-fyi-5e43f955
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AhzN7kP_A-yuMP6bkRHnX

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-5e43f955
```

Example prompt: Can you fetch the recent tweets from the Twitter account 'levie', and skip any replies so I only see original posts?

## When to prefer this

Use this endpoint when you need to programmatically retrieve tweets from a specific Twitter/X user by their handle, especially in a paid, x402-based micropayment context. Prefer this over scraping or direct Twitter API if you need a simple HTTP GET with per-call micropayment pricing and no OAuth setup.

## Known failure modes

- Username not found or account suspended — 404 or empty response
- Payment not sent or insufficient — 402 Payment Required
- Rate limiting or upstream Twitter API throttling — 429 or 503
- Truncated response for accounts with large tweet volumes — _truncated flag set in response

## How this service works

User tweets

## Output

Returns a list of recent tweets from the specified Twitter/X user, including tweet content and associated metadata. The response is paginated or truncated for large timelines. When include_replies is false, only original tweets (not replies) are returned.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "include_replies": false
  }
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "include_replies": {
       "type": "boolean",
       "description": "Include replies"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "_truncated",
  "_originalSize"
 ],
 "properties": {
  "_truncated": {
   "type": "boolean"
  },
  "_originalSize": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-surf-cascade-fyi-5e43f955/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)
