# API Direct – Twitter/X User Search

> API Direct – Twitter/X User Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-30).

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

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/twitter/users?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-twitter-x-user-search-f57b50ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x8bemh1Yrwa2qi5bHs7Qf

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 api-direct-twitter-x-user-search-f57b50ed
```

Example prompt: Search Twitter for users related to 'sustainable fashion' and pull back 3 pages of results so I can see who's active in that space.

## When to prefer this

Choose this endpoint when you need to discover Twitter/X user accounts by topic, name, or keyword — especially for influencer research, lead generation, or audience analysis. It supports multi-page fetching (up to 20 pages) in a single call, making it more efficient than single-page lookups when broad coverage is needed.

## Known failure modes

- Empty results if the keyword matches no users
- Rate limiting or quota exhaustion on high page counts
- Query too long if it exceeds 500 characters
- Invalid page count if outside the 1–20 range
- Twitter/X API downtime causing upstream errors

## How this service works

Search for Twitter/X users by keyword.

## Output

A merged list of Twitter/X user profiles matching the search keyword, aggregated across the requested number of pages. Each result typically includes account identifiers, display names, usernames, and profile metadata available via the Twitter/X search API.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 20,
       "minimum": 1,
       "description": "Number of pages to fetch and merge into one response (1-20, billed per page). Fetching stops early when there are no more results."
      },
      "query": {
       "type": "string",
       "maxLength": 500,
       "minLength": 1,
       "description": "Search query (max 500 characters)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-twitter-x-user-search-f57b50ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
