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

Effortlessly scrape detailed Instagram profile data with this powerful Actor. Extract follower counts, bios, post stats, and more from multiple profiles. Perfect for influencer research, competitor analysis, and social media insights. Fast, reliable, and customizable.

- **URL**: https://apify.com/easyapi/instagram-profile-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 321 total users, 5 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 📸

### 🚀 Effortlessly Extract Instagram Profile Data

This powerful Actor allows you to scrape detailed information from Instagram user profiles quickly and efficiently. Perfect for social media analysis, influencer research, or keeping track of competitor profiles.

#### 🌟 Key Features

- **Multi-Profile Scraping**: Scrape data from multiple Instagram profiles in a single run
- **Detailed User Information**: Collect comprehensive profile data including follower count, following count, bio, and more
- **Fast and Efficient**: Optimized for speed and reliability

#### 📊 Data Points Collected

- Username
- Full Name
- Biography
- Profile Picture URL
- Follower Count
- Following Count
- Post Count
- Verification Status
- Account Type
- External URL
- And much more!

#### 💡 Use Cases

- Influencer Marketing Research
- Competitive Analysis
- Social Media Monitoring
- User Behavior Studies
- Content Strategy Planning

### 🛠 Input Configuration

Customize your scraping job with these input parameters:

- `usernames`: Array of Instagram usernames to scrape

Get started with Instagram Profile Scraper today and unlock valuable insights from Instagram profiles! 🔍✨

#### Input Example

A full explanation of an input example in JSON.

```
{
    "usernames": [
        "ronaldo",
        "davidbeckham"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
	{
		"friendship_status": {
			"following": true,
			"blocking": false,
			"is_feed_favorite": false,
			"outgoing_request": false,
			"followed_by": false,
			"incoming_request": false,
			"is_restricted": false,
			"is_bestie": false,
			"muting": false,
			"is_muting_reel": false
		},
		"full_name": "Ronaldo",
		"gating": null,
		"is_checkpoint_memorialized": false,
		"is_private": false,
		"has_story_archive": null,
		"username": "ronaldo",
		"supervision_info": null,
		"is_regulated_c18": false,
		"regulated_news_in_locations": [],
		"bio_links": [],
		"text_post_app_badge_label": null,
		"show_text_post_app_badge": false,
		"text_post_new_post_count": null,
		"pk": "5749522",
		"live_broadcast_visibility": null,
		"live_broadcast_id": null,
		"profile_pic_url": "https://scontent-ams4-1.cdninstagram.com/v/t51.2885-19/106251038_1135435290168116_7192578999918897247_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent-ams4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=vk2G0advwSkQ7kNvgFO0Grp&_nc_gid=7d245821996d4be38e8ffa5bbeb63a68&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AYBzpokK0o_u_KruBxZ6lFUjbJj8OYKzTK0XlID064ErTg&oe=67198BB8&_nc_sid=7d3ac5",
		"hd_profile_pic_url_info": {
			"url": "https://scontent-ams4-1.cdninstagram.com/v/t51.2885-19/106251038_1135435290168116_7192578999918897247_n.jpg?_nc_ht=scontent-ams4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=vk2G0advwSkQ7kNvgFO0Grp&_nc_gid=7d245821996d4be38e8ffa5bbeb63a68&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AYAOGSFNkqJM1Jr3RYlZwBaqY7vOzE17wd17n8A4beVZUg&oe=67198BB8&_nc_sid=7d3ac5"
		},
		"is_unpublished": false,
		"latest_reel_media": 1729290214,
		"has_profile_pic": null,
		"account_type": 3,
		"follower_count": 29756396,
		"is_verified": true,
		"mutual_followers_count": 1,
		"profile_context_links_with_user_ids": [
			{
				"username": "sebastianingrosso",
				"id": null
			}
		],
		"address_street": "",
		"city_name": "",
		"is_business": false,
		"zip": "",
		"biography_with_entities": {
			"entities": []
		},
		"category": "Entrepreneur",
		"should_show_category": false,
		"account_badges": [],
		"ai_agent_type": null,
		"fb_profile_bio_link_web": null,
		"external_lynx_url": null,
		"external_url": "",
		"pronouns": [],
		"biography": "facebook.com/ronaldo\nx.com/ronaldo",
		"transparency_label": null,
		"transparency_product": null,
		"has_chaining": true,
		"remove_message_entrypoint": false,
		"fbid_v2": "17841401605660089",
		"interop_messaging_user_fbid": "102515161148673",
		"show_account_transparency_details": true,
		"is_embeds_disabled": false,
		"is_professional_account": null,
		"following_count": 2708,
		"media_count": 1478,
		"total_clips_count": 1,
		"latest_besties_reel_media": 0,
		"reel_media_seen_timestamp": 1729272199,
		"id": "5749522"
	},
	{
		"friendship_status": {
			"following": false,
			"blocking": false,
			"is_feed_favorite": false,
			"outgoing_request": false,
			"followed_by": false,
			"incoming_request": false,
			"is_restricted": false,
			"is_bestie": false,
			"muting": false,
			"is_muting_reel": false
		},
		"full_name": "David Beckham",
		"gating": null,
		"is_checkpoint_memorialized": false,
		"is_private": false,
		"has_story_archive": null,
		"username": "davidbeckham",
		"supervision_info": null,
		"is_regulated_c18": false,
		"regulated_news_in_locations": [],
		"bio_links": [
			{
				"image_url": "",
				"is_pinned": false,
				"link_type": "external",
				"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Funi.cf%2FUNICEFemergencies%3Ffbclid%3DPAZXh0bgNhZW0CMTEAAab9SU_7xfkCEr-TRDIRWckXeAaXB4qmA-Zy0peTZxaBlbDrUcojj9RhKvs_aem_M_Y5p5uxEAtHoRdrPMvDNA&e=AT3WjkurrTiZHU8nV3XiZE7l-HKRkIQ0KFzKPCaFm1AlG4zqrHKcAP1OwlN6Ary-3ep_-M2x8c0tiA4sy5VjlzYZ5OH2pFLPEJ5ca5JKIO6JXu36fir2iQ",
				"title": "",
				"url": "http://uni.cf/UNICEFemergencies"
			}
		],
		"text_post_app_badge_label": null,
		"show_text_post_app_badge": null,
		"text_post_new_post_count": null,
		"pk": "186904952",
		"live_broadcast_visibility": null,
		"live_broadcast_id": null,
		"profile_pic_url": "https://scontent-ams4-1.cdninstagram.com/v/t51.2885-19/273510256_3196360260653075_2203279711336559894_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent-ams4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=wW3_YsvziEMQ7kNvgGZwqze&_nc_gid=8f46c97547a9442593d4ae5fbd784f31&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AYDCNMDmyhUw8yTqxrrvMKgCkpHLocwraxEodRt4lU91wQ&oe=6719819B&_nc_sid=7d3ac5",
		"hd_profile_pic_url_info": {
			"url": "https://scontent-ams4-1.cdninstagram.com/v/t51.2885-19/273510256_3196360260653075_2203279711336559894_n.jpg?_nc_ht=scontent-ams4-1.cdninstagram.com&_nc_cat=1&_nc_ohc=wW3_YsvziEMQ7kNvgGZwqze&_nc_gid=8f46c97547a9442593d4ae5fbd784f31&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AYBH1JdXIRPxyqB3Qa8NnUbHNNqOyxg9QlYu2sCbsmDm6g&oe=6719819B&_nc_sid=7d3ac5"
		},
		"is_unpublished": false,
		"latest_reel_media": 1729293627,
		"has_profile_pic": null,
		"account_type": 3,
		"follower_count": 88493008,
		"is_verified": true,
		"mutual_followers_count": 2,
		"profile_context_links_with_user_ids": [
			{
				"username": "sebastianingrosso",
				"id": null
			},
			{
				"username": "ronaldo",
				"id": null
			}
		],
		"address_street": "",
		"city_name": "",
		"is_business": false,
		"zip": "",
		"biography_with_entities": {
			"entities": []
		},
		"category": "Public figure",
		"should_show_category": false,
		"account_badges": [],
		"ai_agent_type": null,
		"fb_profile_bio_link_web": null,
		"external_lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Funi.cf%2FUNICEFemergencies%3Ffbclid%3DPAZXh0bgNhZW0CMTEAAab9SU_7xfkCEr-TRDIRWckXeAaXB4qmA-Zy0peTZxaBlbDrUcojj9RhKvs_aem_M_Y5p5uxEAtHoRdrPMvDNA&e=AT3WjkurrTiZHU8nV3XiZE7l-HKRkIQ0KFzKPCaFm1AlG4zqrHKcAP1OwlN6Ary-3ep_-M2x8c0tiA4sy5VjlzYZ5OH2pFLPEJ5ca5JKIO6JXu36fir2iQ",
		"external_url": "http://uni.cf/UNICEFemergencies",
		"pronouns": [],
		"biography": "Freedom to Dream",
		"transparency_label": null,
		"transparency_product": null,
		"has_chaining": true,
		"remove_message_entrypoint": false,
		"fbid_v2": "17841400748562920",
		"interop_messaging_user_fbid": "107625600633987",
		"show_account_transparency_details": true,
		"is_embeds_disabled": false,
		"is_professional_account": null,
		"following_count": 627,
		"media_count": 1929,
		"total_clips_count": 1,
		"latest_besties_reel_media": 0,
		"reel_media_seen_timestamp": null,
		"id": "186904952"
	},
    ...
]
```

# Actor input Schema

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

List of Instagram usernames to scrape

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

Maximum number of items to scrape per profile (optional)

## Actor input object example

```json
{
  "usernames": [
    "davidbeckham"
  ],
  "maxItems": 1000
}
```

# 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("easyapi/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 = {}

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

```

## MCP server setup

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