# Instagram Engagement Rate & Follower Growth Tracker (`xtracto/instagram-engagement-rate`) Actor

Get the engagement rate, view rate and average likes, comments and plays of any public Instagram account from its latest reels, plus follower growth per day when run on a schedule. No login.

- **URL**: https://apify.com/xtracto/instagram-engagement-rate.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.33 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Engagement Rate & Follower Growth Tracker

Get the real engagement of any public Instagram account: engagement rate, view rate, and average likes, comments and plays across its latest reels. Run it on a schedule and every run also tells you how many followers the account gained or lost per day.

Built for influencer marketers vetting creators, agencies reporting on clients, and brands benchmarking competitors.

### Why use this actor

- **Engagement rate from real recent content**: (average likes + comments) ÷ followers across the latest reels.
- **View rate**: average plays ÷ followers, the reach signal reels are judged on.
- **Fair averages**: pinned reels (old favourites kept on top) and reels with hidden counts are left out by default.
- **Follower growth**: scheduled runs report followers gained or lost since the last run, and per day.
- **Fast and light**: one page per account, no login, no browser.
- **Per-reel detail**: link, likes, comments and plays for each analysed reel.

### How it works

1. Enter usernames or profile links of public accounts.
2. For each account the actor reads its public profile with the latest reels.
3. It computes the averages and rates, and compares the follower count with the previous run.
4. One row per account comes out, ready for a spreadsheet or a dashboard.

### Input

```json
{
  "usernames": ["nasa", "natgeo"],
  "includePinnedReels": false,
  "includeReels": true,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

| Field | Type | Description |
|---|---|---|
| `usernames` | array | Usernames (with or without @) or profile URLs |
| `includePinnedReels` | boolean | Count pinned reels in the averages |
| `includeReels` | boolean | Add the analysed reels to each row |
| `proxyConfiguration` | object | Residential proxy support (recommended for larger lists) |

### Output

Real row from 2026-10-22 (second run; the previous follower count was set 24 h earlier to demonstrate growth; reels trimmed to 2 of 12):

```json
{
  "username": "nasa",
  "fullName": "NASA",
  "isVerified": true,
  "isPrivate": false,
  "followers": 104357871,
  "following": 90,
  "reelsAnalyzed": 12,
  "reelsExcluded": 0,
  "avgLikes": 133224.58,
  "avgComments": 1253.83,
  "avgPlays": 4772678.17,
  "medianPlays": 3658846.5,
  "engagementRate": 0.129,
  "viewRate": 4.57,
  "engagementPerView": 2.818,
  "topReel": "https://www.instagram.com/reel/DeTUk4sDSp-/",
  "previousFollowers": 104352866,
  "followerGrowth": 5005,
  "followerGrowthPerDay": 5004.8,
  "hoursSincePrevious": 24.0,
  "firstRun": false,
  "profileUrl": "https://www.instagram.com/nasa/",
  "reels": [
    { "code": "DeuH0dDFGcg", "url": "https://www.instagram.com/reel/DeuH0dDFGcg/", "likes": 47702, "comments": 411, "plays": 3364089, "isPinned": false, "countsHidden": false },
    { "code": "DeTUk4sDSp-", "url": "https://www.instagram.com/reel/DeTUk4sDSp-/", "likes": 725891, "comments": 7237, "plays": 10615910, "isPinned": false, "countsHidden": false },
    "… 10 more"
  ]
}
```

| Field | Type | Description |
|---|---|---|
| `engagementRate` | number | % — (average likes + comments) ÷ followers |
| `viewRate` | number | % — average plays ÷ followers |
| `engagementPerView` | number | % — likes + comments per play |
| `avgLikes`, `avgComments`, `avgPlays`, `medianPlays` | number | Over the analysed reels |
| `reelsAnalyzed`, `reelsExcluded` | integer | Reels used; reels left out (pinned or hidden counts) |
| `topReel` | string | The analysed reel with the most plays |
| `followers`, `following` | integer | Current counts |
| `followerGrowth`, `followerGrowthPerDay`, `hoursSincePrevious` | | Since the previous run (per-day rate only when at least an hour apart) |
| `previousFollowers`, `previousEngagementRate` | | From the previous run |
| `reels` | array | Each analysed reel: link, likes, comments, plays, pinned/hidden flags |

### Notes and limits

- The latest **12 reels** are analysed; that is what Instagram shows logged-out. Accounts that post mostly photos have fewer or no reels to measure.
- Reel dates are not part of the public page, so rates are per reel, not per day of posting.
- Private accounts return their follower counts but no engagement.
- An account that doesn't exist or can't be read is named in the status message and the run's `FAILURES` record. A run fails only when no account could be read.

### Related actors

| Actor | Use it for |
|---|---|
| Instagram Account Scraper | Full public profile, including bio links |
| Instagram Post Comments Scraper | The comments under any post |
| Social Mention Monitor | Brand mentions across Hacker News, Bluesky, news and more |

# Actor input Schema

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

Usernames (with or without @) or profile URLs of public accounts.

## `includePinnedReels` (type: `boolean`):

Pinned reels are older favourites the creator keeps on top; they are left out of the averages by default.

## `includeReels` (type: `boolean`):

Add the analysed reels (link, likes, comments, plays) to each row.

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

Residential proxy is recommended on the platform for larger account lists.

## Actor input object example

```json
{
  "usernames": [
    "nasa",
    "natgeo"
  ],
  "includePinnedReels": false,
  "includeReels": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One row per account, stored in the run's default dataset.

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

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/instagram-engagement-rate").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": [
        "nasa",
        "natgeo",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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

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/IkfoYJItLu3oXlBVE/builds/265Oiw06AgAdPBej6/openapi.json
