# Twitter/X Tweet Lookup by ID

> Twitter/X Tweet Lookup by ID is a paid API for AI agents from twit-api-production-de12.up.railway.app, paid per call via x402, $0.0025/call, status healthy (last checked 2026-10-22, last successful call 2026-10-12).

Fetches full tweet data for a single Twitter/X tweet given its numeric tweet ID, returning text, author profile, metrics, and referenced tweets.

## Facts

- Endpoint: GET https://twit-api-production-de12.up.railway.app/tweets/by/id?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: healthy
- Last checked: 2026-10-22
- Last successful call: 2026-10-12
- Success rate: 100% of calls made through Zero
- Rating: 3.2 / 5 from 2 reviews
- Activations on Zero: 27
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-tweet-lookup-by-id-667444e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GSGrBYE-hNr8G3wi_bXy1

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 twitter-x-tweet-lookup-by-id-667444e3
```

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

## When to prefer this

Use this endpoint when you have a specific numeric tweet ID and need to retrieve comprehensive tweet metadata including engagement metrics in an X v2-compatible format. Prefer this over search-based endpoints when you already know the exact tweet ID. It is a simple, low-cost read operation at $0.0025 per call.

## Known failure modes

- Tweet ID not found or deleted — returns 404 or empty data
- Invalid or non-numeric tweet ID — returns 400 bad request
- Tweet from a suspended or deactivated account — no data returned
- Rate limiting or upstream X API quota exceeded — returns 429
- Network or Railway deployment downtime — returns 503 or timeout

## How this service works

Look up a single Twitter/X tweet by its numeric tweet ID. Returns full tweet data including text, author profile, creation date, engagement metrics (likes, retweets, replies, quotes, bookmarks), and referenced tweets. Query param: id (string, required) - numeric tweet ID, e.g. GET /tweets/by/id?id=1110302988. Returns X v2 API-compatible JSON.

## Output

Returns an X API v2-compatible JSON object containing the tweet's text, author profile information, creation timestamp, and engagement metrics (likes, retweets, replies, quotes, bookmarks), plus any referenced tweets (e.g. quoted or replied-to tweets).

## 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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-tweet-lookup-by-id-667444e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twit-api-production-de12.up.railway.app](https://www.zero.xyz/host/twit-api-production-de12.up.railway.app/llms.txt)
