# Twitter/X User Search

> Twitter/X User Search is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Search for Twitter/X users by keyword and return matching user profiles

## Facts

- Endpoint: POST https://twitter.surf.cascade.fyi/api/v1/twitter/users/search
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-user-search-7d9f152a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2rD5Gb4p0MWSLYMfLJ_u2

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-user-search-7d9f152a -d '<json body>'
```

Example prompt: Can you search Twitter for users related to 'decentralized finance' and show me the top accounts that come up?

## When to prefer this

Use this endpoint when you need to discover or search for Twitter/X user accounts by keyword, name, or topic — especially when you want a list of relevant accounts rather than tweets. Prefer this over tweet search endpoints when the goal is finding people/accounts rather than content.

## Known failure modes

- Empty results if keyword matches no users
- Rate limiting or quota exceeded errors
- Invalid or missing keyword parameter returns error
- API authentication or payment failure (402)
- Network timeout if Twitter upstream is slow

## How this service works

Search users by keyword

## Output

A list of Twitter/X user profiles matching the search keyword, typically including usernames, display names, profile descriptions, follower counts, and other account metadata returned by the Twitter surf cascade API.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "minLength": 1,
       "description": "User search query"
      },
      "cursor": {
       "description": "Pagination cursor. Ranking is strongest on page 1 - paged results under sort=Top trend toward recency (upstream behavior).",
       "type": "string"
      }
     },
     "required": [
      "q"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "properties": {
        "result_count": {
         "type": "integer",
         "minimum": -9007199254740991,
         "maximum": 9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        },
        "next_cursor": {
         "type": "string"
        }
       },
       "required": [
        "result_count"
       ]
      }
     },
     "required": [
      "data",
      "meta"
     ]
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-user-search-7d9f152a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.surf.cascade.fyi](https://www.zero.xyz/host/twitter.surf.cascade.fyi/llms.txt)
