# Instagram Profile Scraper (Bio & Posts) (`coderx/instagram-profile-scraper-bio-posts`) Actor

Instagram Profile Insights Scraper is a lightweight tool that collects detailed public data from a list of Instagram usernames. It fetches profile info and recent posts to help you analyze accounts at scale.

- **URL**: https://apify.com/coderx/instagram-profile-scraper-bio-posts.md
- **Developed by:** [CoderX](https://apify.com/coderx) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 6,725 total users, 474 monthly users, 100.0% runs succeeded, 86 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.50 / 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.
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 Public Profile Scraper

### 📌 Overview

The **Instagram Public Profile Scraper** is a powerful and lightweight tool for extracting public profile data from Instagram without requiring login or cookies. Simply provide a list of usernames and receive structured JSON output with all available public information — including biography entities, profile pictures, and the most recent posts.

### 🚀 Features

- No login or cookies required ✅
- Scrapes public Instagram profile data
- Returns structured user details including bio, followers, and latest posts
- Supports batch input of usernames
- Fast and scalable for automation, research, and analytics

### 🔧 How It Works

1. Provide a list of public Instagram usernames.
2. The scraper fetches public profile information for each one.
3. Data is returned as clean, structured JSON.

### 📥 Input Parameters

| Parameter   | Type  | Description                                |
| ----------- | ----- | ------------------------------------------ |
| `usernames` | Array | List of public Instagram usernames to fetch |

### 🔐 Usage Limits

| Plan | Daily Profile Limit |
|------|-------------------|
| FREE | 20 profiles/day |
| Paid | Unlimited ✅ |

> Upgrade to a paid plan to remove the daily limit and scrape without restrictions.

#### Example Input:

```json
{
  "usernames": ["cristiano", "nasa", "bethfiit"]
}
```

### 📤 Output Data

For each username, the scraper returns a rich set of public information:

#### 🧑‍💼 Profile Fields

| Field                          | Description                                                  |
|--------------------------------|--------------------------------------------------------------|
| `id`                           | Instagram internal user ID                                   |
| `username`                     | Instagram handle                                             |
| `fullName`                     | User's display name                                          |
| `profilePicUrl`                | URL to the low-resolution profile picture                    |
| `hdProfilePicUrl`              | URL to the high-resolution profile picture                   |
| `biography`                    | Raw bio text                                                 |
| `biography_with_entities`      | Bio text with detected mentions and hashtags (structured)    |
| `external_url`                 | Primary link in bio                                          |
| `externalUrlShimmed`           | Shimmed/tracked version of the external URL                  |
| `externalUrls`                 | List of structured external links (title, resolved URL)      |
| `fbid`                         | Facebook ID tied to the Instagram account                    |
| `followersCount`               | Number of followers                                          |
| `followsCount`                 | Number of accounts followed                                  |
| `postsCount`                   | Total number of posts                                        |
| `verified`                     | Boolean — whether the account is verified                    |
| `private`                      | Boolean — whether the account is private                     |
| `isBusinessAccount`            | Boolean — business account or not                            |
| `is_professional_account`      | Boolean — whether the account is a professional account      |
| `businessCategoryName`         | Category (e.g. "Writer") if business profile                 |
| `business_address_json`        | JSON string of business address info                         |
| `should_show_public_contacts`  | Boolean — whether public contact info is shown               |
| `has_channel`                  | Whether the user has a video channel                         |
| `has_clips`                    | Whether the user has Reels/Clips content                     |
| `highlight_reel_count`         | Number of story highlights                                   |
| `hide_like_and_view_counts`    | Boolean — whether like and view counts are hidden            |
| `is_joined_recently`           | Boolean flag for recently joined accounts                    |
| `latestPosts`                  | List of extracted recent post objects                        |

***

#### 🖼️ Recent Posts (`latestPosts`)

Up to the latest 12 public posts:

| Field             | Description                                                  |
|------------------|--------------------------------------------------------------|
| `id`             | Unique media ID                                              |
| `shortCode`      | Instagram shortcode used in URLs                             |
| `url`            | Direct link to the post                                      |
| `caption`        | Text caption for the post                                    |
| `commentsCount`  | Number of comments                                           |
| `likesCount`     | Number of likes                                              |
| `timestamp`      | Date and time of post                                        |
| `mediaType`      | Type (e.g. GraphImage, GraphVideo, GraphSidecar)             |
| `productType`    | Format (e.g. clips, feed, story — if available)              |
| `displayUrl`     | Preview image/video link                                     |
| `alt`            | Accessibility caption (if available)                         |
| `dimensionsHeight` / `dimensionsWidth` | Dimensions of the image/video           |
| `is_video`       | Boolean — whether it's a video                               |
| `locationName`   | If a location is tagged                                      |
| `ownerUsername`  | Username of the post owner                                   |
| `ownerId`        | ID of the post owner                                         |

***

#### 📦 Example Output

```json
{
    "id": "16120980177",
    "username": "bethfiit",
    "fullName": "Beth Eleanor Croome",
    "biography": "Romantasy author⚔️💞\nREIGN is coming fall 2026! ⛈️⬇️",
    "biography_with_entities": {
      "raw_text": "Romantasy author⚔️💞\nREIGN is coming fall 2026! ⛈️⬇️",
      "entities": []
    },
    "fbid": "17841416205315122",
    "has_channel": false,
    "highlight_reel_count": 6,
    "externalUrls": [
      {
        "title": "B eleanor links ❤️",
        "lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Flinktr.ee%2Fb.eleanor&e=AUCdtbeJ7V6DSpQpV4ebb8q9hYVs3trUiABM-p0MLhke3XzgtULvKmXDYmSMjGOS_PoLzjIEmnro4ua_Mxhp0jfA902WJcWe",
        "url": "https://linktr.ee/b.eleanor",
        "link_type": "external"
      }
    ],
    "external_url": "https://linktr.ee/b.eleanor",
    "externalUrlShimmed": "https://l.instagram.com/?u=https%3A%2F%2Flinktr.ee%2Fb.eleanor&e=AUB3AzbexPm0v7ufvV23hWqx0POz0GdT2uZc9XQ6mUOo-wCoDDBUGlR3w-epjWCL01xA1P8189fEfKktqs22vv-a5Fo9Tysq",
    "followersCount": 2331799,
    "followsCount": 1061,
    "isBusinessAccount": false,
    "is_professional_account": true,
    "business_address_json": null,
    "businessCategoryName": null,
    "private": false,
    "verified": true,
    "should_show_public_contacts": true,
    "is_joined_recently": false,
    "has_clips": true,
    "hide_like_and_view_counts": false,
    "profilePicUrl": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.82787-19/520167967_18108204700540178_9140165232840203243_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=wqXxlG39h2AQ7kNvwGOavHI&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4aLwnHCXCP0nS9zoGw68T44iNxK78NEnco7FFgpbK3oA&oe=69FAD9DD&_nc_sid=8b3546",
    "hdProfilePicUrl": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.82787-19/520167967_18108204700540178_9140165232840203243_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=wqXxlG39h2AQ7kNvwGOavHI&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af7xDlmWy_yR1cl9lXxlYJ0MIeKZoxb5yFL-jEYvPALBMA&oe=69FAD9DD&_nc_sid=8b3546",
    "postsCount": 246,
    "latestPosts": [
      {
        "id": "3836178156772420389",
        "productType": null,
        "mediaType": "GraphSidecar",
        "shortCode": "DU817VpiGsl",
        "url": "https://www.instagram.com/p/DU817VpiGsl",
        "caption": "REIGN cover reveal! ⚔️ ⛈️\n\nYou may have already seen the cover reveal and read the exclusive excerpt over on the @cosmopolitan website. But in case you missed it, here is the beautiful cover and edges for my debut romantasy Reign! 🏰\n\nOfficially hitting shelves on September 1st, but you can preorder now! 📚 (linked in my bio, or look for Reign by Bethan Croome on your fav bookseller site) 🌊✨",
        "commentsCount": 138,
        "dimensionsHeight": 1346,
        "dimensionsWidth": 1080,
        "displayUrl": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.82787-15/639700695_18129965743540178_26858515502821583_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=FhHN9Uc31FAQ7kNvwHfw9ti&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4nI79CU5XaUXcmsFCn6EXS9UbXi9UWfttPWyvKWdBIig&oe=69FAE607&_nc_sid=8b3546",
        "alt": null,
        "location": null,
        "locationName": null,
        "likesCount": 1344,
        "timestamp": "2026-02-19T19:08:14",
        "ownerUsername": "bethfiit",
        "ownerId": "16120980177",
        "is_video": false,
        "video_view_count": 0,
        "tagged_users": [
          {
            "full_name": "Cosmopolitan",
            "followed_by_viewer": false,
            "id": "42725516",
            "is_verified": true,
            "profile_pic_url": "https://instagram.fsgn5-12.fna.fbcdn.net/v/t51.82787-19/682836756_18587288311037517_2256383309481024602_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDAwLmMyIn0&_nc_ht=instagram.fsgn5-12.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=Wb_n-8_ImgkQ7kNvwGigAjG&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af7FdoI87cn0HbXUknMEFNf3wRFxYBF96Oa5QJD0PjubPQ&oe=69FB044C&_nc_sid=8b3546",
            "username": "cosmopolitan"
          },
          {
            "full_name": "Beth Eleanor",
            "followed_by_viewer": false,
            "id": "62094194681",
            "is_verified": false,
            "profile_pic_url": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.2885-19/410141066_275655185107610_8220326588113726923_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=Ecgut_6xxzIQ7kNvwFzqTjf&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af6Oa9BEew764aVcrinqqLRkJ6LMOBIROfetYQV3eeJ-gA&oe=69FB088A&_nc_sid=8b3546",
            "username": "beth.eleanor.writes"
          },
          {
            "full_name": "Franziska Stern",
            "followed_by_viewer": false,
            "id": "13631476797",
            "is_verified": true,
            "profile_pic_url": "https://instagram.fsgn5-5.fna.fbcdn.net/v/t51.2885-19/359696902_1302841093971296_3244071321012592577_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby43OTIuYzIifQ&_nc_ht=instagram.fsgn5-5.fna.fbcdn.net&_nc_cat=108&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=fVNyphViwD4Q7kNvwFMf1z6&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4XXt9GMCajv64OUVuRCq27kQju5uvLMAXQmmUfebdkqQ&oe=69FB0754&_nc_sid=8b3546",
            "username": "coverdungeonrabbit"
          },
          {
            "full_name": "Cosmo Reads",
            "followed_by_viewer": false,
            "id": "69707828998",
            "is_verified": false,
            "profile_pic_url": "https://instagram.fsgn5-12.fna.fbcdn.net/v/t51.2885-19/496853012_17878595088324999_5829723789712622017_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MzQuYzIifQ&_nc_ht=instagram.fsgn5-12.fna.fbcdn.net&_nc_cat=103&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=WKafrWKDEZ8Q7kNvwHUWwLC&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4EnzRKY5dhcPboZus2PB8iEA-xx_WIaDex_p4wvr7YHA&oe=69FADC38&_nc_sid=8b3546",
            "username": "cosmoreads"
          }
        ],
        "comments_disabled": false,
        "like_and_view_counts_disabled": false,
        "coauthor_producers": [
          {
            "id": "69707828998",
            "is_verified": false,
            "profile_pic_url": "https://instagram.fsgn5-12.fna.fbcdn.net/v/t51.2885-19/496853012_17878595088324999_5829723789712622017_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MzQuYzIifQ&_nc_ht=instagram.fsgn5-12.fna.fbcdn.net&_nc_cat=103&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=WKafrWKDEZ8Q7kNvwHUWwLC&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4EnzRKY5dhcPboZus2PB8iEA-xx_WIaDex_p4wvr7YHA&oe=69FADC38&_nc_sid=8b3546",
            "username": "cosmoreads"
          },
          {
            "id": "62094194681",
            "is_verified": false,
            "profile_pic_url": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.2885-19/410141066_275655185107610_8220326588113726923_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=Ecgut_6xxzIQ7kNvwFzqTjf&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af6Oa9BEew764aVcrinqqLRkJ6LMOBIROfetYQV3eeJ-gA&oe=69FB088A&_nc_sid=8b3546",
            "username": "beth.eleanor.writes"
          }
        ],
        "pinned_for_users": [
          {
            "id": "62094194681",
            "is_verified": false,
            "profile_pic_url": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.2885-19/410141066_275655185107610_8220326588113726923_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=Ecgut_6xxzIQ7kNvwFzqTjf&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af6Oa9BEew764aVcrinqqLRkJ6LMOBIROfetYQV3eeJ-gA&oe=69FB088A&_nc_sid=8b3546",
            "username": "beth.eleanor.writes"
          },
          {
            "id": "16120980177",
            "is_verified": true,
            "profile_pic_url": "https://instagram.fsgn5-9.fna.fbcdn.net/v/t51.82787-19/520167967_18108204700540178_9140165232840203243_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fsgn5-9.fna.fbcdn.net&_nc_cat=102&_nc_oc=Q6cZ2gFBWT7Act8GVdaMV5EoGwOMBzygxxSSBDgUv5CJuZupJvUEJlriP2Oy3cyTlS8bXgw&_nc_ohc=wqXxlG39h2AQ7kNvwGOavHI&_nc_gid=3OZ6DhH1T_WNlw4FgNIrkg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Af4aLwnHCXCP0nS9zoGw68T44iNxK78NEnco7FFgpbK3oA&oe=69FAD9DD&_nc_sid=8b3546",
            "username": "bethfiit"
          }
        ],
        "clips_music_attribution_info": {}
      }
    ]
  }
```

***

### ⚙️ Notes & Limitations

- > ⚠️ **Free users** can scrape up to **20 profiles per day**. **Paid users** enjoy unlimited scraping.
- Only works with **public profiles** — private account data cannot be fetched.
- If an account doesn't exist or is banned/removed, it is skipped with a warning.
- Media insights (likes/comments) only reflect public engagement and are approximate.

### 🧠 Use Cases

- Research and competitor analysis
- Social media dashboards
- Public engagement tracking
- Creator or influencer profiling

### 💡 SEO Keywords

- Instagram Profile Scraper
- Scrape Instagram Public Data
- Instagram Profile Data Extractor
- Instagram JSON API Alternative
- Instagram Post Metadata Scraper

***

#### ⚠️ Disclaimer

Use this tool **responsibly**. Instagram’s terms of service prohibit scraping that violates their API usage policy. This tool scrapes only **public data** available to any logged-out visitor. The developer assumes no liability for misuse or automation abuse.

***

🚀 **Start scraping Instagram profile data — fast, safe, and without cookies!**

# Actor input Schema

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

A list of Instagram usernames to extract data from.

## Actor input object example

```json
{
  "usernames": [
    "instagram"
  ]
}
```

# Actor output Schema

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

Full profile data with recent posts stored in the default dataset.

# 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": [
        "instagram"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coderx/instagram-profile-scraper-bio-posts").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": ["instagram"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coderx/instagram-profile-scraper-bio-posts"
        }
    }
}
```

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/PP60E1JIfagMaQxIP/builds/ewPYoKSv9NiTJdAUM/openapi.json
