{
  "openapi": "3.0.1",
  "info": {
    "title": "Swiss Jobs Scraper: jobs.ch & jobup.ch, Beyond 2,000 Results",
    "description": "Jobs from jobs.ch and jobup.ch for any search, also past the sites' 2,000-results-per-search limit: title, company, workload %, place, type, dates, benefits. Add-on: full description, salary range, address. Only-new mode for daily feeds.",
    "version": "0.1",
    "x-build-id": "Lcwa28HPeJHSt3Cdn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/polderdata~swiss-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-polderdata-swiss-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/polderdata~swiss-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-polderdata-swiss-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/polderdata~swiss-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-polderdata-swiss-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",
        "properties": {
          "sites": {
            "title": "Job boards",
            "type": "array",
            "description": "jobs.ch (mostly German-speaking Switzerland) and/or jobup.ch (mostly French-speaking Switzerland). With both, a job listed on both boards is returned once.",
            "items": {
              "type": "string",
              "enum": [
                "jobs.ch",
                "jobup.ch"
              ],
              "enumTitles": [
                "jobs.ch",
                "jobup.ch"
              ]
            },
            "default": [
              "jobs.ch"
            ]
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Job title, skill or company, as in the site's search box (e.g. \"Python\", \"Pflege\", \"Novartis\"). Leave empty for all jobs. The sites use a semantic search, so related jobs are included."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City or postcode, as on the site (e.g. \"Zürich\", \"8001\", \"Lausanne\"). Leave empty for all of Switzerland."
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Optional. One or more of the sites' regions (instead of, or on top of, a location).",
            "items": {
              "type": "string",
              "enum": [
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25"
              ],
              "enumTitles": [
                "Ticino",
                "Abroad",
                "Geneva region",
                "Zurich / Schaffhausen",
                "Neuchâtel / Jura",
                "Fribourg",
                "Vaud / Lower Valais",
                "Eastern Switzerland / GR / FL",
                "Mittelland (AG / SO)",
                "Bern",
                "Basel",
                "Central Switzerland",
                "Upper Valais",
                "Wil / Toggenburg",
                "Thurgau / Lake Constance",
                "Zurich city / Lake Zurich",
                "Zurich Oberland",
                "St. Gallen / Appenzell",
                "Zurich Unterland / Limmattal",
                "Rhine Valley / FL / Sargans / Linth",
                "Graubünden",
                "Winterthur / Schaffhausen"
              ]
            }
          },
          "categories": {
            "title": "Job categories",
            "type": "array",
            "description": "Optional. One or more of the sites' job categories.",
            "items": {
              "type": "string",
              "enum": [
                "98",
                "99",
                "100",
                "101",
                "102",
                "103",
                "104",
                "105",
                "106",
                "107",
                "108",
                "109",
                "110",
                "111",
                "112",
                "113",
                "114",
                "115",
                "116",
                "117"
              ],
              "enumTitles": [
                "Technical professions",
                "Service professions",
                "Administration / HR / Consulting / CEO",
                "Finance / Fiduciary / Real estate",
                "Banking / Insurance",
                "Purchasing / Logistics / Trade",
                "Marketing / Communication / Editorial",
                "Sales / Customer service / Back office",
                "IT / Telecommunications",
                "Chemistry / Pharma / Biotechnology",
                "Electronics / Engineering / Watches",
                "Mechanical / Plant engineering / Production",
                "Construction / Architecture / Engineering",
                "Vehicles / Crafts / Warehouse / Transport",
                "Medicine / Care / Therapy",
                "Public administration / Education / Social",
                "Hospitality / Food / Tourism",
                "Graphic design / Typography / Print",
                "Security / Police / Customs / Rescue",
                "Sport / Wellness / Culture"
              ]
            }
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Optional. Permanent, temporary, internship…",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "temporary",
                "freelance",
                "internship",
                "side job",
                "permanent",
                "apprenticeship"
              ]
            }
          },
          "workloadMin": {
            "title": "Workload from (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Swiss job ads give the workload as a percentage (e.g. 80–100 %). Jobs whose range overlaps yours are returned.",
            "default": 0
          },
          "workloadMax": {
            "title": "Workload to (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Upper end of the workload range.",
            "default": 100
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Optional. Only jobs published in the last N days (the site's own date filter), e.g. 1 for a daily feed."
          },
          "startUrls": {
            "title": "Search URLs (instead of the fields above)",
            "type": "array",
            "description": "Optional. Paste search result URLs from jobs.ch or jobup.ch with your filters applied. When given, the fields above are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeDetails": {
            "title": "Include job details (add-on)",
            "type": "boolean",
            "description": "Opens each job's page for the full description, salary range (where the employer gives one), street address, work hours, start date, number of openings and the employer's website. Charged as an add-on per job, and slower (one extra page per job).",
            "default": false
          },
          "onlyNew": {
            "title": "Only new jobs since the last run",
            "type": "boolean",
            "description": "For scheduled runs: returns (and charges for) each job once. The Actor remembers delivered job ids for 180 days in a key-value store in your account.",
            "default": false
          },
          "stateKey": {
            "title": "Feed name (for only-new)",
            "type": "string",
            "description": "Optional. Give two schedules with the same filters different names to keep their memories apart. Letters, digits and hyphens."
          },
          "maxItems": {
            "title": "Maximum number of jobs",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "The run stops after this many jobs. You pay per job, so this also caps the cost of a run.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Not needed: the Actor paces itself to the sites' limits. A proxy makes big runs faster.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}