# Instagram / Followers

Fetch a page of followers for a profile.

```
GET /api/v1/instagram/followers
```

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

## Parameters

| Name | Required | Description | Example |
|------|----------|-------------|---------|
| `username` | no | Exactly one of username or user_id. Prefer username. | `natgeo` |
| `user_id` | no | Numeric user id (alternative to username). | `787132` |
| `cursor` | no | Pagination cursor from a previous response. |  |

## Example

```bash
curl -s 'https://trysocify.com/api/v1/instagram/followers?username=natgeo' \
  -H "Authorization: Bearer $SOCIFY_KEY"
```

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `users` | array | Follower profiles for this page. |
| `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": "followers",
  "params": {
    "username": "natgeo"
  },
  "data": {
    "cursor": "QVFDY2ZDeG1pY01YenVvazR0bVBkQnZhVmhE...",
    "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": "followers",
    "path": "/api/v1/instagram/followers"
  }
}
```

## Links

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