# Instagram Profile Scraper PPE (`easy_scraper/instagram-profile-scraper-ppe`) Actor

Extract rich Instagram profile data at scale from URLs or usernames — including followers, engagement, business details, and contact info.\nBuilt for lead generation, competitor analysis, and data pipelines with clean, ready-to-use output."

- **URL**: https://apify.com/easy\_scraper/instagram-profile-scraper-ppe.md
- **Developed by:** [easy scraper](https://apify.com/easy_scraper) (community)
- **Categories:** Social media, Automation, Lead generation
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 profile addeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

🚀 Collect Instagram public profile data — quickly, safely, and at scale!

Extract rich, structured data from Instagram profiles using just usernames or URLs.  
Perfect for lead generation, competitor research, and automation workflows.

---

### ✨ What can Instagram Profile Scraper do?

- Scrape detailed public Instagram profile data at scale  
- Convert usernames or profile URLs into structured datasets  
- Extract followers, engagement metrics, and business information  
- Retrieve latest posts, IGTV videos, and related profiles  
- Collect emails (when publicly available in bio)  
- Enable automation-ready outputs for analytics and integrations  

---

### 📊 What data can I scrape from Instagram profiles?

This actor extracts a wide range of public data, including:

- Profile info: username, full name, bio, profile picture  
- Metrics: followers, following, posts count  
- Account details: verified status, business category, private/public  
- External links: websites and contact URLs  
- Related profiles (network insights)  
- Latest posts (captions, likes, comments, media)  
- IGTV videos (views, duration, engagement)  
- Email (if publicly available in biography)  

---

### 📦 Output sample

> ⚠️ Note: The output may include nested arrays like `latestPosts`, `latestIgtvVideos`, and `relatedProfiles`.  
> For lighter datasets, you can omit these fields during export.

```json
[
  {
    "inputUrl": "https://www.instagram.com/therock",
    "id": "232192182",
    "username": "therock",
    "fullName": "Dwayne Johnson",
    "followersCount": 390526485,
    "followsCount": 318,
    "postsCount": 8316,
    "verified": true,
    "externalUrl": "http://therock.komi.io/",
    "email": null,
    "latestPosts": [
      {
        "id": "3859273064823712869",
        "type": "Video",
        "caption": "The ocean chose her for a reason 🌊",
        "likesCount": 1134319,
        "commentsCount": 9055,
        "url": "https://www.instagram.com/p/DWO5Ge4DOxl/"
      }
    ]
  }
]

### ⚙️ Inputs

| Field | Type | Description |
|------|------|------------|
| `profiles` | Array | Instagram usernames or URLs |
| `maxProfiles` | Integer | Max number of profiles to scrape |
| `collectEmails` | Boolean | Only return profiles with emails |
| `minFollowers` | Integer | Filter by minimum followers |

---

### 💰 Pricing

- Pay per results (profile-level output)  
- Scales efficiently for bulk scraping  
- Cost depends on number of profiles processed  

💡 **Tip:** Use filters like `minFollowers` or `collectEmails` to reduce costs and improve data quality.

---

### 🚀 Features

- Works without login or cookies ✅  
- Gathers public Instagram profile details  
- Returns structured data (bio, followers, posts, links, etc.)  
- Supports multiple usernames in a single run  
- Optimized for scale — ideal for research, automation, and analytics  

---

### ⚠️ Notes & Limitations

- Only works with public profiles (private accounts are not accessible)  
- Nonexistent or removed profiles are skipped automatically  
- Engagement metrics reflect publicly available data and may not be real-time  

---

### 🎯 Use Cases

#### Influencer Marketing & Creator Discovery
- Find micro-influencers with strong engagement  
- Discover creators actively posting Reels  
- Extract contact info for outreach and partnerships  
- Analyze competitor collaborations  

#### Lead Generation & B2B Sales
- Identify potential customers from Instagram profiles  
- Filter by business accounts and engagement  
- Build targeted outreach lists  
- Discover decision-makers in specific industries  

#### Competitor Intelligence & Market Research
- Analyze competitor audiences and positioning  
- Compare multiple accounts at scale  
- Identify overlapping audiences (warm leads)  
- Track content strategies and engagement patterns  

#### Social Media Strategy
- Discover trending content ideas  
- Build lookalike audiences  
- Analyze successful accounts in your niche  
- Optimize posting strategies  

---

### ❓ FAQ

#### What's the expected size of the dataset?
Datasets can grow large due to nested fields like `latestPosts` and `relatedProfiles`.  
You can exclude these fields during export to reduce size.

---

#### Can I get Instagram details by username?
Yes — simply provide a username and the scraper will fetch all available public data.

---

#### Can I get Instagram details by URL or ID?
Yes — URLs and IDs work the same way as usernames and return identical data.

---

#### Is it legal to scrape Instagram profiles?
This scraper only collects publicly available data.  
However, you are responsible for complying with applicable data protection laws (e.g. GDPR).

---

#### Can I integrate this with other tools?
Yes — easily connect with:

- Zapier  
- Make  
- n8n  
- Google Sheets & Drive  
- Slack  
- Airbyte  
- APIs and more  

You can also use webhooks for automation workflows.

---

#### Can I use this with the Apify API?
Yes — run, schedule, and fetch results programmatically using the Apify API.

---

#### Instagram Profile Scraper not working?
If you encounter issues, report them via the **Issues tab**. Improvements are ongoing.

---

### ⚠️ Disclaimer

This tool is intended for responsible use only.  
It collects publicly available data without requiring login.

The developer is not responsible for misuse or violation of Instagram’s terms.

---

### 🚀 Start scraping now

Turn Instagram profiles into actionable data for growth, research, and automation.

# Actor input Schema

## `profiles` (type: `array`):

Instagram profile URLs or usernames (e.g. https://www.instagram.com/username/, username, @username).
## `collectEmails` (type: `boolean`):

When true, save only profiles where an email is found in the public biography.
## `minFollowers` (type: `integer`):

Skip profiles with fewer than this follower count.

## Actor input object example

```json
{
  "profiles": [
    "https://www.instagram.com/cristiano",
    "@leomessi",
    "kyliejenner",
    "https://instagram.com/therock",
    "@arianagrande",
    "kimkardashian",
    "https://www.instagram.com/selenagomez",
    "@natgeo",
    "nike",
    "https://instagram.com/realmadrid"
  ],
  "collectEmails": false,
  "minFollowers": 0
}
````

# Actor output Schema

## `overview` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easy_scraper/instagram-profile-scraper-ppe").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easy_scraper/instagram-profile-scraper-ppe").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 '{}' |
apify call easy_scraper/instagram-profile-scraper-ppe --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Profile Scraper PPE",
        "description": "Extract rich Instagram profile data at scale from URLs or usernames — including followers, engagement, business details, and contact info.\\nBuilt for lead generation, competitor analysis, and data pipelines with clean, ready-to-use output.\"",
        "version": "1.0",
        "x-build-id": "TAI32mJFoxRLRIVbe"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easy_scraper~instagram-profile-scraper-ppe/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easy_scraper-instagram-profile-scraper-ppe",
                "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/easy_scraper~instagram-profile-scraper-ppe/runs": {
            "post": {
                "operationId": "runs-sync-easy_scraper-instagram-profile-scraper-ppe",
                "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/easy_scraper~instagram-profile-scraper-ppe/run-sync": {
            "post": {
                "operationId": "run-sync-easy_scraper-instagram-profile-scraper-ppe",
                "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": [
                    "profiles"
                ],
                "properties": {
                    "profiles": {
                        "title": "Profiles",
                        "type": "array",
                        "description": "Instagram profile URLs or usernames (e.g. https://www.instagram.com/username/, username, @username).",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "https://www.instagram.com/cristiano",
                            "@leomessi",
                            "kyliejenner",
                            "https://instagram.com/therock",
                            "@arianagrande",
                            "kimkardashian",
                            "https://www.instagram.com/selenagomez",
                            "@natgeo",
                            "nike",
                            "https://instagram.com/realmadrid"
                        ]
                    },
                    "collectEmails": {
                        "title": "Collect emails",
                        "type": "boolean",
                        "description": "When true, save only profiles where an email is found in the public biography.",
                        "default": false
                    },
                    "minFollowers": {
                        "title": "Min followers",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Skip profiles with fewer than this follower count.",
                        "default": 0
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
