# Instagram / Related

Fetch suggested/related profiles for a profile. Returns a single page (not cursor-paginated).

```
GET /api/v1/instagram/related
```

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` |

## Example

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

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `users` | array | Related profiles. |
| `users[].id` | string | User id. |
| `users[].username` | string | Username. |
| `users[].name` | string | Display name. |
| `users[].avatar` | string | Avatar URL. |
| `users[].verified` | boolean | Whether verified. |
## Sample response

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

```json
{
  "ok": true,
  "platform": "instagram",
  "resource": "related",
  "params": {
    "username": "natgeo"
  },
  "data": {
    "users": [
      {
        "avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/example.jpg",
        "id": "18428658",
        "name": "National Geographic Travel",
        "username": "natgeotravel",
        "verified": true
      }
    ]
  },
  "meta": {
    "credits_charged": 1,
    "latency_ms": 420,
    "platform": "instagram",
    "resource": "related",
    "path": "/api/v1/instagram/related"
  }
}
```

## Links

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