Sources › Social media › Instagram › Get Post Comments

Instagram Post Comments API

Comments on an Instagram post or reel by URL or shortcode, up to `limit`. Each comment has the author, text, like count, reply count and time.

InstagramGET /commentsAll plansBulk ready2 Zap

Request

GET
https://api.zapi.ink/v1/social-media:instagram-scraper/comments/:id

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.

Parameters

NameTypeInRequiredDescription
idstringpathNoShortcode or full Instagram post/reel URL (e.g. https://instagram.com/p/C32pChvPdoC). Example: C32pChvPdoC
urlstringqueryNoFull post/reel URL — alias for `id` (used by bulk async scraping).
limitnumberqueryNoMaximum number of comments. Default 50, max 200. Example: 50

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:instagram-scraper/comments/C32pChvPdoC?url=&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:instagram-scraper/comments/C32pChvPdoC?url=&limit=50", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:instagram-scraper/comments/C32pChvPdoC",
    params={"url":"","limit":"50"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "social-media:instagram-scraper",
  "data": {
    "url": "https://www.instagram.com/p/DbYwp2MArz2/",
    "count": 8,
    "total": 225064,
    "postId": "3952122654932253942",
    "hasMore": true,
    "comments": [
      {
        "text": "<img src=\"https://cdn.fbsbx.com/v/t59.2708-21/590094220_1520373489205470_4279519019551692983_n.gif?_nc_cat=111&ccb=1-7&_nc_sid=9dcd69&_nc_ohc=pqaLoAqJvjEQ7kNvwFsilij&_nc_oc=AdqpzOnDj_ORkK8noO0XfAsxNMWoLotjCMlfih8akw1W8C0bNWX3lj4bBuwKu_OG5yWdADj6HnXVrT0AromEa5fA&_nc_zt=7&_nc_ht=cdn.fbsbx.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=03_Q7cD6AG5NJI2XeWTgfEtFvvF84BGcIC06mv9HU1LpfG1Vym3iA&oe=6A7B8409\">",
        "author": {
          "avatar": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/769441744_18084712277250302_4092064938451308434_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=S_TL-o4aeMIQ7kNvwEvcXTm&_nc_oc=AdqVOc6Qh2ZVFxCWuIGJa7oH8e7bvQLmJrhVhEgFa3-zq8Ux3pyq8bIY09piX_-z1vuM39EYAFmgf7V-AcAs2z7Z&_nc_zt=24&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQEzKhlyLTFd28j7IXmXVehG4dwuWQkvRofwP1iwd_iYpw&oe=6A7F8035",
          "username": "rx_lohan",
          "profileUrl": "https://www.instagram.com/rx_lohan/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:12:44.000Z",
        "relativeTime": "2 minutes ago"
      },
      {
        "text": "🔥🔥🔥",
        "author": {
          "avatar": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/670772666_18073221431333458_4836484433215236668_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=xN82M1Kk04UQ7kNvwEBJOgd&_nc_oc=AdoK4kEJbe-0su3dKgPkdmkLz4F2oGihuOtllAteGhw7s3tAyY_qtTd6-3JvOn6Nk0j5HYw054HzR0_UUOPs7Z6K&_nc_zt=24&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQEYWUwfjjDayIhWOpQbMx69SPSPeFPDKNIwzpFaNmb2dA&oe=6A7FAC6A",
          "username": "eminem7cr",
          "profileUrl": "https://www.instagram.com/eminem7cr/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:12:19.000Z",
        "relativeTime": "2 minutes ago"
      },
      {
        "text": "The greatest of all time",
        "author": {
          "avatar": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/670772666_18073221431333458_4836484433215236668_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=xN82M1Kk04UQ7kNvwEBJOgd&_nc_oc=AdoK4kEJbe-0su3dKgPkdmkLz4F2oGihuOtllAteGhw7s3tAyY_qtTd6-3JvOn6Nk0j5HYw054HzR0_UUOPs7Z6K&_nc_zt=24&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQEYWUwfjjDayIhWOpQbMx69SPSPeFPDKNIwzpFaNmb2dA&oe=6A7FAC6A",
          "username": "eminem7cr",
          "profileUrl": "https://www.instagram.com/eminem7cr/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:12:15.000Z",
        "relativeTime": "2 minutes ago"
      },
      {
        "text": "Wow🔥🔥🔥",
        "author": {
          "avatar": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/755870257_18018140915857933_5548175769779687700_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=103&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=ztnZpW3HjdsQ7kNvwFOww5m&_nc_oc=Adqfwpie3F83DKhBrF2kvsqGFOa6f3Lu4uDQzgwN7Qo0ODs8imr1zUc5Z3LVue_2YREQkPaw5O_FqrKR6B7ixOKi&_nc_zt=24&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQFrHwK5ypQfbYiwybT9OS5oVihEudpnOZTBLBO_OUJwgg&oe=6A7F8A99",
          "username": "mr_s.a.j.a.l",
          "profileUrl": "https://www.instagram.com/mr_s.a.j.a.l/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:11:48.000Z",
        "relativeTime": "3 minutes ago"
      },
      {
        "text": "👏👏",
        "author": {
          "avatar": "https://scontent-atl3-3.cdninstagram.com/v/t51.82787-19/588802034_18094522072882464_7651360205099477972_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=107&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=JMVgFrmN2G8Q7kNvwHsMKAl&_nc_oc=AdrH36Tzq9vUs2dBAwoHzRdULR1HGIQoqwRPERo6dQY2WK1_ZOK-Op7kx67Ln2qVe1jepUb9h8tP_V56XQEh-LS7&_nc_zt=24&_nc_ht=scontent-atl3-3.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQGm1lupYQPFYw7RzIHMfBQsv9gI-xWyXvAvA1Zy50f5QQ&oe=6A7F9046",
          "username": "klebsonregoo",
          "profileUrl": "https://www.instagram.com/klebsonregoo/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:10:24.000Z",
        "relativeTime": "4 minutes ago"
      },
      {
        "text": "Messi è più bello🐐",
        "author": {
          "avatar": "https://scontent-atl3-3.cdninstagram.com/v/t51.82787-19/731016444_18070699169405831_2224450630219714062_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=110&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=56-cPMy0GbMQ7kNvwEI-Rdc&_nc_oc=Adq-8twiCC_zxD-VE3JNEzkKXCC4sY_gPGEHfIVlWgnsySlio0rUmQnaafmbYVYDwTSFQWEGd6-poyII6rjLBIXG&_nc_zt=24&_nc_ht=scontent-atl3-3.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQFejVFc8EGNPGvg9tTt3pXqIi_iy793aOGhIfoDN9WQoA&oe=6A7F7BA6",
          "username": "bartolomeoricchetti",
          "profileUrl": "https://www.instagram.com/bartolomeoricchetti/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:09:58.000Z",
        "relativeTime": "5 minutes ago"
      },
      {
        "text": "عيني قلبك ملك كرة القدم❤️😍😍👑👑",
        "author": {
          "avatar": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/613559752_17846800215665320_459501271396330255_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=106&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4zMjAuQzMifQ%3D%3D&_nc_ohc=5UBHzXVvcJMQ7kNvwHSRu2I&_nc_oc=AdoUmQBTSQ_ZpNvVgz1gpqn2aojl8mKjHR4joXEc26FbibOOrtcyJSjU8WOtZfj9apJxfn4r-zPOFRgyUyVBiSdm&_nc_zt=24&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQFp0tFjLZMPOEc0EqSHpoGm4x5uZ5u7Yv-e5egoVe4bUw&oe=6A7F7AD5",
          "username": "hala500196",
          "profileUrl": "https://www.instagram.com/hala500196/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:08:05.000Z",
        "relativeTime": "7 minutes ago"
      },
      {
        "text": "Mi amor 😍🔥",
        "author": {
          "avatar": "https://scontent-atl3-3.cdninstagram.com/v/t51.82787-19/723238609_17970445938079752_977816496775087326_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=111&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy43MjAuQzMifQ%3D%3D&_nc_ohc=lMvgAKPY6VIQ7kNvwEPivS5&_nc_oc=AdquvyB_bY87tKR8m46McX8qe6luZysp-t18Wu881MZf9EJTL5veCCWSQUivN3Ucj_ZAVsBe0XUKPa-SbJsPTliE&_nc_zt=24&_nc_ht=scontent-atl3-3.cdninstagram.com&_nc_gid=c_fkyuK_4Q6dNq8BgvxPyw&_nc_ss=73689&oh=00_AQHnuCP8yAxXxZlNqLLNa9bsQye6Bp5j5cgGaNWP68jN-Q&oe=6A7F8A88",
          "username": "adrianteo54",
          "profileUrl": "https://www.instagram.com/adrianteo54/"
        },
        "likeCount": 0,
        "replyCount": 0,
        "createdAtIso": "2026-08-10T12:07:08.000Z",
        "relativeTime": "8 minutes ago"
      }
    ],
    "shortcode": "DbYwp2MArz2"
  },
  "timestamp": "2026-06-13T03:11:20Z"
}

Frequently asked questions

How do I call the Instagram Post Comments API?

Send a GET request to https://api.zapi.ink/v1/social-media:instagram-scraper/comments/:id with your Zapi key in the x-api-key header. Parameters — optional: id, url, limit. The response is JSON in the { project, data, timestamp } envelope.

What does the Instagram Post Comments API return?

Comments on an Instagram post or reel by URL or shortcode, up to `limit`. The example response has the fields url, count, total, postId, hasMore, comments, shortcode. Each item in comments has fields such as text, author, likeCount, replyCount, createdAtIso, relativeTime.

Is the Instagram Post Comments API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 2 Zap. Paid plans raise the limits.

Can an AI assistant call the Instagram Post Comments API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "instagram-scraper" and endpoint "comments".

What other Instagram API endpoints are there?

It has 8 endpoints. Besides Get Post Comments: Get User Profile, Get User Posts, Get Detail Post, Get User Stories, Get User Reels, Get Tagged Posts, and 1 more.