{
  "openapi": "3.0.1",
  "info": {
    "title": "Lookalike Company Finder — Similar Companies to Your Customers",
    "description": "Paste 3–20 customer domains and get similar companies back, scored 0–100 with the reasons: industry, keywords, size band, tech overlap, geography. Domain, description, HQ, LinkedIn per row. No login, dataset-only, MCP-ready.",
    "version": "0.1",
    "x-build-id": "EHi6LbhfajXwi48HH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/inovaflow~lookalike-company-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-inovaflow-lookalike-company-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/inovaflow~lookalike-company-finder/runs": {
      "post": {
        "operationId": "runs-sync-inovaflow-lookalike-company-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/inovaflow~lookalike-company-finder/run-sync": {
      "post": {
        "operationId": "run-sync-inovaflow-lookalike-company-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",
        "required": [
          "seedDomains"
        ],
        "properties": {
          "seedDomains": {
            "title": "Example customer domains",
            "type": "array",
            "description": "3–20 domains of companies you want more of — your best customers, or a segment (`hubspot.com`, `pipedrive.com`, `close.com`). One domain works but gives a thin profile; three or more is where it gets sharp. Full URLs are fine.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max lookalikes",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many companies to deliver, best score first. About three times as many candidates are read to pick them.",
            "default": 50
          },
          "locations": {
            "title": "Locations (optional)",
            "type": "array",
            "description": "Countries or cities the lookalikes should be in — `United States`, `Germany`, `Denver, CO`. Companies whose known HQ is elsewhere are dropped; companies with no known location are kept and scored without geography. Cities also steer the keyword searches (useful for local-service segments).",
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "Company sizes (optional)",
            "type": "array",
            "description": "Employee bands to keep: `1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+` (or `small`, `mid-market`, `enterprise`). Companies whose known band is outside the list are dropped; unknown sizes are kept. Leave empty to match the seeds' own sizes.",
            "items": {
              "type": "string"
            }
          },
          "mustMatchIndustry": {
            "title": "Only companies in the seeds' industry",
            "type": "boolean",
            "description": "Drop candidates whose industry (public LinkedIn label, or keyword-classified) is neither a seed's industry nor its family.",
            "default": false
          },
          "excludeDomains": {
            "title": "Exclude domains",
            "type": "array",
            "description": "Existing customers, competitors or anything else you never want back. The seeds themselves are always excluded.",
            "items": {
              "type": "string"
            }
          },
          "minSimilarityScore": {
            "title": "Minimum similarity score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Companies scoring below this (0–100) are not delivered or charged. 25 keeps clear lookalikes; 50 keeps only the close ones.",
            "default": 25
          },
          "enrichResults": {
            "title": "Read each lookalike's LinkedIn / about page",
            "type": "boolean",
            "description": "On: every candidate's public LinkedIn page (industry, size, HQ, specialties) and about page are read too — fuller rows, a few more requests. Off: only the home page is read; industry and size then come from the page text and structured data where present.",
            "default": true
          },
          "maxSearchQueriesPerSeed": {
            "title": "Search queries per seed",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many competitor / alternative searches to run for each seed (`X competitors`, `X alternatives`, `companies like X`, `X vs`).",
            "default": 4
          },
          "maxListicles": {
            "title": "Max competitor articles to read",
            "minimum": 0,
            "maximum": 120,
            "type": "integer",
            "description": "Search results that are articles listing alternatives (\"10 best X alternatives\") are read for the companies they name. This caps how many per run.",
            "default": 30
          },
          "language": {
            "title": "Search language",
            "type": "string",
            "description": "Language for web search results, e.g. `en`, `de`, `fr`.",
            "default": "en"
          },
          "countryCode": {
            "title": "Search country",
            "type": "string",
            "description": "Two-letter country for web search defaults (`us`, `gb`, `de`). Does not filter the companies — use Locations for that.",
            "default": "us"
          },
          "maxConcurrency": {
            "title": "Max parallel page reads",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many candidate websites are read at once.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Fallback transport for company websites, LinkedIn and Product Hunt (every host is read directly first; the proxy is used only when a host blocks that). Residential is the default. Web search uses the Google SERP proxy group automatically, with Bing / DuckDuckGo as fallbacks.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}