# Instagram Mass Follower (`cricket.bux/instagram-mass-follower`) Actor

This actor allows you to mass-follow a list of Instagram usernames, with optional support for authentication cookies and customizable delay between actions. Simply provide the usernames you want to follow, your session cookies, and the delay in milliseconds.

- **URL**: https://apify.com/cricket.bux/instagram-mass-follower.md
- **Developed by:** [Cricket](https://apify.com/cricket.bux) (community)
- **Categories:** Social media, Automation
- **Stats:** 64 total users, 0 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

## 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 Profiles Mass Follower

Automate following multiple Instagram profiles with ease! This Apify actor allows you to mass-follow a list of Instagram usernames, with optional support for authentication cookies and customizable delay between actions to mimic human behavior and avoid blocks. Results are saved in a convenient table (Dataset) for easy review and export.

***

### Features

- **Bulk follow** any number of Instagram profiles
- **Optional login** via cookies for private or restricted accounts
- **Adjustable delay** between follows to stay under Instagram's radar
- **Clear output table** with status for each profile (followed, already following, error, etc.)
- **Easy integration** with Apify platform and API

***

### Input

Configure the actor via Apify UI or API. The input schema supports:

| Field      | Type    | Description                                                      |
|------------|---------|------------------------------------------------------------------|
| profiles   | array   | List of Instagram usernames to follow (without @)                |
| cookies    | array   | Array of cookie objects for authentication (optional)            |
| delayMs    | integer | Delay in milliseconds between follows (e.g. 2000 = 2 seconds)    |

#### Example input

```json
{
  "profiles": ["instagram", "natgeo"],
  "cookies": [
    {
      "name": "sessionid",
      "value": "YOUR_SESSION_ID",
      "domain": ".instagram.com",
      "path": "/",
      "expires": 1234567890.987654,
      "httpOnly": true,
      "secure": true
    }
  ],
  "delayMs": 4000
}
```

***

### Output

Each processed profile is saved to the Apify Dataset with the following fields:

| Field     | Description                                      |
|-----------|--------------------------------------------------|
| username  | Instagram username                               |
| url       | Profile URL                                      |
| status    | `followed`, `already_following`, `button_not_found`, or `error` |
| error     | Error message (if any)                           |

You can view, filter, and export results in the Apify UI (tab "Dataset") or via API.

***

### Usage

1. Deploy the actor to [Apify platform](https://console.apify.com/actors).
2. Set up your input (see above) in the Apify UI or via API.
3. Run the actor. Monitor logs and progress in real time.
4. Download or analyze results from the Dataset tab.

***

### Requirements & Notes

- For private or restricted accounts, provide valid Instagram cookies (sessionid, etc.).
- Use reasonable delays to avoid Instagram rate limits or bans.
- This actor is intended for educational and research purposes. Use responsibly and in accordance with Instagram's terms of service.

# Actor input Schema

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

List of Instagram usernames to follow (without @)

## `cookies` (type: `array`):

Array of cookie objects for authentication (optional)

## `delayMs` (type: `integer`):

How many milliseconds to wait between follows (e.g. 2000 = 2 seconds)

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

Configure proxy for requests (recommended for Instagram automation)

## Actor input object example

```json
{
  "profiles": [
    "instagram",
    "natgeo"
  ],
  "cookies": [],
  "delayMs": 2000
}
```

# 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 = {
    "profiles": [
        "instagram",
        "natgeo"
    ],
    "cookies": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("cricket.bux/instagram-mass-follower").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 = {
    "profiles": [
        "instagram",
        "natgeo",
    ],
    "cookies": [],
}

# Run the Actor and wait for it to finish
run = client.actor("cricket.bux/instagram-mass-follower").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 '{
  "profiles": [
    "instagram",
    "natgeo"
  ],
  "cookies": []
}' |
apify call cricket.bux/instagram-mass-follower --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/CbSA6xg0uVBsXsrTb/builds/gdl7qxE0Wb5tal4NJ/openapi.json
