# Instagram Post Likers API

> Get the accounts that liked a public Instagram post, about 100 per call, as JSON with usernames, names and verified flags. 1 credit per call.

**Get the accounts that liked a public Instagram post**: about 100 likers per call, with usernames, names, verified and private flags.

```
GET https://api.klupt.io/v1/posts/{post}/likers
```

- `GET /v1/posts/{post}/likers`: Accounts that liked a post

**Cost:** 1 credit per successful call (0.5 from cache). Failed calls and private accounts are free.

## Parameters

| Parameter | In | Description |
|---|---|---|
| `post` | path | Post shortcode (`C9xYzAbCdEf`), numeric id, or a URL-encoded instagram.com/p/… or /reel/… link. |
| `fresh` | query | `true` skips the cache (full price). |

## Response

```json
{{SAMPLE_post_likers}}
```

## Examples

```bash
curl "https://api.klupt.io/v1/posts/C9xYzAbCdEf/likers" -H "X-Api-Key: $KLUPT_API_KEY"
```

```python
import os, requests
r = requests.get("https://api.klupt.io/v1/posts/C9xYzAbCdEf/likers",
                 headers={"X-Api-Key": os.environ["KLUPT_API_KEY"]}, timeout=30)
r.raise_for_status()
usernames = [u["username"] for u in r.json()["data"]]
```

```javascript
const res = await fetch("https://api.klupt.io/v1/posts/C9xYzAbCdEf/likers", {
  headers: { "X-Api-Key": process.env.KLUPT_API_KEY },
});
const { data: likers } = await res.json();
```

## FAQ

### Can I get every like on a post?
Instagram shows a sample of about 100 recent likers per post; the API returns what Instagram shows. Use `counts.likes` from the [Post API](/docs/instagram-post-api) for the total.
