# Instagram Profile Scraper: Followers, Recent Posts, No Login (`alhadikhan/instagram-profile-scraper`) Actor

Track public Instagram accounts without logging in: followers, plus likes, comments, type, date and caption of each account's latest posts. Made for brand and competitor tracking on a schedule.

- **URL**: https://apify.com/alhadikhan/instagram-profile-scraper.md
- **Developed by:** [MD. AL-HADI KHAN](https://apify.com/alhadikhan) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Profile Scraper: followers and latest posts of public accounts, no login

This **Instagram profile scraper** tracks public Instagram accounts without logging in. For each account you get one **profile row** (followers, verified badge) and one **row per latest post** (likes, comments, date, type, caption). Schedule it to follow your brand and your competitors over time.

It reads the public profile pages Instagram publishes for embedding on other websites, so it needs no Instagram account, cookies or password.

### What you get

**Profile row** (`type: "profile"`)

| Field | What it is |
|---|---|
| `username`, `fullName` | The account |
| `isVerified` | Has the blue badge |
| `followers` | Exact follower count when checked (the website rounds it, e.g. 268M) |
| `profileUrl`, `checkedAt` | Link, and when we checked (UTC) |

**Post row** (`type: "post"`), for each of the account's latest posts (Instagram shows the latest 6 on this page)

| Field | What it is |
|---|---|
| `postUrl` | Link to the post |
| `mediaType` | Image, Video or Carousel |
| `postedAt` | When it was posted (UTC) |
| `likes` | Likes when checked (empty if the account hides likes) |
| `comments` | Number of comments when checked |
| `caption` | The post text |

### Input

- **Accounts:** usernames (`natgeo`) or profile links (`https://www.instagram.com/natgeo/`), one per line.
- **Include latest posts:** on by default. Turn it off to get only the profile rows.
- **Max results:** a cap for the whole run.
- **Only new rows:** for scheduled runs. Posts you've already received are skipped, and the profile row comes once a day.

```json
{
  "accounts": ["nike", "adidas", "puma"],
  "includePosts": true,
  "onlyNew": true
}
```

### Output example (real run, November 2026)

```json
{
  "id": "profile:natgeo:2026-11-11",
  "type": "profile",
  "username": "natgeo",
  "fullName": "National Geographic",
  "isVerified": true,
  "followers": 268157218,
  "profileUrl": "https://www.instagram.com/natgeo/",
  "checkedAt": "2026-11-11T21:31:01Z"
}
```

```json
{
  "id": "DflDxyBAZuq",
  "type": "post",
  "username": "natgeo",
  "postUrl": "https://www.instagram.com/p/DflDxyBAZuq/",
  "mediaType": "Video",
  "postedAt": "2026-11-11T17:00:03Z",
  "likes": 7158,
  "comments": 53,
  "caption": "The action on the mountain was only half the story. Capturing it all on film was an extrao …",
  "checkedAt": "2026-11-11T21:31:01Z"
}
```

### Checked against Instagram

Before publishing, we compared one profile and four posts (image, video, carousel) with instagram.com in a normal browser: verified badge, followers, type, likes, comments and post time all matched, allowing for the minutes between the two checks (12 Nov 2026).

### How to use it

1. Open the Actor in Apify Console with the button at the top of this page.
2. Enter public Instagram usernames or profile links, one per line.
3. Leave **Include latest posts** on to get the latest posts too, or turn it off for profile rows only.
4. Click **Start**. 30 accounts took 27 seconds in our test.
5. Download the results from the **Output** tab as CSV, Excel, JSON, XML or HTML, or open them as a table.

### What people use it for

- **Competitor tracking:** follower growth and engagement on the latest posts of competing brands.
- **Campaign reports:** likes and comments on a campaign's posts from your brand's accounts and your competitors'.
- **Client reports:** a daily or weekly table of your clients' public accounts.
- **Content research:** which recent posts (image, video, carousel) got the most likes and comments.

### Use it from your code (API)

One request starts the run, waits for it and returns the results as JSON. Get your API token in Apify Console under **Settings → API & Integrations**.

```python
import requests

items = requests.post(
    "https://api.apify.com/v2/acts/alhadikhan~instagram-profile-scraper/run-sync-get-dataset-items",
    headers={"Authorization": "Bearer YOUR_APIFY_TOKEN"},
    json={"accounts": ["nike", "adidas"]},
    timeout=300,
).json()
for row in items:
    if row["type"] == "profile":
        print(row["username"], row["followers"])
    else:
        print("  ", row["mediaType"], row["likes"], row["comments"], row["postUrl"])
```

The same with `curl`:

```bash
curl -X POST "https://api.apify.com/v2/acts/alhadikhan~instagram-profile-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"accounts": ["nike", "adidas"]}'
```

This one-request form waits up to about 5 minutes. For bigger runs, start a normal run (Apify's `apify-client` package for Python or JavaScript does this) and read its dataset when it finishes.

### Track accounts over time

1. Enter your accounts and competitors, and turn on **Only new rows**.
2. Schedule the Actor daily in Apify Console.
3. Each day you get one profile row per account (follower growth) and each new post once. Send the rows to Google Sheets, Slack or a webhook with Apify's integrations.

### How much does it cost?

**$2.00 per 1,000 rows** ($0.002 per row) on Apify's free plan, and less on paid plans, down to $1.40 per 1,000. Example: 30 accounts with their latest 6 posts (about 210 rows) cost about $0.42. The **Pricing** tab has the full table.

**Speed:** In our test in November 2026: 200 accounts in 144 seconds, about 1,300 rows.

You pay per row. Accounts that are private, missing, or that don't offer Instagram's embed page cost nothing; the run's status message lists them under "Nothing found".

### Other tools from the same developer

| Tool | What it gives you |
|---|---|
| [Google Ads Transparency Scraper](https://apify.com/alhadikhan/google-ads-transparency-scraper) | Competitors' Google ads from Google's Ads Transparency Center, with format, last-shown date and image |
| [LinkedIn Ad Library Scraper](https://apify.com/alhadikhan/linkedin-ad-library-scraper) | Competitors' LinkedIn ads: full text, format, payer, and dates, impressions and targeting where LinkedIn shows them |
| [App Store Reviews Scraper](https://apify.com/alhadikhan/app-store-reviews-scraper) | Reviews and rating summaries of iPhone apps in 175 countries |
| [Google Trends Scraper](https://apify.com/alhadikhan/google-trends-scraper) | Interest over time and by region, checked against the Google Trends website |
| [Google Trends Compare](https://apify.com/alhadikhan/google-trends-compare) | Up to 100 search terms on one Google Trends scale |
| [Share of Search Tracker](https://apify.com/alhadikhan/share-of-search) | Your brand's share of Google searches against competitors |

### FAQ

#### Do I need an Instagram account or cookies?

No. It reads public pages that Instagram makes available without logging in.

#### Why does it return only the latest 6 posts?

That's what Instagram shows on the public profile page this Actor reads. For each post's numbers over time, run it on a schedule: every run updates the figures of the posts still among the latest.

#### Why did an account come back as "Nothing found"?

Private accounts are skipped. A few public accounts also don't offer Instagram's embed page; Instagram shows "The link to this profile may be broken" for them, even in a normal browser. In our test that was 2 to 4 accounts out of 200. You aren't charged for them.

#### Does it collect followers' names or contact details?

No. It returns the account's own public numbers and posts, not lists of people.

#### How do I track follower growth?

Schedule the Actor daily with **Only new rows** on. You get one profile row per account per day, each with the exact follower count and the time it was checked.

#### Why are likes empty on some posts?

Some accounts hide like counts. Then `likes` is empty. In our test that was 1 post in 174.

#### Can it scrape hashtags, comments or follower lists?

No. It returns an account's own public numbers and its latest posts, not lists of people or comment texts.

#### Is it legal to scrape Instagram?

This Actor reads public pages that Instagram publishes for embedding on other websites, signed out, and returns accounts' public numbers, not personal lists. Meta's terms restrict automated access, and whether your use is allowed depends on your purpose and where you are; this isn't legal advice.

### Limits

- Latest 6 posts per account; no older posts, comments' text, or follower lists.
- No video view counts (Instagram's page doesn't include them).
- Counts change by the minute; each row says when it was checked.
- Instagram can change or switch off these public pages at any time.

### Support

Found a problem, or need a field that's missing? Open an issue in the **Issues** tab of this page.

# Actor input Schema

## `accounts` (type: `array`):

Public Instagram accounts, one per line: a username (natgeo) or a profile link (https://www.instagram.com/natgeo/). Private accounts are skipped and not charged.

## `includePosts` (type: `boolean`):

Add one row for each of the account's latest posts (Instagram shows the latest 6 on this page). Turn off to get only the profile row.

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

Stop after this many rows. 0 means no limit (your maximum cost per run still applies).

## `onlyNew` (type: `boolean`):

For scheduled runs: posts you've already received are skipped, and the profile row comes once a day.

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

Apify Proxy settings.

## Actor input object example

```json
{
  "accounts": [
    "natgeo"
  ],
  "includePosts": true,
  "maxItems": 0,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "accounts": [
        "natgeo"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("alhadikhan/instagram-profile-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 = {
    "accounts": ["natgeo"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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

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/afVwnDQbV2WvvIwYp/builds/aW3KdeBwyYQdosOzI/openapi.json
