INSTAGRAM API

Comment Replies

Retrieve comment replies from Instagram with a single API request.

GET/api/data/v1/instagram/post/comment/replies
1credit base cost

Request parameters

Up to 1 credit

The Instagram post or reel URL

The parent comment ID from the Comments endpoint

The cursor to get more replies. Get `cursor` from the previous response.

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/instagram/post/comment/replies?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FC8rKmYvsrck&comment_id=18038110327814211' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "credits_charged": 1,
  "comments": [
    {
      "id": "18277034998224667",
      "text": "@username Thanks for the reply!",
      "comment_like_count": null,
      "child_comment_count": 0,
      "created_at": "2024-06-28T06:20:32.000Z",
      "parent_comment_id": "18038110327814211",
      "user": {
        "id": "25621023419",
        "pk": "25621023419",
        "username": "username",
        "is_verified": false,
        "profile_pic_url": "https://instagram.fosu2-2.fna.fbcdn.net/....jpg"
      }
    }
  ],
  "cursor": null,
  "has_more": false
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "comment_like_count": {
            "type": [
              "string",
              "object",
              "array",
              "number",
              "boolean",
              "null"
            ]
          },
          "child_comment_count": {
            "type": "integer"
          },
          "created_at": {
            "type": "string"
          },
          "parent_comment_id": {
            "type": "string"
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "pk": {
                "type": "string"
              },
              "username": {
                "type": "string"
              },
              "is_verified": {
                "type": "boolean"
              },
              "profile_pic_url": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "cursor": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "has_more": {
      "type": "boolean"
    }
  }
}