# Instagram User Profile API

> Get an Instagram user profile by username or user ID: full name, bio, website, follower, following and post counts, verification and category.

Source: https://www.sandbase.ai/apis/instagram/v2/user-info
API reference: https://www.sandbase.ai/apis/instagram/v2/user-info/docs

## Facts

- Provider: Instagram
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/instagram/v2/user-info`
- Price: $0.003 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, instagram
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/instagram/v2/user-info` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_id` | string | no |  |
| `username` | string | no |  |

## FAQ

### How do I use the Instagram User Profile API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v2/user-info with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Instagram User Profile API cost?

$0.003 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Instagram User Profile API accept?

No parameters are required. Optional: user_id (string) and username (string). The Parameters table and the Playground on this page list every field.

### What does the Instagram User Profile API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Instagram developer account or API key?

No. Instagram User Profile runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.

## README

### Instagram User Profile API

Pass an Instagram username (or user ID) and get the public profile with follower counts and bio details.

#### Use cases

- Vet influencers before a campaign.
- Track follower growth for accounts.
- Enrich handles with profile data.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "nasa"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_id` | string | No | User ID (either username or user_id required) |
| `username` | string | No | Username (either username or user_id required) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "id": "528817151",
    "username": "nasa",
    "full_name": "NASA",
    "biography": "Making the seemingly impossible, possible. ✨",
    "external_url": "https://www.nasa.gov",
    "follower_count": 104283919,
    "following_count": 90,
    "media_count": 4947,
    "is_verified": true
  }
}
```

#### Related APIs

- [Instagram Reels Search](/model/instagram/v2/search-reels): Search Instagram Reels by keyword: reel IDs, captions, creators, play, like and comment counts, with pagination.
- [Get comment replies](/model/instagram/v2/comment-replies): Get list of replies to a comment Need to get comment ID from fetch_post_comments first Support pagination.
- [General search](/model/instagram/v2/general-search): Perform general search on Instagram by keyword Support pagination.
