# Instagram Similar Profiles (`opspilot.cc/instagram-similar-profiles`) Actor

🔍 Instagram Similar Profiles | Accounts like this one, ranked by size Give it one or more seed accounts and get the accounts Instagram considers similar — then rank them by follower count instead of scrolling a list of bare handles.

- **URL**: https://apify.com/opspilot.cc/instagram-similar-profiles.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Features:** Limited permissions
- **Stats:** 152 total users, 24 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / actor start

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 Similar Profiles

> Accounts Instagram considers similar to your seed — ranked by size, not left as a wall of bare handles.

### ✨ What you get

One dataset row per similar account:

| Field | What it is |
|---|---|
| `username` / `userId` / `fullName` | the account |
| `isVerified` / `isPrivate` / `profilePicUrl` / `profileUrl` | qualification and links |
| `seedAccount` | which seed produced this row |
| `followers` / `following` / `posts` | populated when enrichment ran, otherwise `null` (never a fake zero) |
| `biography` / `externalUrl` | context for scoring a fit |
| `enriched` / `postsCountReliable` | whether counts were looked up, and whether the post count can be trusted |
| `rank` | position after sorting: rows with follower data first (biggest first), then the rest by verified/name |

The run summary adds per-seed stats: how many similar accounts were found, how many were enriched, how many are verified or private, the median follower count of enriched rows, and the single top match.

### 💼 Use cases

- **Expanding a prospect list from one account you already like** — give it `natgeo` and it returns Instagram's own similar-accounts list, up to 80 per seed. Handles, profile URLs and numeric ids all work, so a URL copied from the browser goes straight in.
- **Getting a ranked list instead of a wall of handles** — `rank` puts rows with follower data first, biggest first, then the rest. That ordering is the deliverable: an unranked dump of 80 bare handles is not something you can hand a client.
- **Finding the size tier you actually want to pitch** — the example run surfaces `nasa` at 104,286,739 followers as the top match for `natgeo`. Compare the median follower count of enriched rows against your target band to see whether the lookalikes are in your range.
- **Scoring fit from the bio before you spend a lookup** — `biography` and `externalUrl` come back on the same row, so an obviously wrong-vertical account can be dropped without a second enrichment run.

### ✅ Who this is for

- **Creator-sourcing teams**— who found one good partner and need more like them, not more of the same followers.
- **Agencies building a pitch roster** for a brand that sells into a specific niche — the ranked head of the list is ready to put in a deck.
- **Partnership and BD leads**— prospecting by size band, where the median follower count of enriched rows confirms whether the pool is in range.
- **Analysts mapping a competitive set**— who will chain the top-ranked rows into the profile or posts Actor for the deeper read.

### ❌ Who this is NOT for

- **A ranked list without raising `enrichTop`** — only the first `enrichTop` accounts per seed (default 20, max 30) get a follower-count lookup. Everything else correctly keeps `null` and is ranked below the enriched head, so with `enrichTop: 0` you get handles with no numbers to sort by.
- **Reading `posts: 0` as an inactive account** — Instagram sometimes reports 0 for accounts that clearly have posts. `postsCountReliable` tells you when to ignore the number, and the fields are `null` rather than faked zeros when the lookup did not run.
- **More than the full set Instagram offers** — typically up to 80 similar accounts per seed, with no pagination exposed for the list. That is the ceiling; it is not a search you can deepen by re-running.
- **Audience overlap or shared-follower proof** — Instagram decides what "similar" means and this Actor does not return the reasoning. `biography` and `externalUrl` are context for your own judgement, not evidence of a shared audience.
- **Another platform's lookalikes, or content-level discovery** — this is Instagram-to-Instagram. If you need what is ranking for a term rather than who resembles a seed, use the Instagram Reels Search Actor.

### 🚀 Quick start

1. Open the Actor and press **Start** (default seed: `natgeo`, 20 enriched).
2. Read the `rank`, `followers` and `seedAccount` columns — that is your prioritised shortlist.
3. Need more rows per seed? Add seeds, not just more enrichment.

### 📥 Input parameters

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `seedAccounts` | list | `natgeo` | Accounts to find lookalikes for. Handles, profile URLs and numeric ids, up to 20 seeds per run. |
| `enrichTop` | number | `20` | How many similar accounts per seed get a follower-count lookup (0–30). Set `0` for the fastest run — rows then have no follower numbers. |

### 📤 Output

- **Dataset** — one row per similar account (or a notice when nothing was collected)
- **SUMMARY** — per-seed stats, request counts and warnings

#### Example item

```json
{
  "username": "nasa",
  "userId": "1",
  "fullName": "NASA",
  "isVerified": true,
  "isPrivate": false,
  "profileUrl": "https://www.instagram.com/nasa/",
  "seedAccount": "natgeo",
  "followers": 104286739,
  "following": 200,
  "posts": 4940,
  "biography": "science",
  "externalUrl": "https://nasa.gov",
  "enriched": true,
  "postsCountReliable": true,
  "rank": 1
}
```

### ⚙️ How it works

1. Each seed is normalised to a username or numeric id and passed to Instagram's similar-accounts lookup.
2. The first `enrichTop` results get a profile lookup, which is what adds follower/post numbers — the similar-accounts response alone is too thin to rank.
3. Rows are sorted with enriched rows first (a row without follower numbers cannot be compared to one that has them), then by follower count, then verified, then name — and numbered with `rank`.
4. A seed that returns nothing is reported in `warnings`; other seeds still complete.

### 💰 Billing

**Billed per result.** Every row written to the default dataset is one `apify-default-dataset-item` charge, on top of the one-off `actor-start` charge when the run begins. A run that returns 300 rows costs 300 item charges; a run that returns 3 costs 3. Per-item price is on this Actor's pricing card. Rows of `type: "notice"` (a capped or empty run) are dataset rows too and are billed the same way. There is no daily run cap.

**Free plan limit.** One run takes **3 seed accounts and enriches 10 suggestions**. That is a hard ceiling on the upstream cost, so it cannot be raised from the input form. A capped run still succeeds: it writes a `notice` row to the dataset, sets `appliedLimits.capped: true` in `SUMMARY`, and logs why. Any paid Apify plan lifts the cap to 20 seeds with up to 30 enrichments.

**Run-wide request budget.** On top of the per-item caps, every run has a fixed ceiling on upstream requests in total — **12 on the free plan, 40 on paid Apify plans** — shared by all accounts, keywords, hashtags or posts in that run, and counting retries. A single item can still walk all of its pages; only wide multi-item runs are compressed. Hitting the ceiling is reported, not hidden: the run still succeeds, delivers everything fetched so far, writes a `type: "notice"` row, and sets `SUMMARY.budgetExhausted: true` alongside `SUMMARY.maxRequestsPerRun` and `SUMMARY.upstreamRequests`.

The per-item figures above are upper bounds, not a promise for every run: when a run supplies the maximum number of items, the shared budget is reached first and fewer items are completed. `SUMMARY.upstreamRequests` reports exactly how many upstream requests were used.

### ❓ FAQ

**Why are `followers` null on some rows?**
Only the first `enrichTop` accounts per seed get a profile lookup. The rest keep their (correct) `null` instead of being given a zero, and they are ranked below the enriched ones — raise `enrichTop` to widen the ranked head of the list.

**How many similar accounts come back?**
Typically up to 80 per seed. Instagram decides the list and does not expose pagination for it, so this is the full set it offers for that seed.

**Can I exclude the seed account itself?**
Instagram does not return the seed in its own similar list, so no filtering is needed.

**Are the post counts reliable?**
Use `postsCountReliable` — Instagram sometimes reports 0 posts for accounts that clearly have them, and that flag tells you when to ignore the number.

**How do I go from here to a real shortlist?**
Take the top-ranked enriched rows, then run the profile Actor on any candidate to pull its latest posts, and the posts Actor to see what actually performs for them.

### 📚 Resources

- Apify free plan: monthly credit covers usage, no separate daily cap

# Changelog

This Actor's version history is a separate document: https://apify.com/opspilot.cc/instagram-similar-profiles/changelog.md

# Actor input Schema

## `seedAccounts` (type: `array`):

Accounts whose similar accounts you want. One per line, up to 20 seeds per run.

## `enrichTop` (type: `integer`):

How many similar accounts per seed to look up follower counts for. Set 0 for the fastest, cheapest run (rows will have no follower numbers).

## Actor input object example

```json
{
  "seedAccounts": [
    "natgeo"
  ],
  "enrichTop": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per similar account, or a single notice when nothing was collected.

## `summary` (type: `string`):

Per-seed counts, median followers of enriched rows, request counts and warnings.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("opspilot.cc/instagram-similar-profiles").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("opspilot.cc/instagram-similar-profiles").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 '{}' |
apify call opspilot.cc/instagram-similar-profiles --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opspilot.cc/instagram-similar-profiles"
        }
    }
}
```

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/XGUxli6J9XgqD3da0/builds/AlzoUcpuajqUdb4q6/openapi.json
