# X (Twitter) user profile by numeric user id

Retrieves an X (Twitter) user profile identified by its numeric Rest ID.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-twitter-get-user-detail-v1` |
| Platform | [X (Twitter)](https://www.orcarouter.ai/tools/x.md) |
| Capability | [User profile](https://www.orcarouter.ai/tools/x/user-profile.md) |
| Price | $0.016236 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `restId` | string | yes | The unique numeric identifier (Rest ID) for the X user. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-twitter-get-user-detail-v1/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"restId":"<restId>"}}'
```

```python
import os, requests

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Twitter Profile](https://www.orcarouter.ai/tools/x/user-profile/x-user-profile.md) | — | $0.000242 per call | OK |
| [X (Twitter) profile by handle or user id](https://www.orcarouter.ai/tools/x/user-profile/x-user-profile-63204f.md) | — | $0.0011 per call | OK |
| [X (Twitter) profile by username — account stats](https://www.orcarouter.ai/tools/x/user-profile/x-user-profile-39f66f.md) | — | $0.002068 per credit | OK |

## FAQ

### How much does X (Twitter) user profile by numeric user id cost?

X (Twitter) user profile by numeric user id costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with X (Twitter) user profile by numeric user id?

About 615 calls at $0.016236 per call.

### What inputs does X (Twitter) user profile by numeric user id need?

Required inputs: restId.

### How do I call X (Twitter) user profile by numeric user id?

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-profile/x-twitter-get-user-detail-v1
