# Instagram Profile Scraper (`adored_ybounden/my-actor`) Actor

High-speed Instagram lead extractor. Get followers, following, bios, number of posts, latest post URLs,follower/following samples and any external links in bio directly to Excel. Requires Session ID\[optional]. Just give usernames/URLs and see the magic.

- **URL**: https://apify.com/adored_ybounden/my-actor.md
- **Developed by:** [laddu](https://apify.com/adored_ybounden) (community)
- **Categories:** Social media, Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 19 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.30 / 1,000 results

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Instagram Profile & Lead Scraper Pro

A professional-grade tool to extract deep leads from Instagram. This scraper bypasses complex login requirements by using your session to extract followers, following lists, bios, and external links directly into Excel or CSV.

### 🚀 Key Features

- **Follower & Following Extraction**: Get the usernames of people interacting with a profile.
- **Deep Bio Data**: Captures Full Names, Bios, and External Links (Threads, Websites, etc.).
- **Anti-Bot Protection**: Built-in human-like delays and cooling periods to protect your account from bans.
- **Flexible Input**: Supports both full URLs and simple @usernames.

### 🛠️ How to Setup (Required)

To use this Actor, you must provide your own Instagram Session ID. This ensures the scraping happens under your account's permissions.

1. **Get your Session ID**:
   - Log into [Instagram.com](https://www.instagram.com) on your desktop browser.
   - Right-click anywhere and select **Inspect**.
   - Go to the **Application** tab (top) -> **Cookies** (left) -> `https://www.instagram.com`.
   - Find the row named `sessionid` and copy that long string of text.
2. **Configure the Actor**:
   - Paste your ID into the **Instagram Session ID** field in the Input tab.
   - Add the profiles you want to scrape to the **Profile URLs** list.
3. **Run**: Click **Save & Start**.

### ⚠️ Safety Best Practices

- **Use Burner Accounts**: We highly recommend using a dedicated "scraping" account rather than your main personal profile.
- **Residential Proxies**: For scraping more than 10 profiles at once, please enable **Residential Proxies** in the Actor settings to prevent IP flagging.
- **Daily Limits**: To keep your account safe, do not exceed 100 profile scrapes per day.

### 📊 Output Data

The Actor provides structured JSON/CSV/Excel data including:

- Username & Full Name
- Follower/Following counts
- Bio text and External links
  -latest post URLs
- List of Followers/Following usernames

# Actor input Schema

## `urls` (type: `array`):

List of Instagram URLs or usernames to scrape (e.g., @zuck).

## `maxItems` (type: `integer`):

The number of followers to extract from each profile. High numbers require Residential Proxies.

## `sessionIds` (type: `array`):

Paste multiple session IDs here (one per line) to rotate accounts and avoid bans.

## `sessionId` (type: `string`):

Use this if you are only using one account.

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

For high-volume scraping, use Residential Proxies to avoid being blocked by Instagram.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/zuck/"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "urls": [
        "https://www.instagram.com/zuck/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("adored_ybounden/my-actor").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 = { "urls": ["https://www.instagram.com/zuck/"] }

# Run the Actor and wait for it to finish
run = client.actor("adored_ybounden/my-actor").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 '{
  "urls": [
    "https://www.instagram.com/zuck/"
  ]
}' |
apify call adored_ybounden/my-actor --silent --output-dataset

```

## MCP server setup

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

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/7pMVZ8NfaSTEqaANE/builds/8xafmVyFy23gzsvds/openapi.json
