# X / Twitter Following

List the accounts a public X (Twitter) account follows by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more.

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

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `username` | string | yes | The X (Twitter) username to fetch the following list for, without the @ prefix (e.g. elonmusk). |
| `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 followed accounts. |
| `limit` | integer | no | Per-page maximum number of followed accounts to return (default 200). A native page holds up to 200 accounts, so a larger limit still returns at most one native page; follow the response's nextCursor for more. |

## Call it

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

```python
import os, requests

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [X (Twitter) accounts a user follows by handle](https://www.orcarouter.ai/tools/x/user-following/x-twitter-web-fetch-user-followings.md) | — | $0.0011 per call | OK |

## FAQ

### How much does X / Twitter Following cost?

X / Twitter Following costs $0.000495 per call: 1,000 calls cost $0.495.

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

About 20202 calls at $0.000495 per call.

### What inputs does X / Twitter Following need?

Required inputs: username.

### How do I call X / Twitter Following?

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/user-following/twitter-following
