# Instagram Profile Scraper – Followers, Bio, Posts, Verified (`scrapepilot/instagram-profile-scraper---followers-bio-posts-verified`) Actor

Get real‑time Instagram profile data: username, full name, bio, followers, following, posts, verified, business account, profile pic. No login. Pay per success ($0.0008). Residential proxy ready. Bulk support.

- **URL**: https://apify.com/scrapepilot/instagram-profile-scraper---followers-bio-posts-verified.md
- **Developed by:** [Scrape Pilot](https://apify.com/scrapepilot) (community)
- **Categories:** Social media, Developer tools, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 profile scraped successfullies

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

---
## 📸 Instagram Profile Scraper – Followers, Bio, Posts, Verified

**Get real‑time Instagram profile data – username, full name, bio, followers, following, posts, verified badge, business account flag, profile picture, external URL – using Instagram’s internal API.**  
No login required. Residential proxy ready. Pay per successful result. Perfect for influencer marketing, competitor analysis, lead generation, and social listening.

---

### 💡 What is the Instagram Profile Scraper?

The **Instagram Profile Scraper** extracts **public profile information** from any Instagram account using Instagram’s own `web_profile_info` API endpoint (the same one used by the official website). It returns clean, structured JSON with:

- **Username** and **full name**
- **Bio** (biography text)
- **Follower count**, **following count**, **post count**
- **Verified badge** and **business account flag**
- **Profile picture URL** (high resolution)
- **External link** (if provided)
- **Scraped timestamp**

No Instagram login, no password, no cookies required. The actor respects Instagram’s public data policies and uses residential proxies to avoid IP bans. **You are charged only for successful profile retrievals** – failed or private accounts incur no cost.

---

### 🚀 Key Features

| Feature                     | Description |
|-----------------------------|-------------|
| **Real‑time data**          | Fetches live profile information directly from Instagram’s API. |
| **Bulk profile scraping**   | Process hundreds of usernames in one run. |
| **No login required**       | Works without any Instagram account. |
| **Private usernames**       | For private accounts, the API returns `null` – the actor logs a warning and charges nothing. |
| **Residential proxy ready** | Avoids Instagram rate limits and IP blocks (strongly recommended). |
| **Pay per success**         | You are charged only when a profile is successfully retrieved. Failed attempts are free. |
| **Spending limit protection** | Automatically stops when the user’s daily/monthly spending limit is reached. |
| **Clean JSON output**       | Ready for CRM, spreadsheets, or dashboards. |
| **Apify native integration** | Seamless integration with Apify storage, proxy, and scheduling. |

---

### 📥 Input Parameters

The actor accepts a JSON object with the following fields:

| Parameter            | Type                | Required | Default | Description |
|----------------------|---------------------|----------|---------|-------------|
| `usernames`          | array or string     | **Yes**  | –       | List of Instagram usernames (with or without `@`). Can be newline‑separated string or JSON array. |
| `proxyConfiguration` | object              | No       | –       | Apify proxy configuration. **Residential proxies are strongly recommended.** |

#### Example Input (Single)

```json
{
  "usernames": "cristiano"
}
````

#### Example Input (Bulk)

```json
{
  "usernames": "cristiano\nleomessi\ninstagram",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📤 Output Fields

Each **successful** profile returns an object with the following fields:

| Field           | Type    | Description |
|-----------------|---------|-------------|
| `username`      | string  | Instagram username (lowercase). |
| `full_name`     | string  | Display name. |
| `bio`           | string  | Biography text. |
| `followers`     | integer | Follower count. |
| `following`     | integer | Following count. |
| `posts`         | integer | Number of posts (media count). |
| `is_verified`   | boolean | Verified badge. |
| `is_business`   | boolean | Business account flag. |
| `profile_pic`   | string  | High‑resolution profile picture URL. |
| `external_url`  | string  | Website link (if provided). |
| `status`        | string  | `"success"`. |
| `scraped_at`    | string  | ISO 8601 timestamp. |

**Failed profiles** (private, blocked, not found) return an error object:

| Field           | Type    | Description |
|-----------------|---------|-------------|
| `username`      | string  | The requested username. |
| `status`        | string  | `"failed"`. |
| `error_code`    | integer or string | HTTP status code or `"NetworkError"`. |
| `error_message` | string  | Explanation of the failure. |
| `scraped_at`    | string  | ISO 8601 timestamp. |

#### Example Output (Success)

```json
[
  {
    "username": "cristiano",
    "full_name": "Cristiano Ronaldo",
    "bio": "Athlete ⚽️ | @cr7 | @cr7museum",
    "followers": 612000000,
    "following": 500,
    "posts": 3800,
    "is_verified": true,
    "is_business": true,
    "profile_pic": "https://instagram.f...jpg",
    "external_url": "https://www.cristianoronaldo.com",
    "status": "success",
    "scraped_at": "2026-04-26T12:00:00Z"
  }
]
```

#### Example Output (Failed)

```json
[
  {
    "username": "private_account",
    "status": "failed",
    "error_code": 404,
    "error_message": "Could not retrieve profile data. Account may be private or blocked.",
    "scraped_at": "2026-04-26T12:00:01Z"
  }
]
```

***

### 💰 Pricing

| Metric                         | Price             |
|--------------------------------|-------------------|
| **Per successful profile**     | **$0.0008**       |
| **Per 1,000 successful profiles** | **$0.80**    |

- You are **charged only when a profile is successfully retrieved** (HTTP 200 with valid user data).
- Failed requests (private, blocked, not found, network errors) are **free**.
- Minimum charge per run is $0.0008 (one profile).
- Example: 1,000 successful profiles = **$0.80**.
- Example: 10,000 successful profiles = **$8.00**.

**Spending limit protection:** The actor automatically stops when your Apify spending limit is reached.

***

### 🛠 How to Use on Apify

1. **Create a task** with this actor.
2. **Enter usernames** in the `usernames` field (one per line).
3. **Enable residential proxies** – go to **Proxy Configuration** → **Selected proxies** → **Residential**.
4. **Run** – the actor scrapes each profile and pushes results to the Dataset.
5. **Export** – download as JSON, CSV, or Excel from the **Dataset** tab.

#### Running via API

```bash
curl -X POST "https://api.apify.com/v2/acts/your-username~instagram-profile-scraper/runs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "usernames": ["cristiano", "leomessi"],
    "proxyConfiguration": {
      "useApifyProxy": true,
      "apifyProxyGroups": ["RESIDENTIAL"]
    }
  }'
```

***

### 🎯 Use Cases

| Industry / Use Case | How It Helps |
|---------------------|---------------|
| **Influencer Marketing** | Evaluate potential partners by follower count, engagement, and verification status. |
| **Competitor Analysis** | Track competitors’ follower growth and content volume. |
| **Lead Generation** | Enrich CRM with Instagram stats for known accounts. |
| **Social Listening** | Monitor brand ambassadors and industry leaders. |
| **Academic Research** | Study social media influence and network dynamics. |
| **Investment Due Diligence** | Assess the authenticity and reach of a brand’s social presence. |

***

### ❓ Frequently Asked Questions

**1. Do I need an Instagram account?**\
No. The actor uses Instagram’s public API endpoint. No login required.

**2. Can I scrape private profiles?**\
No. For private accounts, the actor returns a failed status and **does not charge** you.

**3. Why do I need residential proxies?**\
Instagram blocks most datacenter IPs after moderate usage. Residential proxies avoid `429 Too Many Requests` errors.

**4. How accurate is the follower count?**\
It is the exact count shown by Instagram, updated in real time. No approximations.

**5. What is the rate limit?**\
Instagram’s unofficial API is not documented. We recommend using residential proxies. The actor does not add artificial delays – you can modify the code to add `time.sleep()` if needed.

**6. Am I charged for failed attempts?**\
No. Only HTTP 200 responses with valid user data incur a charge. Private, blocked, or non‑existent accounts are free.

**7. Does it work with Instagram’s new API restrictions?**\
The actor uses the same endpoint as the Instagram website (`/api/v1/users/web_profile_info/`), which remains accessible for public profiles.

**8. What happens when my spending limit is reached?**\
The actor detects `charge_result.event_charge_limit_reached` and stops processing further usernames, preventing overspending.

**9. Can I extract followers or following lists?**\
No, this actor only retrieves **counts**, not the actual list of followers/following. For that, you need a different actor.

**10. How are you bypassing Instagram’s 401/403 errors?**\
The actor uses `curl_cffi` with Chrome 124 impersonation, appropriate headers (including `x-ig-app-id`), and Apify residential proxies to mimic a real browser session.

***

### 📝 Technical Notes

- **Endpoint used**: `https://www.instagram.com/api/v1/users/web_profile_info/?username={username}`
- **Headers required**: `x-ig-app-id: 936619743392459`, `x-requested-with: XMLHttpRequest`, `referer`, `user-agent`
- **Library**: `curl_cffi` (handles TLS fingerprinting to resemble Chrome 124)
- **Proxy**: Uses Apify’s proxy configuration – you **must** select residential proxies for reliability.
- **Error handling**: If the HTTP status is not 200, the actor logs an error item and continues (no charge).
- **Charging**: Uses `Actor.charge(event_name='result-scrape')` – works within Apify’s built‑in monetization system.
- **Spending limit**: The actor checks `charge_result.event_charge_limit_reached` and exits early to respect user budget.
- **Private accounts**: Instagram returns an empty `data.user` field; the actor treats this as a failure.

***

### 🔍 SEO Keywords

`Instagram Profile Scraper`, `Instagram follower count`, `Instagram bio extractor`, `Instagram API without login`, `Instagram profile data`, `bulk Instagram lookup`, `Instagram username checker`, `social media intelligence`, `influencer analytics`, `Apify Instagram actor`, `Instagram public profile scraper`, `pay per success scraper`

***

### 🔗 Related Actors

- **[Instagram Reels & Video Downloader](https://apify.com/your-username/instagram-reels-downloader)** – Download videos and metadata.

***

***

**Start scraping Instagram profiles today – only $0.80 per 1,000 successful profiles. Residential proxy ready.**

````

# Actor input Schema

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

List of Instagram usernames to scrape (e.g. ['cristiano', 'leomessi']).
## `proxyConfiguration` (type: `object`):

Residential proxies are highly recommended.

## Actor input object example

```json
{
  "usernames": [
    "cristiano"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
````

# 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": [
        "cristiano"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapepilot/instagram-profile-scraper---followers-bio-posts-verified").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": ["cristiano"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapepilot/instagram-profile-scraper---followers-bio-posts-verified").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "cristiano"
  ]
}' |
apify call scrapepilot/instagram-profile-scraper---followers-bio-posts-verified --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapepilot/instagram-profile-scraper---followers-bio-posts-verified",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Profile Scraper – Followers, Bio, Posts, Verified",
        "description": "Get real‑time Instagram profile data: username, full name, bio, followers, following, posts, verified, business account, profile pic. No login. Pay per success ($0.0008). Residential proxy ready. Bulk support.",
        "version": "0.0",
        "x-build-id": "9aoCBKLzCdKexx7DX"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapepilot~instagram-profile-scraper---followers-bio-posts-verified/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapepilot-instagram-profile-scraper---followers-bio-posts-verified",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapepilot~instagram-profile-scraper---followers-bio-posts-verified/runs": {
            "post": {
                "operationId": "runs-sync-scrapepilot-instagram-profile-scraper---followers-bio-posts-verified",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapepilot~instagram-profile-scraper---followers-bio-posts-verified/run-sync": {
            "post": {
                "operationId": "run-sync-scrapepilot-instagram-profile-scraper---followers-bio-posts-verified",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "usernames"
                ],
                "properties": {
                    "usernames": {
                        "title": "Usernames",
                        "type": "array",
                        "description": "List of Instagram usernames to scrape (e.g. ['cristiano', 'leomessi']).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Residential proxies are highly recommended.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
