# Get post

Fetches rich public post, reel, or carousel metadata plus backward-compatible oEmbed fields.

- Platform: [Instagram](https://docs.upscrape.com/docs/platforms/instagram)
- Capability ID: `instagram.post.get`
- Cost: 1 credit per request
- Maximum runtime: 60 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "url": "https://www.instagram.com/reel/DTfS7SMEk8B/"
  },
  "capability": "instagram.post.get"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | Instagram post/reel URL, or an 11-character shortcode. Use a full URL for older shortcodes. |

### Example input

```json
{
  "url": "https://www.instagram.com/reel/DTfS7SMEk8B/"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "data": {
    "author_id": 65543671366,
    "author_name": "life_samour_style",
    "author_url": "https://www.instagram.com/life_samour_style",
    "height": null,
    "html": "<blockquote class=\"instagram-media\" data-instgrm-captioned data-instgrm-permalink=\"https://www.instagram.com/reel/DTfS7SMEk8B/?utm_source=ig_embed&amp;utm_campaign=loading\" data-instgrm-version=\"14\" style=\" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; min-width:326px; padding:0; width:99.375%; width:…",
    "media_id": "3809847048594935553",
    "oembed": {
      "author_id": 65543671366,
      "author_name": "life_samour_style",
      "author_url": "https://www.instagram.com/life_samour_style",
      "height": null,
      "html": "<blockquote class=\"instagram-media\" data-instgrm-captioned data-instgrm-permalink=\"https://www.instagram.com/reel/DTfS7SMEk8B/?utm_source=ig_embed&amp;utm_campaign=loading\" data-instgrm-version=\"14\" style=\" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; min-width:326px; padding:0; width:99.375%; width:…",
      "media_id": "3809847048594935553_65543671366",
      "provider_name": "Instagram",
      "provider_url": "https://www.instagram.com",
      "thumbnail_height": 1136,
      "thumbnail_width": 640,
      "title": "Switzerland all the year 🇨🇭🥹\n\nWhich one is your preferred month?\n\n@life_samour_style \n\n#switzerland #life_samour_style #season #swiss #travel",
      "type": "rich",
      "version": "1.0",
      "width": 658
    },
    "provider_name": "Instagram",
    "provider_url": "https://www.instagram.com",
    "rich_data_available": false,
    "thumbnail_height": 1136,
    "thumbnail_width": 640,
    "title": "Switzerland all the year 🇨🇭🥹\n\nWhich one is your preferred month?\n\n@life_samour_style \n\n#switzerland #life_samour_style #season #swiss #travel",
    "type": "rich",
    "version": "1.0",
    "width": 658
  },
  "shortcode": "DTfS7SMEk8B"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `data` | `object` | 16 fields |
| `data.author_id` | `integer` | 65543671366 |
| `data.author_name` | `string` | life_samour_style |
| `data.author_url` | `string` | https://www.instagram.com/life_samour_style |
| `data.height` | `null` | null |
| `data.html` | `string` | <blockquote class="instagram-media" data-instgrm-captioned data-instgrm… |
| `data.media_id` | `string` | 3809847048594935553 |
| `data.oembed` | `object` | 14 fields |
| `data.provider_name` | `string` | Instagram |
| `data.provider_url` | `string` | https://www.instagram.com |
| `data.rich_data_available` | `boolean` | false |
| `data.thumbnail_height` | `integer` | 1136 |
| `data.thumbnail_width` | `integer` | 640 |
| `data.title` | `string` | Switzerland all the year 🇨🇭🥹  Which one is your preferred month?  @life_… |
| `data.type` | `string` | rich |
| `data.version` | `string` | 1.0 |
| `data.width` | `integer` | 658 |
| `shortcode` | `string` | DTfS7SMEk8B |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
