# 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-14).

Fetches recent tweets posted by a specific Twitter/X user, optionally including replies

## Facts

- Endpoint: GET https://twitter.surf.cascade.fyi/users/yarofeyka/tweets
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-surf-cascade-fyi-088e65e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zpv9-YGYKsLhp83Q5YFwv

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-088e65e6
```

Example prompt: Can you grab the latest tweets from @yarofeyka on Twitter, including any replies they've posted?

## When to prefer this

Use this endpoint when you need to programmatically retrieve tweets for a specific Twitter/X username via a pay-per-call model without managing Twitter API credentials. Ideal for one-off lookups or agent workflows that need to read a user's public tweet history on demand.

## Known failure modes

- User not found or account suspended — likely 404 or error response
- Username typo results in wrong user's tweets
- Payment failure (x402) — endpoint requires $0.004 USDC per call
- Private/protected account — no tweets returned
- Rate limiting from upstream Twitter API causing empty or error response

## How this service works

User tweets

## Output

Returns a list of tweets posted by the specified Twitter/X user, potentially including reply tweets if the include_replies flag is set. Each tweet likely contains text content, timestamps, and associated metadata.

## 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-088e65e6/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)
