Instagram API

Instagram Comments Scraper API

Send a post's shortcode, get its comments: text, timestamp, likes, reply count and who wrote it. Sort by popular, recent or verified.

  • No card needed
  • Failed calls are free
  • Pack credits never expire
Post
Endpoint
curl "https://api.toolzerhub.com/v2/instagram/media/comments?code=DgOT_LDGtxo" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
200 OK
Real response, 27 Nov 2026. Commenter usernames are hidden on this page. The API returns them.
{
  "data": {
    "comment_count": 197,
    "has_more_comments": false,
    "comments": [
      {
        "pk": "18036003998855641",
        "text": "wow, they also do kisses",
        "created_at": 1795751470,
        "comment_like_count": 6,
        "child_comment_count": 0,
        "user": {
          "username": "hidden",
          "is_verified": false
        }
      },
      {
        "pk": "18126818869897490",
        "text": "LETSGOOOO",
        "created_at": 1795750811,
        "comment_like_count": 1,
        "child_comment_count": 0,
        "user": {
          "username": "hidden",
          "is_verified": false
        }
      },
      {
        "pk": "17972951387963299",
        "text": "😮😮😮❤️ ❤️❤️",
        "created_at": 1795741029,
        "comment_like_count": 0,
        "child_comment_count": 0,
        "user": {
          "username": "hidden",
          "is_verified": false
        }
      }
    ]
  }
}
1
credit per call
15
comments per call
$0.11
per 1,000 comments on the 3K pack
$0.06
per 1,000 comments on the largest plan

Last 7 days: 2,156 of 2,156 calls succeeded (27 Nov 2026).

Inputs

What you send

GET /v2/instagram/media/comments with your key in the x-api-key header.

ParameterExampleNotes
coderequiredDgOT_LDGtxoShortcode from the post URL, the media ID or the full URL.
sort_typerecentpopular, recent or verified.
pagination_token…From the previous response.

Limits

Good to know

  • Replies are counted in child_comment_count but come from a separate call.

How it works

From key to JSON

  1. 01x-api-key••••••••••Get a key100 free credits a month, no card
  2. 02GET/v2/instagram/media/commentsSend a requestAny HTTP client, no SDK needed
  3. 03{ data, status }200Get JSONFailed calls cost nothing

Pricing

1,000 comments cost $0.11

67 calls at 1 credit each is 67 credits: $0.11 on the $5 3K pack, down to $0.06 on the largest plan. The free 100 credits a month cover about 1,500 comments, and failed calls are not charged.

All plans and packs

FAQ

Questions

Where do I find the shortcode?
It is the part after /p/ or /reel/ in the post URL: instagram.com/p/DgOT_LDGtxo/ has code DgOT_LDGtxo. You can also paste the whole URL.
Can I export comments to Excel?
Yes. Page through with pagination_token and write each comment as a row. Our export guide has a script that writes CSV.
What does a giveaway with 3,000 comments cost?
3,000 comments at 15 per call is 200 calls, so 200 credits: about $0.38 on the $19 pack.

Try the Instagram Comments API free

Every new workspace gets 100 credits a month. Buy credits only when you need more.

Get free API key(opens in new tab)