# Scrape Instagram Posts From Public Profiles

**Use case:** 

Scrape Instagram posts from public profiles and export captions, URLs, timestamps, likes, comments, media, location, and owner metadata.

## Input

```json
{
  "usernames": [
    "zuck",
    "natgeo"
  ],
  "resultsType": "posts",
  "limit": 50
}
```

## Output

```json
{
  "display_url": {
    "label": "Display URL",
    "format": "image"
  },
  "thumbnail_src": {
    "label": "Thumbnail",
    "format": "image"
  },
  "__typename": {
    "label": "Type",
    "format": "text"
  },
  "shortcode": {
    "label": "Shortcode",
    "format": "text"
  },
  "id": {
    "label": "Post ID",
    "format": "text"
  },
  "taken_at_timestamp": {
    "label": "Taken At",
    "format": "number"
  },
  "is_video": {
    "label": "Video",
    "format": "boolean"
  },
  "tracking_token": {
    "label": "Tracking Token",
    "format": "text"
  },
  "has_upcoming_event": {
    "label": "Has Event",
    "format": "boolean"
  },
  "is_affiliate": {
    "label": "Affiliate",
    "format": "boolean"
  },
  "is_paid_partnership": {
    "label": "Paid Partnership",
    "format": "boolean"
  },
  "like_and_view_counts_disabled": {
    "label": "Counts Hidden",
    "format": "boolean"
  },
  "owner.username": {
    "label": "Owner",
    "format": "text"
  },
  "dimensions.width": {
    "label": "Width",
    "format": "number"
  },
  "dimensions.height": {
    "label": "Height",
    "format": "number"
  },
  "edge_media_preview_like.count": {
    "label": "Likes",
    "format": "number"
  },
  "edge_media_to_comment.count": {
    "label": "Comments",
    "format": "number"
  },
  "location.name": {
    "label": "Location",
    "format": "text"
  },
  "sharing_friction_info.should_have_sharing_friction": {
    "label": "Sharing Friction",
    "format": "boolean"
  },
  "viewer_has_liked": {
    "label": "Viewer Liked",
    "format": "boolean"
  },
  "viewer_has_saved": {
    "label": "Viewer Saved",
    "format": "boolean"
  },
  "viewer_has_saved_to_collection": {
    "label": "Saved To Collection",
    "format": "boolean"
  },
  "viewer_in_photo_of_you": {
    "label": "Viewer In Photo",
    "format": "boolean"
  },
  "viewer_can_reshare": {
    "label": "Viewer Can Reshare",
    "format": "boolean"
  },
  "comments_disabled": {
    "label": "Comments Disabled",
    "format": "boolean"
  },
  "accessibility_caption": {
    "label": "Accessibility Caption",
    "format": "text"
  },
  "edge_media_to_caption.edges": {
    "label": "Caption Edges",
    "format": "array"
  },
  "edge_sidecar_to_children.edges": {
    "label": "Sidecar Children",
    "format": "array"
  },
  "display_resources": {
    "label": "Display Resources",
    "format": "array"
  },
  "thumbnail_resources": {
    "label": "Thumbnail Resources",
    "format": "array"
  }
}
```

## About this Actor

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