# Twitter/X User Tweets Feed (glim.sh / twitter.surf)

> Twitter/X User Tweets Feed (glim.sh / twitter.surf) 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-11-18).

Fetches a paginated list of a Twitter/X user's recent tweets (~20 per page), with optional cursor-based pagination and reply inclusion, via pay-per-use micropayment API.

## Facts

- Endpoint: POST https://twitter.surf.cascade.fyi/api/v1/twitter/users/:ref/tweets?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-user-tweets-feed-glim-sh-twitter-surf-68617c8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4su0j65tTKjZJHkDH1ppQ

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-x-user-tweets-feed-glim-sh-twitter-surf-68617c8e -d '<json body>'
```

Example prompt: Can you grab the most recent tweets from @pmarca — skip replies, and start from the beginning of their timeline?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-use access to a specific Twitter/X user's recent tweet timeline without managing Twitter API credentials or OAuth flows. Ideal for agents that need to monitor accounts, analyze posting patterns, or aggregate content on demand with micropayment billing via x402.

## Known failure modes

- Invalid or non-existent user reference returns empty data or error
- Expired or invalid pagination cursor causes incorrect or empty results
- Payment failure (x402) prevents the request from being fulfilled
- Rate limiting or upstream Twitter API unavailability causes timeout or error
- Malformed request body (missing required fields) returns a 400-level error

## How this service works

A user's recent tweets, ~20/page. Body: optional cursor + include_replies only

## Output

Returns an array of tweet objects (up to ~20) for the specified user, plus pagination metadata including result_count, has_next_page boolean, and an optional next_cursor string for fetching subsequent pages.

## 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": {
     "type": "object",
     "properties": {
      "cursor": {
       "type": "string",
       "description": "Pagination cursor"
      },
      "include_replies": {
       "type": "boolean",
       "default": false,
       "description": "Include replies in the timeline"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "required": [
        "result_count"
       ],
       "properties": {
        "next_cursor": {
         "type": "string"
        },
        "result_count": {
         "type": "integer",
         "maximum": 9007199254740991,
         "minimum": -9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        }
       }
      },
      "summary": {
       "type": "object",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-user-tweets-feed-glim-sh-twitter-surf-68617c8e/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)
