> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Likers API

> Accounts that liked an Instagram post, with user ID, full name, verified and private flags and profile picture. Pass the post URLs.

`POST /v1/data/instagram/likers/run`

**Pricing:** $0.0015 per liker ($1.50 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**urls** `string[]` *required*

One or more urls. One request reads them all.

**maxResults** `integer` (default: 100)

How many likers to return in total. Defaults to 100; use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/instagram/likers/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "urls": [
      "https://www.instagram.com/p/DeuOR-CjKE9/",
      "https://www.instagram.com/reel/DeTUk4sDSp-/",
      "https://www.instagram.com/p/DfMXEZ9gUUP/"
    ],
    "maxResults": 10
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/instagram/likers/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "urls": [
        "https://www.instagram.com/p/DeuOR-CjKE9/",
        "https://www.instagram.com/reel/DeTUk4sDSp-/",
        "https://www.instagram.com/p/DfMXEZ9gUUP/"
    ],
    "maxResults": 10
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/instagram/likers/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "urls": [
    "https://www.instagram.com/p/DeuOR-CjKE9/",
    "https://www.instagram.com/reel/DeTUk4sDSp-/",
    "https://www.instagram.com/p/DfMXEZ9gUUP/"
  ],
  "maxResults": 10
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one liker, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `username` | Username | text |
| `profileUrl` | Profile URL | url |
| `instagramUserId` | Instagram User ID | text |
| `fullName` | Full Name | text |
| `verified` | Verified | boolean |
| `private` | Private | boolean |
| `profilePicture` | Profile Picture | image |
| `postUrl` | Post URL | url |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "instagram/likers",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "postUrl": "https://www.instagram.com/p/DeuOR-CjKE9/",
      "verified": false,
      "fullName": "Vavel Zulliano",
      "profileUrl": "https://www.instagram.com/vavellan.o/",
      "private": false,
      "profilePicture": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/491461232_2120381151747647_6307119073739918901_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZ...",
      "username": "vavellan.o",
      "instagramUserId": "36747193344"
    }
  ]
}
```

## Related APIs

For comment text use [`instagram/comments`](https://docs.mindcase.co/apis/instagram/comments); for full profiles of the likers use [`instagram/profiles`](https://docs.mindcase.co/apis/instagram/profiles).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.