{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse, Ashby & Lever Job Scraper (Zero-Proxy + Forms)",
    "description": "Fast, zero-proxy job board scraper for Greenhouse, Ashby, and Lever career sites. Extracts full job descriptions, compensation tiers, departments, application form questions, and remote/visa/interview signals directly from official JSON/GraphQL endpoints.",
    "version": "1.0",
    "x-build-id": "3ThmzhXwq6gOxGnnc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/joseroman~greenhouse-job-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-joseroman-greenhouse-job-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/joseroman~greenhouse-job-scraper/runs": {
      "post": {
        "operationId": "runs-sync-joseroman-greenhouse-job-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/joseroman~greenhouse-job-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-joseroman-greenhouse-job-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",
        "properties": {
          "urls": {
            "title": "Job Board or Job Posting URLs",
            "type": "array",
            "description": "One or more Greenhouse (`boards.greenhouse.io/stripe`, `job-boards.greenhouse.io/anthropic`), Ashby (`jobs.ashbyhq.com/linear`), or Lever (`jobs.lever.co/palantir`) URLs. Accepts both `{ \"url\": \"...\" }` objects and plain URL strings.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "companies": {
            "title": "Company Slugs (Auto-Detect ATS)",
            "type": "array",
            "description": "Optional list of company board slugs (e.g. `[\"stripe\", \"cloudflare\", \"linear\"]`). Automatically probes Greenhouse, Ashby, and Lever to find the active board.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Keyword / Role Search Queries",
            "type": "array",
            "description": "Optional role or keyword queries (e.g. `[\"Software Engineer\", \"AI Engineer\"]`). Filters jobs across the selected boards (or across the built-in high-volume tech company index if `urls` and `companies` are empty).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationFilter": {
            "title": "Location / Remote Filter (Regex or Text)",
            "type": "string",
            "description": "Optional case-insensitive filter matched against job location and workplace type (e.g. `Remote`, `United States|Canada`, `Latin America|Argentina|Europe`).",
            "default": ""
          },
          "remoteOnly": {
            "title": "Remote Jobs Only",
            "type": "boolean",
            "description": "If enabled, only outputs jobs marked Remote in location or workplaceType.",
            "default": false
          },
          "includeApplicationQuestions": {
            "title": "Include Application Form Questions & Compensation Details",
            "type": "boolean",
            "description": "Fetches individual posting question schemas (`?questions=true` on Greenhouse / `ApiJobPosting` on Ashby) for matched jobs to extract screening questions and salary tiers.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum Total Jobs",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum total number of job postings to push to the dataset across the entire run. Gives full cost predictability on Pay-Per-Event pricing.",
            "default": 100
          },
          "maxItemsPerBoard": {
            "title": "Maximum Jobs Per Company Board",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of jobs to extract from any single company board.",
            "default": 50
          },
          "publishedWithinDays": {
            "title": "Published Within Last N Days",
            "minimum": 0,
            "type": "integer",
            "description": "Optional freshness filter: only return jobs published or updated within the last N days (0 = no age limit).",
            "default": 0
          },
          "csvFriendlyOutput": {
            "title": "CSV-Friendly Flat Output",
            "type": "boolean",
            "description": "Flattens arrays into clean pipe/semicolon-separated strings alongside structured fields for seamless CSV/Excel/Google Sheets export.",
            "default": true
          },
          "proxy": {
            "title": "Proxy configuration (Not Needed — Direct JSON API)",
            "type": "object",
            "description": "Kept for drop-in compatibility with existing Greenhouse scrapers. Direct public ATS JSON APIs do not require proxies."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}