# X (Twitter) Bulk Tweet Lookup via x402

> X (Twitter) Bulk Tweet Lookup via x402 is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Fetches public tweet data (text, timestamps, language, metrics, author profile) for one or more tweet IDs using the X API v2, paid per-call via x402/USDC.

## Facts

- Endpoint: POST https://x402.agentutility.ai/tweets?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-twitter-bulk-tweet-lookup-via-x402-b43955cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ybKdv-oXy7sKc9aS_mFB6

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 x-twitter-bulk-tweet-lookup-via-x402-b43955cf -d '<json body>'
```

Example prompt: Can you look up these tweet IDs — 1234567890123456789, 9876543210987654321 — and give me the full text, like/retweet counts, author username, and the language each was posted in?

## When to prefer this

Choose this endpoint when you already have specific tweet IDs and need to bulk-retrieve their content, metrics, and author info without maintaining your own X API credentials or USDC payment infrastructure. Ideal for AI agents that need pay-per-call, no-subscription access to X data on Base/USDC. Prefer over direct X API v2 calls when operating in an agentic/MCP environment with x402 micropayment settlement.

## Known failure modes

- Invalid or deleted tweet IDs return empty or error entries per ID
- Missing or invalid X_BEARER_TOKEN results in 401 unauthorized
- Rate limit exceeded on upstream X API v2 returns 429
- Malformed request body (missing tweet_ids/ids field) returns 400 bad request
- Private or suspended accounts' tweets are inaccessible and return not-found errors
- x402 payment failure (insufficient USDC balance) prevents call from completing

## How this service works

Tweets API / bulk X tweet lookup / Twitter tweet IDs lookup. Read-only X API v2 tweet lookup endpoint using the exact buyer slug seen in market demand. Pass tweet_ids or ids and get public post text, timestamps, language, public metrics, and expanded author profile fields. Requires X_BEARER_TOKEN; no posting, replying, liking, following, or account mutation.

## Output

Returns an array of tweet objects for each requested ID, each containing: full post text, creation timestamp, detected language, public metrics (likes, retweets, replies, quote count), and expanded author profile fields (username, display name, profile details). Read-only; no mutations are performed.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "tweet_ids"
     ],
     "properties": {
      "ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Alias for tweet_ids."
      },
      "mode": {
       "enum": [
        "tweets"
       ],
       "type": "string",
       "description": "Use 'tweets' for bulk tweet lookup. Defaults to tweets when ids are supplied."
      },
      "tweet_ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Numeric X/Twitter tweet IDs. Up to 100."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "mode": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "tweets": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "text": {
          "type": "string"
         },
         "author": {
          "type": "object",
          "properties": {
           "username": {
            "type": "string"
           }
          }
         }
        }
       }
      },
      "requested": {
       "type": "integer"
      },
      "result_count": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "tweets",
  "source": "X API v2 tweet lookup",
  "tweets": [
   {
    "id": "1800000000000000000",
    "text": "x402 payments are live",
    "author": {
     "username": "agentutility_ai"
    }
   }
  ],
  "requested": 2,
  "result_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-twitter-bulk-tweet-lookup-via-x402-b43955cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
