# Extract Instagram post captions and image URLs

**Use case:** 

Extract captions, publication times, owner details and available image URLs from known public Instagram posts. Carousel children are included in the full dataset JSON when available. Build a structured content inventory without manually copying each post. Asset URLs can expire; this task returns metadata and links, not downloaded files or reuse rights.

## Input

```json
{
  "media": [
    "https://www.instagram.com/p/DN8-GjPkgjS/"
  ]
}
```

## Output

```json
{
  "status": {
    "label": "Lookup status",
    "format": "string"
  },
  "display_url": {
    "label": "Preview",
    "format": "string"
  },
  "media_type": {
    "label": "Media type",
    "format": "string"
  },
  "product_type": {
    "label": "Product type",
    "format": "string"
  },
  "shortcode": {
    "label": "Shortcode",
    "format": "string"
  },
  "url": {
    "label": "Instagram URL",
    "format": "string"
  },
  "caption": {
    "label": "Caption",
    "format": "string"
  },
  "taken_at": {
    "label": "Published at",
    "format": "string"
  },
  "owner_username": {
    "label": "Owner",
    "format": "string"
  },
  "owner_is_verified": {
    "label": "Verified owner",
    "format": "boolean"
  },
  "like_count": {
    "label": "Likes",
    "format": "integer"
  },
  "comment_count": {
    "label": "Comments",
    "format": "integer"
  },
  "play_count": {
    "label": "Plays",
    "format": "integer"
  },
  "view_count": {
    "label": "Views",
    "format": "integer"
  },
  "share_count": {
    "label": "Shares",
    "format": "integer"
  },
  "duration_seconds": {
    "label": "Duration",
    "format": "number"
  },
  "id": {
    "label": "Media ID",
    "format": "string"
  },
  "video_url": {
    "label": "Video URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Post & Reel Details | $2.3/1K on Starter](https://apify.com/publicsignallabs/instagram-post-reel-details.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/publicsignallabs/instagram-post-reel-details.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/publicsignallabs/instagram-post-reel-details.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`).
