# twit.sh Tweet Lookup by ID

> twit.sh Tweet Lookup by ID is a paid API for AI agents from twit.sh, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Fetches a single tweet by its numeric ID, returning full text, author info, and engagement metrics in real-time

## Facts

- Endpoint: GET https://twit.sh/tweets/by/id
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twit-sh-tweet-lookup-by-id-733c3bb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V5U_EWuh06qKfxqQBye51

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 twit-sh-tweet-lookup-by-id-733c3bb5
```

Example prompt: Can you pull up the details for tweet ID 1110302988 — I want to see the full text, who posted it, and how many likes and retweets it got?

## When to prefer this

Choose this endpoint when you have a specific numeric tweet ID and need real-time tweet content, author info, and engagement metrics without managing Twitter/X API credentials. Ideal for autonomous AI agents that need pay-per-request access to tweet data via USDC on Base, avoiding OAuth setup or monthly API subscriptions.

## Known failure modes

- Invalid or non-numeric tweet ID returns an error
- Deleted or suspended tweet returns not found
- Payment failure via x402/USDC results in 402 response and no data
- Tweet from a private/protected account may be inaccessible
- Rate or quota limits on the underlying X API may cause temporary failures

## How this service works

Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402. Fully autonomous.

## Output

A JSON object containing the tweet's ID, full text, author details (ID, name, username), creation timestamp, and public engagement metrics (like_count, quote_count, reply_count, retweet_count).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Numeric tweet ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "1110302988",
   "text": "Running bitcoin",
   "author": {
    "id": "9253672",
    "name": "Hal Finney",
    "username": "halfin"
   },
   "created_at": "2009-01-11T03:39:18.000Z",
   "public_metrics": {
    "like_count": 134000,
    "quote_count": 3500,
    "reply_count": 5400,
    "retweet_count": 32000
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twit-sh-tweet-lookup-by-id-733c3bb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twit.sh](https://www.zero.xyz/host/twit.sh/llms.txt)
