GET /v1/instagram/stored/post

Instagram stored post API: caption, likes and media URLs by shortcode

Returns the stored record of one Instagram post or reel: caption, likes, comments, posted_at, image and video URLs, content_type, product_type, size and flags. Send a shortcode or a post, reel or tv URL as q. This is a stored read: a miss is a 404 and never a crawl; read a fresh copy with the Instagram post API.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/instagram/stored/post?q=DblswrEy-OK' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

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

Parameters

NameInTypeDescription
q requiredquerystringShortcode, or a post, reel or tv URL. Example DblswrEy-OK.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "id": 11,
    "ig_post_id": "3955764706547590026",
    "shortcode": "DblswrEy-OK",
    "caption": "Go inside @gracieabrams’ world ❤️🎶\n\nThe singer-songwriter shares the creative process behind her new album “Daughter from Hell” –  nature, dancing and the quiet in between. \n\n“Sometimes it can be surprising how strange and out-of-body the …",
    "likes": 205627,
    "comments": 7429,
    "posted_at": "2026-08-03 19:07:27+00:00",
    "content_type": "Video",
    "image_url": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/764608272_18778832995001321_4491478198882769795_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=102&ig_cache_key=Mzk1NTc2NDcwNjU0NzU5MDAyNjE4Nzc4ODMyOTkyMDAxMzIx.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=…",
    "video_url": "https://scontent-lga3-1.cdninstagram.com/o1/v/t2/f2/m86/AQPkd8JknkaAgE6sTz1BRINW2tfvf0XhJjwIvNyvNvsRHEtfNpzECv1xOQAFWWFuyp-Me-QcDLji0-J2pw5bJPPBhQdgYB6JhFSd4Kg.mp4?_nc_cat=111&_nc_sid=5e9851&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_ohc=z…",
    "is_video": true,
    "video_duration": 152.218,
    "product_type": "clips",
    "original_width": 1080,
    "original_height": 1920,
    "like_and_view_counts_disabled": false,
    "observed_surface": "post",
    "is_pinned": false,
    "video_play_count": null,
    "is_paid_partnership": null,
    "post_url": "https://www.instagram.com/reel/DblswrEy-OK/",
    "comments_list": []
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$474.5818",
    "request_id": "req_d4da50e261b5e3ba4323c0f9d70e5b56"
  }
}

How it works

The stored record of one post: caption, likes, comments, posted_at, media URLs, content_type, product_type, size and flags.

Strictly DB: this reads what the crawler already stored and never crawls. A miss is a 404 and is not billed. Fetch a fresh post with /v1/instagram/post.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404The post is not stored. You are not charged.
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.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.

Instagram API guide