# Get Instagram post by media ID

The same record as `/post`, looked up by numeric media ID. If you have a shortcode from a URL, convert it first with `/util/media-id`.

- Platform: Instagram V3
- Request: `GET https://api.toolzerhub.com/v3/instagram/post/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/post/get-instagram-post-by-id-v3

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `post_id` | query | yes | string | Numeric media ID. Convert a shortcode with /util/media-id. |

## Example request

```bash
curl "https://api.toolzerhub.com/v3/instagram/post/by-id?post_id=<post_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.
