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

✨Exports Instagram profile record with core identity fields, biography, category, canonical external links, optional profile\_summary analytics, Latest\_Posts with pinned markers and direct video download URLs, video\_timeline entries, and related\_profiles 👤Instagram Profile Scraper ✨

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

## Pricing

from $1.30 / 1,000 instagram profiles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Instagram Profile Scraper is a production-ready Apify actor for collecting public Instagram profile data, posts, video post details, related accounts, business metadata, and profile-level counters in one structured export.

### 🧾 Instagram Profile Scraper Input Fields

Instagram Profile Scraper accepts the following actor input fields:

| Field | Type | Required | Description |
|---|---|---|---|
| `username` | array of strings | No | One or more Instagram usernames for Instagram Profile Scraper to resolve and scrape. |
| `instagram_urls` | array | No | One or more Instagram profile URLs for Instagram Profile Scraper to scrape. Request-list `userData` can also carry per-row `source` and `matchedBy` metadata for `profile_summary`. |
| `includeProfileSummary` | boolean | No | When `true`, adds the paid `profile_summary` block with lead-style metrics and provenance-style public fields. |
| `proxyCountry` | string | No | Optional Apify Residential proxy exit country used by Instagram Profile Scraper in actor mode. |

### 🧩 Instagram Profile Scraper Output Blocks

The exported row keeps empty values out of the final output, so some documented fields only appear when Instagram exposes them publicly.

| Block | Main fields in output | What the block gives you |
|---|---|---|
| Request context | `raw`, `type` | The original input and whether the actor resolved it as a username or a URL. |
| Quick profile preview | `Profile Picture`, `Biography`, `Category` | The most useful visible profile details promoted to the top level for fast filtering. |
| Top-level audience counters | `Followers Count`, `Following Count` | Fast-access follower and following counts without opening `profile_summary`. |
| Core profile identity | `profile_id`, `username`, `display_name`, `profile_url`, `biography` | Stable identity fields and the main public profile text. |
| External links | `externalUrl`, `externalUrlShimmed` | The canonical website URL and Instagram linkshim URL. |
| Profile flags and counters | `category_enum`, `business_category_name`, `highlight_reel_count`, `pinned_channels_list_count`, `is_private`, `is_verified`, `is_business_account`, `is_professional_account`, `has_clips`, `show_account_transparency_details`, and related booleans | Public account state, business indicators, visibility flags, and feature availability flags. |
| Optional summary | `profile_summary` | Structured bio links, images, app links, stats, engagement metrics, posting pace, and quality signals. |
| Latest media | `Latest_Posts` | `total_count` plus normalized recent post items. |
| Video media | `video_timeline` | `total_count` plus normalized reel and video items. |
| Related accounts | `related_profiles` | Normalized related profile suggestions. |

### 🧱 Instagram Profile Scraper Top-Level Fields

Instagram Profile Scraper uses the following top-level fields in each dataset row:

| Field | Type | Meaning |
|---|---|---|
| `raw` | string | The exact input value received by Instagram Profile Scraper. |
| `type` | string | Either `username` or `url`. |
| `Profile Picture` | string | Best available profile image URL surfaced at the dataset row top level. |
| `Biography` | string | Public biography text surfaced at the dataset row top level. |
| `Category` | string | Best available public category surfaced at the dataset row top level. |
| `Followers Count` | integer | Exact follower count surfaced at the dataset row top level. |
| `Following Count` | integer | Exact following count surfaced at the dataset row top level. |
| `profile_summary` | object | Optional paid lead-style summary block with analysis-friendly profile metrics plus `profile_pic_url`, `profile_pic_url_hd`, `profile_image_url`, `biography_with_entities`, `externalUrls`, `app_links`, `business_contact_method`, and `stats`. It is emitted after `show_text_post_app_badge` and before `Latest_Posts` when those fields are present. |
| `Latest_Posts` | object | Timeline posts promoted to a top-level nested field. |
| `video_timeline` | object | Video/reel posts promoted to a top-level nested field. |
| `related_profiles` | array | Related accounts promoted to a top-level nested field. |

### 🧮 Instagram Profile Scraper Profile Summary Fields

Instagram Profile Scraper includes an optional derived `profile_summary` block for lead generation, creator discovery, outreach workflows, and quality scoring. Instagram Profile Scraper keeps these fields human-readable while still preserving the flattened raw profile fields alongside them.

`profile_summary` is only returned when `includeProfileSummary` is enabled. Some provenance-style public fields, such as join date or former usernames, are not consistently exposed by Instagram's public no-login profile surfaces. Instagram Profile Scraper returns real values when those fields are present and `N/A` when Instagram does not expose them reliably.

Common `profile_summary` fields returned by Instagram Profile Scraper:

| Field | Type | Meaning |
|---|---|---|
| `Account` | string | Canonical Instagram account URL. |
| `Source` | string | Source label from request metadata when supplied. |
| `Matched By` | string | Match reason from request metadata when supplied. |
| `Full Name` | string | Public display name. |
| `profile_pic_url` | string | Standard profile picture URL when Instagram exposes it. |
| `profile_pic_url_hd` | string | Higher resolution profile picture URL when Instagram exposes it. |
| `profile_image_url` | string | Best available profile image URL chosen by Instagram Profile Scraper. |
| `biography_with_entities` | object | Rich bio structure with entities when present. |
| `app_links` | object | App deep links derived from profile HTML. |
| `business_contact_method` | string | Business contact method. |
| `stats` | object | Follower, following, and post counters. |
| `externalUrls` | array | Structured bio links with `title`, `lynx_url`, `url`, and `link_type`. |
| `Total Posts` | integer | Exact post count when available. |
| `Posts per Month` | integer | Estimated recent posting velocity from sampled timeline posts. |
| `Detected Language` | string | Detected language of profile text. |
| `Country` | string | Business or public country value when Instagram exposes it. |
| `Date Joined` | string | Public join date when Instagram exposes it; otherwise `N/A`. |
| `Date Joined Timestamp` | integer | Public join timestamp when Instagram exposes it; otherwise `N/A`. |
| `Date Verified` | string | Public verification date when Instagram exposes it; otherwise `N/A`. |
| `Date Verified Timestamp` | integer | Public verification timestamp when Instagram exposes it; otherwise `N/A`. |
| `Former Usernames` | array or string | Former public usernames when Instagram exposes them; otherwise `N/A`. |
| `Accounts With Shared Followers` | object or string | Shared-follower data when Instagram exposes it; otherwise `N/A`. |
| `Is Verified` | boolean | Public verification state. |
| `Email` | string | Primary email detected from business profile, bio, or posts. |
| `Email Source` | string | Where the primary email came from. |
| `Email from Posts` | string | Email found in sampled post captions when present. |
| `Phone` | string | Primary phone detected from business profile, bio, or posts. |
| `Phone from Posts` | string | Phone found in sampled post captions when present. |
| `Address` | string | Business address or bio location when Instagram Profile Scraper can derive it. |
| `Avg Engagements` | integer | Average combined likes plus comments across sampled timeline posts. |
| `Avg Likes` | integer | Average likes across sampled timeline posts. |
| `Avg Comments` | integer | Average comments across sampled timeline posts. |
| `Avg Like Rate` | string | Average likes divided by followers as a percentage across sampled posts. |
| `Avg Comment Rate` | string | Average comments divided by followers as a percentage across sampled posts. |
| `Avg ER` | string | Average engagement rate across sampled posts. |
| `Median ER` | string | Median engagement rate across sampled timeline posts. |
| `Comment/Like Ratio` | string | Average comments relative to average likes as a percentage. |
| `Quality` | string | Instagram Profile Scraper quality label derived from recency, engagement, and contact completeness. |
| `Highlights Count` | integer | Public highlight reel count when Instagram exposes it. |
| `Pinned Posts Count` | integer | Number of sampled timeline posts marked as pinned. |
| `Pinned Post Ratio` | string | Pinned posts relative to sampled timeline posts as a percentage. |
| `Recent Posts Sampled` | integer | Number of timeline posts used for summary calculations. |
| `Post Sample Coverage` | string | Sampled timeline posts relative to total post count as a percentage. |
| `Video Posts Sampled` | integer | Number of video/reel items used for summary calculations. |
| `Video Post Ratio` | string | Video posts relative to sampled timeline posts as a percentage. |
| `Related Profiles Count` | integer | Number of related profiles returned in the row. |
| `Reels Count` | integer | Reels/video timeline count when available. |
| `Avg Views` | integer | Average video views across sampled video items. |
| `Median Views` | integer | Median view count across sampled video items. |
| `Views/Followers Ratio` | string | Median views relative to followers as a percentage. |

### 👤 Instagram Profile Scraper Profile Fields

Instagram Profile Scraper keeps the flattened profile fields rich but still focused on public profile data. Instagram Profile Scraper normalizes naming where that makes the export easier to consume.

Empty or null profile fields are omitted from output. If Instagram does not expose a value publicly, the key is not shown in the final dataset row.

Common flattened profile fields returned by Instagram Profile Scraper:

| Field | Type | Meaning |
|---|---|---|
| `profile_id` | string | Instagram numeric profile identifier. |
| `username` | string | Instagram username. |
| `display_name` | string | Public display name. |
| `profile_url` | string | Canonical Instagram profile URL. |
| `biography` | string | Public bio text. |
| `externalUrl` | string | Canonical public website URL. |
| `externalUrlShimmed` | string | Instagram linkshim version of the canonical public website URL. |
| `category_enum` | string | Category enum value when present. |
| `category_name` | string | Public category label. |
| `business_category_name` | string | Business category name when exposed. |
| `overall_category_name` | string | Overall category name when exposed. |
| `highlight_reel_count` | integer | Number of highlight reels. |
| `pinned_channels_list_count` | integer | Count of pinned channels when exposed. |
| `pronouns` | array | Public pronouns if present. |
| `is_private` | boolean | Whether the profile is private. |
| `is_verified` | boolean | Whether the profile is verified. |
| `is_verified_by_mv4b` | boolean | Additional verification flag when present. |
| `is_business_account` | boolean | Business account flag. |
| `is_professional_account` | boolean | Professional account flag. |
| `is_embeds_disabled` | boolean | Whether embeds are disabled. |
| `is_joined_recently` | boolean | Whether Instagram marks the profile as recently joined. |
| `is_regulated_c18` | boolean | Regulated account flag when present. |
| `country` | string | Public country value when Instagram exposes it. |
| `date_joined` | string | Public account join date when Instagram exposes it. |
| `date_joined_as_timestamp` | integer | Public account join timestamp when Instagram exposes it. |
| `date_verified` | string | Public verification date when Instagram exposes it. |
| `date_verified_as_timestamp` | integer | Public verification timestamp when Instagram exposes it. |
| `former_usernames` | array | Former public usernames when Instagram exposes them. |
| `accounts_with_shared_followers` | object | Shared-follower data when Instagram exposes it. |
| `business_email` | string | Business email when exposed publicly. |
| `business_phone_number` | string | Business phone number when exposed publicly. |
| `business_address` | object | Structured business address when present. |
| `should_show_category` | boolean | Whether Instagram indicates the category should be shown. |
| `should_show_public_contacts` | boolean | Whether public contacts should be shown. |
| `show_account_transparency_details` | boolean | Account transparency visibility flag. |
| `transparency_label` | string | Transparency label when present. |
| `transparency_product` | string | Transparency product value when present. |
| `hide_like_and_view_counts` | boolean | Whether the profile hides like and view counts. |
| `has_ar_effects` | boolean | AR effects availability flag. |
| `has_channel` | boolean | Channel availability flag. |
| `has_clips` | boolean | Clips availability flag. |
| `has_guides` | boolean | Guides availability flag. |
| `has_onboarded_to_text_post_app` | boolean | Threads/text-post onboarding flag when exposed. |
| `show_text_post_app_badge` | boolean | Threads/text-post badge visibility. |
| `fb_profile_biolink` | string | Facebook biolink when exposed. |
| `ai_agent_owner_username` | string | AI agent owner username when exposed. |
| `ai_agent_type` | string | AI agent type when exposed. |
| `Latest_Posts` | object | Main profile grid exported by Instagram Profile Scraper. |
| `video_timeline` | object | Video timeline exported by Instagram Profile Scraper when present. |
| `related_profiles` | array | Related account suggestions returned by Instagram. |

### 🖼️ Instagram Profile Scraper Media Fields

Instagram Profile Scraper exports `Latest_Posts` and `video_timeline` using the same normalized layout. Instagram Profile Scraper keeps media rows ordered and easy to analyze.

| Field | Type | Meaning |
|---|---|---|
| `total_count` | integer | Total number of items in that collection. |
| `items` | array | Ordered media rows exported by Instagram Profile Scraper. |

Common media item fields returned by Instagram Profile Scraper:

| Field | Type | Meaning |
|---|---|---|
| `id` | string | Media id. |
| `shortcode` | string | Instagram shortcode. |
| `type` | string | Instagram typename such as `GraphImage` or `GraphVideo`. |
| `post_url` | string | Direct Instagram post URL. |
| `is_pinned` | boolean | Clear pinned-post flag added by Instagram Profile Scraper. |
| `pinned_for_users` | array | Profiles for which Instagram marks the post as pinned. |
| `display_url` | string | Main display image URL. |
| `thumbnail_src` | string | Thumbnail image URL. |
| `thumbnail_tall_src` | string | Tall thumbnail image URL when present. |
| `dimensions` | object | Width and height metadata. |
| `is_video` | boolean | Whether the media item is a video. |
| `caption` | string | Caption text. |
| `accessibility_caption` | string | Accessibility caption text. |
| `comments_count` | integer | Comment count. |
| `likes_count` | integer | Like count. |
| `taken_at_timestamp` | integer | Post timestamp. |
| `comments_disabled` | boolean | Comments disabled flag. |
| `like_and_view_counts_disabled` | boolean | Counts disabled flag. |
| `viewer_can_reshare` | boolean | Viewer reshare flag when exposed. |
| `has_upcoming_event` | boolean | Upcoming event flag. |
| `location` | object | Location metadata. |
| `owner` | object | Minimal owner info. |
| `tagged_users` | array | Tagged user references. |
| `coauthor_producers` | array | Co-author metadata. |
| `children_media` | array | Sidecar/carousel child media rows. |
| `thumbnail_resources` | array | Thumbnail candidates. |

### 🎬 Instagram Profile Scraper Video Fields

Instagram Profile Scraper includes direct video delivery fields when Instagram exposes them. Instagram Profile Scraper keeps only the useful download field instead of duplicating the same value under multiple names.

Video-specific media fields exported by Instagram Profile Scraper:

| Field | Type | Meaning |
|---|---|---|
| `video_download_url` | string | Direct CDN video URL suitable for download workflows. |
| `video_view_count` | integer | Video view count. |
| `has_audio` | boolean | Whether the video has audio. |
| `product_type` | string | Video product type such as clips or feed video. |
| `dash_info` | object | DASH playback metadata when exposed. |
| `clips_music_attribution_info` | object | Clips music attribution metadata. |
| `media_preview` | string | Media preview payload when returned by Instagram. |
| `sharing_friction_info` | object | Sharing friction metadata. |
| `media_overlay_info` | object | Overlay metadata. |
| `gating_info` | object | Gating metadata. |
| `fact_check_information` | object | Fact-check metadata when present. |
| `fact_check_overall_rating` | mixed | Fact-check overall rating. |
| `nft_asset_info` | object | NFT metadata when exposed. |
| `parent_author_attribute` | mixed | Parent author attribute when exposed. |
| `felix_profile_grid_crop` | object | Grid crop metadata when present. |
| `tall_profile_grid_crop` | object | Tall grid crop metadata when present. |
| `profile_grid_thumbnail_fitting_style` | string | Thumbnail fitting mode. |

### 🤝 Instagram Profile Scraper Related Profiles Fields

Instagram Profile Scraper exports `related_profiles` as a clean array of normalized account objects.

| Field | Type | Meaning |
|---|---|---|
| `id` | string | Related profile id. |
| `username` | string | Related username. |
| `display_name` | string | Related display name. |
| `profile_url` | string | Related profile URL. |
| `profile_pic_url` | string | Related profile picture URL. |
| `is_private` | boolean | Related private-profile flag. |
| `is_verified` | boolean | Related verified flag. |

### 🎯 Instagram Profile Scraper Good Use Cases

Instagram Profile Scraper is a strong fit for:

- 📈 profile intelligence workflows
- 📰 public brand monitoring
- 🎬 post and video cataloging
- 📦 structured dataset exports
- 🤖 automation pipelines
- 🧪 QA validation of public profile pages
- 🛍️ competitive research on visible profile metadata

# Actor input Schema

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

📥 One or more Instagram usernames such as nba or natgeo.
## `instagram_urls` (type: `array`):

🌐 One or more Instagram profile URLs such as https://www.instagram.com/nba/. You can also provide request-list userData with source and matchedBy values for per-row summary metadata.
## `includeProfileSummary` (type: `boolean`):

💸 Turn on the lead-style profile_summary block. This adds extra output fields and triggers one additional pay-per-event summary charge for each row where the add-on is included in output.
## `proxyCountry` (type: `string`):

🛰️ Choose the Apify Residential proxy exit country for Instagram requests. US is the recommended default for the broadest public coverage.

## Actor input object example

```json
{
  "username": [
    "nba"
  ],
  "instagram_urls": [
    {
      "url": "https://www.instagram.com/nba/"
    }
  ],
  "includeProfileSummary": false,
  "proxyCountry": "US"
}
````

# 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": [
        "nba"
    ],
    "instagram_urls": [
        {
            "url": "https://www.instagram.com/nba/"
        }
    ],
    "proxyCountry": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("premiumscraper/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": ["nba"],
    "instagram_urls": [{ "url": "https://www.instagram.com/nba/" }],
    "proxyCountry": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("premiumscraper/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": [
    "nba"
  ],
  "instagram_urls": [
    {
      "url": "https://www.instagram.com/nba/"
    }
  ],
  "proxyCountry": "US"
}' |
apify call premiumscraper/instagram-profile-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Profile Scraper 👤",
        "description": "✨Exports Instagram profile record with core identity fields, biography, category, canonical external links, optional profile_summary analytics, Latest_Posts with pinned markers and direct video download URLs, video_timeline entries, and related_profiles 👤Instagram Profile Scraper ✨",
        "version": "1.0",
        "x-build-id": "s2UVdObvuM04diG1x"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/premiumscraper~instagram-profile-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-premiumscraper-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/premiumscraper~instagram-profile-scraper/runs": {
            "post": {
                "operationId": "runs-sync-premiumscraper-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/premiumscraper~instagram-profile-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-premiumscraper-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",
                "properties": {
                    "username": {
                        "title": "👤 Instagram Username(s)",
                        "type": "array",
                        "description": "📥 One or more Instagram usernames such as nba or natgeo.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "instagram_urls": {
                        "title": "🔗 Instagram Profile URL(s)",
                        "type": "array",
                        "description": "🌐 One or more Instagram profile URLs such as https://www.instagram.com/nba/. You can also provide request-list userData with source and matchedBy values for per-row summary metadata.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "includeProfileSummary": {
                        "title": "📊 Include Profile Summary Add-On",
                        "type": "boolean",
                        "description": "💸 Turn on the lead-style profile_summary block. This adds extra output fields and triggers one additional pay-per-event summary charge for each row where the add-on is included in output.",
                        "default": false
                    },
                    "proxyCountry": {
                        "title": "🌍 Proxy Country",
                        "enum": [
                            "US",
                            "GB",
                            "AU",
                            "CA",
                            "DE",
                            "FR",
                            "NL",
                            "IT",
                            "ES",
                            "SE",
                            "NO",
                            "DK",
                            "FI",
                            "BE",
                            "AT",
                            "CH",
                            "IE",
                            "PL",
                            "PT",
                            "CZ",
                            "HU",
                            "RO",
                            "GR",
                            "BG",
                            "HR",
                            "SK",
                            "RS",
                            "JP",
                            "KR",
                            "SG",
                            "HK",
                            "TW",
                            "TH",
                            "MY",
                            "ID",
                            "PH",
                            "VN",
                            "IN",
                            "BR",
                            "MX",
                            "AR",
                            "CL",
                            "CO",
                            "PE",
                            "ZA",
                            "NG",
                            "KE",
                            "EG",
                            "SA",
                            "AE",
                            "TR",
                            "IL",
                            "UA",
                            "RU",
                            "BY"
                        ],
                        "type": "string",
                        "description": "🛰️ Choose the Apify Residential proxy exit country for Instagram requests. US is the recommended default for the broadest public coverage.",
                        "default": "US"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
