GET /v1/instagram/stored/post/comments

Instagram stored comments API: a post's saved comments by shortcode

Returns the comments stored for one Instagram post, in the order they were collected: text, author, likes and time, with stored_total, continuation (how far collection got) and next_cursor while has_more is true. Send a shortcode, post URL or numeric post id as q. This is a stored read: a miss is a 404 and never a crawl, and a stored post with no collected comments answers an empty list.

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/comments?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/comments",
    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, post URL, or numeric Instagram post id. Example DblswrEy-OK.
cursor querystringOpaque next_cursor from the previous page.
limit queryintegerComments per page. Default 50.

Example response

The example response of the API reference.

json
{
  "data": {
    "post": {
      "ig_post_id": "3955764706547590026",
      "shortcode": "DblswrEy-OK"
    },
    "continuation": {
      "next_page_cursor": null,
      "exhausted": true,
      "last_fetched_at": "2026-10-12T05:58:51.542060+00:00"
    },
    "comments": [
      {
        "comment_id": "18061339286756927",
        "author": "sudhanmagician",
        "author_id": "39279896131",
        "author_verified": false,
        "text": "Hi instagram team my monetisation status and gifts suddenly shows ineligible.you solve my problem",
        "likes": 1,
        "replies": null,
        "posted_at": "2026-08-06T02:50:24+00:00"
      },
      {
        "comment_id": "18077818199690898",
        "author": "g_sonu_king_123_kumar_raj_10k_",
        "author_id": "79964099042",
        "author_verified": false,
        "text": "❤️❤️❤️❤️",
        "likes": 0,
        "replies": null,
        "posted_at": "2026-08-06T02:52:26+00:00"
      },
      {
        "comment_id": "18093436325180837",
        "author": "abhi_anish_rajbhar_ji",
        "author_id": "52358150310",
        "author_verified": false,
        "text": "❤️",
        "likes": 0,
        "replies": null,
        "posted_at": "2026-08-06T03:24:20+00:00"
      }
    ],
    "stored_total": 591,
    "next_cursor": "WzEwN10",
    "has_more": true
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$474.5813",
    "request_id": "req_3b4163e4e40cc0e2a35602c476896c7e"
  }
}

How it works

The comments stored for one post, in the order they were collected, with stored_total, continuation (how far collection got) and next_cursor while has_more is true. A stored post with no collected comment page answers an empty list.

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

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