# Instagram Public Profile Scraper (`spider_studio/instagram-profile`) Actor

Extract normalized public Instagram profile metadata, audience counts, and related public usernames in bulk.

- **URL**: https://apify.com/spider\_studio/instagram-profile.md
- **Developed by:** [NewLai](https://apify.com/spider_studio) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Instagram Public Profile Scraper API do?

Instagram Public Profile Scraper API extracts normalized metadata for public profiles on [Instagram](https://www.instagram.com/). Submit usernames in bulk and receive one Dataset row per requested account with the display name, biography, profile image, follower and following counts, post count, verification flags, and related public usernames. It is a focused **Instagram profile API alternative** available through Apify schedules, API calls, webhooks, integrations, residential proxies, and run monitoring.

This Actor returns profile data only. It does not enumerate posts or download media, which keeps inputs and output records predictable and composable.

### Why scrape public Instagram profiles?

- Enrich creator or brand lists with current public account metadata.
- Compare visible audience sizes and verification signals.
- Discover related public accounts returned alongside a profile.
- Feed normalized profile rows into spreadsheets, databases, or analysis tools.
- Re-run a stable username list on a schedule and compare snapshots externally.

### How to scrape Instagram profiles

1. Open the Actor's **Input** tab.
2. Enter usernames with or without the `@` prefix.
3. Keep `includeRaw` disabled unless the normalized fields are insufficient.
4. Select proxy settings and a moderate `maxConcurrency`.
5. Click **Start** and open the Dataset when the run finishes.

### Input

See the **Input** tab for full configuration options. `usernames` accepts up to 1,000 values and removes duplicates while preserving their first-seen order. `includeRaw` adds the source user object. The Actor first uses the same lightweight public profile request as the legacy crawler and automatically falls back to Instagram's server-rendered public profile data when the API rejects a proxy exit with HTTP 401, 403, or 429. No Instagram account credentials are required.

```json
{"usernames":["instagram","natgeo"],"includeRaw":false,"maxConcurrency":5}
```

### Output

You can download the Dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{"success":true,"requestedUsername":"instagram","username":"instagram","fullName":"Instagram","profileUrl":"https://www.instagram.com/instagram/","followersCount":0,"followingCount":0,"postsCount":0,"isPrivate":false,"isVerified":true,"relatedProfiles":[],"error":null}
```

### What Instagram profile data is extracted?

| Field | Type | Description |
| --- | --- | --- |
| `username`, `fullName` | string | Public identity fields. |
| `profileUrl`, `profilePicUrl` | string | Profile and image URLs. |
| `biography` | string | Public biography text. |
| `followersCount`, `followingCount`, `postsCount` | integer | Visible account counters. |
| `isPrivate`, `isVerified` | boolean | Public account flags. |
| `relatedProfiles` | array | Related public usernames. |

### How much does it cost to scrape Instagram profiles?

This Actor uses pay-per-event pricing and charges only for successfully stored profiles. Failed usernames remain visible in the Dataset for diagnosis but are not billed.

| Apify Store tier | Price per profile | Price per 1,000 profiles |
| --- | ---: | ---: |
| Free | $0.0015 | $1.50 |
| Bronze | $0.0010 | $1.00 |
| Silver | $0.0008 | $0.80 |
| Gold | $0.0006 | $0.60 |
| Platinum | $0.0005 | $0.50 |
| Diamond | $0.0005 | $0.50 |

Runs also have a $0.00005 Actor start event. Prices are deducted from the usage credits included in the user's Apify plan. A run stops adding paid results when its configured maximum charge is reached.

### Tips and advanced options

Use exact usernames rather than profile URLs. A private account may return only limited public metadata. Enabling raw output increases Dataset storage. Instagram can change public response shapes; failure rows preserve the requested username and a sanitized error.

### Legal use, privacy, and support

Only information an account exposes publicly is processed. Public profile data can still be personal data under GDPR and other laws. Use it only with a legitimate purpose, respect Instagram's terms and rate limits, and consult counsel when needed. Use the **Issues** tab for feedback and the **API** tab for programmatic examples.

# Actor input Schema

## `usernames` (type: `array`):

Public usernames, with or without the @ prefix. Duplicates are ignored.

## `includeRaw` (type: `boolean`):

Attach the original public user object.

## `maxConcurrency` (type: `integer`):

Maximum simultaneous Instagram requests.

## `proxyConfiguration` (type: `object`):

Residential proxy rotation is recommended for Instagram.

## Actor input object example

```json
{
  "usernames": [
    "instagram"
  ],
  "includeRaw": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "instagram"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spider_studio/instagram-profile").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "usernames": ["instagram"] }

# Run the Actor and wait for it to finish
run = client.actor("spider_studio/instagram-profile").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "instagram"
  ]
}' |
apify call spider_studio/instagram-profile --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spider_studio/instagram-profile"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZAOqJSjqYXBTOococ/builds/eIpc9GvKF4WkAH8vG/openapi.json
