# Instagram user id from username

Instagram: get user id by username (v3)

|  |  |
| --- | --- |
| Tool id | `tikhub.x-instagram-v3-get-user-id-by-username` |
| Platform | [Instagram](https://www.orcarouter.ai/tools/instagram.md) |
| Capability | [Resolve user ID from a link](https://www.orcarouter.ai/tools/instagram/user-resolve-id.md) |
| Price | $0.0088 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `username` | string | yes | Username |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/tikhub.x-instagram-v3-get-user-id-by-username/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/tikhub.x-instagram-v3-get-user-id-by-username/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"username":"<username>"}},
)
print(resp.json())
```

## FAQ

### How much does Instagram user id from username cost?

Instagram user id from username costs $0.0088 per call: 1,000 calls cost $8.80.

### What does a $10 budget buy with Instagram user id from username?

About 1136 calls at $0.0088 per call.

### What inputs does Instagram user id from username need?

Required inputs: username.

### How do I call Instagram user id from username?

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/instagram/user-resolve-id/x-instagram-v3-get-user-id-by-username
