# Export all comments from an Instagram post

**Use case:** 

Paste an Instagram post or reel URL and download its public comments with author username, profile picture, text, likes, timestamp and a direct link to each comment. No login or cookies. Export to CSV, Excel or JSON for sentiment analysis, giveaways, customer research or community management.

## Input

```json
{
  "directUrls": [
    "https://www.instagram.com/p/DdlZ0-ylkRG/"
  ],
  "resultsType": "comments",
  "resultsLimit": 200,
  "commentsPerPost": 0,
  "skipPinnedPosts": false,
  "searchType": "hashtag",
  "searchLimit": 10,
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "ownerProfilePicUrl": {
    "label": "Avatar",
    "format": "image"
  },
  "ownerUsername": {
    "label": "Author"
  },
  "text": {
    "label": "Comment"
  },
  "timestamp": {
    "label": "Posted",
    "format": "date"
  },
  "likesCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentUrl": {
    "label": "Comment",
    "format": "link"
  },
  "postUrl": {
    "label": "Post",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Scraper| Posts & Comments & Reels & Details](https://apify.com/amrhassan25/instagram-posts-comments-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/amrhassan25/instagram-posts-comments-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/amrhassan25/instagram-posts-comments-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`).
