{
  "openapi": "3.0.1",
  "info": {
    "title": "ATS Hiring Signals: Greenhouse, Lever & Ashby Jobs API",
    "description": "Turn company domains or names into open jobs from the official public Greenhouse, Lever and Ashby job-board APIs. Normalized jobs (annual USD salary, seniority, function), a per-company hiring summary with a transparent hiring-intent score, and new/closed job tracking between runs.",
    "version": "1.0",
    "x-build-id": "RqYDZ2T2cacP4f5u8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dotcom~ats-hiring-signals/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dotcom-ats-hiring-signals",
        "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/dotcom~ats-hiring-signals/runs": {
      "post": {
        "operationId": "runs-sync-dotcom-ats-hiring-signals",
        "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/dotcom~ats-hiring-signals/run-sync": {
      "post": {
        "operationId": "run-sync-dotcom-ats-hiring-signals",
        "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 (domains, names or board URLs)",
            "type": "array",
            "description": "One entry per company. Accepts a domain (\"linear.app\"), a website URL (\"https://www.stripe.com/jobs\"), a company name (\"Ramp\"), a job-board URL (\"https://jobs.lever.co/spotify\") or an explicit board token (\"greenhouse:airbnb\", \"lever:palantir\", \"ashby:ramp\"). Domains give the most reliable detection; names rely on slug probing.",
            "items": {
              "type": "string"
            }
          },
          "boards": {
            "title": "Direct ATS boards (optional)",
            "type": "array",
            "description": "Optional extra boards when you already know the ATS. Format \"greenhouse:<token>\", \"lever:<token>\" (EU instance: \"lever:eu:<token>\"), \"ashby:<token>\", or a board URL. These skip detection entirely.",
            "items": {
              "type": "string"
            }
          },
          "titleKeywords": {
            "title": "Title keywords (any)",
            "type": "array",
            "description": "Keep jobs whose title contains ANY of these (case-insensitive substring). Example: [\"engineer\", \"developer\"].",
            "items": {
              "type": "string"
            }
          },
          "excludeTitleKeywords": {
            "title": "Exclude title keywords",
            "type": "array",
            "description": "Drop jobs whose title contains ANY of these. Example: [\"intern\"].",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (any)",
            "type": "array",
            "description": "Keep jobs whose location(s) or country contain ANY of these substrings, e.g. [\"New York\", \"London\", \"US\"]. The value \"remote\" also matches jobs classified as remote.",
            "items": {
              "type": "string"
            }
          },
          "workplace": {
            "title": "Workplace type",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "onsite",
              "remote_or_hybrid"
            ],
            "type": "string",
            "description": "Filter by normalized workplace type. \"unknown\" jobs (no signal in the ATS data) only pass with \"any\".",
            "default": "any"
          },
          "departments": {
            "title": "Departments / teams (any)",
            "type": "array",
            "description": "Keep jobs whose department or team contains ANY of these substrings, e.g. [\"Sales\", \"Engineering\"].",
            "items": {
              "type": "string"
            }
          },
          "seniority": {
            "title": "Seniority levels",
            "type": "array",
            "description": "Keep only these rule-based seniority levels (classified from the job title). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "junior",
                "mid",
                "senior",
                "staff_principal",
                "lead",
                "manager",
                "director",
                "vp",
                "c_level"
              ],
              "enumTitles": [
                "Intern",
                "Junior / entry",
                "Mid / unspecified",
                "Senior",
                "Staff / principal",
                "Lead",
                "Manager",
                "Director / head of",
                "VP",
                "C-level"
              ]
            }
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only jobs whose posting date is within this many days. Jobs without a posting date are dropped when this is set."
          },
          "includeDescriptions": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Add the full job description to each job record. Makes output much larger.",
            "default": false
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "text",
              "html"
            ],
            "type": "string",
            "description": "Plain text (good for LLMs) or the original HTML.",
            "default": "text"
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of job records output per company (0 = no limit). The summary still counts all matching jobs.",
            "default": 0
          },
          "changeTracking": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Store a snapshot of each board in a named key-value store and report new/closed jobs, isNew flags and first-seen dates on later runs.",
            "default": true
          },
          "onlyNewJobs": {
            "title": "Output only new jobs",
            "type": "boolean",
            "description": "Output only jobs that were not on the board at the previous tracked run (the first run only saves a baseline). Summaries are still produced.",
            "default": false
          },
          "emitChangeEvents": {
            "title": "Emit change events",
            "type": "boolean",
            "description": "Write job_added / job_removed records to the \"changes\" dataset (after the first tracked run).",
            "default": true
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that keeps snapshots and the detection cache. Use different names for independent monitors. Only a-z, 0-9 and inner hyphens are valid; other characters are converted (\"My Store\" becomes \"my-store\").",
            "default": "ats-hiring-signals-state"
          },
          "detectFromWebsite": {
            "title": "Detect ATS from the company website",
            "type": "boolean",
            "description": "For domain inputs, read the homepage and up to 4 careers pages (robots.txt respected) and look for Greenhouse, Lever or Ashby board links.",
            "default": true
          },
          "probeSlugs": {
            "title": "Probe likely board names",
            "type": "boolean",
            "description": "If no link is found, try likely board tokens (from the domain or name) against the three official APIs. Results include a confidence level.",
            "default": true
          },
          "cacheDetection": {
            "title": "Cache detections",
            "type": "boolean",
            "description": "Remember which board a company uses (in the state store) to skip detection on later runs.",
            "default": true
          },
          "detectionCacheDays": {
            "title": "Detection cache lifetime (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Re-detect after this many days.",
            "default": 14
          },
          "parseSalaryFromDescription": {
            "title": "Parse salary from description text",
            "type": "boolean",
            "description": "When the ATS has no structured salary, extract a pay range from the description (marked salarySource = description_text).",
            "default": true
          },
          "convertSalaryToUSD": {
            "title": "Convert salaries to annual USD",
            "type": "boolean",
            "description": "Add salaryAnnualMinUSD / salaryAnnualMaxUSD using European Central Bank reference rates of the day.",
            "default": true
          },
          "fetchGreenhouseSalaries": {
            "title": "Greenhouse: fetch pay ranges per job",
            "type": "boolean",
            "description": "For Greenhouse jobs without a salary, call the per-job endpoint with pay_transparency=true (1 extra request per job, slower).",
            "default": false
          },
          "maxCompanies": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Process at most this many inputs (0 = all).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max concurrent companies",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Companies processed in parallel. Per-host rate limits stay in force (Lever: 1 request/second, as its robots.txt asks).",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}