# Export Instagram Comments to Excel & CSV

**Use case:** 

Export public Instagram comments to Excel, CSV or JSON for campaign reporting and customer feedback. Get comment text, authors, timestamps and likes without Instagram login. Paste your post links and choose a limit. From $0.16 per 1,000 exported results; rates vary by plan, plus the Actor start fee.

## Input

```json
{
  "startUrls": [
    "https://www.instagram.com/p/DfT6F86Rqs_/"
  ],
  "includeReplies": false,
  "maxComments": 100
}
```

## Output

```json
{
  "type": {
    "label": "type",
    "format": "string"
  },
  "text": {
    "label": "text",
    "format": "string"
  },
  "createdAt": {
    "label": "createdAt",
    "format": "string"
  },
  "authorUsername": {
    "label": "authorUsername",
    "format": "string"
  },
  "authorProfileUrl": {
    "label": "authorProfileUrl",
    "format": "string"
  },
  "authorIsVerified": {
    "label": "authorIsVerified",
    "format": "boolean"
  },
  "likesCount": {
    "label": "likesCount",
    "format": "integer"
  },
  "replyCount": {
    "label": "replyCount",
    "format": "integer"
  },
  "commentId": {
    "label": "commentId",
    "format": "string"
  },
  "parentCommentId": {
    "label": "parentCommentId",
    "format": "string"
  },
  "commentUrl": {
    "label": "commentUrl",
    "format": "string"
  },
  "postType": {
    "label": "postType",
    "format": "string"
  },
  "postUrl": {
    "label": "postUrl",
    "format": "string"
  },
  "shortcode": {
    "label": "shortcode",
    "format": "string"
  },
  "postId": {
    "label": "postId",
    "format": "string"
  },
  "postAuthorUsername": {
    "label": "postAuthorUsername",
    "format": "string"
  },
  "postCreatedAt": {
    "label": "postCreatedAt",
    "format": "string"
  },
  "postCaption": {
    "label": "postCaption",
    "format": "string"
  },
  "instagramReportedCommentCount": {
    "label": "instagramReportedCommentCount",
    "format": "integer"
  },
  "authorId": {
    "label": "authorId",
    "format": "string"
  },
  "authorProfilePictureUrl": {
    "label": "authorProfilePictureUrl",
    "format": "string"
  },
  "gifUrl": {
    "label": "gifUrl",
    "format": "string"
  },
  "isPostAuthor": {
    "label": "isPostAuthor",
    "format": "boolean"
  },
  "inputUrl": {
    "label": "inputUrl",
    "format": "string"
  },
  "scrapedAt": {
    "label": "scrapedAt",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Instagram Comments Scraper - Reels, Photos & Posts Actor is ready to run with the inputs already set for "Export Instagram Comments to Excel & CSV". [Sign up or log in](https://console.apify.com/create-task-from-example/zMCl90iwsomGyv5Oq) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export Instagram Comments to Excel & CSV" task

The Instagram Comments Scraper - Reels, Photos & Posts Actor will start running based on the input automatically. You can also change all the input fields, like instagram links, include available replies, and more, to match your specific use case.

### 3. Receive the "Export Instagram Comments to Excel & CSV" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, text, createdat, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export Instagram Comments to Excel & CSV" task via API](https://apify.com/lofomachines/instagram-comments-replies-scraper.md).

## FAQ

### How much does it cost?

From $0.16 per 1,000 exported results, depending on your plan. Actor start: $0.00005 per GB of allocated memory, minimum one event. See Pricing for your applicable rate. Apify subscription is separate.

### How do I collect comments from my own posts?

Replace the example URLs with public Instagram post or Reel links. Use Bulk edit for multiple links, set a main-comment limit per post and optionally select a start date. Run and download Excel, CSV or JSON.

### Do I need an Instagram login, and are replies included?

No Instagram login or cookies are needed. Instagram normally omits reply threads from anonymous responses. This task collects available main comments; hidden, deleted or restricted content may be unavailable.

### Can I analyze sentiment with these results?

Export the original comment text to your own AI or analytics tools for sentiment analysis, social listening and campaign reporting. This task collects comments; it does not calculate sentiment scores.

### Where can I find more data tools?

Explore more Actors by lofomachines at https://apify.com/lofomachines.

## About this Actor

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