# Extract 50 Comments from an Instagram Post

**Use case:** 

Gather 50 comments from a specific Instagram post with detailed insights. Each entry includes the commenter's username, the comment text, likes, replies, and the timestamp, enabling you to analyze user engagement and sentiment in one concise dataset.

## Input

```json
{
  "targets": [
    "https://www.instagram.com/p/Dbdo4gTupuE/"
  ],
  "max_comments": 50,
  "max_posts": 12
}
```

## Output

```json
{
  "comment.owner_username": {
    "label": "Author",
    "format": "text"
  },
  "comment.text": {
    "label": "Comment",
    "format": "text"
  },
  "comment.like_count": {
    "label": "Likes",
    "format": "number"
  },
  "comment.reply_count": {
    "label": "Replies",
    "format": "number"
  },
  "comment.created_at": {
    "label": "Created at",
    "format": "date"
  },
  "comment.owner_is_verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "comment.parent_id": {
    "label": "Parent id"
  },
  "comment.pk": {
    "label": "Pk"
  },
  "post_shortcode": {
    "label": "Post Shortcode",
    "format": "text"
  },
  "post_url": {
    "label": "Post URL",
    "format": "link"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "date"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Comment Scraper](https://apify.com/herus13/instagram-comment-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/herus13/instagram-comment-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/herus13/instagram-comment-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
