# glim.sh Twitter Tweet Fetcher

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

Fetches live tweet data by ID including the tweet text, parent tweet, and thread context from Twitter/X

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/twitter/get
- Price: $0.005/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-tweet-fetcher-ed79e5bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VVZORdwF8ZBaKo_NApj6I

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-tweet-fetcher-ed79e5bf -d '<json body>'
```

Example prompt: Can you pull the full tweet for tweet ID 1234567890 from Twitter, including any parent tweet and thread context?

## When to prefer this

Use this endpoint when you need live tweet data without managing Twitter API credentials or a scraping stack, and you want pay-per-call simplicity via x402. Prefer this over direct Twitter API when you lack OAuth setup or want to avoid rate-limit management.

## Known failure modes

- Tweet ID not found or deleted — returns empty or error response
- Tweet is from a private/suspended account — access denied
- Malformed or missing tweet ID in request body — validation error
- Rate limit or payment failure — 402 or 429 response
- Twitter platform outage — upstream failure with error message

## 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

A JSON object containing the tweet's ID and text, a parent tweet object (or null if none), and a thread array with related tweets in the conversation chain.

## 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",
     "required": [
      "ref"
     ],
     "properties": {
      "ref": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1,
       "description": "Tweet URL/id or profile URL. Tweet URLs including /i/status/<id> and bare numeric tweet ids return the tweet + thread; a profile URL (https://x.com/<handle>) returns the user + recent tweets."
      },
      "cursor": {
       "type": "string",
       "maxLength": 500,
       "description": "Profile refs only: pagination cursor"
      },
      "include": {
       "type": "array",
       "items": {
        "enum": [
         "replies",
         "quotes"
        ],
        "type": "string"
       },
       "description": "Tweet refs only: extra sections to include (replies, quotes)"
      },
      "expand_urls": {
       "type": "boolean",
       "default": false,
       "description": "When true, auto-crawl entity URLs and attach crawled_content to tweets. Off by default: responses can grow by up to 4KB per expanded URL. Use glim_web_crawl(url) for targeted crawls instead."
      },
      "include_replies": {
       "type": "boolean",
       "default": false,
       "description": "Profile refs only: include replies in the timeline"
      },
      "include_mentions": {
       "type": "boolean",
       "default": false,
       "description": "Profile refs only: include the mentions timeline"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tweet": {
   "id": "123",
   "text": "Hello"
  },
  "parent": null,
  "thread": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glim-sh-twitter-tweet-fetcher-ed79e5bf/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)
