{
  "openapi": "3.0.1",
  "info": {
    "title": "Decision Maker Finder",
    "description": "🏷️ From $1.30 / 1K | Company domain or name in, the people who run it out: name, title, LinkedIn URL, location and a work email built from the company's naming convention. Filter by department. Pay per person delivered.",
    "version": "0.1",
    "x-build-id": "zFk4DjbMUiYKWwZUR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/spookyweb~decision-maker-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-spookyweb-decision-maker-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/spookyweb~decision-maker-finder/runs": {
      "post": {
        "operationId": "runs-sync-spookyweb-decision-maker-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/spookyweb~decision-maker-finder/run-sync": {
      "post": {
        "operationId": "run-sync-spookyweb-decision-maker-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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "One company per line, as a website domain (monzo.com) or a company name (Monzo Bank). A domain is better: the company's own site is read to work out its email naming convention, so every person comes back with an address. A bare name still finds people but leaves the email empty. Up to 5,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "title": "Departments",
            "type": "array",
            "description": "Which people to return. leadership means founders, chief officers, managing directors, vice presidents and directors of any department, which is the usual meaning of decision maker. The department options return everyone found in that function at any level. any returns every person found. Up to three departments are searched per company.",
            "items": {
              "type": "string",
              "enum": [
                "leadership",
                "sales",
                "marketing",
                "engineering",
                "product",
                "finance",
                "operations",
                "hr",
                "any"
              ],
              "enumTitles": [
                "Leadership and decision makers",
                "Sales and business development",
                "Marketing and growth",
                "Engineering and technology",
                "Product and design",
                "Finance",
                "Operations",
                "People and HR",
                "Anyone at the company"
              ]
            },
            "default": [
              "leadership"
            ]
          },
          "maxPeoplePerCompany": {
            "title": "Maximum people per company",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "The most people to deliver for one company, from 1 to 50. The strongest associations with the company come first. This bounds the bill per company.",
            "default": 10
          },
          "generateEmails": {
            "title": "Build email addresses",
            "type": "boolean",
            "description": "Build a work email for each person from the naming convention read off the company's own site, with a confidence score and every alternative pattern listed. Turn off if you only want names, titles and LinkedIn URLs. The price is the same either way.",
            "default": true
          },
          "searchPages": {
            "title": "Search pages per department",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "How far to look for people at each company for each department, from 1 to 3. One is enough for a leadership search at a small company; three are worth it for a whole department at a large one. A company stops early once it has delivered the people you asked for.",
            "default": 2
          },
          "useProxyOnBlock": {
            "title": "Reliability mode",
            "type": "boolean",
            "description": "Leave on. It is carried by the Actor and adds nothing to your bill; you pay per person delivered. Off, most companies on a long list come back as not searched.",
            "default": true
          },
          "concurrency": {
            "title": "Companies worked at once",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many companies to work in parallel, from 1 to 20. Raising it multiplies throughput. Four suits most lists. Raise it for lists of thousands.",
            "default": 4
          },
          "includeUntitled": {
            "title": "Keep people whose listing shows no job title",
            "type": "boolean",
            "description": "Some people are proven to work at the company but publish no job title, so the department cannot be read. On, they are delivered with roleCategory unclassified and roleEvidence query, and every person is charged on the standard Person event. Off, only people with a published title are delivered, about a third as many, and each one is charged on the Person, titled only event at a higher rate. The Apify listing shows both rates.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}