{
  "openapi": "3.0.1",
  "info": {
    "title": "BambooHR Jobs Scraper & API: Keyword Search",
    "description": "BambooHR jobs scraper and API. Returns open job postings: title, department, location, workplace type, posted date, apply link and description. Search 635 BambooHR career sites by keyword, or give BambooHR careers links. Flags new jobs. $1.50 per 1,000 jobs or less.",
    "version": "0.1",
    "x-build-id": "atd3gV5qPMQgNH4fn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kitbench~bamboohr-jobs-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kitbench-bamboohr-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/kitbench~bamboohr-jobs-api/runs": {
      "post": {
        "operationId": "runs-sync-kitbench-bamboohr-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/kitbench~bamboohr-jobs-api/run-sync": {
      "post": {
        "operationId": "run-sync-kitbench-bamboohr-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",
        "properties": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Company mode: one BambooHR careers page per line, up to 500: its link (https://paylocity.bamboohr.com/careers) or bamboohr:company. Leave empty to search the BambooHR boards in the directory instead (give Job title keywords or Location contains; Max jobs caps the run). A plain company name or domain is also tried as the BambooHR name, but it rarely matches, so give the link.",
            "items": {
              "type": "string"
            }
          },
          "titleKeywords": {
            "title": "Job title keywords",
            "type": "array",
            "description": "Keep only jobs whose title contains at least one of these words or phrases (not case-sensitive), for example engineer or product manager. In company mode, leave empty to keep every job. In search mode (no companies) give at least one keyword or a location.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location contains",
            "type": "string",
            "description": "Keep only jobs whose location contains this text (not case-sensitive), for example Berlin or United States. Jobs with no location are dropped when this is set. In company mode, leave empty for all locations. In search mode (no companies) give a location or at least one keyword.",
            "default": ""
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Keep only jobs BambooHR marks as remote.",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted within the last N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Keep only jobs posted in the last N days (1 to 365). A job with no posted date is dropped when this is set. Leave empty for no limit."
          },
          "onlyNew": {
            "title": "Only jobs new since the last run",
            "type": "boolean",
            "description": "Return only jobs that were not on the board the last time this board was read (see Seen-jobs store). The first run for a board has no earlier run, so every job counts as new. Turn on for a scheduled new-jobs feed.",
            "default": false
          },
          "excludeTitleKeywords": {
            "title": "Exclude title keywords",
            "type": "array",
            "description": "Drop jobs whose title contains any of these words or phrases (not case-sensitive), for example intern or director. Applied together with the other filters, before anything is charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minSalary": {
            "title": "Minimum yearly pay",
            "minimum": 1,
            "type": "number",
            "description": "Drop jobs whose published pay is below this yearly figure (hourly, daily, weekly and monthly pay is converted: 2080 hours, 260 days, 52 weeks or 12 months a year; the top of the range is compared; currencies are not converted). Board pay is always compared; pay read from the description only when Read pay from the description is on. A job with no pay, or with pay that states no period, is KEPT unless Require pay is on. Applied before anything is charged."
          },
          "requireSalary": {
            "title": "Require pay",
            "type": "boolean",
            "description": "Drop jobs that have no pay at all (neither the board's nor, when that is on, the description's). Off by default: jobs without pay are kept.",
            "default": false
          },
          "parsePayFromDescription": {
            "title": "Read pay from the description",
            "type": "boolean",
            "description": "When a board gives no structured pay, read the pay range the description text states (for example $120,000 - $150,000 per year) into salaryMin, salaryMax, salaryCurrency and salaryInterval, with salarySource description and the matched words in salaryText. Board pay is never replaced. Text that is ambiguous, or that names equity, a bonus or revenue, gives nothing. The shipped default is set by the measured accuracy (see the README). Needs Include job descriptions.",
            "default": false
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The most jobs returned (and charged) for one company, 1 to 5000. Jobs beyond the limit are not marked as seen, so they are still new next run. The form starts at 20 for a quick first run; when the field is left out (API), it is 1000.",
            "default": 1000
          },
          "maxJobs": {
            "title": "Max jobs (search mode)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Search mode only (when Companies is empty): the most jobs the whole run returns and charges for, 1 to 10000. The search stops reading boards once it is reached; jobs beyond it are not marked as seen, so they are still new next run. Ignored when you give companies.",
            "default": 200
          },
          "includeDescriptions": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Return each job's description as text and HTML. Turn off for a lighter, faster run. BambooHR needs one extra request per job for descriptions.",
            "default": true
          },
          "markNewJobs": {
            "title": "Mark new jobs (keep a seen-jobs list)",
            "type": "boolean",
            "description": "Fill in isNew and firstSeenAt by comparing each board with its list from the last run, and save the new list. Turn off and both fields are null and nothing is saved, unless Only jobs new since the last run is on: that keeps the list whatever this says.",
            "default": true
          },
          "seenStoreName": {
            "title": "Seen-jobs store",
            "type": "string",
            "description": "Name of the key-value store that keeps each board's list of jobs between runs (lowercase letters, digits and hyphens, 3 to 63 characters). Use a different name for each separate feed. It is created in your account the first time. If it cannot be opened, new jobs are not marked in that run, and a run with Only jobs new since the last run fails before anything is read.",
            "default": "kitbench-bamboohr-jobs-seen"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}