# glim.sh Twitter Tweet Lookup

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

Fetches live tweet data by tweet ID from Twitter/X via a pay-per-call API requiring no API keys

## Facts

- Endpoint: POST https://glim.sh/api/v1/twitter/tweets/%7Bid%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-sh-twitter-tweet-lookup-e09907a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pCe1saO3lCI7wFuoQFFS8

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-lookup-e09907a2 -d '<json body>'
```

Example prompt: Can you fetch the tweet with ID 1234567890 from Twitter and show me what it says?

## When to prefer this

Choose this endpoint when you need live tweet data by ID without managing a Twitter developer account or API keys, and you want a simple pay-per-call model via x402 USDC micropayments. Ideal for AI agents that need occasional tweet lookups without a full scraping infrastructure.

## Known failure modes

- Tweet not found or deleted — returns empty or 404-like response
- Invalid tweet ID format — malformed request error
- Payment failure — x402 payment not accepted or insufficient USDC balance
- Rate limiting or upstream Twitter API issues — service may return error or delay
- Network timeout on the remote endpoint

## 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 containing the tweet's ID and text content, e.g. {data: {id: '1234567890', text: 'Example 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": {},
     "description": "No body parameters - the tweet id is taken from the URL path"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "propertyNames": {
        "type": "string"
       },
       "additionalProperties": {}
      }
     },
     "required": [
      "data"
     ]
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "1234567890",
   "text": "Example tweet"
  }
 }
}
```

## More

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