# Instagram Related Person Scraper (`simpleapi/instagram-related-person-scraper`) Actor

Instagram Related Person Scraper finds and extracts profiles related to any public Instagram user, capturing usernames, bios, follower counts, profile URLs, and relevance connections. Ideal for influencer discovery, audience analysis, competitor research, and automated Instagram network insights.

- **URL**: https://apify.com/simpleapi/instagram-related-person-scraper.md
- **Developed by:** [SimpleAPI](https://apify.com/simpleapi) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 49 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## 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

### What does Instagram Related Person Scraper do? 🤔

An Instagram Related Person Scraper is a tool designed to automatically extract related profiles from Instagram. When you view a profile, Instagram often suggests “related accounts” based on similar content, followers, or interests. Instead of manually checking them, this scraper collects and organizes those accounts in bulk.

For marketers, researchers, and businesses, an Instagram related person scraper online is a valuable way to discover competitor accounts, influencers, and audience connections. It saves hours of manual research and provides structured data that can be used for network analysis, influencer discovery, and campaign targeting.

If you’ve ever wondered how to find Instagram related accounts at scale, this tool gives you the answer—making it far more efficient than searching manually.

### What Instagram Data can I extract? 📊

The Instagram Related Person Scraper app can fetch the following information:

| Data Type | Description |
| --- | --- |
| Related Profile IDs | Unique identifiers of suggested profiles. |
| Profile Usernames | Handles of related accounts. |
| Profile URLs | Direct links to related accounts. |
| Profile Name | Display name of the account. |
| Profile Bio | Short description/bio text. |
| Profile Category | Business, creator, personal, etc. |
| Engagement Metadata | Followers, following, posts count (if available). |

This helps marketers build audience maps, researchers track communities, and businesses find similar influencers with ease.

#### ⭐ Key Features of Instagram Related Person Scraper

Using this tool (whether via Instagram related person scraper free, paid software, or a GitHub-based Instagram profile scraper), you get:

*   ⚡ Bulk Extraction – Collect hundreds of related profiles instantly.  
      
    
*   📂 Organized Output – Export structured data in JSON or CSV formats.  
      
    
*   🔍 Influencer Discovery – Find similar accounts to your competitors or niche leaders.  
      
    
*   🚀 Scalable – Works across multiple accounts simultaneously.  
      
    
*   🛠 Developer Options – Open-source Instagram profile scraper GitHub versions are available.  
      
    
*   🌐 Cloud & App Access – Use it as an online scraper, browser IG scraper extension, or standalone app.  
      
    
*   📊 Market Research Friendly – Perfect for agencies, researchers, and growth marketers.  
      
    
*   🔒 Ethical Compliance – Works within Instagram scraping policy guidelines when used responsibly.  
      
    

### How to use Instagram Related Person Scraper 🛠

Here’s a simple step-by-step guide:

1.  🔗 Enter Profile URL – Input the Instagram account you want related people from.  
      
    
2.  📑 Select Parameters – Choose whether to extract usernames, bios, categories, etc.  
      
    
3.  ▶️ Run the Scraper – Launch the process via online tool, scraper app, or GitHub project.  
      
    
4.  ⏳ Wait for Processing – The scraper automatically fetches related accounts.  
      
    
5.  📂 Export Results – Download the dataset in JSON or CSV format.  
      
    
6.  📊 Analyze Data – Use results for influencer mapping, competitor tracking, or audience analysis.  
      
    

Unlike a manual search or Instagram private account viewer hacks (which are unsafe), this scraper ensures fast, ethical, and structured extraction.

### 🎯 Use Cases

An Instagram Related Person Scraper online can be applied in many industries:

*   📈 Digital Marketing – Discover related influencers and partners.  
      
    
*   🏪 Business Research – Map competitors and audience overlaps.  
      
    
*   🎓 Academic Studies – Analyze networks of related accounts.  
      
    
*   📊 Market Intelligence – Build industry-wide databases of connected accounts.  
      
    
*   👥 Community Growth – Find accounts similar to your brand’s followers.  
      
    
*   📰 Media & Journalism – Track related sources for reporting.  
      
    

Instead of manual guesswork, this tool creates a data-driven approach to finding relevant Instagram profiles.

### Why choose us? 💡

Compared to random tools, extensions, or Instagram related person scraper free versions, our scraper stands out because:

*   ✅ Scalable Performance – Handles small and large datasets.  
      
    
*   🔍 High Accuracy – Fetches complete related profile data.  
      
    
*   💻 Flexible Options – Available as IG scraper extension, online scraper, or app.  
      
    
*   📊 Clean Exports – JSON & CSV formats ready for integration.  
      
    
*   🔒 Compliant & Secure – Aligned with Instagram scraping policy.  
      
    
*   🛠 Developer Friendly – Similar to Apify Instagram Scraper, with GitHub examples for coders.  
      
    

This makes it the ideal tool for professionals who need reliable data extraction without risks.

### How many results can you scrape with Instagram Related Person Scraper? 📈

One of the biggest benefits of an Instagram Related Person Scraper app is its scalability.

*   From a single profile, you can extract dozens of related accounts.  
      
    
*   Running it across multiple profiles lets you build networks of hundreds or thousands of accounts.  
      
    
*   Data can be combined with other tools like Apify Instagram Scraper for deeper insights.  
      
    

For example:

*   A marketer may scrape 200 related accounts to find influencers.  
      
    
*   A business analyst might track 1,000+ competitor-related profiles.  
      
    
*   A researcher could analyze thousands of related nodes to study social networks.  
      
    

Whether you use a free online scraper or a premium enterprise tool, scalability ensures you never hit a research bottleneck.

### Is it legal to scrape Instagram Related Persons? ⚖️

The legality depends on how you use the scraper.

*   ✔️ Allowed: Extracting public data (e.g., usernames, bios, links).  
      
    
*   ❌ Not Allowed: Accessing private data, bypassing security, or violating Instagram scraping policy.  
      
    

Best practices:

*   📌 Stick to public information only.  
      
    
*   📌 Use data ethically (research, marketing insights, competitive analysis).  
      
    
*   📌 Avoid using unsafe tools like fake Instagram private account viewer apps.  
      
    

When used responsibly, scraping related Instagram persons is legal and ethical.

### Input Parameters 📝

Example input JSON:
```json
{
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "urls": [
    "https://www.instagram.com/ishowspeed/",
    "mrbeast"
  ],
  "max_profiles": 10
}
````

### Output Format 📂

Example JSON output:

```json
  {
    "username": "ishowspeed",
    "limit": 10,
    "related_profiles": [
      {
        "id": "288090135",
        "full_name": "Major League Soccer",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/486639052_3940094029582201_1211526993537926742_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40NTAuYzIifQ&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=uKJIIc2FDzQQ7kNvwFSeQtn&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfppML-irSxMoJ8BsMj2ACpPu-hb7g2ST6F44XEz2n8rBQ&oe=6973BB2C&_nc_sid=8b3546",
        "username": "mls"
      },
      {
        "id": "6229137320",
        "full_name": "Cafu",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/482153685_1195697322129702_2044499451179788165_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=H0mkws9uuZAQ7kNvwGjCmwg&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfrrqWp-dS-Oyxg-1hXklQW8ZPtO5JmKvWfNOe-l5IPJDw&oe=6973CBA1&_nc_sid=8b3546",
        "username": "cafu2"
      },
      {
        "id": "278193020",
        "full_name": "FaZe Clan",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/472111763_888768759998285_1747011215400138632_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby45MzAuYzIifQ&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=zsKL4IYmA60Q7kNvwHPQyIb&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfqWJs6Q1Swc63YZ83zLyazlZKgfb5Sf8BO8t-7g2Gta4A&oe=6973C98C&_nc_sid=8b3546",
        "username": "fazeclan"
      },
      {
        "id": "78611756476",
        "full_name": "speed clips",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/588339886_17844338178620477_1457011807589057617_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=etswMJiRDcIQ7kNvwHSYXua&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Afou5h7OOEumNZ2QI4kCPBlQI_7QQQWfIi8butRJOG8Upg&oe=6973CD46&_nc_sid=8b3546",
        "username": "w_speed0"
      },
      {
        "id": "70469061364",
        "full_name": "STREAMERS  CLIPS  DAILY",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/558475569_17891610210349365_5659746067799210097_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=DWfb3R8DhjIQ7kNvwFeukvU&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfodIywBjiTrhOYyFRXBzMkrk_Nmq17AZdOfce4TZraSPg&oe=6973E15D&_nc_sid=8b3546",
        "username": "streamer_snaps"
      },
      {
        "id": "248935266",
        "full_name": "Mike Holston",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/509273035_18519121375039267_4814644688177491688_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=lSSHwt0lqcMQ7kNvwHC4auW&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfqZ9V1Pah2_nsR7y69001hWdxKorYwyhQ-iTgbvzNkZtg&oe=6973DB25&_nc_sid=8b3546",
        "username": "therealtarzann"
      },
      {
        "id": "63688739912",
        "full_name": "Behruz Abdumalikov",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/422106366_739359631209144_2892723409791023423_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42MDQuYzIifQ&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=8EEKA4Cw498Q7kNvwGCt2ru&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Afp9Zp39PKtSALAGZNUzNwicq3-DszzMxXmf5sIN5SmqWw&oe=6973D6FE&_nc_sid=8b3546",
        "username": "khablbtm"
      },
      {
        "id": "41574851191",
        "full_name": "𝐋𝐈𝐕𝐄 HERE WE GO 🚨",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/605800494_18069136688387192_5300865370067471184_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=GnkY6WcpayYQ7kNvwHRK1GH&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfqaPCXhv_VIm67UZaUTzEpNsXmNkqH-N0o9cvqIGM9eHQ&oe=6973C10D&_nc_sid=8b3546",
        "username": "liveherewego"
      },
      {
        "id": "2714415704",
        "full_name": "Unstoppable Business | Mindset & Sports",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/471933748_1067319922075872_6425772435414275990_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby44MDAuYzIifQ&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=SsFNavjqbdgQ7kNvwH1jZxO&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfoSq2rb-F11OBBMewdxq5w-KNeQQfFr2f62MZY0B-nPTw&oe=6973D2A9&_nc_sid=8b3546",
        "username": "unstoppable"
      },
      {
        "id": "175001080",
        "full_name": "Serhou Guirassy",
        "is_private": false,
        "is_verified": true,
        "profile_pic_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/516303494_18520509157025081_3486597622302866840_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2QGdWrp_zNwFZPgeIiopy_dMu8QX1hqtkA9d0eEMjDfhMon9DDOBGHVxE2E0Fr3Czg4&_nc_ohc=YlF8wQTlrNwQ7kNvwFDQriw&_nc_gid=wzUK9yq73hFYP38oilCl1A&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_Afp1_NG6UGmWbuiXZAibuMmWkArGocwm3NmNaGcrQW9EpA&oe=6973D53D&_nc_sid=8b3546",
        "username": "serhou.guirassy"
      }
    ]
  },


```

### 🤔 FAQ – Instagram Related Person Scraper

#### Q1: Is there an Instagram Related Person Scraper free version?

👉 Yes, some tools offer limited free trials before requiring upgrades.

#### Q2: Can I use it online without installation?

👉 Yes, you can try Instagram related person scraper online platforms.

#### Q3: Is there a GitHub project for this?

👉 Yes, several Instagram profile scraper GitHub repositories are available for developers.

#### Q4: Can I use this with Apify?

👉 Yes, Apify Instagram Scraper works alongside related person scrapers for extended insights.

#### Q5: Does this tool show private accounts?

👉 No, unlike unsafe Instagram private account viewer apps, it only scrapes public profiles.

#### Q6: Can I run it as an IG scraper extension?

👉 Yes, browser-based extensions exist for quick extractions.

#### Q7: Is scraping against Instagram rules?

👉 Instagram limits automated scraping, so always follow Instagram scraping policy and use it responsibly.

### What are other Instagram scraping tools?

If you want to scrape specific Instagram data, you can use any of the dedicated scrapers below for faster and more targeted results.

| Scraper Name | Scraper Name |
|---|---|
| [Instagram B2b Email Scraper](https://apify.com/simpleapi/instagram-b2b-email-scraper) | [Instagram Post Details Scraper](https://apify.com/simpleapi/instagram-post-details-scraper) |
| [Instagram B2b Lead Scraper](https://apify.com/simpleapi/instagram-b2b-lead-scraper) | [Instagram Posts Scraper](https://apify.com/simpleapi/instagram-posts-scraper) |
| [Instagram B2b Phone Number Scraper](https://apify.com/simpleapi/instagram-b2b-phone-number-scraper) | [Instagram Profile Email Scraper](https://apify.com/simpleapi/instagram-profile-email-scraper) |
| [Instagram Comments Scraper](https://apify.com/simpleapi/instagram-comments-scraper) | [Instagram Profile Email Scraper By Keyword](https://apify.com/simpleapi/instagram-profile-email-scraper-by-keyword) |
| [Instagram Dm Automation](https://apify.com/simpleapi/instagram-dm-automation) | [Instagram Profile Lead Scraper](https://apify.com/simpleapi/instagram-profile-lead-scraper) |
| [Instagram Email Scraper](https://apify.com/simpleapi/instagram-email-scraper) | [Instagram Profile Lead Scraper By Keyword](https://apify.com/simpleapi/instagram-profile-lead-scraper-by-keyword) |
| [Instagram Followers And Following Scrapper](https://apify.com/simpleapi/instagram-followers-and-following-scrapper) | [Instagram Profile Phone Number Scraper](https://apify.com/simpleapi/instagram-profile-phone-number-scraper) |
| [Instagram Followers Count Scraper](https://apify.com/simpleapi/instagram-followers-count-scraper) | [Instagram Profile Phone Number Scraper By Keyword](https://apify.com/simpleapi/instagram-profile-phone-number-scraper-by-keyword) |
| [Instagram Followers Scraper](https://apify.com/simpleapi/instagram-followers-scraper) | [Instagram Profile Post Scraper](https://apify.com/simpleapi/instagram-profile-post-scraper) |
| [Instagram Following Scraper](https://apify.com/simpleapi/instagram-following-scraper) | [Instagram Profile Reels Scraper](https://apify.com/simpleapi/instagram-profile-reels-scraper) |
| [Instagram Hashtag Scraper](https://apify.com/simpleapi/instagram-hashtag-scraper) | [Instagram Profile Scraper](https://apify.com/simpleapi/instagram-profile-scraper) |
| [Instagram Hashtag Username Scraper](https://apify.com/simpleapi/instagram-hashtag-username-scraper) | [Instagram Reels Scraper](https://apify.com/simpleapi/instagram-reels-scraper) |
| [Instagram Highlights Scraper](https://apify.com/simpleapi/instagram-highlights-scraper) | [Instagram Related Hashtag Stats Scraper](https://apify.com/simpleapi/instagram-related-hashtag-stats-scraper) |
| [Instagram Lead Scraper](https://apify.com/simpleapi/instagram-lead-scraper) | [Instagram Single Reels Scraper](https://apify.com/simpleapi/instagram-single-reels-scraper) |
| [Instagram Likes Scraper](https://apify.com/simpleapi/instagram-likes-scraper) | [Instagram Story Details Scraper](https://apify.com/simpleapi/instagram-story-details-scraper) |
| [Instagram Location Scraper](https://apify.com/simpleapi/instagram-location-scraper) | [Instagram Tagged Mentions Posts Scraper](https://apify.com/simpleapi/instagram-tagged-mentions-posts-scraper) |
| [Instagram Mentions Scraper](https://apify.com/simpleapi/instagram-mentions-scraper) | [Instagram Tagged Posts Scraper](https://apify.com/simpleapi/instagram-tagged-posts-scraper) |
| [Instagram Phone Number Scraper](https://apify.com/simpleapi/instagram-phone-number-scraper) |  |

# Actor input Schema

## `urls` (type: `array`):

📌 Enter one or more Instagram profiles to scrape related accounts from. Supports mixed formats:
• Full URL: https://www.instagram.com/username/
• Handle: @username
• Plain: username

Add multiple entries to map networks across several creators in one run.

## `max_profiles` (type: `integer`):

🔢 How many related profiles to fetch per input username. Higher = more data, but slower runs. Recommended sweet spot: 20–100. Maximum: 10,000.

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

🛡️ Enable Apify Proxy for reliable scraping. Residential proxies reduce blocks and rate limits. Strongly recommended for consistent results.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/ishowspeed/"
  ],
  "max_profiles": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "urls": [
        "https://www.instagram.com/ishowspeed/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("simpleapi/instagram-related-person-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 = {
    "urls": ["https://www.instagram.com/ishowspeed/"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("simpleapi/instagram-related-person-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 '{
  "urls": [
    "https://www.instagram.com/ishowspeed/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call simpleapi/instagram-related-person-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Related Person Scraper",
        "description": "Instagram Related Person Scraper finds and extracts profiles related to any public Instagram user, capturing usernames, bios, follower counts, profile URLs, and relevance connections. Ideal for influencer discovery, audience analysis, competitor research, and automated Instagram network insights.",
        "version": "0.1",
        "x-build-id": "9irszZ5znePWxjGPl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/simpleapi~instagram-related-person-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-simpleapi-instagram-related-person-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/simpleapi~instagram-related-person-scraper/runs": {
            "post": {
                "operationId": "runs-sync-simpleapi-instagram-related-person-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/simpleapi~instagram-related-person-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-simpleapi-instagram-related-person-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": {
                    "urls": {
                        "title": "🔗 Profile URLs & Usernames",
                        "type": "array",
                        "description": "📌 Enter one or more Instagram profiles to scrape related accounts from. Supports mixed formats:\n• Full URL: https://www.instagram.com/username/\n• Handle: @username\n• Plain: username\n\nAdd multiple entries to map networks across several creators in one run.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "max_profiles": {
                        "title": "📊 Max Related Profiles per User",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "🔢 How many related profiles to fetch per input username. Higher = more data, but slower runs. Recommended sweet spot: 20–100. Maximum: 10,000.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "🔒 Proxy & Anti-Block",
                        "type": "object",
                        "description": "🛡️ Enable Apify Proxy for reliable scraping. Residential proxies reduce blocks and rate limits. Strongly recommended for consistent results."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
