Instagram API

Instagram Highlight detail API

Fetch the details and media items of a single Instagram story highlight by id.

$1.20/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"id": "3402918475610233981",
"code": "C7fT2xLoAbD",
"mediaType": 2,
"image": "https://cdninstagram.com/glacier-cover.jpg",
"videoUrl": "https://cdninstagram.com/glacier.mp4",
"durationSeconds": 12.4,
"hasAudio": true,
"createdUtc": number,
... 4 more fields
}
Uptime
99.71%
30d · 1,754 calls
Requests
1,754
30d · weekly, last 12 wks
Response
2.0s
median · 30d

Pricing

Instagram Highlight detail API pricing

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Instagram highlight detail in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 22 of 23 fields. See every field

{
  "found": true,
  "data": {
    "id": "18201653992314974",
    "title": "Iceland 2025",
    "mediaCount": 3,
    "createdUtc": 1718409600,
    "ownerHandle": "nadia.travels",
    "coverUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/iceland-highlight-cover.jpg",
    "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-travels-profile.jpg",
    "items": [
      {
        "id": "3402918475610233981",
        "code": "C7fT2xLoAbD",
        "mediaType": 2,
        "image": "https://cdninstagram.com/glacier-cover.jpg",
        "videoUrl": "https://cdninstagram.com/glacier.mp4",
        "durationSeconds": 12.4,
        "hasAudio": true
      },
      {
        "id": "3402918475610234109",
        "code": "C7fT3aPoXyZ",
        "mediaType": 1,
        "image": "https://scontent.cdninstagram.com/v/t51.2885-15/iceland-waterfall.jpg",
        "width": 1080,
        "height": 1920,
        "createdUtc": 1718413200,
        "productType": "story",
        "paidPartnership": false
      },
      {
        "id": "3402918475610234255",
        "code": "C7fT4mZoQeF",
        "mediaType": 1,
        "image": "https://scontent.cdninstagram.com/v/t51.2885-15/iceland-hotsprings.jpg",
        "width": 1080,
        "height": 1920,
        "createdUtc": 1718416800,
        "productType": "story",
        "paidPartnership": true
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • idstring

    18201653992314974

    The id of the highlight to retrieve details for.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata

The highlight record, or null when nothing was found.

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/nadia-travels-profile.jpg

    Profile picture URL of the account that owns the highlight.

  • coverUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/iceland-highlight-cover.jpg

    URL of the highlight cover image. Populated whenever the provider has data for the entity.

  • createdUtcnumber

    1718409600

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • idstring

    18201653992314974

    Highlight identifier. Populated whenever the provider has data for the entity.

  • mediaCountinteger

    3

    Number of media items in the highlight.

  • ownerHandlestring

    nadia.travels

    Handle of the account that owns the highlight. Populated whenever the provider has data for the entity.

  • titlestring

    Iceland 2025

    Highlight title. Populated whenever the provider has data for the entity.

each itemdata.items[]

The media items inside the highlight, in the order the upstream returned them.

  • codestring

    C7fT2xLoAbD

    Instagram media shortcode.

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • durationSecondsnumber

    12.4

    Video duration in seconds, when the item is a video.

  • hasAudioboolean

    true

    True when the media carries an audio track.

  • heightinteger

    Media pixel height.

  • idstring

    3402918475610233981

    Media identifier.

  • imagestring

    https://cdninstagram.com/glacier-cover.jpg

    Direct URL to the media image (highest resolution).

  • mediaTypeinteger

    2

    Media type: 1 = image, 2 = video.

  • paidPartnershipboolean

    True when the item is tagged as a paid partnership.

  • productTypestring

    Instagram product type of the media, for example story.

  • videoUrlstring

    https://cdninstagram.com/glacier.mp4

    Direct URL to the media video, when the item is a video.

  • widthinteger

    Media pixel width.

top level
  • foundboolean

    true

    True when the highlight was found; false when the lookup returned nothing.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Instagram Highlight detail API

The AnyAPI Instagram Highlight detail API returns Instagram highlight detail data as normalized JSON from one POST call to /v1/run/instagram.highlight_detail. Fetch the details and media items of a single Instagram story highlight by id. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.7% of Instagram highlight detail calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 1,754 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Fetch the details and media items of a single Instagram story highlight by id. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.7% of Instagram highlight detail calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 1,754 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 Instagram Highlight detail calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/instagram.highlight_detail with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.