# glim.sh Twitter Tweets Fetch

> glim.sh Twitter Tweets Fetch is a paid API for AI agents from surf.cascade.fyi, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Fetches live tweets from Twitter/X via a pay-per-call proxy endpoint requiring no API keys

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/twitter/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/glim-sh-twitter-tweets-fetch-cb402897
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1UOUXwrAmgBAB8WDBnm8_

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 glim-sh-twitter-tweets-fetch-cb402897 -d '<json body>'
```

Example prompt: Search Twitter right now for the latest tweets mentioning 'OpenAI' and give me the top 10 results — I don't have a Twitter API key so use a proxy service.

## When to prefer this

Use this endpoint when an agent needs live Twitter/X data without managing Twitter API credentials or a scraping infrastructure, and is willing to pay $0.004 USDC per call. Prefer this over direct Twitter API integration when operating in a serverless or key-free environment, or when rapid prototyping social listening pipelines.

## Known failure modes

- Payment not received — returns 402 if USDC payment is not included
- Invalid query parameters — returns 400 if tweet search params are malformed
- Twitter API upstream error — returns 502 if the underlying Twitter API is unavailable
- Rate limit exceeded — returns 429 if call volume is too high
- No results found — returns empty data array if no tweets match the query

## How this service works

One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.

## Output

Returns a JSON object with a 'data' array of tweet objects (each containing id and text fields) and a 'meta' object with result_count, representing live tweets matching the query.

## Example request

```json
{
 "ids": "1234567890,1234567891,1234567892"
}
```

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "ids": {
       "type": "string",
       "description": "Comma-separated tweet IDs"
      }
     },
     "required": [
      "ids"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "properties": {
        "result_count": {
         "type": "integer",
         "minimum": -9007199254740991,
         "maximum": 9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        },
        "next_cursor": {
         "type": "string"
        }
       },
       "required": [
        "result_count"
       ]
      },
      "summary": {
       "type": "object",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     },
     "required": [
      "data",
      "meta"
     ]
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "1234567890",
    "text": "Example tweet"
   }
  ],
  "meta": {
   "result_count": 1
  }
 }
}
```

## More

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