{
  "openapi": "3.0.1",
  "info": {
    "title": "jobs.ch Jobs Scraper - New Jobs & Workload Monitor",
    "description": "For recruiters, staffing agencies and job alerts: jobs.ch jobs in Switzerland with company, locations, workload (Pensum), employment type, posted salary, company rating and the full description. Many keywords and places in one run. Schedule it to get only new jobs, workload changes and closed jobs.",
    "version": "0.1",
    "x-build-id": "Lh2zOYm7t8o6dZhmh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~jobs-ch-jobs-new-jobs-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-jobs-ch-jobs-new-jobs-monitor",
        "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/neverempty~jobs-ch-jobs-new-jobs-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-jobs-ch-jobs-new-jobs-monitor",
        "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/neverempty~jobs-ch-jobs-new-jobs-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-jobs-ch-jobs-new-jobs-monitor",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Type what you would search on jobs.ch, for example Koch, Pflege, Software Engineer, Buchhaltung; each keyword is searched in each location. Schedule it with monitor mode to get only new jobs, workload changes and removed jobs. All search fields empty = Koch jobs in Bern.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, towns, regions or cantons in Switzerland, for example Zürich, Bern, Basel, Genève, Lausanne, Luzern, St. Gallen. Empty = all of Switzerland. A location needs at least one keyword.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment type",
            "type": "array",
            "description": "Optional. Only jobs of these employment types (any of them), the same choices as on jobs.ch. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "temporary",
                "freelance",
                "internship",
                "side-job",
                "apprenticeship"
              ],
              "enumTitles": [
                "Permanent position (Festanstellung)",
                "Temporary (Temporär)",
                "Freelance",
                "Internship (Praktikum)",
                "Side job (Nebenjob)",
                "Apprenticeship (Lehrstelle)"
              ]
            }
          },
          "minWorkloadPercent": {
            "title": "Minimum workload (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Optional. The lower end of the jobs.ch workload (Pensum) filter in percent, for example 80 for (nearly) full-time jobs. Empty = 0."
          },
          "maxWorkloadPercent": {
            "title": "Maximum workload (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Optional. The upper end of the jobs.ch workload (Pensum) filter in percent, for example 60 for part-time jobs. Empty = 100."
          },
          "titleMustContainKeyword": {
            "title": "Only jobs with the keyword in the title",
            "type": "boolean",
            "description": "jobs.ch also lists related jobs for a keyword. Turn this on to keep only jobs whose title contains the keyword. Every row also says keywordInTitle true or false. Empty = no."
          },
          "searchUrls": {
            "title": "jobs.ch job search URLs",
            "type": "array",
            "description": "Optional. Paste a jobs.ch job search address, for example https://www.jobs.ch/en/vacancies/?term=Koch&location=Bern (German and French addresses work too). Its keyword, location and filters are used; jobs come newest first.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many jobs to return per search (1 to 1000), newest first. Empty = 100. In monitor mode this is the most changes returned per search on each run; the rest come on the next run."
          },
          "includeDescription": {
            "title": "Include the full job description",
            "type": "boolean",
            "description": "Also return the full job description (plain text and HTML), the apply link, posted salary, posting end date, company website and company rating, at the same price per job. Phone numbers and emails in the text are removed. Runs take a little longer. Empty = no."
          },
          "monitorMode": {
            "title": "Monitor mode: only new jobs and changes",
            "type": "boolean",
            "description": "Schedule it hourly or daily and get only jobs that are new since the last run, jobs whose workload changed (with the previous workload) and jobs that were closed or taken down. The first run returns the current jobs as the starting point."
          },
          "includeChanged": {
            "title": "Return workload changes",
            "type": "boolean",
            "description": "In monitor mode, return jobs you already received whose workload (Pensum) changed, with the previous workload. Empty = yes."
          },
          "includeRemoved": {
            "title": "Return removed jobs",
            "type": "boolean",
            "description": "In monitor mode, return jobs you already received that left the list and whose job page on jobs.ch says it is closed or gone. Empty = yes."
          },
          "includeUnchanged": {
            "title": "Also return unchanged jobs",
            "type": "boolean",
            "description": "In monitor mode, also return jobs already received that did not change (each one is charged). Empty = no."
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Optional. Give each schedule its own name (letters, digits, dot, dash, underscore) so separate schedules keep separate memories. Empty = default."
          },
          "resetMonitoringState": {
            "title": "Start this watch again",
            "type": "boolean",
            "description": "Forget what this watch remembered, so this run is a first check again."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}