# PayWeave Twitter – User Mentions Lookup

> PayWeave Twitter – User Mentions Lookup is a paid API for AI agents from twitter.payweave.services, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-16).

Retrieves a paginated list of tweets mentioning a specified Twitter/X user by their screen name.

## Facts

- Endpoint: GET https://twitter.payweave.services/users/mentions
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-twitter-user-mentions-lookup-3f55db8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EIHMZXdYF0Avmmw2rJFBe

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 payweave-twitter-user-mentions-lookup-3f55db8e
```

Example prompt: Can you pull the latest tweets mentioning the Twitter account 'elonmusk' and show me the first page of results?

## When to prefer this

Use this endpoint when you need to retrieve tweets that mention a specific Twitter/X user by their handle, especially in agentic workflows requiring pay-per-call micropayment access (x402 protocol) without API key setup. Prefer it over scraping or official Twitter API when you want lightweight, on-demand mention lookups billed per call in USDC with no subscription overhead.

## Known failure modes

- Invalid or non-existent username returns empty tweet array or error
- Missing required 'username' field results in validation error
- Expired or invalid pagination cursor may return an error or restart from first page
- Rate limiting or payment failure (402) halts the request
- Twitter API downtime propagates as an upstream error
- Suspended or protected accounts may return no results

## How this service works

X/Twitter data — tweets, users, communities, lists, articles, and trends.

## Output

Returns a JSON object containing an array of tweet objects that mention the specified user, a next_cursor string for fetching the following page, and a has_next_page boolean indicating whether additional results exist. Tweet objects include standard Twitter/X fields (text, author, timestamps, engagement metrics, etc.) forwarded verbatim from twitterapi.io.

## 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": {
     "anyOf": [
      {
       "not": {}
      },
      {
       "type": "object",
       "required": [
        "username"
       ],
       "properties": {
        "username": {
         "type": "string",
         "minLength": 1,
         "description": "X handle / screen name (without @), e.g. elonmusk."
        },
        "next_token": {
         "type": "string",
         "description": "Pagination cursor from a previous response `next_cursor`. Omit for the first page."
        }
       },
       "additionalProperties": false
      }
     ]
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "example"
   ],
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "tweets": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of tweet objects."
      },
      "next_cursor": {
       "type": "string",
       "description": "Cursor to pass as `next_token` for the next page."
      },
      "has_next_page": {
       "type": "boolean",
       "description": "True when more pages are available."
      }
     },
     "description": "Tweet list JSON forwarded verbatim from twitterapi.io.",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-twitter-user-mentions-lookup-3f55db8e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.payweave.services](https://www.zero.xyz/host/twitter.payweave.services/llms.txt)
