# Instagram post details by shortcode

Retrieves an Instagram post by its shortcode.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-instagram-get-post-detail-v1` |
| Platform | [Instagram](https://www.orcarouter.ai/tools/instagram.md) |
| Capability | [Post details](https://www.orcarouter.ai/tools/instagram/post-detail.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 |
| --- | --- | --- | --- |
| `code` | string | yes | The unique shortcode from the Instagram post URL. |

## Call it

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

```python
import os, requests

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Instagram post details by post id](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v1-fetch-post-by-id.md) | — | $0.0011 per call | OK |
| [Instagram post details by post URL](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v1-fetch-post-by-url.md) | — | $0.0011 per call | OK |
| [Instagram post details by post URL](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v1-fetch-post-by-url-v2.md) | — | $0.0011 per call | OK |
| [Instagram post details by shortcode or URL](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v2-fetch-post-info.md) | — | $0.0022 per call | OK |
| [Instagram post details by media id or URL](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v3-get-post-info.md) | — | $0.0088 per call | OK |
| [Instagram post details by shortcode](https://www.orcarouter.ai/tools/instagram/post-detail/x-instagram-v3-get-post-info-by-code.md) | — | $0.0088 per call | OK |

## FAQ

### How much does Instagram post details by shortcode cost?

Instagram post details by shortcode costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with Instagram post details by shortcode?

About 615 calls at $0.016236 per call.

### What inputs does Instagram post details by shortcode need?

Required inputs: code.

### How do I call Instagram post details by shortcode?

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/post-detail/x-instagram-get-post-detail-v1
