# Scrape Comments Under Instagram Posts

**Use case:** 

Collect Instagram post comments with author, text, likes and timestamp for audience research and sentiment analysis. Requires your session cookie.

## Input

```json
{
  "scrapeType": "comments",
  "directUrls": [
    "https://www.instagram.com/p/C8Q9m2yRZ0F/"
  ],
  "search": "nasa",
  "searchType": "all",
  "resultsLimit": 200,
  "maxRetries": 6
}
```

## Output

```json
{
  "ownerUsername": {
    "label": "Owner username",
    "format": "array"
  },
  "text": {
    "label": "Text",
    "format": "array"
  },
  "likesCount": {
    "label": "Likes count",
    "format": "array"
  },
  "repliesCount": {
    "label": "Replies count",
    "format": "array"
  },
  "postShortCode": {
    "label": "Post short code",
    "format": "array"
  },
  "timestamp": {
    "label": "Timestamp",
    "format": "array"
  },
  "id": {
    "label": "Id",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Scraper API — Profiles, Posts, Followers & Comments](https://apify.com/pro100chok/instagram-scraper-all-in-one) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pro100chok/instagram-scraper-all-in-one) to learn more, explore other use cases, and run it yourself.