# Compare Related Instagram Profiles Across Seeds

**Use case:** 

Compare related Instagram profiles for two public seeds and export deduplicated accounts with matched seeds, profile metadata, and overlap counts.

## Input

```json
{
  "usernames": [
    "nasa",
    "natgeotravel"
  ],
  "maxRelatedPerSeed": 20,
  "includeProfileDetails": true,
  "deduplicateAcrossSeeds": true
}
```

## Output

```json
{
  "seedUsername": {
    "label": "seedUsername",
    "format": "string"
  },
  "seedUserId": {
    "label": "seedUserId",
    "format": "string"
  },
  "rank": {
    "label": "rank",
    "format": "integer"
  },
  "depth": {
    "label": "depth",
    "format": "integer"
  },
  "userId": {
    "label": "userId",
    "format": "string"
  },
  "username": {
    "label": "username",
    "format": "string"
  },
  "fullName": {
    "label": "fullName",
    "format": "string"
  },
  "profileUrl": {
    "label": "profileUrl",
    "format": "string"
  },
  "profilePicUrl": {
    "label": "profilePicUrl",
    "format": "string"
  },
  "biography": {
    "label": "biography",
    "format": "string"
  },
  "bioLinks": {
    "label": "bioLinks",
    "format": "array"
  },
  "externalUrl": {
    "label": "externalUrl",
    "format": "string"
  },
  "followersCount": {
    "label": "followersCount",
    "format": "integer"
  },
  "followingCount": {
    "label": "followingCount",
    "format": "integer"
  },
  "postsCount": {
    "label": "postsCount",
    "format": "integer"
  },
  "isPrivate": {
    "label": "isPrivate",
    "format": "boolean"
  },
  "isVerified": {
    "label": "isVerified",
    "format": "boolean"
  },
  "isBusinessAccount": {
    "label": "isBusinessAccount",
    "format": "boolean"
  },
  "isProfessionalAccount": {
    "label": "isProfessionalAccount",
    "format": "boolean"
  },
  "category": {
    "label": "category",
    "format": "string"
  },
  "businessEmail": {
    "label": "businessEmail",
    "format": "string"
  },
  "businessPhoneNumber": {
    "label": "businessPhoneNumber",
    "format": "string"
  },
  "businessAddress": {
    "label": "businessAddress",
    "format": "string"
  },
  "relatedToSeed": {
    "label": "relatedToSeed",
    "format": "boolean"
  },
  "matchedSeedUsernames": {
    "label": "matchedSeedUsernames",
    "format": "array"
  },
  "seedMatchCount": {
    "label": "seedMatchCount",
    "format": "integer"
  },
  "collectedAt": {
    "label": "collectedAt",
    "format": "string"
  },
  "sourceUrl": {
    "label": "sourceUrl",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Related Profiles Scraper](https://apify.com/fetch_cat/instagram-related-profiles-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fetch_cat/instagram-related-profiles-scraper) to learn more, explore other use cases, and run it yourself.


## 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.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fetch_cat/instagram-related-profiles-scraper.md

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).
