{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Email Scraper & Influencer Email Finder",
    "description": "Instagram email finder for influencer outreach: search creators by niche, paste handles or find lookalikes, and get emails, phones, link-in-bio contacts, followers and engagement rate. No login. Pay only for leads.",
    "version": "0.1",
    "x-build-id": "jFfkEnrFAep8DGXmx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrape-lads~instagram-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrape-lads-instagram-email-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/scrape-lads~instagram-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-scrape-lads-instagram-email-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/scrape-lads~instagram-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-scrape-lads-instagram-email-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": {
          "searchKeywords": {
            "title": "Search by keyword or niche",
            "type": "array",
            "description": "Niches or keywords, one per line, as a creator would write them in a bio: \"skincare\", \"dog mom\", \"fitness coach\", \"vegan recipes\". Accounts are found through web search and then through Instagram's related accounts.",
            "items": {
              "type": "string"
            }
          },
          "handles": {
            "title": "Instagram usernames or profile URLs",
            "type": "array",
            "description": "Accounts to look up directly: name, @name or https://www.instagram.com/name/. One row per account (with leads-only on, accounts without an email are skipped for free).",
            "items": {
              "type": "string"
            }
          },
          "similarTo": {
            "title": "Find accounts similar to",
            "type": "array",
            "description": "Lookalikes: Instagram's related accounts of these creators, ranked by how many of them suggest each account. Add 2-5 creators you already like working with.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max accounts per keyword",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each keyword (and the lookalike search) after this many saved accounts. Start small on your first run.",
            "default": 50
          },
          "onlyWithEmail": {
            "title": "Only accounts with an email (leads-only)",
            "type": "boolean",
            "description": "On: only accounts with a contact email are saved and billed, as one lead each. Accounts without an email are checked for free. Off: every account is saved and billed as a profile.",
            "default": true
          },
          "enrichBioLinks": {
            "title": "Open the link in bio",
            "type": "boolean",
            "description": "Read the website or link-in-bio page (Linktree, Beacons, Stan and similar) for emails, phone numbers and other social profiles, including up to 3 of the creator's own sites listed there. Brand and affiliate sites are never scanned.",
            "default": true
          },
          "validateEmailDomains": {
            "title": "Check email domains",
            "type": "boolean",
            "description": "Drop addresses whose domain cannot receive mail (a DNS lookup; nothing is sent to the mailbox).",
            "default": true
          },
          "excludeEmails": {
            "title": "Never return these emails or domains",
            "type": "array",
            "description": "Full addresses (help@platform.com) or whole domains (platform.com, subdomains included) that must never be a creator's contact, such as support desks of creator platforms.",
            "items": {
              "type": "string"
            }
          },
          "includeRelated": {
            "title": "Expand with related accounts",
            "type": "boolean",
            "description": "When web search runs out of accounts for a keyword, continue with Instagram's related accounts of the ones already found.",
            "default": true
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip smaller accounts, for free. Empty or 0 = no minimum."
          },
          "maxFollowers": {
            "title": "Maximum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip bigger accounts, for free: the way to keep a list to micro and mid-tier creators. Empty or 0 = no maximum."
          },
          "accountType": {
            "title": "Account type",
            "enum": [
              "any",
              "creator",
              "business",
              "personal"
            ],
            "type": "string",
            "description": "Instagram's own account type: creator, business or personal. Many influencers run business accounts, so for influencer lists keep Any and use Categories (e.g. \"creator\", \"blogger\") instead.",
            "default": "any"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep only accounts whose Instagram category contains one of these words, e.g. \"Digital creator\", \"Fitness\", \"Beauty\". Empty = any category.",
            "items": {
              "type": "string"
            }
          },
          "minEngagementRate": {
            "title": "Minimum engagement rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Median (likes + comments) / followers over the 12 newest posts. Accounts below it are skipped for free. Empty or 0 = no minimum."
          },
          "maxEngagementRate": {
            "title": "Maximum engagement rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Skip accounts above this rate, e.g. 25 to drop suspicious spikes. Empty or 0 = no maximum."
          },
          "onlyVerified": {
            "title": "Only verified accounts",
            "type": "boolean",
            "description": "Keep only accounts with the blue badge.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new accounts",
            "type": "boolean",
            "description": "Skip accounts this actor already returned to you in the last 12 months (remembered in a storage named instagram-email-finder in your own account). Skipped accounts are free.",
            "default": false
          },
          "excludeHandles": {
            "title": "Exclude accounts",
            "type": "array",
            "description": "Accounts that must never appear, such as creators you already work with. Skipped before any lookup, so never billed.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Accounts read at the same time. Higher is faster but Instagram slows down busy connections.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}