Instagram Comments API

Visible public comments extracted from the post HTML surface

Fetch the comments that are visibly embedded in the public Instagram post or reel HTML. This endpoint does not expand deeper pages or replies and does not expose pagination.

1 CreditCost
NonePagination
Top-LevelScope

Quick Start

Get started with a simple API call.

const response = await fetch('https://api.crawlkit.sh/v1/crawl/instagram/comments', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    shortcode: 'CxIIgCCq8mg',
    options: {
      timeout: 30000
    }
  })
});

const { data } = await response.json();
console.log(data.comments.length);

Key Features

Everything you need for reliable instagram comments workflows.

HTML-Visible Comments

Returns the commenter fields visible on the public HTML surface for a post or reel.

No Pagination Layer

The endpoint returns only the comment slice embedded in the HTML response. There is no nextCursor.

Reel Compatible

Works against both posts and reels, using the existing Instagram Content identifier format.

How It Works

Get started in minutes with our simple API.

1

Get Your API Key

Sign up for free and get your API key instantly. No credit card required.

2

Make Your First Request

Use our simple REST API with your favorite programming language.

3

Get Structured Data

Receive clean JSON responses ready to use in your application.

API Response

Get clean, structured JSON data with every request. Our API returns comprehensive data including status codes, timing information, and your remaining credits.

  • Consistent JSON structure
  • Detailed timing metrics
  • Credit usage tracking
  • Error handling built-in
Response
{
  "success": true,
  "data": {
    "comments": [
      {
        "id": "17981234567000001",
        "text": "This is incredible.",
        "createdAt": 1711262420,
        "likeCount": 142,
        "replyCount": 3,
        "username": "traveler.ana",
        "fullName": "Ana Silva",
        "profilePicUrl": "https://instagram.fist6-1.fna.fbcdn.net/...",
        "isVerified": false
      }
    ],
    "timing": { "total": 2100 },
    "creditsUsed": 1,
    "creditsRemaining": 99
  }
}

Use Cases

Common applications for Instagram Comments.

Sentiment Analysis

Collect public comments for moderation and sentiment pipelines.

Community Research

Study how audiences react to creators, campaigns, and topics.

Lead Signals

Extract commenter usernames for qualification or enrichment workflows.

Frequently Asked Questions

Everything you need to know about the Instagram Comments API.

Version 1 returns public top-level comments and replyCount. Nested reply trees are not expanded yet.

You can send the shortcode itself or a full public Instagram post or reel URL.

This endpoint intentionally returns only the visible comment slice embedded in the public HTML response. It does not attempt deeper page expansion.

Start Using Instagram Comments API Today

Get 100 free credits to test the API. No credit card required.