{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse Jobs API: Live Jobs from Public Boards",
    "description": "Live open jobs from public Greenhouse job boards: paste board tokens, get one clean JSON row per job with department, offices, remote flag, pay range, dates and apply link. Filters, only-new mode, pay per job. Unofficial; not affiliated with Greenhouse.",
    "version": "0.0",
    "x-build-id": "ZSoXJ5xJzeqOibb4n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atsdatalabs~greenhouse-jobs-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atsdatalabs-greenhouse-jobs-api",
        "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/atsdatalabs~greenhouse-jobs-api/runs": {
      "post": {
        "operationId": "runs-sync-atsdatalabs-greenhouse-jobs-api",
        "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/atsdatalabs~greenhouse-jobs-api/run-sync": {
      "post": {
        "operationId": "run-sync-atsdatalabs-greenhouse-jobs-api",
        "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": [
          "boards"
        ],
        "properties": {
          "boards": {
            "title": "Greenhouse boards (board tokens or URLs)",
            "maxItems": 500,
            "type": "array",
            "description": "One entry per Greenhouse board: the board token (the part after boards.greenhouse.io/ or job-boards.greenhouse.io/, for example \"stripe\"), the board URL, or greenhouse:token. EU boards (job-boards.eu.greenhouse.io) work too. Entries of other ATSs are reported as invalid (free); use Company Jobs API for several ATSs in one run. Max 500.",
            "items": {
              "type": "string",
              "maxLength": 500
            }
          },
          "titleKeywords": {
            "title": "Title keywords",
            "maxItems": 50,
            "type": "array",
            "description": "Keep jobs whose title contains ANY of these words (case-insensitive, whole words). Example: [\"data engineer\", \"terraform\"]. Empty keeps all.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "excludeTitleKeywords": {
            "title": "Exclude title keywords",
            "maxItems": 50,
            "type": "array",
            "description": "Drop jobs whose title contains ANY of these words, for example [\"intern\", \"principal\"].",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "descriptionKeywords": {
            "title": "Description keywords",
            "maxItems": 50,
            "type": "array",
            "description": "Keep jobs whose title or description mentions ANY of these words, for example [\"snowflake\", \"dbt\"].",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "locations": {
            "title": "Locations",
            "maxItems": 50,
            "type": "array",
            "description": "Keep jobs where any location contains ANY of these texts (case- and accent-insensitive), for example [\"Berlin\", \"London\", \"Remote\"].",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "countries": {
            "title": "Countries (ISO codes)",
            "maxItems": 250,
            "type": "array",
            "description": "Keep jobs in ANY of these countries, as two-letter ISO codes such as [\"US\", \"DE\", \"GB\"]. Uses the country data Greenhouse publishes, so jobs without country data are dropped.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "default": []
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Keep only jobs marked as fully remote (hybrid jobs are dropped).",
            "default": false
          },
          "workplaceTypes": {
            "title": "Workplace types",
            "type": "array",
            "description": "Keep jobs with ANY of these workplace types. Jobs whose type is unknown are dropped when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "onsite"
              ],
              "enumTitles": [
                "Remote",
                "Hybrid",
                "On-site"
              ]
            },
            "default": []
          },
          "departments": {
            "title": "Departments or teams",
            "maxItems": 50,
            "type": "array",
            "description": "Keep jobs whose department or team contains ANY of these texts, for example [\"Engineering\", \"Data\"].",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep jobs first published within this many days. Uses the update date when there is no publish date; jobs without any date are dropped. Leave empty for no limit."
          },
          "onlyNew": {
            "title": "Only new jobs",
            "type": "boolean",
            "description": "Return only jobs this Actor has not returned before for the same state key. Ideal for scheduled monitoring: the first run returns everything, later runs only what is new. The state is kept in your account in a key-value store named ats-greenhouse-jobs-state.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "pattern": "^[A-Za-z0-9_.-]+$",
            "maxLength": 100,
            "type": "string",
            "description": "Name of the \"already seen\" list used by Only new jobs. Use a different key per monitor. Letters, digits, \".\", \"_\" and \"-\" only.",
            "default": "default"
          },
          "includeDescription": {
            "title": "Include description",
            "enum": [
              "text",
              "none"
            ],
            "type": "string",
            "description": "\"text\" adds the job description as plain text (HTML removed); \"none\" leaves it out for smaller results.",
            "default": "text"
          },
          "descriptionMaxChars": {
            "title": "Description length limit",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Cut descriptions to at most this many characters (at a word boundary). 0 removes them.",
            "default": 4000
          },
          "includeSalary": {
            "title": "Look up pay ranges",
            "type": "boolean",
            "description": "Greenhouse publishes pay ranges only per job, so this makes one extra request per returned job (at most 5 per second). Pay ranges written in descriptions are always parsed.",
            "default": true
          },
          "includeStatusRows": {
            "title": "Add status rows to the dataset",
            "type": "boolean",
            "description": "Off (default): the dataset holds job rows only, so it loads cleanly into Sheets, Zapier, Make and run-sync API calls; the status of every board (found, not found, error, jobs returned) is in the OUTPUT record and the run's status message. On: also add one free row with type \"status\" per input board to the dataset.",
            "default": false
          },
          "keepContactDetails": {
            "title": "Keep recruiter contact details",
            "type": "boolean",
            "description": "Off (default): e-mail addresses and phone numbers in descriptions and salary texts are replaced with [email removed] and [phone removed]. Turn on only if you have a lawful basis to process recruiters' contact details.",
            "default": false
          },
          "spreadsheetSafe": {
            "title": "Spreadsheet-safe text",
            "type": "boolean",
            "description": "Prefix text values that start with =, +, -, @, a tab or a carriage return with an apostrophe, so CSV/Excel exports never run them as formulas. Off (default): text is exported exactly as published.",
            "default": false
          },
          "maxJobsPerBoard": {
            "title": "Max jobs per board",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most jobs returned per board after filters. Each returned job is charged.",
            "default": 500
          },
          "maxTotalJobs": {
            "title": "Max jobs per run",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Most jobs returned by the whole run. The run also stops at your Maximum cost per run.",
            "default": 2000
          },
          "maxConcurrency": {
            "title": "Boards fetched in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many boards are fetched at the same time. Greenhouse pay-range lookups are limited to 5 per second, whatever this setting.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}