> Documentation index: https://docs.scrapier.io/llms.txt
> Auth: header `X-API-Key: <key>` · Base: https://api.scrapier.io/api/v2 · Synchronous; paginate with `cursor` ← `data.next_cursor`.

# Instagram Profile

Look up a public Instagram account by username, @handle or URL and get its bio, follower, following and post counts and verification status.

`GET|POST https://api.scrapier.io/api/v2/instagram-profile/` · 1 credit per successful call · Single lookup

## Overview

Send a username, @handle or profile URL in `usernames`. You get back one `profile` object with the account's ID, username, full name, biography, follower and following counts, post count, verified and private flags, highlight count and profile picture URL.

It's a single lookup: everything comes back in one call.

## Use cases

- Enrich a list of creators or leads with follower counts.
- Check whether an account is verified or private.
- Track follower growth by calling it on a schedule.

## Request

```bash
curl -G "https://api.scrapier.io/api/v2/instagram-profile/" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "usernames=mrbeast" \
  --max-time 210
```

```python
import requests

resp = requests.get(
    "https://api.scrapier.io/api/v2/instagram-profile/",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"usernames": "mrbeast"},
    timeout=210,
)
body = resp.json()
if not resp.ok:
    raise RuntimeError(body.get("error") or body.get("detail"))

print(body["data"]["profile"])
```

POST with a JSON body works too (same parameters; the body is merged over the query string).

## Parameters

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `X-API-Key` (header) | string | yes | — | Your API key. |
| `usernames` | string | yes | e.g. `mrbeast` | Instagram username, @handle, or profile URL. Lookup endpoint. |
| `include_about` | boolean | no | `false` | Include an about block (joinedDate/country) — usually null. |
| `cursor` | string | no | — | Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. |
| `use_proxy` | boolean | no | `true` | Route the request through Scrapier's residential proxy pool. Default: `true`. Leave as is unless support tells you otherwise. |
| `raw_data` | boolean | no | `false` | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. |

## Response

HTTP 200. Results are in `data.profile`. Sample from the live catalog, arrays trimmed to 3 items.

```json
{
  "success": true,
  "data": {
    "usernames": "mrbeast",
    "profile": {
      "inputUrl": "https://www.instagram.com/mrbeast/",
      "url": "https://www.instagram.com/mrbeast",
      "id": "2278169415",
      "username": "mrbeast",
      "fullName": "MrBeast",
      "biography": "Video Philanthropist 💰",
      "followersCount": 456000000,
      "followsCount": 500,
      "postsCount": 350,
      "verified": true,
      "private": false,
      "highlightReelCount": 5,
      "profilePicUrl": "https://instagram.fbhk1-3.fna.fbcdn.net/v/t51.2885-19/mrbeast_profile.jpg",
      "relatedProfiles": [],
      "latestIgtvVideos": [],
      "latestPosts": [],
      "scraped_at": "2026-03-09T15:19:49.021Z"
    },
    "next_cursor": null
  }
}
```

## Response fields

| Field | Type | Example | Description |
|---|---|---|---|
| `usernames` | string | `mrbeast` |  |
| `profile` | object | `{…}` | The results. |
| `next_cursor` | null | `null` | Pass back as `cursor` for the next page. `null` on the last page. |
| `profile.inputUrl` | string | `https://www.instagram.com/mrbeast/` |  |
| `profile.url` | string | `https://www.instagram.com/mrbeast` |  |
| `profile.id` | string | `2278169415` |  |
| `profile.username` | string | `mrbeast` |  |
| `profile.fullName` | string | `MrBeast` |  |
| `profile.biography` | string | `Video Philanthropist 💰` |  |
| `profile.followersCount` | integer | `456000000` |  |
| `profile.followsCount` | integer | `500` |  |
| `profile.postsCount` | integer | `350` |  |
| `profile.verified` | boolean | `true` |  |
| `profile.private` | boolean | `false` |  |
| `profile.highlightReelCount` | integer | `5` |  |
| `profile.profilePicUrl` | string | `https://instagram.fbhk1-3.fna.fbcdn.net/v/t51…` |  |
| `profile.relatedProfiles` | array | `[]` |  |
| `profile.latestIgtvVideos` | array | `[]` |  |
| `profile.latestPosts` | array | `[]` |  |
| `profile.scraped_at` | string | `2026-03-09T15:19:49.021Z` |  |

## Pagination

Single lookup: everything comes back in one call and `next_cursor` is always `null`.

## Errors

Failed calls are free. Branch on HTTP status; the message is in `error` (or `detail`). See https://docs.scrapier.io/errors.md

- **400** Bad input. The exact message varies by endpoint. `{"success":false,"error":"…"}`
- **402** Balance below the endpoint's price. `{"error":"Insufficient credits. Buy more to scrape more.","balance":1,"required":2}`
- **403** Invalid or unknown API key. `{"detail":"Authentication service unavailable or invalid API key."}`
- **429** Throttled — wait for Retry-After. `{"detail":"Request was throttled. Expected available in N seconds."}`
- **404** unknown slug · **503** busy (retry after `Retry-After`) · **5xx** upstream failure or timeout (retry with backoff).

## Notes

- `include_about` adds an about block (joined date and country), but it's usually null.

## Related

- [Instagram Profile Full](https://docs.scrapier.io/api-reference/instagram/instagram-profile-full.md): Get a public Instagram profile together with its recent posts (with like and comment counts) and related accounts in one call.
- [Instagram Influencer Engagement](https://docs.scrapier.io/api-reference/instagram/instagram-influencer-engagement.md): Get engagement stats for a public Instagram account (total and average interactions, interactions per 1k followers) over its recent posts.
- [Instagram Profile Posts](https://docs.scrapier.io/api-reference/instagram/instagram-profile-posts.md): List a public account's feed posts, a page at a time, with caption, like and comment counts and media type, from the username.
