{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Employees & Leadership Team Finder - Names & Titles",
    "description": "Find the people a company publishes on its own website and investor site: team, executives, founders and board, each with job title, role and source page. No LinkedIn login. $3 per 1,000 people; companies without people are free.",
    "version": "0.1",
    "x-build-id": "TKoLTX5XqrKZJsu0a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tidytools~company-team-leadership/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tidytools-company-team-leadership",
        "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/tidytools~company-team-leadership/runs": {
      "post": {
        "operationId": "runs-sync-tidytools-company-team-leadership",
        "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/tidytools~company-team-leadership/run-sync": {
      "post": {
        "operationId": "run-sync-tidytools-company-team-leadership",
        "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": {
          "companies": {
            "title": "Company websites",
            "type": "array",
            "description": "Company domains or website addresses, one per line (acme.com, https://www.acme.com/team). A spreadsheet row also works (\"Acme Inc, acme.com, Berlin\": the first website-like cell is used), and so does an e-mail at the company's domain. Up to 1,000 companies per run; duplicates are merged. Lines without a website become a free row with errorType \"invalid_input\".",
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "title": "Roles to return",
            "type": "array",
            "description": "Which people to return (and charge): employees and executives, founders, board members, advisors. Advisors are off by default because they usually work for other companies.",
            "items": {
              "type": "string",
              "enum": [
                "employee",
                "founder",
                "board",
                "advisor"
              ],
              "enumTitles": [
                "Employees and executives",
                "Founders",
                "Board members",
                "Advisors"
              ]
            },
            "default": [
              "employee",
              "founder",
              "board"
            ]
          },
          "maxPeoplePerCompany": {
            "title": "Max people per company",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "At most this many people (rows) per company, in page order (executives and founders usually come first). Charged per row.",
            "default": 50
          },
          "titleContains": {
            "title": "Job title contains (optional)",
            "type": "array",
            "description": "Only people whose job title contains one of these words (any language, not case sensitive), e.g. CEO, VP, Head, Marketing. Empty = everyone.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset ID (optional)",
            "type": "string",
            "description": "Read the company websites from another Actor run's dataset, e.g. the website field of a lead list or a Google Maps export."
          },
          "datasetField": {
            "title": "Dataset field",
            "type": "string",
            "description": "Field with the website, domain or e-mail, e.g. \"website\" (dot paths work). Empty = the first URL field found."
          },
          "useAi": {
            "title": "Read prose pages with AI",
            "type": "boolean",
            "description": "When an about or team page names its people in sentences instead of a list, an AI model reads the text; every name and title it returns must appear on the page. Paid plans use a more accurate model (Gemini, then Claude Haiku, then Workers AI); the free plan uses Workers AI only. No extra charge.",
            "default": true
          },
          "browserMode": {
            "title": "Browser for JavaScript lists",
            "enum": [
              "auto",
              "off"
            ],
            "type": "string",
            "description": "auto: a team, leadership or board page that is drawn by JavaScript is opened in a real browser. off: plain HTTP only (faster, finds fewer people on such sites).",
            "default": "auto"
          },
          "includeInvestorSite": {
            "title": "Read the investor relations site",
            "type": "boolean",
            "description": "When the company's own site does not show its executives, read its investor relations site (investors.*, ir.*, or the one it links to) for the management and board pages.",
            "default": true
          },
          "maxPagesPerCompany": {
            "title": "Max pages per company",
            "minimum": 3,
            "maximum": 40,
            "type": "integer",
            "description": "Pages read per company: home page, linked team / leadership / board / about pages, common addresses (/team, /about, /leadership...) and investor pages.",
            "default": 15
          },
          "maxConcurrency": {
            "title": "Companies at the same time",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many company websites are processed in parallel. Lower it if sites rate-limit you.",
            "default": 4
          },
          "httpVia": {
            "title": "Network",
            "enum": [
              "auto",
              "backend",
              "direct"
            ],
            "type": "string",
            "description": "auto: Apify's network first, then our servers (cf, us) when a site refuses. backend: our servers only. direct: Apify's network only.",
            "default": "auto"
          },
          "respectRobots": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Off (default): public pages are read even where robots.txt asks crawlers to stay away. On: such pages are skipped.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}