# Export Instagram comments to Google Sheets or Excel

**Use case:** 

Get the newest comments on a public Instagram post as clean rows, ready to paste into Sheets or Excel. No login. $6 per 1,000 comments, misses free.

## Input

```json
{
  "urls": [
    "DdcI4o0Prsz",
    "DdcjXAeFyr8"
  ],
  "testRun": false,
  "onlyFound": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "limit": 14,
  "includeReplies": false,
  "columns": [
    "shortcode",
    "commentCount",
    "totalComments",
    "truncated",
    "comments",
    "comment_id",
    "parent_id",
    "author",
    "author_id",
    "text",
    "like_count",
    "posted_at",
    "is_owner_reply",
    "reply_count",
    "raw"
  ],
  "expandRows": true,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "query": {
    "label": "Post submitted",
    "format": "string"
  },
  "found": {
    "label": "Found?",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Details",
    "format": "string"
  },
  "shortcode": {
    "label": "Post shortcode",
    "format": "string"
  },
  "commentCount": {
    "label": "Comments returned",
    "format": "number"
  },
  "totalComments": {
    "label": "Comments on the post in total",
    "format": "number"
  },
  "truncated": {
    "label": "More comments exist than were readable",
    "format": "boolean"
  },
  "comments": {
    "label": "All comments found (full list)",
    "format": "array"
  },
  "comment_id": {
    "label": "Comment ID",
    "format": "string"
  },
  "parent_id": {
    "label": "Parent comment ID (empty for top-level)",
    "format": "string"
  },
  "author": {
    "label": "Author username",
    "format": "string"
  },
  "author_id": {
    "label": "Author user ID",
    "format": "string"
  },
  "text": {
    "label": "Comment text",
    "format": "string"
  },
  "like_count": {
    "label": "Likes on the comment",
    "format": "number"
  },
  "posted_at": {
    "label": "Commented at",
    "format": "string"
  },
  "is_owner_reply": {
    "label": "Written by the post's author",
    "format": "boolean"
  },
  "reply_count": {
    "label": "Replies under this comment",
    "format": "number"
  },
  "raw": {
    "label": "Raw source object",
    "format": "object"
  },
  "scrapedAt": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## About this Actor

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