{
  "openapi": "3.0.1",
  "info": {
    "title": "Lever Jobs Scraper",
    "description": "Scrape every active job posting from any Lever.co board — titles, locations, teams, departments, workplace type, full descriptions, responsibilities, and salary ranges. Live from the official Lever API. Filter by title, location, workplace type, country, date, or remote at the source.",
    "version": "0.1",
    "x-build-id": "iZcGruCDvKyPMUMSc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/schnellscrapers~lever-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-schnellscrapers-lever-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/schnellscrapers~lever-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-schnellscrapers-lever-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/schnellscrapers~lever-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-schnellscrapers-lever-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": [
          "boards"
        ],
        "properties": {
          "boards": {
            "title": "Lever boards",
            "type": "array",
            "description": "Companies to pull postings from. Paste the board slug (e.g. `spotify`, `coupa`) or any Lever URL — `https://jobs.lever.co/spotify`, `https://api.lever.co/v0/postings/spotify`. The slug is the segment that follows `jobs.lever.co/` in a company's careers URL.",
            "items": {
              "type": "string"
            }
          },
          "companyMap": {
            "title": "Company name overrides",
            "type": "array",
            "description": "Optional. Map board slugs to human-readable company names so the `companyName` column is populated (Lever's API doesn't return it). One entry per line in `slug=Company Name` format (e.g. `spotify=Spotify`, `insomniacookies=Insomnia Cookies`).",
            "items": {
              "type": "string"
            }
          },
          "eu": {
            "title": "Use EU API region",
            "type": "boolean",
            "description": "Query `api.eu.lever.co` instead of the global `api.lever.co`. The global host serves every board; flip this only if you specifically need the EU endpoint.",
            "default": false
          },
          "includeContent": {
            "title": "Include job description",
            "type": "boolean",
            "description": "Include the main posting body (`description` HTML + `descriptionPlain` text) in each record. Turn off to shrink results by ~80% when you only need titles, locations, and links.",
            "default": true
          },
          "includeAdditional": {
            "title": "Include benefits / extras",
            "type": "boolean",
            "description": "Include Lever's `additional` section — usually benefits, EEO statements, and pay transparency disclosures (HTML + plain text).",
            "default": true
          },
          "includeLists": {
            "title": "Include responsibilities & requirements",
            "type": "boolean",
            "description": "Include Lever's `lists` array — the bulleted sub-sections like \"What you'll do\", \"Requirements\", \"Nice to have\". Each entry has the section header, the HTML content, and (when `parseContent` is on) plain text.",
            "default": true
          },
          "includeSalary": {
            "title": "Include salary fields",
            "type": "boolean",
            "description": "Include `salaryRange` (min/max/currency/interval) and `salaryDescription` when Lever exposes them. Approximately 1 in 3 postings carry salary data depending on the board.",
            "default": true
          },
          "parseContent": {
            "title": "Re-derive plain text from HTML",
            "type": "boolean",
            "description": "Re-run HTML stripping over `description`, `additional`, and each `lists[].content` to populate `descriptionPlain`, `additionalPlain`, and `lists[].contentPlain` from the same source. Useful when feeding records into LLMs or full-text search.",
            "default": false
          },
          "titleFilter": {
            "title": "Title includes",
            "type": "array",
            "description": "Case-insensitive substring match against the posting title. A record is kept if any term matches (e.g. `engineer`, `designer`). Leave empty to keep all titles.",
            "items": {
              "type": "string"
            }
          },
          "titleExcludeFilter": {
            "title": "Title excludes",
            "type": "array",
            "description": "Drop postings whose title contains any of these substrings (e.g. `intern`, `manager`).",
            "items": {
              "type": "string"
            }
          },
          "locationFilter": {
            "title": "Location includes",
            "type": "array",
            "description": "Substring match against the primary location and the full `allLocations` array (e.g. `new york`, `berlin`, `remote`).",
            "items": {
              "type": "string"
            }
          },
          "locationExcludeFilter": {
            "title": "Location excludes",
            "type": "array",
            "description": "Drop postings whose location matches any term (e.g. `india` to exclude India-based postings).",
            "items": {
              "type": "string"
            }
          },
          "teamFilter": {
            "title": "Team includes",
            "type": "array",
            "description": "Substring match against `categories.team` (e.g. `platform`, `growth`).",
            "items": {
              "type": "string"
            }
          },
          "departmentFilter": {
            "title": "Department includes",
            "type": "array",
            "description": "Substring match against `categories.department` (e.g. `engineering`, `design`, `sales`).",
            "items": {
              "type": "string"
            }
          },
          "commitmentFilter": {
            "title": "Commitment includes",
            "type": "array",
            "description": "Substring match against `categories.commitment` (e.g. `full-time`, `intern`, `contract`). Free-form text in Lever — partial matches work best.",
            "items": {
              "type": "string"
            }
          },
          "workplaceTypeFilter": {
            "title": "Workplace type",
            "type": "array",
            "description": "Exact match against `workplaceType`. Valid values: `remote`, `hybrid`, `onsite`, `unspecified`.",
            "items": {
              "type": "string"
            }
          },
          "countryFilter": {
            "title": "Country includes",
            "type": "array",
            "description": "Two-letter country codes Lever reports (e.g. `US`, `GB`, `DE`). Case-insensitive exact match.",
            "items": {
              "type": "string"
            }
          },
          "companyFilter": {
            "title": "Company includes",
            "type": "array",
            "description": "Substring match against the company name you assigned via `companyMap`. Useful when one run covers many boards.",
            "items": {
              "type": "string"
            }
          },
          "descriptionContains": {
            "title": "Description contains",
            "type": "array",
            "description": "Substring match across the description, additional, and plain-text fields (e.g. `python`, `kubernetes`, `visa sponsorship`). Auto-enables `includeContent` if both content fetches are off.",
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Keep only postings whose `workplaceType` is `remote` or whose location string contains `remote`. Hybrid is excluded.",
            "default": false
          },
          "createdAfter": {
            "title": "Only postings created after",
            "type": "string",
            "description": "ISO 8601 date or timestamp (e.g. `2026-05-01` or `2026-05-01T00:00:00Z`). Drops postings whose `createdAt` is older. Leave blank to keep every active posting."
          },
          "maxItems": {
            "title": "Maximum records (total)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard cap on total records emitted across all boards. Useful for cost-bounded test runs. Leave at 0 to emit every matching posting.",
            "default": 0
          },
          "maxItemsPerBoard": {
            "title": "Maximum records per board",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Per-board cap on emitted records. Leave at 0 to emit every matching posting from each board.",
            "default": 0
          },
          "dryRun": {
            "title": "Dry run",
            "type": "boolean",
            "description": "Fetch and parse the boards but do not write to the dataset. Use to preview without spending credits.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}