{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobs Index: Greenhouse, Lever & Ashby by Place, Radius & Pay",
    "description": "Search Fairquery's daily index of public Greenhouse, Lever and Ashby postings across ~8,800 company boards by US ZIP or City radius, place, role, seniority and employer-published pay. One row per open job with a link to the employer's posting. No description bodies stored.",
    "version": "0.1",
    "x-build-id": "h80FTmY5g8VdSonwM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fairquery~jobs-index-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fairquery-jobs-index-search",
        "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/fairquery~jobs-index-search/runs": {
      "post": {
        "operationId": "runs-sync-fairquery-jobs-index-search",
        "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/fairquery~jobs-index-search/run-sync": {
      "post": {
        "operationId": "run-sync-fairquery-jobs-index-search",
        "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": {
          "near": {
            "title": "Near (US ZIP or City, ST)",
            "type": "string",
            "description": "Radius center: 5-digit US ZIP (\"18013\") or \"City, ST\" (\"Allentown, PA\"). Satisfies the place requirement; Locations and Countries are ignored when set. Static US Census 2024 Gazetteer table, no geocoder call."
          },
          "radiusMiles": {
            "title": "Radius (miles)",
            "minimum": 1,
            "maximum": 150,
            "type": "integer",
            "description": "Statute miles from Near. Default 25, max 150. Only single 'City, ST' or ZIP location lines get a distance; state-only, regional, country-wide and remote lines are never radius hits.",
            "default": 25
          },
          "locations": {
            "title": "Locations (any)",
            "type": "array",
            "description": "Place names, any-of, when Near is not set. Examples: \"Costa Mesa\", \"Allentown, PA\", \"PA\". Max 50.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (ISO-2, any)",
            "type": "array",
            "description": "ISO-3166 alpha-2 codes, e.g. [\"US\"]. Max 50.",
            "items": {
              "type": "string"
            }
          },
          "remote": {
            "title": "Remote",
            "enum": [
              "any",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "\"only\" keeps remote postings and counts as a place. With Near, remote rows are excluded unless set to any/only."
          },
          "roleIncludes": {
            "title": "Role includes (any)",
            "type": "array",
            "description": "Whole words matched on title, department or team. Posting bodies are not stored or searched.",
            "items": {
              "type": "string"
            }
          },
          "titleIncludes": {
            "title": "Title includes (any)",
            "type": "array",
            "description": "Whole words matched on the title, any-of.",
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title excludes",
            "type": "array",
            "description": "Drop titles containing these whole words.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment types (any)",
            "type": "array",
            "description": "Case-insensitive, e.g. [\"Full-time\"], [\"Contract\",\"Part-time\"], [\"Intern\"]. Max 10.",
            "items": {
              "type": "string"
            }
          },
          "seniority": {
            "title": "Seniority (any)",
            "type": "array",
            "description": "Heuristic from ATS metadata or whole title words; rows with unknown seniority are excluded when set.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "junior",
                "mid",
                "senior",
                "lead",
                "staff",
                "principal",
                "director",
                "vp",
                "c_level"
              ]
            }
          },
          "salaryMin": {
            "title": "Salary min",
            "minimum": 1,
            "maximum": 5000000,
            "type": "integer",
            "description": "Lowest pay you want, in Salary unit. Matches rows whose published range overlaps the band. Pay is never estimated; most postings publish none."
          },
          "salaryMax": {
            "title": "Salary max",
            "minimum": 1,
            "maximum": 5000000,
            "type": "integer",
            "description": "Highest pay in the band, same unit."
          },
          "salaryUnit": {
            "title": "Salary unit",
            "enum": [
              "year",
              "month",
              "week",
              "day",
              "hour"
            ],
            "type": "string",
            "description": "Compared as annual: hour x2080, day x260, week x52, month x12.",
            "default": "year"
          },
          "salaryCurrency": {
            "title": "Salary currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "ISO 4217. Rows in another currency do not match.",
            "default": "USD"
          },
          "includeUnknownSalary": {
            "title": "Keep rows with no published pay",
            "type": "boolean",
            "description": "With a salary band set, false drops rows with no comparable published pay; true keeps them marked salary_match unknown.",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep postings whose posted_at is within this many days."
          },
          "longOpenDays": {
            "title": "Long-open threshold (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Rows posted longer ago than this and not updated by the ATS within it get long_open = true (heuristic, not proof of a ghost job).",
            "default": 60
          },
          "excludeLongOpen": {
            "title": "Exclude long-open rows",
            "type": "boolean",
            "description": "Drop rows with long_open = true.",
            "default": false
          },
          "liveRecheck": {
            "title": "Live re-check top rows",
            "type": "boolean",
            "description": "Probe the public posting page of the top rows for live_status (live / gone / unknown). Read-time only; never changes the index. Included in the job-result price; only the first page's top rows are probed.",
            "default": true
          },
          "liveRecheckLimit": {
            "title": "Live re-check rows",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many top rows to probe. Max 10.",
            "default": 5
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Total job rows to deliver, 1-1000 (the Actor reads the index 50 at a time). Each delivered row is one job-result event. Default 50.",
            "default": 50
          },
          "offset": {
            "title": "Offset",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Rows to skip. Pass nextOffset from a previous run.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}