{
  "openapi": "3.0.1",
  "info": {
    "title": "ATS Job Board Scraper - Greenhouse, Lever, Ashby, Workable",
    "description": "Beta (v0.1): Scrape live job postings directly from Greenhouse, Lever, Ashby, and Workable career sites with zero index delay. Deduplicates multi-city postings into one record, filters full job descriptions without timeouts, tracks NEW/ACTIVE/CLOSED hiring signals, and supports a free dryRun count.",
    "version": "0.1",
    "x-build-id": "j2hGSurv4yozLOos9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/eszetael_lab~ats-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-eszetael_lab-ats-jobs-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/eszetael_lab~ats-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-eszetael_lab-ats-jobs-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/eszetael_lab~ats-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-eszetael_lab-ats-jobs-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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Companies (slugs or ATS board URLs)",
            "maxItems": 500,
            "type": "array",
            "description": "Company board slugs (e.g. 'stripe', 'airbnb', 'notion') or full board URLs (boards.greenhouse.io/x, jobs.lever.co/x, jobs.ashbyhq.com/x, apply.workable.com/x). Bare slugs are probed across the selected atsPlatforms until the first match. SmartRecruiters is disabled (robots.txt Disallow: /).",
            "items": {
              "type": "string"
            }
          },
          "atsPlatforms": {
            "title": "ATS platforms to probe for bare slugs",
            "type": "array",
            "description": "Which ATS platforms to try (in order) when an entry in 'companies' is a bare slug rather than a full URL. Defaults to all 4 supported platforms.",
            "default": [
              "greenhouse",
              "lever",
              "ashby",
              "workable"
            ],
            "items": {
              "type": "string"
            }
          },
          "titleInclude": {
            "title": "Title include keywords",
            "type": "array",
            "description": "Keep only jobs whose title contains at least one of these substrings (case-insensitive). Leave empty to include all titles.",
            "items": {
              "type": "string"
            }
          },
          "titleExclude": {
            "title": "Title exclude keywords",
            "type": "array",
            "description": "Exclude any job whose title contains any of these substrings (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "descriptionInclude": {
            "title": "Description include keywords",
            "type": "array",
            "description": "Keep only jobs whose full plain-text description contains at least one of these substrings (case-insensitive). Evaluated locally without extra requests or timeouts.",
            "items": {
              "type": "string"
            }
          },
          "descriptionExclude": {
            "title": "Description exclude keywords",
            "type": "array",
            "description": "Exclude any job whose full plain-text description contains any of these substrings (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations filter",
            "type": "array",
            "description": "Filter by country codes, states, or cities with built-in alias expansion (e.g. 'US'='USA'='United States', 'UK'='GB'='United Kingdom', 'PL'='Poland'='Polska', 'NY'='New York', 'Munich'='München').",
            "items": {
              "type": "string"
            }
          },
          "workplaceType": {
            "title": "Workplace type",
            "enum": [
              "",
              "remote",
              "hybrid",
              "onsite"
            ],
            "type": "string",
            "description": "Filter by workplace arrangement (remote, hybrid, onsite), or leave empty for any.",
            "default": ""
          },
          "onlyNew": {
            "title": "Only new jobs (delta mode)",
            "type": "boolean",
            "description": "Emit only jobs that were not seen in the previous run for each company board (state stored in the 'ats-state' Key-Value Store).",
            "default": false
          },
          "emitClosed": {
            "title": "Emit closed jobs (hiringSignal=CLOSED)",
            "type": "boolean",
            "description": "Also emit jobs that disappeared since the previous run as hiringSignal='CLOSED', preserving firstSeenAt and computing daysOpen.",
            "default": false
          },
          "dryRun": {
            "title": "Dry run (count matching jobs for free)",
            "type": "boolean",
            "description": "Fetch and filter jobs, then write {count, perCompany} to Key-Value Store key 'DRY_RUN' without pushing dataset items or charging PPE events ($0 cost).",
            "default": false
          },
          "includeDescription": {
            "title": "Include full job description text",
            "type": "boolean",
            "description": "Include plain-text job description ('descriptionText') in output records. Description filters always run before stripping.",
            "default": true
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard cap on delivered records (0 = up to safety cap of 50,000). Controls your maximum PPE spend per run.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}