# PayWeave Twitter User Search

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

Search for Twitter/X user profiles by keyword or phrase, with pagination support.

## Facts

- Endpoint: GET https://twitter.payweave.services/users/search
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-twitter-user-search-0669d28f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gxMKywrx3DEVO4Vt3gAPa

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-search-0669d28f
```

Example prompt: Search Twitter for user accounts related to 'machine learning' and show me the first page of results.

## When to prefer this

Choose this endpoint when you need to search for Twitter/X user profiles by keyword or topic and want pay-per-call pricing with no subscription commitment. It is particularly useful for one-off influencer discovery, competitor research, or community mapping tasks. If you need tweet search or trend data instead of user profiles, use a sibling endpoint on the same service.

## Known failure modes

- Missing or empty query string returns a validation error
- Invalid or expired next_token causes a pagination error or empty result
- Rate limiting or upstream twitterapi.io outage returns a 5xx error
- Query returning zero results yields an empty users array with has_next_page false
- Payment failure (insufficient USDC balance) results in HTTP 402 and no data returned

## How this service works

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

## Output

Returns a JSON object containing an array of user-profile objects matching the search query, along with a next_cursor string for fetching the next page and a has_next_page boolean indicating whether more results exist. The user objects are forwarded verbatim from twitterapi.io and may include profile metadata such as username, display name, follower counts, and bio.

## 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": [
        "query"
       ],
       "properties": {
        "query": {
         "type": "string",
         "minLength": 1,
         "description": "Search keyword or phrase."
        },
        "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": {
      "users": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of user-profile objects."
      },
      "members": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of user-profile objects."
      },
      "followers": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of user-profile objects."
      },
      "followings": {
       "type": "array",
       "items": {
        "type": "object",
        "additionalProperties": {}
       },
       "description": "Array of user-profile 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": "User 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-search-0669d28f/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)
