{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Intent Scraper — Greenhouse, Lever & Ashby ATS",
    "description": "Turn public ATS job boards into company-level hiring intent signals. Detects Greenhouse, Lever, Ashby, Workable and Recruitee from a company domain and returns one scored row per company — new roles, top department and growth velocity — not a list of jobs.",
    "version": "0.1",
    "x-build-id": "p7odQ0OGwxtSOHauw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/powernaner~hiring-intent-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-powernaner-hiring-intent-scraper",
        "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/powernaner~hiring-intent-scraper/runs": {
      "post": {
        "operationId": "runs-sync-powernaner-hiring-intent-scraper",
        "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/powernaner~hiring-intent-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-powernaner-hiring-intent-scraper",
        "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": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Company domains",
            "minItems": 1,
            "type": "array",
            "description": "Company domains (stripe.com) or job board URLs (jobs.lever.co/gopuff). The Actor detects which ATS each company uses — Greenhouse, Lever, Ashby, Recruitee or Workable. Companies on an unsupported ATS are reported as failures and are never charged.",
            "items": {
              "type": "string"
            }
          },
          "windowDays": {
            "title": "Signal window (days)",
            "minimum": 7,
            "maximum": 180,
            "type": "integer",
            "description": "How far back a job posting still counts as 'new'. Everything in the output — the score, the department mix, the seniority mix — is measured over this window, not over the whole job board. 30 days is the default because it matches a typical sales cycle.",
            "default": 30
          },
          "roleClasses": {
            "title": "Role types to count",
            "type": "array",
            "description": "Corporate roles are engineering, sales, marketing, finance and the like. Frontline roles are store, warehouse, delivery and shift work. A retailer hiring 20 store associates is replacing turnover, not scaling — so frontline is excluded by default. Excluded roles are still counted in new_roles_by_role_class, never hidden.",
            "items": {
              "type": "string",
              "enum": [
                "corporate",
                "frontline"
              ],
              "enumTitles": [
                "Corporate (office / knowledge work)",
                "Frontline (store, warehouse, delivery, shift)"
              ]
            },
            "default": [
              "corporate"
            ]
          },
          "departments": {
            "title": "Only these departments",
            "type": "array",
            "description": "Leave empty for all departments. Filtering narrows the score to the area you sell into — pick Engineering to find companies growing their tech team, Sales to find companies building a revenue org.",
            "items": {
              "type": "string",
              "enum": [
                "engineering",
                "sales",
                "marketing",
                "product",
                "design",
                "data",
                "finance",
                "hr",
                "operations",
                "support",
                "legal",
                "clinical",
                "other"
              ],
              "enumTitles": [
                "Engineering",
                "Sales",
                "Marketing",
                "Product",
                "Design",
                "Data",
                "Finance",
                "HR / People",
                "Operations",
                "Support",
                "Legal",
                "Clinical / Medical",
                "Other"
              ]
            }
          },
          "minSignalScore": {
            "title": "Minimum signal score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop companies scoring below this. 0 returns everything, including quiet companies. Try 40 to keep only companies actually growing. Note: filtered-out companies are still analysed, so they still count towards cost.",
            "default": 0
          },
          "maxCompanies": {
            "title": "Maximum companies to analyse",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on how many companies get analysed, so a long input list cannot surprise you with a bill. The run stops cleanly when it hits this.",
            "default": 100
          },
          "maxRolesPerCompany": {
            "title": "Maximum roles per company",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Cap on job postings counted per company, within the window. A second, non-configurable cap of 25 pagination requests also applies. On Workable — the only ATS that paginates 10 at a time — that request cap means roughly 250 roles per company. When either cap bites, the row is flagged with roles_truncated: true.",
            "default": 500
          },
          "maxConcurrency": {
            "title": "Maximum concurrent companies",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many companies to process at once. Kept low on purpose: these are free public endpoints run by other people, and hammering them is how they get closed. Raise only if you are running a large list and have checked the ATS is coping.",
            "default": 3
          },
          "includeJobRows": {
            "title": "Also output individual job rows",
            "type": "boolean",
            "description": "Off by default — the product is one row per company. Turn this on to also write one row per job posting, for when you need the raw postings behind a score. This is billed as a separate, cheaper event per job row.",
            "default": false
          },
          "healthCheck": {
            "title": "Health check mode (canary)",
            "type": "boolean",
            "description": "For scheduled monitoring, not for normal use. Fails the run when the ATS platforms change shape: detection drops, posted_at goes missing, or too many roles fall into the 'other' department. The failure message names which ATS broke.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}