# glim.sh Twitter Tweet Thread Fetcher

> glim.sh Twitter Tweet Thread Fetcher is a paid API for AI agents from glim.sh, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Fetches the full reply thread for a given Twitter/X tweet by its ID

## Facts

- Endpoint: POST https://glim.sh/api/v1/twitter/tweets/%7Bid%7D/thread
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-tweet-thread-fetcher-5bdfd9ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UevR_8Y6k-oN2HGn6VsQQ

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-5bdfd9ad -d '<json body>'
```

Example prompt: Pull the full reply thread for tweet ID 1234567890 on Twitter — get up to 30 replies so I can see the whole conversation.

## When to prefer this

Use this endpoint when you need to retrieve the full reply thread or conversation chain under a specific tweet by ID, without setting up your own Twitter API credentials or scraping infrastructure. Ideal for agents that need to analyze tweet conversations, monitor replies, or expand a single tweet into its discussion context on demand.

## Known failure modes

- Tweet ID not found or deleted — returns empty data array
- Tweet is from a private account — access denied or empty result
- Rate limit exceeded on the backend — may return 429 or error response
- Invalid tweet ID format — schema validation error
- Network timeout fetching live Twitter data

## 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 with a 'data' array of tweet objects (each containing id and text fields) and a 'meta' object with result_count, representing all replies in the thread under the specified tweet.

## 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-5bdfd9ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from glim.sh](https://www.zero.xyz/host/glim.sh/llms.txt)
