KonbiniAPI

Get post comments from Instagram with KonbiniAPI

Returns top-level comments on an Instagram post. Fixed page size of 15 (platform limit). Includes comment text, author info, like counts, and timestamps.

This API endpoint returns top-level comments on an Instagram post. Fixed page size of 15 (platform limit). Includes comment text, author info, like counts, and timestamps.

Perfect for

  • Comment sentiment analysis for brand reputation monitoring
  • Community feedback and UGC collection for product research
  • Moderation and toxicity detection workflow automation

1. Make the request

const response = await fetch("https://api.konbiniapi.com/v1/instagram/posts/DGS29x/comments", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();

2. Get clean JSON

Response (200 OK)
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "OrderedCollectionPage",
    "partOf": "https://api.konbiniapi.com/v1/instagram/posts/CybWViruta1/comments",
    "totalItems": 1309,
    "cursor": "0",
    "nextCursor": "1772217402000",
    "next": "https://api.konbiniapi.com/v1/instagram/posts/CybWViruta1/comments?cursor=abc123&count=15",
    "itemCount": 30,
    "orderedItems": [
      {
        "type": "Note",
        "id": "https://www.instagram.com/p/CybWViruta1/c/17890000000000001/",
        "entityId": "17890000000000001",
        "content": "This man hasn't been in my fyp for so long",
        "published": "2026-02-27T20:37:38.000Z",
        "likeCount": 93210,
        "replyCount": 12,
        "attributedTo": {
          "type": "Person",
          "id": "https://www.instagram.com/khaby00/",
          "url": "https://www.instagram.com/khaby00/",
          "entityId": "779085683",
          "preferredUsername": "khaby00",
          "name": "Khabane Lame",
          "icon": {
            "type": "Image",
            "url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg"
          },
          "role": "collaborator"
        },
        "inReplyTo": "https://www.instagram.com/p/CybWViruta1/"
      }
    ]
  }
}