# Instagram Profile Scraper (`vistics/instagram-profile-scraper`) Actor

Scrape all Instagram profile info. Just add Instagram usernames and extract name, join date, number of followers, location, bio, website, related profiles, video\&post count, latest posts. Export scraped data, schedule scraper via API, and integrate with other tools or AI workflows.

- **URL**: https://apify.com/vistics/instagram-profile-scraper.md
- **Developed by:** [Ilong Mamman](https://apify.com/vistics) (community)
- **Categories:** Social media, Integrations, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Instagram Profile Scraper | Extract Instagram Profile Data at Scale

Scrape full Instagram profile data — followers, posts, bio, related profiles, IGTV videos and the latest posts feed — from any public Instagram profile. No login, no browser automation, no blocks. Just paste a profile Username or handle and get clean structured JSON in seconds.

⭐ Fast & Reliable | 🔒 Public Profile Data | 📦 Bulk Profile Support

---

### What Is This Actor?

This Apify actor extracts **Instagram profile data** from any public Instagram account via the Scraper. It normalises the raw GraphQL profile payload into a flat, Apify-friendly schema so you can immediately plug it into spreadsheets, dashboards or downstream pipelines.

Whether you need to enrich a single creator profile or batch-scrape hundreds of competitors, this scraper handles it with zero manual effort.

---

### What Data Can You Extract?

| Field                  | Description                                                                |
| ---------------------- | -------------------------------------------------------------------------- |
| `inputUrl`             | The URL/handle you provided as input                                       |
| `url`                  | The canonical Instagram profile URL                                        |
| `username`             | Instagram username (handle)                                                |
| `fullName`             | Display name on the profile                                                |
| `biography`            | Profile bio text                                                           |
| `followersCount`       | Number of followers                                                        |
| `followsCount`         | Number of accounts the user follows                                        |
| `postsCount`           | Total number of posts                                                      |
| `igtvVideoCount`       | Number of IGTV videos                                                      |
| `highlightReelCount`   | Number of story highlights                                                 |
| `verified`             | Whether the account has a blue verified badge                              |
| `private`              | Whether the account is private                                             |
| `isBusinessAccount`    | Whether the account is a business account                                  |
| `joinedRecently`       | Whether the account was created recently                                   |
| `businessCategoryName` | Business / professional category (if available)                            |
| `externalUrl`          | Primary external link in the bio                                           |
| `externalUrlShimmed`   | Instagram-shimmed (link-tracked) version of the external URL               |
| `externalUrls`         | All external bio link URLs                                                 |
| `bioLinks`             | Full bio link objects (title, url, lynx_url, link_type)                    |
| `profilePicUrl`        | Standard resolution profile picture                                        |
| `profilePicUrlHD`      | High resolution profile picture                                            |
| `id`                   | Instagram numeric user ID                                                  |
| `fbid`                 | Facebook ID linked to the account                                          |
| `pronouns`             | Pronouns listed on the profile                                             |
| `latestIgtvVideos`     | Latest IGTV videos with captions, thumbnails, view counts and tagged users |
| `latestPosts`          | Latest feed posts (reels/clips/photos) with captions and engagement counts |
| `relatedProfiles`      | Suggested / related Instagram accounts                                     |

---

### Use Cases

- 👥 **Influencer Research** — Vet creators by followers, engagement, business category and recent content
- 📊 **Competitor Analysis** — Track competitor follower growth, posting cadence and top-performing content
- 🤖 **AI & NLP Pipelines** — Feed real captions and bios into sentiment analysis or LLM fine-tuning
- 📣 **Marketing & Outreach** — Build curated lists of niche creators with verified contact data
- 🔍 **E-commerce Due Diligence** — Verify a brand's social proof before partnership or investment
- 📈 **Audience Monitoring** — Track your own profile's stats and recent post performance over time

---

### Input Parameters

| Parameter            | Type  | Description                                  | Default    |
| -------------------- | ----- | -------------------------------------------- | ---------- |
| `Instagram Username` | Array | List of Instagram profile URLs (e.g. `jane`) | _Required_ |

>

---

### How to Use

#### 1. Single Profile

```json
{
  "Instagram Username": ["jane"]
}
````

#### 2. Multiple Profiles

```json
{
  "Instagram Username": ["jane", "nasa", "instagram"]
}
```

***

### Output Example

```json
{
  "inputUrl": "https://www.instagram.com/jane/",
  "url": "https://www.instagram.com/jane/",
  "username": "jane",
  "fullName": "Jane Williamson",
  "biography": "THE Utah Mom\nmostly making fun of myself\nFounder @drinksteamy",
  "followersCount": 1937389,
  "followsCount": 946,
  "postsCount": 1726,
  "igtvVideoCount": 3,
  "highlightReelCount": 24,
  "verified": true,
  "private": false,
  "isBusinessAccount": false,
  "joinedRecently": false,
  "businessCategoryName": null,
  "externalUrl": "http://linktr.ee/janeinsane",
  "externalUrlShimmed": "https://l.instagram.com/?u=http%3A%2F%2Flinktr.ee%2Fjaneinsane&...",
  "externalUrls": ["http://linktr.ee/janeinsane", "http://drinksteamy.com"],
  "bioLinks": [
    {
      "title": "Link tree (shop my outfits)",
      "lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Flinktr.ee%2Fjaneinsane&...",
      "url": "http://linktr.ee/janeinsane",
      "link_type": "external"
    }
  ],
  "profilePicUrl": "https://scontent.cdninstagram.com/...",
  "profilePicUrlHD": "https://scontent.cdninstagram.com/...",
  "id": "21393171",
  "fbid": "17841400515130334",
  "pronouns": [],
  "latestIgtvVideos": [
    {
      "type": "Video",
      "shortCode": "Cbajqt5DrE6",
      "url": "https://www.instagram.com/p/Cbajqt5DrE6/",
      "caption": "Immediately asleep😂 ...",
      "likesCount": 2714,
      "commentsCount": 19,
      "videoViewCount": 175866,
      "videoDuration": 121.433,
      "timestamp": "2022-03-22T17:47:30.000Z"
    }
  ],
  "latestPosts": [
    {
      "type": "Video",
      "shortCode": "DYfnOs4yLVm",
      "url": "https://www.instagram.com/p/DYfnOs4yLVm/",
      "caption": "That's a great question. Let's break it down👹",
      "hashtags": ["pov", "chat", "chatgpt", "momhumor", "momlife"],
      "mentions": [],
      "likesCount": 45835,
      "commentsCount": 415,
      "videoViewCount": 511767,
      "timestamp": "2026-05-18T20:50:39.000Z",
      "productType": "clips"
    }
  ],
  "relatedProfiles": [
    {
      "id": "207886477",
      "full_name": "Sarah Beeston",
      "is_private": false,
      "is_verified": true,
      "profile_pic_url": "https://scontent.cdninstagram.com/...",
      "username": "sarah_bee"
    }
  ]
}
```

### FAQ

**Can I scrape multiple profiles at once?**
Yes — add multiple URLs or handles to the `startUrls` array. Each profile is processed sequentially with a short delay to avoid rate limiting.

**Does this work for private profiles?**
The API returns metadata (bio, follower counts, profile picture) for private profiles, but `latestPosts` and `latestIgtvVideos` will be empty since their content is not publicly visible.

**What does `joinedRecently` mean?**
Instagram flags accounts created within roughly the last few months. Useful for spotting throwaway or freshly-created accounts.

***

### Need Help?

Open an issue on the Apify platform or email: **vistics99@gmail.com** — we respond within 24 hours. ⚡

# Actor input Schema

## `username` (type: `array`):

List of Instagram profile username or handle (e.g. jane)

## Actor input object example

```json
{
  "username": [
    "jane"
  ]
}
```

# 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 = {
    "username": [
        "jane"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vistics/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 = { "username": ["jane"] }

# Run the Actor and wait for it to finish
run = client.actor("vistics/instagram-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "username": [
    "jane"
  ]
}' |
apify call vistics/instagram-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=vistics/instagram-profile-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Profile Scraper",
        "description": "Scrape all Instagram profile info. Just add Instagram usernames and extract name, join date, number of followers, location, bio, website, related profiles, video&post count, latest posts. Export scraped data, schedule scraper via API, and integrate with other tools or AI workflows.",
        "version": "0.0",
        "x-build-id": "Pn7ZhC6ZNdpWQkcrx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/vistics~instagram-profile-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-vistics-instagram-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/vistics~instagram-profile-scraper/runs": {
            "post": {
                "operationId": "runs-sync-vistics-instagram-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/vistics~instagram-profile-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-vistics-instagram-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "username"
                ],
                "properties": {
                    "username": {
                        "title": "Instagram username or handle",
                        "type": "array",
                        "description": "List of Instagram profile username or handle (e.g. jane)",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
