# Instagram / Profile

Fetch a public Instagram profile by username.

```
GET /api/v1/instagram/profile
```

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

## Parameters

| Name | Required | Description | Example |
|------|----------|-------------|---------|
| `username` | yes | Instagram username without @. | `natgeo` |

## Example

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

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | User id. |
| `username` | string | Username. |
| `name` | string | Display name. |
| `bio` | string | Profile bio. |
| `avatar` | string | Profile picture URL. |
| `verified` | boolean | Whether verified. |
| `private` | boolean | Whether private. |
| `followers` | number | Follower count. |
| `following` | number | Following count. |
| `posts` | number | Post count. |
| `url` | string | Profile URL. |
| `website` | string | External website, when set. |
| `category` | string | Category label, when set. |
## Sample response

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

```json
{
  "ok": true,
  "platform": "instagram",
  "resource": "profile",
  "params": {
    "username": "natgeo"
  },
  "data": {
    "avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/example.jpg",
    "bio": "Step into wonder and find your inner explorer with National Geographic 🌎",
    "category": "",
    "followers": 268308300,
    "following": 195,
    "id": "787132",
    "name": "National Geographic",
    "posts": 32105,
    "private": false,
    "url": "https://instagram.com/natgeo",
    "username": "natgeo",
    "verified": true,
    "website": "http://visitstore.bio/natgeo"
  },
  "meta": {
    "credits_charged": 1,
    "latency_ms": 420,
    "platform": "instagram",
    "resource": "profile",
    "path": "/api/v1/instagram/profile"
  }
}
```

## Links

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