{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse, Lever & Ashby Job Scraper + Search",
    "description": "Get job postings from Greenhouse, Lever, Ashby and SmartRecruiters in one clean schema. Paste a careers page URL, a company website or a board slug, or search indexed boards by title, location, remote and date. Daily new-jobs diff. $1.50 per 1,000 jobs; empty runs are free.",
    "version": "0.2",
    "x-build-id": "chICAebN0mnhDaYIQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/andocaps~ats-job-postings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-andocaps-ats-job-postings",
        "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/andocaps~ats-job-postings/runs": {
      "post": {
        "operationId": "runs-sync-andocaps-ats-job-postings",
        "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/andocaps~ats-job-postings/run-sync": {
      "post": {
        "operationId": "run-sync-andocaps-ats-job-postings",
        "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": {
          "query": {
            "title": "Search: job title words",
            "type": "string",
            "description": "SEARCH MODE (used only when `companies` is empty). Words that must all appear in the job title or department, e.g. \"data engineer\". Use \"|\" for alternatives: \"data engineer|machine learning\". Quote a phrase to keep words together: \"\\\"product manager\\\"\". Prefix matching is automatic (engineer matches engineering). Combine with locationKeywords, countries, remoteOnly, atsFilter, postedAfter, excludeKeywords."
          },
          "companies": {
            "title": "Live: companies (URL, ats:slug, or slug) - leave empty to search the index",
            "maxItems": 200,
            "uniqueItems": true,
            "type": "array",
            "description": "LIVE MODE. Up to 200 entries. Accepted forms: a full URL (ATS job board, careers page or company website), 'greenhouse:stripe' / 'lever:netflix' / 'ashby:openai' / 'smartrecruiters:Bosch' / 'workable:acme', or a bare word such as 'stripe' which is probed on every supported ATS. Slugs are case-sensitive for SmartRecruiters and Ashby. Leave EMPTY to search the index with `query` and the filters instead.",
            "items": {
              "type": "string"
            }
          },
          "titleKeywords": {
            "title": "Title keywords (any of)",
            "type": "array",
            "description": "Keep a job when its title contains at least one of these words or phrases (case-insensitive). Leave empty to keep every title. Example: [\"engineer\", \"data\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude title keywords",
            "type": "array",
            "description": "Drop a job when its title contains any of these words (case-insensitive). Example: [\"senior\", \"director\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationKeywords": {
            "title": "Location keywords (any of)",
            "type": "array",
            "description": "Keep a job when its location text (all listed locations, city, region and country) contains at least one of these (case-insensitive). In search mode each keyword is matched as a word prefix in the index (\"Lond\" matches London). Example: [\"London\", \"United Kingdom\", \"Remote\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Keep only jobs whose workplace type is remote or hybrid, as declared by the ATS field when it exists (Lever workplaceType, Ashby isRemote/workplaceType, SmartRecruiters location.remote, Workable telecommuting) or, failing that, when the location text contains 'remote'.",
            "default": false
          },
          "postedAfter": {
            "title": "Posted after",
            "pattern": "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$|^[0-9]{1,4}d$",
            "type": "string",
            "description": "Keep only jobs posted on or after this date. Either an ISO date (2026-11-01) or a relative number of days (\"7d\" = last 7 days). Uses the ATS posting date when it exists (Greenhouse first_published, Lever createdAt, Ashby publishedAt, SmartRecruiters releasedDate, Workable published_on). Jobs without any date are kept."
          },
          "countries": {
            "title": "Search: countries (ISO-2)",
            "type": "array",
            "description": "SEARCH MODE. Keep jobs whose country is one of these ISO 3166-1 alpha-2 codes, e.g. [\"FR\", \"DE\"]. Country is taken from the ATS field when it gives one (Lever, Ashby, SmartRecruiters, Workable); Greenhouse jobs have no country field and are only matched through locationKeywords.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "atsFilter": {
            "title": "Search: ATS",
            "type": "array",
            "description": "SEARCH MODE. Restrict to these ATS: greenhouse, lever, ashby, smartrecruiters, workable. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyQuery": {
            "title": "Search: company name words",
            "type": "string",
            "description": "SEARCH MODE. Words of the company name (as published by the ATS) to restrict the search to, e.g. \"example corp\". Use \"|\" for alternatives."
          },
          "maxResults": {
            "title": "Search: max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "SEARCH MODE. Upper bound of job rows returned (and charged) by one search, newest first. Default 500, maximum 5000.",
            "default": 500
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper bound of job rows returned (and charged) per company, after filters. Default 500, maximum 5000.",
            "default": 500
          },
          "includeDescription": {
            "title": "Include job description",
            "type": "boolean",
            "description": "Add description_html and description_text to every row. Live mode: included in the API responses (SmartRecruiters: one extra request per job). Search mode: the index stores only a short snippet, so the Actor re-reads each matching company board live (one request per board, max 150 boards per run); set to false for the fastest, cheapest search.",
            "default": true
          },
          "onlyNewSinceLastRun": {
            "title": "Watch mode: only new jobs since last run",
            "type": "boolean",
            "description": "When true, the Actor remembers the jobs it has already returned (in a named key-value store 'ats-jobs-watch-state' in your account, under the watchId key) and returns only jobs not seen before. Jobs that disappeared (no longer listed by the company, or removed from the index) are returned as free rows with status 'closed'. Works in live and search mode. The first run returns and charges everything that matches.",
            "default": false
          },
          "watchId": {
            "title": "Watch ID",
            "type": "string",
            "description": "Name of the memory used by watch mode. Use a different value per distinct search (e.g. 'eng-remote-eu'). Leave empty to derive it from the companies and filters.",
            "default": ""
          },
          "resolveCareersPages": {
            "title": "Detect ATS on non-ATS URLs",
            "type": "boolean",
            "description": "When a company entry is a URL that is not on an ATS domain (e.g. https://www.acme.com/careers), fetch that page once (plus /careers and /jobs for a bare domain) and look for an embedded Greenhouse, Lever, Ashby, SmartRecruiters or Workable board. Turn off to only accept ATS URLs and slugs.",
            "default": true
          },
          "includeRaw": {
            "title": "Include raw ATS record",
            "type": "boolean",
            "description": "Attach the untouched JSON object returned by the ATS under the 'raw' field. Bigger rows; useful when you need a field the common schema does not carry.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}