{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Influencer Finder",
    "description": "Instagram influencer finder: start from creators you like and get lookalike influencers from Instagram's suggestions, filtered by followers, with engagement, Reels views, category and business emails when shown. $1.49 per 1,000 profiles on Starter, 6x cheaper than the most-used influencer search.",
    "version": "0.8",
    "x-build-id": "fqJo7AFzX7MdKAHum"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~instagram-influencer-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-instagram-influencer-finder",
        "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/deepmine~instagram-influencer-finder/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-instagram-influencer-finder",
        "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/deepmine~instagram-influencer-finder/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-instagram-influencer-finder",
        "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": {
          "usernames": {
            "title": "Seed profiles",
            "type": "array",
            "description": "Profiles to find similar accounts for, one per line: a username (natgeo), @username or profile URL (https://www.instagram.com/natgeo/). You get the accounts Instagram suggests for each one; several profiles from one niche give more lookalikes. Optional when you give search phrases or hashtags. You pay per related profile delivered.",
            "items": {
              "type": "string",
              "pattern": "\\S"
            }
          },
          "searchQueries": {
            "title": "Niche phrases",
            "type": "array",
            "description": "Find creators by topic instead of (or as well as) by profile: a phrase per line, e.g. pilates coach, vegan bakery london, padel coach. You get the authors of the reels on Instagram's public topic page for each phrase (usually 20 to 40 per phrase), with Instagram's related searches that keep every word of it when you ask for more; depth 2 adds the accounts Instagram suggests for each of them. Specific phrases work best: big single words (fitness, skincare) have no public topic page. You pay per profile delivered.",
            "items": {
              "type": "string",
              "pattern": "\\S"
            }
          },
          "searchHashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags, with or without #, e.g. veganbakery, fitnesscoach: the authors of the reels on the hashtag's public topic page. A joined hashtag without one (pilatescoach) is tried as two words (pilates coach). You pay per profile delivered.",
            "items": {
              "type": "string",
              "pattern": "\\S"
            }
          },
          "maxResultsPerProfile": {
            "title": "Max related profiles per profile",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Related profiles per input profile, closest first. You pay per profile, so this caps the cost per input profile. Default 500.",
            "default": 500
          },
          "includeContactDetails": {
            "title": "Include business contact details",
            "type": "boolean",
            "description": "Adds a business email (and a phone, when the site lists one) found on a business profile's Facebook Page, the profile's own link-in-bio page, website (and its contact page), or the YouTube channel or TikTok profile they link to, plus the Contact button's type (CALL, EMAIL, TEXT), the business address when the profile shows one, and the story highlight count. Included in the price, but slower (a few seconds more per profile). Instagram hides the Contact button's own phone and email from visitors who aren't logged in, and the Actor never logs in; phones and emails written in the bio are always included.",
            "default": true
          },
          "maxDepth": {
            "title": "Depth",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "1 = the accounts Instagram suggests for your profiles: the closest lookalikes, up to 50 each. 2 = also the accounts suggested for those: hundreds more per profile, drifting further from your niche (a fitness creator's list can lead to actors and pop stars). Up to 5.",
            "default": 1
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "instagram",
              "bestMatch"
            ],
            "type": "string",
            "description": "Instagram's order (default): rows start arriving as each list is read. Best match: profiles found through more distinct seeds or topics come first, then profiles found through more sources, then match score. Two searches that lead to the same topic page count once.",
            "default": "instagram"
          },
          "minSimilarityScore": {
            "title": "Min match score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Related profiles only. Keep only profiles whose match score (0-100, how close each one is to the profile it was found for) is at least this. Free: profiles left out aren't charged."
          },
          "taggedNetworkFallback": {
            "title": "When Instagram suggests nothing: use the tagged network",
            "type": "boolean",
            "description": "Related profiles only. For an input profile Instagram suggests no accounts for, get the accounts that the accounts it tags (venues, partner brands, clubs) tag in their posts, flagged source = tagged-network. Works for creators and local businesses, rarely for brands. Same price per profile.",
            "default": false
          },
          "minFollowers": {
            "title": "Min followers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only profiles with at least this many followers. Free: profiles left out aren't charged."
          },
          "maxFollowers": {
            "title": "Max followers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only profiles with at most this many followers (e.g. 100000 for micro-influencers). Free: profiles left out aren't charged."
          },
          "minEngagementRate": {
            "title": "Min engagement rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Keep only profiles whose engagement rate (average likes + comments on the latest posts, over followers) is at least this many percent, e.g. 1.5. Free: profiles left out aren't charged."
          },
          "maxEngagementRate": {
            "title": "Max engagement rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Keep only profiles whose engagement rate is at most this many percent. Free: profiles left out aren't charged."
          },
          "bioKeywords": {
            "title": "Bio keywords",
            "type": "array",
            "description": "Keep only profiles whose bio, name or category contains any of these words (e.g. coach, founder, nyc). Free: profiles left out aren't charged.",
            "items": {
              "type": "string",
              "pattern": "\\S"
            }
          },
          "isBusinessAccount": {
            "title": "Business account",
            "enum": [
              "yes",
              "no"
            ],
            "type": "string",
            "description": "yes = only business accounts (brands, shops, organizations), no = only personal and creator accounts, empty = both. Free: profiles left out aren't charged."
          },
          "isVerified": {
            "title": "Verified",
            "enum": [
              "yes",
              "no"
            ],
            "type": "string",
            "description": "yes = only accounts with the blue check, no = only accounts without it, empty = both. Free: profiles left out aren't charged."
          },
          "profileLanguage": {
            "title": "Languages",
            "type": "array",
            "description": "Keep only profiles that write in one of these languages (their bio and latest captions, the detectedLanguage column): codes (en, es, pt) or names (English, Spanish). Free: profiles left out aren't charged.",
            "items": {
              "type": "string",
              "pattern": "\\S"
            }
          },
          "keepUnknownLanguage": {
            "title": "Keep profiles whose language can't be told",
            "type": "boolean",
            "description": "With Languages set: also keep profiles with too little text to tell their language (an empty detectedLanguage). Off: they are left out, free.",
            "default": false
          },
          "contactInfoType": {
            "title": "Must have contact",
            "enum": [
              "any",
              "email",
              "phone",
              "emailOrPhone",
              "emailAndPhone"
            ],
            "type": "string",
            "description": "Keep only profiles that show this contact (from the bio and, with business contact details on, their own pages): any, an email, a phone, either, or both. Free: profiles left out aren't charged.",
            "default": "any"
          },
          "lastPostDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only profiles whose newest post is at most this many days old (e.g. 30). Free: profiles left out (and those showing no post) aren't charged."
          },
          "lastReelDays": {
            "title": "Posted a reel within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only profiles whose newest reel is at most this many days old. Free: profiles left out (and those showing no reel) aren't charged."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many related profiles in total. You pay per profile, so this caps the run's cost. Profiles come in the order of your input.",
            "default": 10000
          },
          "includeStats": {
            "title": "Include followers and engagement",
            "type": "boolean",
            "description": "Adds each profile's exact follower and post counts, average likes and comments on its latest posts, engagement rate and last post date. Free: no extra charge. Turn off for the fastest runs (username, name and picture only).",
            "default": true
          },
          "includeActivityMetrics": {
            "title": "Include activity metrics",
            "type": "boolean",
            "description": "Adds each profile's median engagement rate over its latest posts, how many of them it posted in the last 30 days (and whether that count is complete) and the days since its newest post. Free: worked out from what the run reads anyway.",
            "default": true
          },
          "includeDetails": {
            "title": "Include bio, links and category",
            "type": "boolean",
            "description": "Adds each profile's full bio, bio links, website, category, account type, contact email (when the bio shows one), following count, linked Facebook page and more. Included in the price; turn it off only for a slightly faster list.",
            "default": true
          },
          "includeReels": {
            "title": "Include Reels views",
            "type": "boolean",
            "description": "Adds each profile's latest reels (up to 12) with their views, likes and comments, plus median and average reel views, views over followers and the last reel's date. Included in the price: one more quick datacenter request per profile.",
            "default": true
          },
          "includeLatestPosts": {
            "title": "Include latest posts",
            "type": "boolean",
            "description": "Adds each profile's latest posts (up to 6) with caption, hashtags, likes, comments, time, image, location and coauthors. Free: no extra charge; rows get bigger.",
            "default": false
          },
          "isPrivate": {
            "title": "Private",
            "enum": [
              "yes",
              "no"
            ],
            "type": "string",
            "description": "no = skip private accounts, yes = only private accounts, empty = both. Free: profiles left out aren't charged."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and reads everything, bio and links included. When Instagram refuses a datacenter IP (an age-restricted input profile's page, a retry), the Actor uses a little Apify residential on its own, at no extra cost to you. Picking Residential here works the same way (its country applies to those residential tries).",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}