# X / Twitter User Search

Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.

|  |  |
| --- | --- |
| Tool id | `anyapi.twitter-search-users` |
| Platform | [X (Twitter)](https://www.orcarouter.ai/tools/x.md) |
| Capability | [Search users](https://www.orcarouter.ai/tools/x/search-users.md) |
| Price | $0.00077 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | yes | Keyword to match against X (Twitter) handles, display names, and profile bios. This is the People tab of X search: pass a topic ('ai agents'), a name ('Elon Musk'), or a handle ('openai') and get back accounts, not posts. Use twitter.search for posts. |
| `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of accounts. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/anyapi.twitter-search-users/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"<query>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/anyapi.twitter-search-users/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"query":"<query>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Search X (Twitter) by keyword — top, latest, media, people](https://www.orcarouter.ai/tools/x/search-users/x-twitter-search-v1.md) | — | $0.016236 per call | OK |

## FAQ

### How much does X / Twitter User Search cost?

X / Twitter User Search costs $0.00077 per call: 1,000 calls cost $0.77.

### What does a $10 budget buy with X / Twitter User Search?

About 12987 calls at $0.00077 per call.

### What inputs does X / Twitter User Search need?

Required inputs: query.

### How do I call X / Twitter User Search?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/x/search-users/twitter-search-users
