# Instagram Profile Scraper: Followers, Bio, Links, Posts (`neverempty/instagram-profile-details-scraper`) Actor

Paste Instagram usernames or profile URLs and get one row per profile: exact follower count, following and post counts, name, bio, links, verified badge, profile picture and recent posts. No login, no cookies, no start fee. You pay only for profiles returned.

- **URL**: https://apify.com/neverempty/instagram-profile-details-scraper.md
- **Developed by:** [NeverEmpty](https://apify.com/neverempty) (community)
- **Categories:** Social media, Agents
- **Features:** Limited permissions
- **Stats:** 12 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.55 / 1,000 profile returneds

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, Bio, Links, Posts

Paste Instagram usernames or profile URLs and get one row per profile with the exact follower count (104357220, not 104M), following and post counts, name, bio, links, verified badge, profile picture and recent posts. No login, no cookies, no start fee. You pay **$2.55 per 1,000 profiles** on the Free plan, down to **$1.55** on Gold and above, and only for profiles actually returned.

### What can I do with this Instagram profile scraper?

- **Check influencers.** See followers, following, post count and verified badge, plus likes and comments on recent posts where Instagram shows them to logged-out visitors, before you reach out.
- **Track accounts over time.** Run the same list on a schedule and compare follower and post counts between runs, using exact numbers instead of rounded ones like 1.2M.
- **Enrich a list of handles.** Turn a spreadsheet of usernames into names, bios, website links and profile pictures.
- **Monitor competitors.** See the recent posts of brands in your market, with likes and comments, for accounts whose posts Instagram shows to logged-out visitors.
- **Sort a list.** See which handles come back as public profiles, private accounts or unavailable names. A real account can also come back as unavailable, because Instagram hides some accounts from logged-out visitors. Only public profiles are charged.

### What data do you get?

| Group | Fields |
|---|---|
| Profile | `username`, `id`, `url`, `inputUrl`, `fullName`, `biography`, `profilePicUrl`, `private`, `verified` |
| Counts | `followersCount`, `followsCount`, `postsCount`, `highlightReelCount` |
| Links | `externalUrl`, `externalUrls` (each with `title`, `url`, `link_type`) |
| Recent posts | `latestPosts` (each with `id`, `type`, `shortCode`, `url`, `caption`, `commentsCount`, `likesCount`, `timestamp`, `dimensionsHeight`, `dimensionsWidth`, `displayUrl`, `ownerUsername`) |
| Run | `status`, `note`, `source`, `scrapedAt`. Rows you are not charged for can also hold `httpStatus` (the answer Instagram gave) and `notCheckedUsernames` (names to put in a new run) |

Familiar field names such as `followersCount`, `followsCount`, `postsCount`, `biography`, `verified` and `latestPosts` make it easy to switch an existing workflow.

If a value could not be read, the field is `null` and not `0`.

### How to scrape Instagram profiles

1. Paste usernames or profile URLs into `usernames`. `nasa`, `@nasa` and `https://www.instagram.com/nasa/` all work. `urls` and `directUrls` are accepted as other names for the same list.
2. Set `maxProfiles` if you want to cap how many profiles this run returns and charges for.
3. Press **Start**, then download the rows as JSON, CSV or Excel, or read them through the API.

### Input

| Field | What it does | Default |
|---|---|---|
| `usernames` | Instagram usernames or profile URLs, one per line. The limit is 5,000 entries per run, but Instagram may stop answering much earlier (see [Limitations](#limitations)). | One free sample profile when nothing is given |
| `maxProfiles` | The most profiles to return and charge for in this run (1 to 5,000). | No cap (maximum 5,000 per run) |

```json
{
    "usernames": ["nasa", "@natgeo", "https://www.instagram.com/nike/"],
    "maxProfiles": 100
}
```

### Output example

```json
{
    "status": "ok",
    "inputUrl": "nasa",
    "id": "528817151",
    "username": "nasa",
    "url": "https://www.instagram.com/nasa/",
    "fullName": "NASA",
    "biography": "A short bio written by the account owner.",
    "followersCount": 104357220,
    "followsCount": 90,
    "postsCount": 4985,
    "private": false,
    "verified": true,
    "externalUrl": "https://www.nasa.gov/",
    "externalUrls": [
        { "title": null, "url": "https://www.nasa.gov/", "link_type": "external" }
    ],
    "latestPosts": [
        {
            "type": "Image",
            "shortCode": "DeuOR-CjKE9",
            "url": "https://www.instagram.com/p/DeuOR-CjKE9/",
            "caption": "A caption written by the account owner.",
            "commentsCount": 1000,
            "likesCount": 100000,
            "timestamp": "2026-10-10T15:15:02.000Z",
            "ownerUsername": "nasa"
        }
    ]
}
```

The example is shortened to the main fields, with sample text.

### How much does it cost?

**$2.55 per 1,000 profiles** on the Free plan, with lower prices on paid Apify plans:

| Apify plan | Price per 1,000 profiles |
|---|---|
| Free | $2.55 |
| Bronze | $2.25 |
| Silver | $1.95 |
| Gold and above | $1.55 |

There is no start fee and no extra charge for recent posts. You are charged only for rows with `status: "ok"`. Every other row is free, and the [full list is below](#rows-you-are-not-charged-for).

### FAQ

**How do I get the exact follower count of an Instagram account?**
Put the username into `usernames` and run the Actor. `followersCount` holds the exact number, for example 104357220 and not 104M.

**Can I scrape Instagram profiles without logging in?**
Yes. You don't need an Instagram account, a cookie or an API key.

**Do I pay for private or missing Instagram profiles?**
No. You pay only for rows with `status: "ok"`. Private accounts and names without a public profile return a free row that explains why.

**How do I scrape many Instagram profiles at once?**
Paste a list of usernames or URLs (the limit is 5,000 entries per run). Each name the run reaches gets a row, in the order you gave them. Names it did not reach are listed together in one last `not-checked` row. Instagram limits how many profiles can be opened without logging in, so long lists may not be read in full. Names that were not reached are in `notCheckedUsernames` in the last row, ready for a new run.

**What happens if a run reaches its timeout?**
The run stops about 30 seconds before its timeout and writes a last `not-checked` row. Rows already returned stay in the dataset. Names it did not finish are not charged and are listed in `notCheckedUsernames`. To read them, start a new run with those names, or set a longer timeout.

**Can I resurrect a run to read the names it did not reach?**
No. A run that has written its last row reads nothing more when it is resurrected, and nothing is charged twice. Start a new run and paste the names from `notCheckedUsernames` instead.

**Can I use this Instagram scraper with an API or an AI agent?**
Yes. Start it from the Apify API, or from an AI agent through the Apify MCP server, with a list of usernames. The rows come back as JSON.

### Rows you are not charged for

A name that was read but did not return a public profile gets its own row, so you can see what happened to it. Names the run did not check are counted together in one last row.

| `status` | What it means |
|---|---|
| `sample` | No usernames were given, so one sample profile was read to show the output. Add your own to `usernames`. |
| `private-profile` | The account is private. The row holds what its header shows, such as the name and follower count. Posts and links are not visible. |
| `no-public-profile` | Instagram shows no public profile under this name to visitors who are not logged in. |
| `blocked` | Instagram did not let this run open the profile. Try the name again a few hours later. |
| `unreadable` | The page could not be read in this run. Nothing is guessed. Try the name again a few hours later. |
| `invalid-input` | The entry is not an Instagram username or profile URL, such as a post link. |
| `duplicate` | The same profile was already in this run's list. |
| `not-checked` | One row at the end for entries that were not processed: over `maxProfiles` or the 5,000 limit, stopped because Instagram refused most requests, or stopped before the run timeout. `notCheckedUsernames` lists the names, ready to paste into a new run. |
| `budget-reached` | The run reached the maximum total charge you set. Entries it did not reach are counted in one row at the end, with their names in `notCheckedUsernames`. |

### Limitations

- Business category, related accounts, HD profile picture, join date and the about section are not on the page Instagram shows to logged-out visitors, so they are not in the output.
- A deleted account, a renamed account, a mistyped name and a name Instagram hides from logged-out visitors all look the same from outside, so they all return `no-public-profile`. Some large accounts are hidden this way.
- Instagram limits how many profiles can be opened without logging in, and the limit changes from hour to hour. The 5,000 limit is the most a run accepts, not a promise that all of them are read: in our tests the best run returned about 160 profiles in one go, and runs at busy times returned far fewer. Refused names come back as `blocked` and are not charged. After about 25 refusals in a row, or more than 80% refusals among the last 50 names tried, the run stops and the `not-checked` row lists the remaining names in `notCheckedUsernames`. Try those a few hours later.
- A name made only of digits is read as a username, not as a numeric account ID.
- `followsCount` can differ slightly from the number in the header of the profile page, because Instagram itself shows two different values.
- `latestPosts` holds the recent posts Instagram shows on the public profile, not the full history. Some accounts do not show their posts to logged-out visitors, even large ones, so `latestPosts` is `null` for them and running again may not change it. That row notes this and is still charged, because the other profile fields were returned. `[]` means the account shows 0 posts.
- `commentsCount` and `likesCount` are what Instagram shows to logged-out visitors. A `0` may not mean nobody commented, because comments can be turned off or hidden.
- Image links expire after a while, so download the files soon after the run.
- Email addresses and phone numbers in bios, names, link titles and captions are masked in the output on a best-effort basis. Not every way of writing them can be caught, so some may remain. Masking can also go too far: a long number such as a reference code may be masked as well. Links to a phone number or chat contact, such as `wa.me`, `t.me` or `line.me` links, are left out.
- Use the data in line with the rules that apply to you, including privacy law for any personal data in profiles.

### Need help or a missing field?

Open the **Issues** tab and tell us what you need. If a row looks wrong, include the run ID.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

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

Instagram usernames or profile addresses, one per line, such as nasa, @nasa or https://www.instagram.com/nasa/. The limit is 5,000 entries per run. Instagram may stop answering earlier. Upper and lower case are treated the same.

## `maxProfiles` (type: `integer`):

The run stops after this many profiles have been returned, so you can cap the cost. The charge follows the profiles returned. Leave it empty to read the whole list.

## Actor input object example

```json
{
  "usernames": [
    "nasa",
    "natgeo",
    "nike"
  ]
}
```

# Actor output Schema

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

One row per Instagram profile: username, name, bio, follower, following and post counts, verified badge, links, profile picture and recent posts.

# 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",
        "nike"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/instagram-profile-details-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 = { "usernames": [
        "nasa",
        "natgeo",
        "nike",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("neverempty/instagram-profile-details-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 '{
  "usernames": [
    "nasa",
    "natgeo",
    "nike"
  ]
}' |
apify call neverempty/instagram-profile-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/instagram-profile-details-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/BNefk14dtRQD1It9n/builds/fHFlcJggDa9zvokRR/openapi.json
