# glim.sh Twitter Tweet Thread Fetcher

> glim.sh Twitter Tweet Thread Fetcher 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-08, last successful call 2026-07-02).

Fetches the full conversation thread for a given Twitter/X tweet ID, returning all tweets in the thread

## Facts

- Endpoint: POST https://surf.cascade.fyi/api/v1/twitter/tweets/%7Bid%7D/thread
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Last successful call: 2026-07-02
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-tweet-thread-fetcher-dc7ce0b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fDzmFXbPB5BiGV5i1g3ki

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-thread-fetcher-dc7ce0b8 -d '<json body>'
```

Example prompt: Can you pull the full tweet thread for tweet ID 1895432100987654321 on Twitter — I want to see the entire conversation chain, not just the original post.

## When to prefer this

Choose this endpoint when you need to retrieve a full Twitter/X conversation thread by tweet ID without managing Twitter API credentials or a scraping infrastructure. It is ideal for agents that need conversational context around a tweet, thread summarization, or monitoring of ongoing discussions, and are willing to pay $0.004 USDC per call via x402.

## Known failure modes

- Tweet ID does not exist — empty data array or 404-like error
- Tweet is from a private/protected account — access denied or empty result
- Thread has been deleted — empty result or error response
- Invalid tweet ID format — request validation error
- Payment failure via x402 — call not executed
- Rate limiting or upstream Twitter API unavailability — service error

## 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 an 'id' and 'text' field) plus a 'meta' object with 'result_count' indicating how many tweets were returned in the thread.

## 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": {
      "cursor": {
       "description": "Pagination cursor",
       "type": "string"
      }
     }
    },
    "pathParams": {
     "type": "object"
    }
   },
   "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-tweet-thread-fetcher-dc7ce0b8/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)
