# Get Instagram profile by user ID

The same profile record as `/user/info`, looked up by numeric `user_id` instead of username. Use it when you already hold an ID and want to check whether the account still exists or has been renamed.

- Platform: Instagram V3
- Request: `GET https://api.toolzerhub.com/v3/instagram/user/info/by-id`
- Auth: `x-api-key` header
- Cost: 3 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/instagram-v3/user/get-instagram-user-info-by-id-v3

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `user_id` | query | yes | string | Numeric user ID of a public account. Get it from the user_id field of the /user/info response. |

## Example request

```bash
curl "https://api.toolzerhub.com/v3/instagram/user/info/by-id?user_id=<user_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
