# Instagram Profile Scraper | Followers, Bio & Links (`genial_candlestand/instagram-profile-details-scraper`) Actor

Get public Instagram profile details: exact follower and following counts, bio with mentions and hashtags, bio links, website, category, account type, verified and private flags, HD avatar, optional latest posts with likes and comments. Usernames, URLs or ids; no login.

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

## Pricing

from $1.96 / 1,000 profiles

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

![Instagram Profile Scraper | Followers, Bio & Links](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-profile-page-channel-details-banner-10c720af.png)

Get public Instagram profile details as one flat row per profile: exact follower and following counts, bio text with its mentions and hashtags, bio links with their titles, the main website, category and account type (personal, business or creator). Each row also carries the verified, private and memorialized flags, the HD profile picture, highlights, active story, reels and Threads badge, and, when you set `latestPosts` (0–50, default 0), that many latest posts with likes, comments and date plus average likes and comments. No login, cookies or Instagram account needed.

### What does Instagram Profile Scraper do?

You paste a list of Instagram profiles — usernames (`natgeo`), handles (`@nasa`), profile URLs (`https://www.instagram.com/zara/`) or numeric user ids (`787132`) — and get one row per existing profile. Every row keeps your input line in `query`, so you can join the results back to your source list. It is built for influencer-marketing teams vetting creators, sales teams enriching lists of brand accounts with websites and categories, analysts tracking follower counts on a schedule, and AI agents that need the profile of one account in a single call.

### How to scrape Instagram profiles

![How Instagram Profile Scraper works: Turns each line into a username: @handle, profile URL or numeric user id; Queries Instagram's logged-out web GraphQL for profile and details; Adds up to 50 latest ](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-profile-page-channel-details-how-7a58f18d.png)

1. Open the actor in Apify Console and go to the **Input** tab.
2. Paste your profiles into **Profiles**, one per line: usernames, @handles, profile URLs or numeric user ids, in any mix.
3. Optionally set **Latest posts per profile** (0–50) to add recent posts with likes and comments, and **Max profiles** to cap the run.
4. Click **Start** and wait for the run to finish.
5. Open the **Output** tab: the **Overview** view shows avatar, followers, account type, category and website; the **Engagement** view shows latest post date, average likes and comments, story and reels flags. Export as JSON, CSV, Excel or via the API.

### How much does it cost to scrape Instagram profiles?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Profile | $2.30 per 1,000 | $2.185 per 1,000 | $2.07 per 1,000 | $1.955 per 1,000 |
| Run start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 3 rows in 17 s.

The actor uses pay-per-event pricing. One paid **Profile** event is one Instagram profile saved to the dataset, public or private. The latest posts are included in that price, whether you ask for 0 or 50. There is also a small **Run start** fee of $0.00005 per run (charged per GB of memory).

Not charged: usernames that do not exist or are not visible without login, invalid lines, non-profile URLs (posts, reels, stories), duplicates and profiles that could not be fetched. Each skipped line gets a warning in the log that names it and the reason.

| Scenario | Events | Cost on the Free plan |
|---|---|---|
| Check 3 creators | 3 profiles + 1 start | about $0.007 |
| Enrich 100 brand handles with websites and categories | 100 profiles + 1 start | about $0.23 |
| 1,000 profiles with 12 latest posts each | 1,000 profiles + 1 start | about $2.30 |
| Track 200 profiles daily for 30 days | 6,000 profiles + 30 starts | about $13.80 |

### Input

![Instagram Profile Scraper input example: Profiles, Latest posts per profile](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-profile-page-channel-details-input-8ec248ad.png)

| Field | Type | Description |
|---|---|---|
| `usernames` | array of strings, **required** | One profile per line: a username (`natgeo`), a handle (`@natgeo`), a profile URL (`https://www.instagram.com/natgeo/`, also `m.instagram.com`, with a query such as `?hl=en` or a subpath such as `/reels/` or `/tagged/`) or a numeric user id (`787132`). Case does not matter. Post, reel, story and explore URLs are not profiles and are skipped with a warning. Duplicates are returned once. |
| `latestPosts` | integer 0–50, default `0` | How many of the latest posts to add to each public profile, with likes, comments, date and caption, plus average likes and comments. `0` = profile details only. Private profiles never get posts. |
| `maxItems` | integer ≥ 1, optional | Stop after this many profiles are saved. Empty = the whole list. |
| `proxyConfiguration` | object, default `{ "useApifyProxy": true }` | The default Apify datacenter proxy works; a blocked request is retried automatically through a residential proxy. |

Example input:

```json
{
  "usernames": ["natgeo", "@nasa", "https://www.instagram.com/zara/"],
  "latestPosts": 12,
  "maxItems": 100
}
```

### What data can you extract from Instagram profiles?

![Instagram Profile Scraper output example: Avatar, Username, Name, Followers, Following, Verified](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-profile-page-channel-details-output-0357d397.png)

| Field | What it is |
|---|---|
| `url`, `query`, `id`, `username` | Profile page, your input line as entered, numeric user id, lowercase username |
| `fullName`, `biography` | Display name and bio text (null when empty) |
| `followersCount`, `followsCount` | Exact follower and following counts |
| `isVerified`, `isPrivate`, `isMemorialized` | Verified badge, private account, memorialized account |
| `accountType`, `category` | `personal`, `business` or `creator`; category shown on the profile (e.g. Clothing (Brand), Restaurant) |
| `externalUrl`, `bioLinks` | Main website; all bio links as `{ url, title }` |
| `bioMentions`, `bioHashtags`, `pronouns` | Usernames and hashtags in the bio (without @ and #), pronouns shown on the profile |
| `profilePicUrl`, `profilePicUrlHd` | Profile picture in 150 px and in the largest size |
| `highlightsCount`, `hasActiveStory`, `hasClips` | Story highlights (first page, up to about 10), story live now, has reels |
| `threadsUsername`, `fbid` | Threads badge username, linked Meta account id |
| `latestPosts` | When requested: `{ id, shortCode, url, type (image, video, carousel), caption, likesCount, commentsCount, publishedAt, imageUrl }` |
| `latestPostAt`, `avgLikesCount`, `avgCommentsCount` | Newest fetched post date, average likes and comments over the fetched posts |
| `scrapedAt` | When the profile was extracted |

A real row (run with `latestPosts: 0`, picture links shortened):

```json
{
  "url": "https://www.instagram.com/zara/",
  "query": "https://www.instagram.com/zara/",
  "id": "602725764",
  "username": "zara",
  "fullName": "ZARA",
  "biography": "For Man collection check @zaraman \nKids collection @zarakids \nCustomer Care @zaracare\nDiscover Woman collection ⬇️",
  "followersCount": 61681887,
  "followsCount": 171,
  "isVerified": true,
  "isPrivate": false,
  "isMemorialized": false,
  "accountType": "business",
  "category": "Clothing (Brand)",
  "externalUrl": "https://go.zara/newin",
  "bioLinks": [
    { "url": "https://go.zara/newin", "title": "New In" },
    { "url": "https://go.zara/houserules", "title": "House Rules" }
  ],
  "bioMentions": ["zaraman", "zarakids", "zaracare"],
  "bioHashtags": [],
  "pronouns": [],
  "profilePicUrl": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/358807565_255281447246610_5910927613606794914_n.jpg?stp=dst-jpg_s150x150_tt6…",
  "profilePicUrlHd": "https://scontent-fra3-2.cdninstagram.com/v/t51.2885-19/358807565_255281447246610_5910927613606794914_n.jpg?_nc_cat=1…",
  "highlightsCount": 10,
  "hasActiveStory": true,
  "hasClips": true,
  "threadsUsername": "zara",
  "fbid": "17841401132929417",
  "latestPosts": null,
  "latestPostAt": null,
  "avgLikesCount": null,
  "avgCommentsCount": null,
  "scrapedAt": "2026-11-11T07:20:36.986Z"
}
```

### Use cases

- **Creator vetting:** check followers, following, bio, category, account type, verified flag and website of a shortlist of influencers before outreach.
- **Engagement snapshot:** set `latestPosts` to 12 and compare average likes and comments and the date of the latest post across creators.
- **Lead-list enrichment:** paste hundreds of brand handles from a CRM in mixed forms (`@Brand`, URLs, duplicates) and get the website, bio links, category and account type for each, joined back by `query`.
- **Follower tracking:** schedule a daily run on a fixed list to record exact follower and following counts over time; with `latestPosts` 0 each profile needs only 2 requests.
- **Id resolution:** turn numeric user ids from another export into current usernames and full profile rows.

### Limitations

- **No post count, contact details or related profiles.** Instagram does not show the exact number of posts, business email, phone, address, related profiles, join date or country to logged-out visitors, so the actor does not return them.
- **Some accounts are hidden without login.** A few existing accounts (for example `justinbieber`) are not visible to logged-out visitors; they are reported as "not found or not visible without login" and not charged.
- **Private profiles** return all profile fields, but no posts: `latestPosts`, `latestPostAt` and the averages are null.
- **Fields can be empty:** `category` is often null (Instagram sends none for many brands, e.g. natgeo and nasa), as are `fullName`, `biography`, `externalUrl` and `threadsUsername` when the profile has none. `hasActiveStory` can be null, often for private profiles. `likesCount` of a post is null when the owner hides likes; such posts are left out of `avgLikesCount`.
- `highlightsCount` counts only the first page of highlights (up to about 10), so a value around 10 is a lower bound.
- Picture links are signed by Instagram's CDN and expire after a few days — download them if you need to keep them.
- Counts move constantly on big accounts; two runs minutes apart can differ.
- The actor reads Instagram's logged-out web endpoint. If Instagram changes it, the run fails with a clear error instead of returning wrong data.

### Tips and troubleshooting

- **Mixed lists are fine:** usernames, @handles, profile URLs (with `?hl=en`, `/reels/` or `/tagged/`) and numeric ids can sit in one list. A line made only of digits is tried as a username first, then as a user id.
- **0 rows?** Check the log: every skipped line is named with the reason (not found or hidden without login, not a profile URL, invalid characters, duplicate). If every line is invalid, the run fails with an input error naming `usernames`.
- **Fewer rows than lines** is normal when the list has duplicates (`natgeo`, `@NatGeo` and its URL are one profile, one charge) or accounts that do not exist.
- **Keep `latestPosts` at 0** when you only need counts and bio: it saves one request per profile. Posts are included in the price either way.
- **Use `maxItems`** to test on a few profiles before a long list; later lines are not requested.
- **Proxy:** the default Apify datacenter proxy is enough; blocked requests switch to a residential proxy automatically. You can also choose a residential proxy yourself.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/instagram-profile-details-scraper").call(run_input={"usernames": ["natgeo", "@nasa", "https://www.instagram.com/zara/"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/instagram-profile-details-scraper').call({"usernames": ["natgeo", "@nasa", "https://www.instagram.com/zara/"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~instagram-profile-details-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames":["natgeo","@nasa","https://www.instagram.com/zara/"]}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/instagram-profile-details-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/instagram-profile-details-scraper"}}}`. Then ask, for example:

- "Get followers, bio, website and account type of the Instagram profiles natgeo, nasa and zara"
- "Compare average likes and comments over the last 12 posts of @nasa and @taylorswift on Instagram"
- "Find the current Instagram username and follower count for user id 787132"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Do I need an Instagram account or cookies?**<br>
No. The actor reads only what Instagram shows to logged-out visitors. No login, cookies or session are used.

**Can I scrape private Instagram profiles?**<br>
You get the public part of a private profile: counts, bio, links, category, account type and flags, with `isPrivate: true`. Posts of private profiles are not visible, so `latestPosts` is null.

**Can I get the number of posts, email or phone?**<br>
No. Instagram does not show an exact post count or business contact details to logged-out visitors.

**Am I charged for usernames that do not exist?**<br>
No. Not-found and hidden accounts, invalid lines, non-profile URLs, duplicates and failed lookups are free. You pay only for profiles saved to the dataset.

**How is it different from other Instagram profile actors?**<br>
It costs $2.30 per 1,000 profiles on the Free plan, against $2.60–$2.70 for the most used profile scrapers, with latest posts included. Rows are flat, with `avgLikesCount`, `avgCommentsCount` and `latestPostAt` as plain columns, the nested `latestPosts` only when you ask for it, `accountType` as personal, business or creator, bio links with titles, and extra fields such as `threadsUsername`, `hasActiveStory`, `isMemorialized` and `pronouns`. It does not return a post count.

**Is it legal to scrape Instagram profiles?**<br>
The actor collects only public data that Instagram shows to any logged-out visitor, and no personal data beyond that. You are responsible for how you use it: check Instagram's terms and the data-protection laws that apply to you (such as GDPR) before storing or processing data about people.

### Also useful

- [YouTube Channel Scraper](https://apify.com/genial_candlestand/youtube-channel-details-videos-scraper) — vet the same creators on YouTube: subscribers, views, videos, country and links
- [Pinterest Search Scraper](https://apify.com/genial_candlestand/pinterest-search-scraper) — find pins and their authors by keyword, with followers, boards and outbound links
- [YouTube Comments Scraper](https://apify.com/genial_candlestand/youtube-comments-and-replies-scraper) — read audience comments and replies on a creator's videos and Shorts
- [Reddit Scraper](https://apify.com/genial_candlestand/reddit-posts-comments-scraper) — track what people say about a brand or creator in Reddit posts and comments
- [Google Search Scraper](https://apify.com/genial_candlestand/google-search-results-scraper) — find brand websites and social profiles through Google results by keyword

# Actor input Schema

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

Instagram profiles, one per line, in any mix: a username (natgeo), a handle (@natgeo), a profile URL (https://www.instagram.com/natgeo/, also m.instagram.com, with a query such as ?hl=en or a subpath such as /reels/ or /tagged/) or a numeric user id (787132). Case does not matter. Post, reel, story and explore URLs are not profiles: they are skipped with a warning. Duplicates are returned once.

## `latestPosts` (type: `integer`):

How many of the latest posts to add to each public profile (0–50), with likes, comments, date and caption, plus average likes and comments. 0 = profile details only. Private profiles never get posts.

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

Stop after this many profiles are saved. Leave empty to process the whole list.

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

The default Apify datacenter proxy works. A blocked request is retried automatically through a residential proxy.

## Actor input object example

```json
{
  "usernames": [
    "natgeo",
    "@nasa",
    "https://www.instagram.com/zara/"
  ],
  "latestPosts": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with one row per profile

# 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": [
        "natgeo",
        "@nasa",
        "https://www.instagram.com/zara/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/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": [
        "natgeo",
        "@nasa",
        "https://www.instagram.com/zara/",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/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/00bnzY2R2G5MdG4Vw/builds/x5Eq3lnDlbWUpcDIy/openapi.json
