{
  "openapi": "3.0.1",
  "info": {
    "title": "Salary Data from Job Postings - Greenhouse, Lever, Ashby",
    "description": "Reads open postings on the public Greenhouse, Ashby and Lever job boards you name, extracts employer-published pay ranges, normalizes them (min/max/currency/interval, role family, seniority) and rolls them up into median, p25 and p75 salary benchmarks.",
    "version": "1.0",
    "x-build-id": "g3grRBguc4VrE9XW6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mibedk~ats-pay-range-benchmark/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mibedk-ats-pay-range-benchmark",
        "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/mibedk~ats-pay-range-benchmark/runs": {
      "post": {
        "operationId": "runs-sync-mibedk-ats-pay-range-benchmark",
        "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/mibedk~ats-pay-range-benchmark/run-sync": {
      "post": {
        "operationId": "run-sync-mibedk-ats-pay-range-benchmark",
        "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": {
          "greenhouseBoards": {
            "title": "Greenhouse board slugs",
            "type": "array",
            "description": "Company slugs on Greenhouse. The slug is the last path segment of the company's board URL: job-boards.greenhouse.io/anthropic -> \"anthropic\". Leave as-is to use the built-in seed list. A full URL is accepted and reduced to its slug.",
            "default": [
              "anthropic",
              "databricks",
              "datadog",
              "gitlab",
              "cloudflare"
            ],
            "items": {
              "type": "string"
            }
          },
          "ashbyBoards": {
            "title": "Ashby board slugs",
            "type": "array",
            "description": "Company slugs on Ashby. The slug is the first path segment of jobs.ashbyhq.com/openai -> \"openai\". Ashby publishes a typed compensation field, so coverage is usually higher than Greenhouse.",
            "default": [
              "openai",
              "ramp",
              "sierra",
              "harvey",
              "notion"
            ],
            "items": {
              "type": "string"
            }
          },
          "leverBoards": {
            "title": "Lever board slugs (optional)",
            "type": "array",
            "description": "Company slugs on Lever, e.g. jobs.lever.co/leverdemo -> \"leverdemo\". Empty by default: many companies that once used Lever now return 404, and Lever postings carry pay ranges less often than the other two.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyWithPayRange": {
            "title": "Only return postings that published a pay range",
            "type": "boolean",
            "description": "On by default. Turn it off to also receive postings with no published pay, which is useful for measuring what share of a company's roles disclose. Postings without a range are never charged for.",
            "default": true
          },
          "maxPayRecords": {
            "title": "Maximum records to return",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Hard cap on dataset records, and therefore on cost. The run stops as soon as it is reached. Range 1-200000.",
            "default": 300
          },
          "maxPostingsPerBoard": {
            "title": "Maximum postings to read per board",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Caps how many postings are read from each company, so one very large board cannot use up the whole record budget. 0 means no per-board limit.",
            "default": 0
          },
          "roleFamilies": {
            "title": "Role families to keep",
            "type": "array",
            "description": "Keep only these normalized role families. Leave empty for all. The family is derived from the job title and department.",
            "items": {
              "type": "string",
              "enum": [
                "engineering",
                "data-and-ml",
                "product",
                "design",
                "sales",
                "marketing",
                "customer-success",
                "operations",
                "finance",
                "legal",
                "people-and-hr",
                "security",
                "research",
                "other"
              ]
            },
            "default": []
          },
          "seniorities": {
            "title": "Seniority levels to keep",
            "type": "array",
            "description": "Keep only these seniority levels, derived from title tokens. Leave empty for all. \"unspecified\" covers titles with no level word, which are usually mid-level.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "entry",
                "mid",
                "senior",
                "staff",
                "principal",
                "manager",
                "director",
                "executive",
                "unspecified"
              ]
            },
            "default": []
          },
          "locationContains": {
            "title": "Location contains",
            "type": "string",
            "description": "Case-insensitive substring match against the posting's raw location and its normalized bucket, e.g. \"New York\", \"CA\", \"Remote\". Leave empty for all locations.",
            "default": ""
          },
          "currencies": {
            "title": "Currencies to keep",
            "type": "array",
            "description": "ISO codes such as USD, GBP, EUR. Leave empty for all. Note that this actor never converts between currencies.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minAnnualPay": {
            "title": "Minimum annualized top of range",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Drop postings whose annualized maximum falls below this figure, in the posting's own currency. 0 disables the filter.",
            "default": 0
          },
          "includeBenchmarks": {
            "title": "Also produce benchmark roll-up rows",
            "type": "boolean",
            "description": "Writes median/p25/p75 rows grouped by role family x seniority x location x currency to the named \"benchmarks\" dataset and to the BENCHMARKS key-value record.",
            "default": true
          },
          "benchmarkMinSampleSize": {
            "title": "Minimum postings per benchmark row",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "A group needs at least this many postings before a benchmark row is emitted. Below about 3 the percentiles are not meaningful.",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Maximum concurrent board requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "These are public JSON endpoints with generous limits, but 5 is polite and plenty fast - each request returns an entire board.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (optional)",
            "type": "object",
            "description": "Not needed. These endpoints have no anti-bot protection and the actor works fine without a proxy, which is why proxying is off by default. Enable it only if your own network blocks the requests.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}