# twit.sh Tweets Mentions

> twit.sh Tweets Mentions is a paid API for AI agents from twit.sh, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Fetches real-time Twitter/X mentions for a given account, returning tweet content, author info, and engagement metrics

## Facts

- Endpoint: GET https://twit.sh/tweets/mentions
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twit-sh-tweets-mentions-dafde96c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f0T2QfFbqI77GmusxJEi0

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-tweets-mentions-dafde96c
```

Example prompt: Pull the latest mentions of @halfin on X and show me who's tagging that account, what they're saying, and how much engagement each tweet is getting.

## When to prefer this

Use this endpoint when you need real-time Twitter/X mention data without managing Twitter API credentials or OAuth flows. Ideal for autonomous AI agents that need to monitor social mentions, track brand sentiment, or process incoming Twitter engagement on a per-request basis using USDC micropayments. Prefer over the official Twitter API when you want zero-setup, pay-per-use access with no monthly subscription or API key management.

## Known failure modes

- Invalid or non-existent Twitter username returns empty data array
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required error
- Rate limits on the underlying Twitter/X API may cause temporary unavailability
- Accounts with protected tweets may return no results
- Malformed query parameters return 400 Bad Request
- Network timeouts on real-time Twitter data stream

## 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

Returns a JSON array of tweet objects under a 'data' key, each containing the tweet ID, full text, author details (id, name, username), creation timestamp, and public engagement metrics (like_count, retweet_count, reply_count, quote_count). Also includes a 'meta' object with a next_token for paginating through additional results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## 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
    }
   }
  ],
  "meta": {
   "next_token": "abc123"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twit-sh-tweets-mentions-dafde96c/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)
