# Instagram Profile Scraper - Emails & Contacts (`orkait/instagram-profile-scraper`) Actor

Scrape Instagram profiles for lead generation. Add usernames and extract follower count, bio, category, external link, verified and business flags, plus the public email, phone number and address most scrapers leave out. Filter by follower range and export to JSON, CSV or Excel.

- **URL**: https://apify.com/orkait/instagram-profile-scraper.md
- **Developed by:** [orkait](https://apify.com/orkait) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 1 total users, 0 monthly users, 75.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## 👤 Instagram Profile Scraper

**The email is in the bio. Most scrapers just do not return it.**

Scrape Instagram profiles for lead generation. Just add Instagram usernames or profile URLs to extract followers, following, bio, category, website, verification and business status, plus the public email address, phone number and business location.

### ✨ What makes this Instagram scraper different

| | Most Instagram scrapers | This one |
|---|---|---|
| **Filtering** | Returns everything, you filter afterwards | Filters **before** counting, so you pay for matches |
| **Sorting** | Whatever order the platform gave | Enforced with a stable tiebreaker, identical every run |
| **Missing data** | A silent `0` you cannot distinguish from a real zero | Named in `meta.fields_unavailable` |
| **Bad input** | Burns a run, then fails | Rejected before the request is made |

### 🎯 What can I do with Instagram Profile Scraper?

#### Build a creator shortlist you can actually contact

Filter to a reach band and keep only profiles that publish contact details. What comes back is an outreach list, not a research project.

```json
{
  "targets": ["creator_one", "creator_two"],
  "filters": { "min_follower_count": 10000, "max_follower_count": 100000, "has_contact_details": true }
}
```

#### Qualify inbound in one call

Check whether an account is real, verified, business, and how big, before anyone spends time on it.

```json
{
  "targets": ["prospect_username"],
  "filters": { "exclude_private": true }
}
```

#### Keep a CRM current

Re-run the same usernames on a schedule and write follower counts and category back to your records.

```json
{
  "targets": ["account_a", "account_b", "account_c"],
  "sortBy": "follower_count",
  "sortOrder": "desc"
}
```

### 🧾 What can Instagram Profile Scraper do?

- Scrape any public Instagram profile by username or URL
- Get follower count, following count and total posts
- Extract the public email and phone number for lead generation
- Get business category, website and every bio link
- Filter Instagram profiles by follower count, verification or business status
- Keep only profiles that actually expose contact details

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

| Field | Description |
|---|---|
| `id` | Instagram user ID |
| `username` | Instagram username |
| `full_name` | Display name |
| `biography` | Profile bio |
| `follower_count` | Followers |
| `following_count` | Following |
| `media_count` | Total posts |
| `is_verified` | Verified badge |
| `is_private` | Private account |
| `is_business` | Business or creator account |
| `category` | Instagram category |
| `business_category_name` | Business category |
| `external_url` | Website in bio |
| `bio_links` | All bio links |
| **`public_email`** | **Public email address** |
| **`public_phone`** | **Public phone number** |
| `contact_phone_number` | Business contact phone |
| `profile_pic_url_hd` | High resolution avatar |
| `location` | Street, city, zip, latitude, longitude |

### ▶️ How to scrape Instagram profiles

1. Add your Instagram usernames or profile URLs to **targets**
2. Set `limit`, and optionally **Sort by** and `filters`
3. Click **Start**
4. Download the dataset as JSON, CSV, Excel or XML, or pull it from the API

### ⬇️ Input

| Field | Required | Description |
|---|:--:|---|
| `targets` | yes | Instagram usernames or profile URLs. |
| `limit` | no | Max items per target, applied after filtering. Default 15, max 5000. |
| `sortBy` | no | Pick a field to order by. Leave empty for the default order. |
| `sortOrder` | no | Highest first or lowest first. Defaults to highest first. |
| `filters` | no | Applied before sorting and before the limit. |

```json
{
  "targets": [
    "natgeo",
    "nasa"
  ],
  "sortBy": "follower_count",
  "sortOrder": "desc",
  "filters": {
    "min_follower_count": 10000,
    "has_contact_details": true
  }
}
```

### 🎛️ How to filter and sort Instagram profiles

| Filter | Effect |
|---|---|
| `min_follower_count` / `max_follower_count` | Target a reach band, e.g. micro-influencers only |
| `verified_only` | Only verified accounts |
| `business_only` | Only business or creator accounts |
| `exclude_private` | Drop private accounts you cannot use |
| **`has_contact_details`** | **Only profiles exposing an email or phone** |

Filters run before the row count, so a narrow filter costs less than a broad one.
Sorting is applied with a stable tiebreaker, so two identical runs return
identical order, and the sort you pick is applied server-side, not left to the platform.

### ⬆️ Output

One row per item, exportable as JSON, CSV, Excel or XML, or straight from the API.

#### 👤 Extracted Instagram profiles data sample

```json
{
  "id": "528817151",
  "username": "nasa",
  "full_name": "NASA",
  "biography": "Making the seemingly impossible, possible. \u2728",
  "follower_count": 104404103,
  "following_count": 83,
  "media_count": 4212,
  "is_verified": true,
  "is_business": true,
  "public_email": "public-inquiries@hq.nasa.gov",
  "external_url": "https://www.nasa.gov",
  "profile_pic_url_hd": "https://..."
}
```

### 🛡️ Why results stay reliable when Instagram changes

Instagram changes what it returns. When a field stops being available it does not
vanish from the schema: it comes back empty and `meta.fields_unavailable` names
it. You branch on that instead of guessing why a number is zero.

### ❓ FAQ

#### Can I get emails from Instagram profiles?

Yes. `public_email` is returned whenever the account publishes one, and `filters.has_contact_details` keeps only profiles that expose an email or phone. That single filter is usually the difference between a list and a lead list.

#### How do I find Instagram influencers by follower count?

Use `min_follower_count` and `max_follower_count` together to target a band, for example micro-influencers between 10k and 100k.

#### Can I scrape private Instagram profiles?

No, only public ones. Use `filters.exclude_private` to drop private accounts from the results.

#### How many Instagram profiles can I scrape at once?

Add as many usernames to `targets` as you need. Each comes back as its own row.

#### Does this Instagram profile scraper return the business address?

Yes, when the account publishes one. `location` carries street, city, zip and coordinates.

#### Can I get all the links from an Instagram bio?

Yes. `bio_links` returns every link, not just the single legacy website field.

### 🔗 Scrape more from Instagram

- 💬 [Instagram Comments Scraper](https://apify.com/orkait/instagram-comments-scraper)
- 🎬 [Instagram Reels Scraper](https://apify.com/orkait/instagram-reels-scraper)
- 📸 [Instagram Posts Scraper](https://apify.com/orkait/instagram-posts-scraper)
- 🔍 [Instagram Search Scraper](https://apify.com/orkait/instagram-search-scraper)

# Actor input Schema

## `targets` (type: `array`):

One or more Instagram usernames or profile URLs.

## `limit` (type: `integer`):

Maximum items returned per target, after filtering.

## `sortBy` (type: `string`):

Which field to order results by. Leave empty for the default (Order you listed them).

## `sortOrder` (type: `string`):

Highest first, or lowest first.

## `filters` (type: `object`):

Applied before sorting and before the limit. Accepts: min\_follower\_count, max\_follower\_count, verified\_only, business\_only, exclude\_private, has\_contact\_details.

## Actor input object example

```json
{
  "targets": [
    "natgeo",
    "nasa"
  ],
  "limit": 15,
  "sortOrder": "desc",
  "filters": {}
}
```

# Actor output Schema

## `results` (type: `string`):

Every profile returned by this run, one row each.

# 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 = {
    "targets": [
        "natgeo",
        "nasa"
    ],
    "limit": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("orkait/instagram-profile-scraper").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 = {
    "targets": [
        "natgeo",
        "nasa",
    ],
    "limit": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("orkait/instagram-profile-scraper").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 '{
  "targets": [
    "natgeo",
    "nasa"
  ],
  "limit": 15
}' |
apify call orkait/instagram-profile-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/jvrgSZ4WRidkqG8sy/builds/dQAIBXptge3NecXBP/openapi.json
