GET /v1/instagram/highlight

Instagram highlight API: get the stories of one highlight by id

Returns one Instagram story highlight as Highlight: title, cover URL, owner and its stories, each with time, kind and media URL. Send the numeric highlight_id that the highlights API lists. This read uses one of our signed-in Instagram accounts.

Price
$0.0100 per page
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/instagram/highlight?highlight_id=18223279177302854' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/instagram/highlight",
    params={
        "highlight_id": "18223279177302854",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
highlight_id requiredquerystringNumeric highlight id from highlights_tray. Example 18223279177302854.
cached queryauto | cache_only | liveauto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts Instagram (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. A saved read is an earlier answer of this operation for the same arguments; an account in the profile library (/v1/instagram/profile) is not one until this operation has read it. Default auto.
get_raw querybooleanNot available on this operation: the upstream document is an HTML page, and true answers 400. The default false returns the normalized type. Default false.

Example response

The example response of the API reference.

json
{
  "data": {
    "id": "18612622252018257",
    "title": "Current",
    "cover_url": "https://scontent.cdninstagram.com/cover.jpg",
    "items": 1,
    "created_at": null,
    "owner": {
      "id": "25025320",
      "username": "instagram",
      "full_name": "Instagram",
      "is_verified": true,
      "is_private": false,
      "avatar_url": "https://scontent.cdninstagram.com/ig_150.jpg",
      "latest_story_at": null,
      "extra": {}
    },
    "stories": [
      {
        "id": "3700000000000000011",
        "taken_at": "2025-09-04T15:33:20+00:00",
        "kind": "video",
        "media_url": "https://scontent.cdninstagram.com/3700000000000000011.mp4",
        "expires_at": null,
        "video_duration": null,
        "mentions": [],
        "link": null
      }
    ]
  },
  "meta": {
    "source": "live",
    "fetched_at": "2026-09-09T03:10:22Z",
    "cost": "$0.0100",
    "balance": "$0.3777",
    "request_id": "req_f1abb41157ca15c565d48a90bacef554"
  }
}

How it works

Wraps GET /stories/highlights/{id}/. Returns Highlight under data; the upstream document is an HTML page, so get_raw is not available.

Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.

The example response is the crawler's own projection of a synthetic upstream document into Highlight, not a live capture.

Billing: $0.0100 per call. This read spends one of our signed-in Instagram accounts, so it costs more than a logged-out read.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
403Instagram does not show this account to logged-out readers: it is private, hidden or restricted, or it no longer exists. Retrying will not change the answer until the account changes. You are not charged.
404cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the account, post, highlight, or location does not exist (not_found).
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503capacity_exhausted means every logged-in reader this request may use is busy or waiting for a session opening; retry after the Retry-After delay. billing_unavailable means billing could not be confirmed, so no data was returned. You are not charged.
504The upstream request timed out. You are not charged.

Instagram API guide