# Instagram / Likers

Fetch users who liked a post.

```
GET /api/v1/instagram/likers
```

Auth: `Authorization: Bearer <SOCIFY_KEY>`  
Credits: 1 credit per request

## Parameters

| Name | Required | Description | Example |
|------|----------|-------------|---------|
| `code` | no | Exactly one of code, id, or url. Prefer shortcode. | `C-6WRvdS75Q` |
| `id` | no | Numeric media id (alternative to code/url). | `3439159241662512720` |
| `url` | no | Full Instagram post URL (alternative to code/id). | `https://www.instagram.com/p/C-6WRvdS75Q/` |
| `cursor` | no | Pagination cursor from a previous response. |  |

## Example

```bash
curl -s 'https://trysocify.com/api/v1/instagram/likers?code=C-6WRvdS75Q' \
  -H "Authorization: Bearer $SOCIFY_KEY"
```

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `users` | array | Users who liked the post. |
| `users[].id` | string | User id. |
| `users[].username` | string | Username. |
| `users[].name` | string | Display name. |
| `users[].avatar` | string | Avatar URL. |
| `users[].verified` | boolean | Whether verified. |
| `cursor` | string | Pass as cursor for the next page. |
## Sample response

Successful lookups wrap the payload in `{ ok, platform, resource, params, data, meta }`. `data` is shown below.

```json
{
  "ok": true,
  "platform": "instagram",
  "resource": "likers",
  "params": {
    "code": "C-6WRvdS75Q"
  },
  "data": {
    "cursor": "QVFE...",
    "users": [
      {
        "avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/example.jpg",
        "id": "64490093540",
        "name": "Photo Fan",
        "username": "photo_fan",
        "verified": false
      }
    ]
  },
  "meta": {
    "credits_charged": 1,
    "latency_ms": 420,
    "platform": "instagram",
    "resource": "likers",
    "path": "/api/v1/instagram/likers"
  }
}
```

## Links

- HTML docs: https://trysocify.com/docs/api/instagram/likers
- SEO page: https://trysocify.com/instagram/likers
- OpenAPI: https://trysocify.com/openapi.json
- Catalog: https://trysocify.com/catalog.json
