{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Similar Accounts Scraper – Lookalikes, Emails & ER",
    "description": "Find similar, related and suggested Instagram accounts for many seeds at once. Depth 2 (similar of similar), seed overlap for look-alike audiences, followers, bio, email, phone, website, engagement rate and country. No login. Export JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "bygqz5LcKnzgWXP7K"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apimy~instagram-similar-accounts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apimy-instagram-similar-accounts-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/apimy~instagram-similar-accounts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apimy-instagram-similar-accounts-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/apimy~instagram-similar-accounts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apimy-instagram-similar-accounts-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": {
          "seedProfiles": {
            "title": "Seed Instagram profiles",
            "type": "array",
            "description": "Usernames (natgeo), @handles or profile links (https://www.instagram.com/natgeo/). A numeric user ID works as id:787132. Leave empty to try the Actor on a demo seed (hubspot).",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSeed": {
            "title": "Similar accounts per seed",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many similar accounts to deliver for each seed. Instagram gives 30–80 per request; the Actor asks again (each answer brings new accounts) and, with depth 2, goes to similar-of-similar to reach bigger numbers. A profile shared by several seeds counts for each of them. Not set = 30 (an empty demo run returns 10)."
          },
          "maxCallsPerSeed": {
            "title": "Requests per seed (more = wider list)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Instagram returns a slightly different set of suggestions on every request. 1 = the first list only; 3 (default) usually gives 60–120 unique accounts. The Actor stops early when a repeat brings fewer than 4 new accounts. Requests are not charged by themselves — you pay only for delivered rows.",
            "default": 3
          },
          "searchDepth": {
            "title": "Search depth",
            "enum": [
              "1",
              "2"
            ],
            "type": "string",
            "description": "Depth 2 opens the top similar accounts of each seed and collects their own suggestions too. Use it to map a whole niche or to get hundreds of look-alikes from one seed. Depth-2 accounts are ranked after depth-1 ones; \"foundVia\" says which neighbour suggested them.",
            "default": "1"
          },
          "depth2ProfilesPerSeed": {
            "title": "Depth 2: neighbours to open per seed",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "With depth 2: how many of the top similar accounts of each seed are opened for their own suggestions (public accounts only). 5 neighbours usually add 100–250 new accounts.",
            "default": 5
          },
          "minSeedOverlap": {
            "title": "Shared by at least N seeds (look-alike audience)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Keep only accounts that Instagram suggests for at least this many of your seeds. With 3–5 competitor seeds, 2 or 3 gives a tight look-alike list of accounts that sit in the middle of your niche. Free filter.",
            "default": 1
          },
          "maxTotalResults": {
            "title": "Max rows in total (0 = no limit)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on rows for the whole run, across all seeds. 0 = only the per-seed limit applies.",
            "default": 0
          },
          "includeProfileDetails": {
            "title": "Full profile details (followers, bio, email, phone, website)",
            "type": "boolean",
            "description": "Followers, following, posts, full biography, website and its domain, links in bio, public email and phone (business contact button and the ones written in the bio), category, account type (personal/business/creator), address and city. Billed as \"profile-details\" for every account checked — also when a paid filter then drops it.",
            "default": true
          },
          "includePostStats": {
            "title": "Post stats & engagement (last 12 posts)",
            "type": "boolean",
            "description": "Average and median likes, comments, Reel views, engagement rate (ER %), posts per month, share of Reels, last post date, days since last post, top and latest post links. Pinned posts are skipped. Needs profile details (switched on automatically). Billed as \"post-stats\".",
            "default": false
          },
          "includeAccountAbout": {
            "title": "Account country & creation date",
            "type": "boolean",
            "description": "From Instagram's \"About this account\" panel: country the account is based in, month and year it was created, number of former usernames. Billed as \"account-about\" only when the panel answered. Asked only for accounts that passed your filters.",
            "default": false
          },
          "onlyVerified": {
            "title": "Only verified accounts",
            "type": "boolean",
            "description": "Keep only accounts with the blue check. Free filter.",
            "default": false
          },
          "excludePrivate": {
            "title": "Skip private accounts",
            "type": "boolean",
            "description": "Drop private accounts (you cannot see their posts). Free filter.",
            "default": false
          },
          "minFollowers": {
            "title": "Min followers (0 = any)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep accounts with at least this many followers. Turns on profile details.",
            "default": 0
          },
          "maxFollowers": {
            "title": "Max followers (0 = any)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep accounts with at most this many followers — e.g. 50000 for micro-influencers. Turns on profile details.",
            "default": 0
          },
          "accountTypes": {
            "title": "Account types",
            "type": "array",
            "description": "Keep only these account types. Empty = all. Turns on profile details.",
            "items": {
              "type": "string",
              "enum": [
                "personal",
                "business",
                "creator"
              ],
              "enumTitles": [
                "Personal",
                "Business",
                "Creator"
              ]
            },
            "default": []
          },
          "contactFilter": {
            "title": "Must have contact",
            "enum": [
              "any",
              "email",
              "phone",
              "emailOrPhone",
              "emailAndPhone"
            ],
            "type": "string",
            "description": "Keep only accounts with a public email and/or phone (business contact button or written in the bio). Turns on profile details.",
            "default": "any"
          },
          "mustHaveWebsite": {
            "title": "Must have a website",
            "type": "boolean",
            "description": "Keep only accounts with a website link or a link in the bio. Turns on profile details.",
            "default": false
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Keep accounts whose text contains at least one of these words (case-insensitive), e.g. \"coach\", \"skincare\", \"agency\". Where to look is set below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop accounts whose text contains any of these words, e.g. \"official\", \"fan\", \"giveaway\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordsIn": {
            "title": "Search keywords in",
            "enum": [
              "any",
              "nameOrUsername",
              "bio",
              "category"
            ],
            "type": "string",
            "description": "Where keyword filters look. \"Name and username only\" runs before any paid lookup.",
            "default": "any"
          },
          "minEngagementRate": {
            "title": "Min engagement rate, % (0 = any)",
            "minimum": 0,
            "type": "number",
            "description": "Keep accounts whose average (likes + comments) per post divided by followers is at least this percent. Turns on post stats.",
            "default": 0
          },
          "maxDaysSinceLastPost": {
            "title": "Posted within the last N days (0 = any)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only active accounts whose latest (non-pinned) post is at most N days old. Turns on post stats.",
            "default": 0
          },
          "excludeUsernames": {
            "title": "Exclude accounts",
            "type": "array",
            "description": "Usernames or links to leave out — your own account, accounts you already work with, a previous export.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeSeedsFromResults": {
            "title": "Do not return the seeds themselves",
            "type": "boolean",
            "description": "When one seed is suggested for another seed, skip it (it is already in your list).",
            "default": true
          },
          "outputMode": {
            "title": "Rows",
            "enum": [
              "unique",
              "perSeed"
            ],
            "type": "string",
            "description": "Unique: every account once, with \"matchedSeeds\" and \"seedOverlap\". Per seed: the same account can appear under several seeds — handy when each seed is a separate client.",
            "default": "unique"
          },
          "onlyNewProfilesStore": {
            "title": "Only new accounts since last run (memory name)",
            "type": "string",
            "description": "Give a name (e.g. \"my-niche-watch\") and schedule the Actor: every later run under this name returns only accounts it has not delivered before — skipped ones are not looked up and not charged. Leave empty to always get the full list.",
            "default": ""
          },
          "maxDetailLookups": {
            "title": "Max paid lookups (0 = auto)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard budget for profile-details lookups in this run. Auto = 3× the rows you asked for when paid filters are on, no limit otherwise. When the budget is used up without paid filters, the remaining rows come without details.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel lookups",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "How many profiles are checked at the same time. The default is fast and safe.",
            "default": 6
          },
          "includeRunSummary": {
            "title": "Add a free summary row",
            "type": "boolean",
            "description": "One free row at the end: rows delivered, events charged and the total for your plan. Also saved as SUMMARY in the key-value store.",
            "default": true
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}