# Instagram Posts Scraper Task

**Use case:** 

Get detailed metrics from Instagram posts and reels, including views, likes, and comments. Optionally include Facebook metrics for cross-posted content.

## Input

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DZr_OTDRGkn/",
    "https://www.instagram.com/reel/DTkgk3Ekolg/"
  ],
  "includeFacebookMetrics": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Post URL",
    "format": "link"
  },
  "shortcode": {
    "label": "Shortcode",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "likes": {
    "label": "Likes",
    "format": "number"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "caption": {
    "label": "Caption",
    "format": "text"
  }
}
```

## About this Actor

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