API · Instagram
GET /instagram/posts/{shortcode}
One Instagram post or reel: caption, counts incl. plays, media, tags, audio and location.
| |
|---|
| Request | GET /v1/instagram/posts/{shortcode} |
| Operation id | instagram.post.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Instagram post or reel: caption, counts incl. plays, media, tags, audio and location.
| Name | Type | Required | Description |
|---|
shortcode | string | yes | A post or reel shortcode, or its URL (instagram.com/p/<code>/ or /reel/<code>/). Example: DfAWxdIFmVB. |
| Name | Type | Required | Description |
|---|
include_play_count | "true" | "false" | no | false: skip the play count (faster). One of true, false. |
| Status | Meaning | Schema |
|---|
200 | The post. | InstagramMediaResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account or post does not exist, or was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Instagram is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
media | InstagramMedia | |
Errors use one shape everywhere; see Errors for every code and what to do.