# Instagram Profile API

Retrieve Instagram profile API data including biography, bio links, follower/following counts, and profile picture. A completed lookup costs one credit, including a definitive not-found result, because every lookup uses costly dedicated Instagram proxies. Use the separate /user/posts endpoint to fetch the user's posts.

- **Documentation:** [https://scrappa.co/docs/instagram-api/instagram_user](https://scrappa.co/docs/instagram-api/instagram_user)
- **API group:** Instagram API
- **Endpoint:** `GET https://scrappa.co/api/v2/instagram/user`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `username` | string | Yes | Instagram username (without @) |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/v2/instagram/user?username=natgeo"
```

## Example response

```json
{
    "success": true,
    "found": true,
    "user": {
        "id": "787132",
        "username": "natgeo",
        "full_name": "National Geographic",
        "biography": "Experience the world through the eyes of National Geographic photographers.",
        "bio_links": [
            {
                "title": "",
                "url": "https://www.nationalgeographic.com",
                "link_type": "external"
            }
        ],
        "external_url": "https://www.nationalgeographic.com",
        "profile_pic_url": "https://...",
        "profile_pic_url_hd": "https://...",
        "is_verified": true,
        "is_private": false,
        "is_business_account": true,
        "is_professional_account": true,
        "category_name": "Media/news company",
        "follower_count": 280000000,
        "following_count": 160,
        "media_count": 30000,
        "pronouns": []
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The username parameter is missing or not a valid Instagram username. |
| 429 | Rate Limited | Instagram rate limited the upstream request. Retry after the response delay when present. |
| 502 | Instagram Upstream Unavailable | Instagram returned an unavailable upstream response through the proxy layer. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
