# Recent Instagram Post Data Extractor

**Use case:** 

Scrape Instagram posts anonymously by URL. Get structured data including likes, comments, captions, and media URLs for recent posts.

## Input

```json
{
  "targets": [
    "https://www.instagram.com/p/DZYvGYIv1nr/"
  ],
  "max_posts": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "owner_username": {
    "label": "Owner",
    "format": "text"
  },
  "owner_full_name": {
    "label": "Owner full name"
  },
  "post.shortcode": {
    "label": "Shortcode",
    "format": "text"
  },
  "post.url": {
    "label": "Post URL",
    "format": "link"
  },
  "post.typename": {
    "label": "Type",
    "format": "text"
  },
  "post.is_video": {
    "label": "Is video"
  },
  "post.caption": {
    "label": "Caption",
    "format": "text"
  },
  "post.likes": {
    "label": "Likes",
    "format": "number"
  },
  "post.comments": {
    "label": "Comments",
    "format": "number"
  },
  "post.taken_at": {
    "label": "Taken at",
    "format": "date"
  },
  "post.thumbnail_url": {
    "label": "Thumbnail url"
  },
  "post.display_url": {
    "label": "Image",
    "format": "image"
  },
  "post.video_url": {
    "label": "Video url"
  },
  "source": {
    "label": "Source"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "date"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

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