# Instagram single post details + comments

**Use case:** 

Paste a link to one Instagram post or reel and get all its details: caption, likes, comment count, views, carousel images, video link, tagged people, music and the latest comments.

## Input

```json
{
  "resultsType": "posts",
  "directUrls": [
    "https://www.instagram.com/p/DZxvMgyH8yR/"
  ],
  "resultsLimit": 1,
  "searchType": "hashtag",
  "searchLimit": 10,
  "skipPinnedPosts": false,
  "isNewestComments": false,
  "includeNestedComments": false,
  "addParentData": false,
  "includeTopPosts": false,
  "addProfileStatistics": false,
  "enrichPosts": true,
  "extractContacts": true,
  "addRelatedProfiles": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 8,
  "docIds": {
    "post": "27130156389949648"
  },
  "probe": false
}
```

## Output

```json
{
  "displayUrl": {
    "label": "Image",
    "format": "string"
  },
  "url": {
    "label": "Post",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "ownerUsername": {
    "label": "Owner",
    "format": "string"
  },
  "caption": {
    "label": "Caption",
    "format": "string"
  },
  "likesCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentsCount": {
    "label": "Comments",
    "format": "integer"
  },
  "videoPlayCount": {
    "label": "Plays",
    "format": "integer"
  },
  "timestamp": {
    "label": "Posted",
    "format": "string"
  },
  "isPinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Fast Instagram Scraper Actor is ready to run with the inputs already set for "Instagram single post details + comments". [Sign up or log in](https://console.apify.com/create-task-from-example/vhe22BJ4LR2IIeVSD) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Instagram single post details + comments" task

The Fast Instagram Scraper Actor will start running based on the input automatically. You can also change all the input fields, like content to scrape, instagram urls, usernames or hashtags, and more, to match your specific use case.

### 3. Receive the "Instagram single post details + comments" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, post, type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Instagram single post details + comments" task via API](https://apify.com/solutionssmart/fast-instagram-scraper.md).

## FAQ

### What data does this task extract from an Instagram post?

The Instagram single post details + comments task extracts the caption, likes count, comment count, video play count, tagged people, and the latest comments.

### Do I need an Instagram account to use this task?

The Instagram single post details + comments task does not require an Instagram account or login to extract data.

### What is the purpose of the 'likesCount' field?

The 'likesCount' field indicates the number of likes on the post or comment, showing engagement but may show -1 if hidden by the owner.

### How is the 'timestamp' field formatted?

The 'timestamp' field records the publish time of the post or comment in ISO 8601 format, expressed in UTC.

### Can I run this task automatically on a schedule?

The Instagram single post details + comments task can be scheduled to run automatically using the Apify Console.

### What types of Instagram content can I analyze with this task?

This task allows analysis of public posts and reels by pasting a specific post or reel link.

### What information does the 'caption' field provide?

The 'caption' field provides the caption text associated with the Instagram post, offering context and description.

## About this Actor

This example demonstrates how to use [Fast Instagram Scraper](https://apify.com/solutionssmart/fast-instagram-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solutionssmart/fast-instagram-scraper.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/solutionssmart/fast-instagram-scraper.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`).
