# Instagram Followers Scraper (`khadinakbar/instagram-followers-scraper`) Actor

Export the full followers or following list of any Instagram account: usernames, names, verified flags + optional email enrichment.

- **URL**: https://apify.com/khadinakbar/instagram-followers-scraper.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Social media, Lead generation, MCP servers
- **Stats:** 0 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 scraped accounts

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 Followers Scraper — Followers, Following & Email

Export the **full followers or following list of any Instagram account** as clean JSON, CSV, or Excel. Get usernames, full names, Instagram IDs, verified and private flags, and profile URLs for every account — with **optional one-click enrichment** that adds bio, email, phone, website, follower/following/post counts, category, and business flag for lead generation.

**No login required.** You don't supply your Instagram password or cookies — the actor runs on a managed session. Power users can optionally bring their own cookie. Built HTTP-only on Instagram's own API with residential proxies for speed and reliability, and **MCP-ready** so AI agents (Claude, ChatGPT) can call it directly.

---

### What it does

Give it one or more Instagram usernames (or profile URLs), pick **followers** or **following**, and it paginates the entire connection list of each account, returning one structured record per follower. Turn on enrichment to convert raw followers into qualified leads with contact data.

### When to use it

- **Lead generation** — pull a competitor's or partner's followers and enrich with email/website.
- **Influencer & audience research** — see who follows a niche account; filter by verified/business.
- **Competitor analysis** — map overlap between two accounts' audiences.
- **Community / outreach** — build targeted outreach lists from an account's following.

### When NOT to use it

- For **follower counts only** (no list) — that's cheaper with a dedicated count scraper.
- For **posts, reels, comments, or hashtags** — use the matching scraper in the *related actors* section below.
- For **private accounts you don't follow** — Instagram does not expose their follower lists to anyone.

---

### Output data

Each result is one account from the followers/following list:

| Field | Description |
|---|---|
| `username` | Instagram handle |
| `full_name` | Display name |
| `instagram_id` | Internal numeric user ID (stable across handle changes) |
| `profile_url` | Direct link to the profile |
| `profile_pic_url` | Profile picture URL |
| `is_private` | Whether the account is private |
| `is_verified` | Whether the account has a blue check |
| `relationship` | `follower` or `following` |
| `source_username` | The account this record was pulled from |
| `scraped_at` | ISO 8601 timestamp |

**With enrichment enabled (`enrichProfiles: true`), each record also includes:**

| Field | Description |
|---|---|
| `biography` | Profile bio text |
| `email` | Public/business email or email parsed from the bio |
| `phone` | Public business phone |
| `external_url` | Linked website |
| `follower_count` / `following_count` / `media_count` | Profile counts |
| `category` | Category label (e.g. "Photographer") |
| `is_business` | Business/professional account flag |

#### Example output

```json
{
  "username": "janedoe",
  "full_name": "Jane Doe",
  "instagram_id": "1234567890",
  "profile_url": "https://www.instagram.com/janedoe/",
  "profile_pic_url": "https://instagram.com/pic.jpg",
  "is_private": false,
  "is_verified": false,
  "relationship": "follower",
  "source_username": "natgeo",
  "biography": "Travel photographer 📷 collabs: jane@example.com",
  "email": "jane@example.com",
  "external_url": "https://janedoe.com",
  "follower_count": 15400,
  "following_count": 812,
  "media_count": 240,
  "category": "Photographer",
  "is_business": true,
  "scraped_at": "2026-06-01T12:00:00.000Z"
}
````

***

### Pricing (pay per result)

| Event | Price (Free tier) |
|---|---|
| Actor start | $0.00005 |
| Each account scraped | $0.0015 |
| Profile enrichment (add-on, per account) | $0.0015 |

So a plain run is **$0.0015 per follower**; an enriched run is **$0.003 per follower**. Lower tiers (Bronze→Diamond) reduce the per-result price. Pay only for results you actually receive — no monthly rental.

**Cost examples:** 1,000 followers = ~$1.50 plain / ~$3.00 enriched. The actor prints the maximum possible cost at the start of every run and respects your `maxResults` cap.

***

### How to use

1. Add one or more accounts to **Instagram Usernames or Profile URLs**.
2. Choose **Mode** — Followers or Following.
3. Set **Max Results Per Account** (start small to test).
4. (Optional) Toggle **Enrich Each Profile** for bio/email/website/counts.
5. Run. Export from the **Output** tab or via API.

#### "No login" and the optional cookie

You do not need to log in or hand over credentials — the actor uses a managed session. If you are a power user and prefer to scrape with your own account, paste your Instagram cookie string (including `sessionid=...`) into the **Your Instagram Cookie** field. Use a **secondary account** — aggressive scraping can trigger Instagram rate limits on any account.

***

### Run via API & MCP (for AI agents)

This actor is **MCP-ready**. Connect it to Claude or any MCP client via `https://mcp.apify.com` and call it as `khadinakbar/instagram-followers-scraper`. Input is a simple username + mode; output is flat, agent-friendly JSON. It also runs via the standard Apify API, scheduler, and integrations (Zapier, Make, n8n).

### Related actors (Instagram cluster)

Pair this with the rest of the toolkit:

- **[Instagram Posts Scraper](https://apify.com/khadinakbar/instagram-posts-scraper)** — captions, likes, media.
- **[Instagram Reels Scraper](https://apify.com/khadinakbar/instagram-reels-scraper)** — reels with views and audio.
- **[Instagram Hashtag Scraper](https://apify.com/khadinakbar/instagram-hashtag-scraper)** — posts by hashtag.

***

### FAQ

**Do I need to log in or provide my password?**
No. The actor runs on a managed session. Providing your own cookie is optional and only for power users.

**Can it scrape private accounts?**
Only public accounts, plus private accounts that the scraping session already follows. Instagram never exposes a private account's followers to non-followers.

**How many followers can I get?**
Up to your `maxResults` cap per account (max 50,000). Very large accounts are paginated; runs are paced to stay reliable.

**Why is it paced/slower than I expect?**
Instagram rate-limits follower enumeration hard. The actor paces requests and backs off on limits to keep the success rate high and avoid burning sessions.

**What if the session is blocked?**
The run fails honestly with a clear message (it never reports success with an empty dataset). Refresh the session or use your own cookie and re-run.

***

### Legal & compliance

This actor collects **publicly available data** only. You are responsible for using the data in compliance with Instagram's Terms of Service, the GDPR/CCPA, and all applicable laws. Do not use scraped personal data for spam, harassment, or any unlawful purpose. Scrape responsibly and respect data-subject rights. This tool is not affiliated with, endorsed by, or sponsored by Instagram or Meta Platforms, Inc.

# Actor input Schema

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

Instagram accounts whose followers or following list you want to scrape. Accepts usernames (e.g. 'natgeo', 'nasa') or full profile URLs (e.g. 'https://instagram.com/natgeo'). One per line. This is NOT the list of people to look up individually — it is the account(s) whose connections are extracted.

## `mode` (type: `string`):

Choose 'followers' to extract the accounts that follow each target, or 'following' to extract the accounts each target follows. Applies to every username in the list. Defaults to 'followers'.

## `maxResults` (type: `integer`):

Maximum number of followers/following to collect per target account. Use a small number for testing. Large public accounts can have millions of followers; this cap protects your run cost. Defaults to 200. Range 1–50000.

## `enrichProfiles` (type: `boolean`):

When enabled, visits each follower/following profile to add biography, public email, phone, external website, follower/following/media counts, category, and business flag. Great for lead generation. Adds an extra charge per enriched profile and increases run time. Defaults to off.

## `sessionCookie` (type: `string`):

Leave BLANK to use the actor's built-in managed session — no login needed. Power users only: paste your own Instagram cookie string (must include 'sessionid=...') to scrape with your own account. Using your own account carries rate-limit and ban risk; use a secondary account. NOT your password.

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

Proxy settings. Residential proxies are strongly recommended for Instagram — datacenter IPs are blocked quickly. Leave as default to use Apify's residential proxy pool.

## Actor input object example

```json
{
  "usernames": [
    "natgeo"
  ],
  "mode": "followers",
  "maxResults": 200,
  "enrichProfiles": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

All collected accounts with full metadata.

# 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": [
        "natgeo"
    ],
    "mode": "followers",
    "maxResults": 200,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/instagram-followers-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 = {
    "usernames": ["natgeo"],
    "mode": "followers",
    "maxResults": 200,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/instagram-followers-scraper").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": [
    "natgeo"
  ],
  "mode": "followers",
  "maxResults": 200,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call khadinakbar/instagram-followers-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Followers Scraper",
        "description": "Export the full followers or following list of any Instagram account: usernames, names, verified flags + optional email enrichment.",
        "version": "1.0",
        "x-build-id": "WHNZGoK0Tbmap0hUm"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/khadinakbar~instagram-followers-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-khadinakbar-instagram-followers-scraper",
                "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/khadinakbar~instagram-followers-scraper/runs": {
            "post": {
                "operationId": "runs-sync-khadinakbar-instagram-followers-scraper",
                "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/khadinakbar~instagram-followers-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-khadinakbar-instagram-followers-scraper",
                "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": "👤 Instagram Usernames or Profile URLs",
                        "type": "array",
                        "description": "Instagram accounts whose followers or following list you want to scrape. Accepts usernames (e.g. 'natgeo', 'nasa') or full profile URLs (e.g. 'https://instagram.com/natgeo'). One per line. This is NOT the list of people to look up individually — it is the account(s) whose connections are extracted.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "mode": {
                        "title": "🔁 Mode — Followers or Following",
                        "enum": [
                            "followers",
                            "following"
                        ],
                        "type": "string",
                        "description": "Choose 'followers' to extract the accounts that follow each target, or 'following' to extract the accounts each target follows. Applies to every username in the list. Defaults to 'followers'.",
                        "default": "followers"
                    },
                    "maxResults": {
                        "title": "💯 Max Results Per Account",
                        "minimum": 1,
                        "maximum": 50000,
                        "type": "integer",
                        "description": "Maximum number of followers/following to collect per target account. Use a small number for testing. Large public accounts can have millions of followers; this cap protects your run cost. Defaults to 200. Range 1–50000.",
                        "default": 200
                    },
                    "enrichProfiles": {
                        "title": "✨ Enrich Each Profile (bio, email, website, counts)",
                        "type": "boolean",
                        "description": "When enabled, visits each follower/following profile to add biography, public email, phone, external website, follower/following/media counts, category, and business flag. Great for lead generation. Adds an extra charge per enriched profile and increases run time. Defaults to off.",
                        "default": false
                    },
                    "sessionCookie": {
                        "title": "🔑 Your Instagram Cookie (optional — advanced)",
                        "type": "string",
                        "description": "Leave BLANK to use the actor's built-in managed session — no login needed. Power users only: paste your own Instagram cookie string (must include 'sessionid=...') to scrape with your own account. Using your own account carries rate-limit and ban risk; use a secondary account. NOT your password."
                    },
                    "proxyConfiguration": {
                        "title": "🌐 Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. Residential proxies are strongly recommended for Instagram — datacenter IPs are blocked quickly. Leave as default to use Apify's residential proxy pool.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
