# instagram.post

One public Instagram post or reel: caption, hashtags, like and comment counts, publication time, owner, and its photos and videos.

Instagram post, one of the Instagram scrapers.

| | |
| --- | --- |
| Id | `instagram.post` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/instagram.post/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | The post's or reel's address, e.g. https://www.instagram.com/p/C0xFHGOrBN7/ or https://www.instagram.com/reel/<shortcode>/. Limit: at most 2048 characters. |
| `shortcode` | string | no | The post's short code instead: the part of its address after /p/ or /reel/. Limit: at most 40 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `shortcode` | string | The post's short code: the part of its address after /p/ or /reel/. |
| `url` | string | The post's address. |
| `post_id` | string or null | Instagram's numeric id of the post. |
| `type` | "photo" \| "video" \| "carousel" | photo, video (a reel or a video post) or carousel (several photos or videos). |
| `is_reel` | boolean or null | True when the post is a reel. |
| `caption` | string or null | The caption, as written; null when the post has none. |
| `hashtags` | array of string | The hashtags written in the caption, without the #, in order. |
| `mentions` | array of string | The handles written in the caption, without the @, in order. |
| `taken_at` | string (date-time) or null | When the post was published, in UTC. |
| `like_count` | integer or null | Number of likes; null when the account hides like counts on this post. |
| `comment_count` | integer or null | Number of comments. |
| `likes_hidden` | boolean or null | True when the account hides like and view counts on this post. |
| `owner_username` | string or null | The handle of the account that published the post. |
| `owner_full_name` | string or null | That account's display name. |
| `owner_id` | string or null | Instagram's numeric id of that account. |
| `owner_verified` | boolean or null | True when that account carries the verified badge. |
| `coauthors` | array of string | The handles of the accounts the post is shared with as co-authors. |
| `location_name` | string or null | The place the post is tagged with, when it is tagged with one. |
| `audio_title` | string or null | The title of a reel's audio, e.g. "Original audio" or a song's name. |
| `media` | array of object | The post's photos and videos, in order: one for a photo or a video, several for a carousel. |
| `media[].type` | "photo" \| "video" | photo or video. |
| `media[].image_url` | string or null | The photo, or the video's cover, at its largest size. A signed address that stops working after some days. |
| `media[].video_url` | string or null | The video file's address, for a video. A signed address that stops working after some days. |
| `media[].width` | integer or null | Width in pixels of the original. |
| `media[].height` | integer or null | Height in pixels of the original. |
| `media[].alt_text` | string or null | Instagram's own description of the image for screen readers, when it gives one. |
| `fetched_at` | string (date-time) | When the post's page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/instagram.post/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.instagram.com/p/Df5ASbnCINp/"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "instagram.post",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.instagram.com/p/Df5ASbnCINp/"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "shortcode": "Df5ASbnCINp",
      "url": "https://www.instagram.com/p/Df5ASbnCINp/",
      "post_id": "4033256207883469673",
      "type": "carousel",
      "is_reel": false,
      "caption": "Have you ever seen a bumblebee nest taking shape? In this image from our Pictures of the Year 2026, Nat Geo photographer Anand Varma photographed three common eastern bumblebees crawling around irregular beeswax cells, which colonies build … [truncated]",
      "hashtags": [],
      "mentions": [],
      "taken_at": "2026-11-18T17:07:08Z",
      "like_count": 4909,
      "comment_count": 25,
      "likes_hidden": false,
      "owner_username": "natgeo",
      "owner_full_name": "National Geographic",
      "owner_id": "787132",
      "owner_verified": true,
      "coauthors": [],
      "location_name": null,
      "audio_title": null,
      "media": [
        {
          "type": "photo",
          "image_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/917538203_18720622468019133_1319102811738277293_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAzMzI1NjA3ODA5NjU5MDA5MQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=qDFSyRYonsgQ7kNvwEqhHQb&_nc_oc=AdqnblPhiJyfDuooCZ6WcaI3-S2HvVVv2gR1FH2R2dApMvjgSlRRsCIQRhzKk_zS33Q&_nc_zt=23&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_gid=hv9y1U_g5fO44TXxh59qwA&_nc_ss=79689&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQS1IBE6eQ1bZNxoNxZGB0xzUflpgGHlwfBbOJZTK6GVJw&oe=6B03D754",
          "video_url": null,
          "width": 2048,
          "height": 1488,
          "alt_text": "Photo by National Geographic on November 18, 2026. May be an image of goldfish, paper weight, display case and text."
        },
        {
          "type": "photo",
          "image_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/910548122_18720622483019133_5794070247493813873_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAzMzI1NjA4MjcwMTk0NzkxNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuNDA5Ni5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=DbS2X0e-5w0Q7kNvwHmTGXC&_nc_oc=AdrhHFlCjzeefHHXXqXvaaPo8SeUXbBKEjbKH4RwVjH-GD18NUcwjGWAg-a5zZKUX64&_nc_zt=23&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_gid=hv9y1U_g5fO44TXxh59qwA&_nc_ss=79689&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQRPpRFw_XPCFXXzVBDBj_VgfG0GHMfAIWV0VJz7NAO55g&oe=6B03ABB3",
          "video_url": null,
          "width": 4096,
          "height": 2977,
          "alt_text": "Photo by National Geographic on November 18, 2026. May be a graphic of fish, poster and text."
        }
      ],
      "fetched_at": "2026-11-19T18:07:40.833590Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `caption`: 663 characters, the first 239 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Instagram scrapers](https://docs.enrichednow.com/results-and-statuses.md#instagram) are in their own section there.
