{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobs.ch & Jobup.ch Scraper — Swiss Jobs, Salaries & Workload",
    "description": "Scrape jobs.ch and jobup.ch in one run: CHF salary (published or estimated), workload %, required languages and level, canton, company type and rating, full description. Filter for English-speaking jobs, skip staffing agencies and reposts, or get a daily feed of new Swiss jobs.",
    "version": "0.1",
    "x-build-id": "ksMSNVaWidqFtqEdx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/angelrxdriguez~swiss-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-angelrxdriguez-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/angelrxdriguez~swiss-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-angelrxdriguez-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/angelrxdriguez~swiss-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-angelrxdriguez-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "feed",
              "urls"
            ],
            "type": "string",
            "description": "<b>search</b>: jobs for your keywords and locations (20 per results page, fast). <b>feed</b>: every active job on the site, newest first — combine with 'Only new jobs' and a daily schedule. <b>urls</b>: specific job pages or search results pages from jobs.ch / jobup.ch.",
            "default": "search"
          },
          "sites": {
            "title": "Sites",
            "type": "array",
            "description": "jobs.ch (whole Switzerland, mostly German-speaking) and/or jobup.ch (French-speaking Switzerland). With both, jobs posted on the two sites are returned only once.",
            "items": {
              "type": "string",
              "enum": [
                "jobs.ch",
                "jobup.ch"
              ],
              "enumTitles": [
                "jobs.ch",
                "jobup.ch"
              ]
            },
            "default": [
              "jobs.ch"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Job titles or skills, e.g. 'data engineer', 'Pflegefachfrau', 'comptable'. Search mode. The site's own search is used, so results match what you see on jobs.ch.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Optional. Cities or regions, e.g. 'Zürich', 'Basel', 'Genève', 'Lausanne'. Every keyword is searched in every location. Leave empty for all of Switzerland.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSearch": {
            "title": "Max pages per search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Each results page has 20 jobs.",
            "default": 10
          },
          "startUrls": {
            "title": "jobs.ch / jobup.ch URLs",
            "type": "array",
            "description": "URLs mode only. Job pages (…/detail/<id>/) or search results pages copied from your browser, with the filters you set there.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "employmentTypes": {
            "title": "Contract type",
            "type": "array",
            "description": "Keep only these contract types.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "temporary",
                "freelance",
                "internship",
                "apprenticeship",
                "side_job"
              ],
              "enumTitles": [
                "Permanent",
                "Temporary",
                "Freelance",
                "Internship",
                "Apprenticeship",
                "Side job / supplementary income"
              ]
            }
          },
          "minWorkload": {
            "title": "Minimum workload (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep jobs whose workload range reaches at least this percentage, e.g. 80 for 80-100% jobs."
          },
          "maxWorkload": {
            "title": "Maximum workload (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep jobs that can be done at this percentage or less, e.g. 60 for part-time jobs."
          },
          "positions": {
            "title": "Position level",
            "type": "array",
            "description": "Keep only these position levels.",
            "items": {
              "type": "string",
              "enum": [
                "employee",
                "specialist",
                "executive"
              ],
              "enumTitles": [
                "Employee",
                "Specialist / expert",
                "Executive / management"
              ]
            }
          },
          "postedWithinDays": {
            "title": "Posted in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only jobs published (or republished) in the last N days."
          },
          "skipReposts": {
            "title": "Skip reposts",
            "type": "boolean",
            "description": "Skip jobs that the employer republished (first posted more than a day before the current publication date).",
            "default": false
          },
          "myLanguages": {
            "title": "Languages you speak",
            "type": "array",
            "description": "Keep only jobs you can do with these languages: the ad must be written in one of them, and every language it requires (intermediate level or higher) must be in the list. Choose only 'English' to find English-speaking jobs that don't require German or French.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "de",
                "fr",
                "it"
              ],
              "enumTitles": [
                "English",
                "German",
                "French",
                "Italian"
              ]
            }
          },
          "cantons": {
            "title": "Cantons",
            "type": "array",
            "description": "Keep only jobs located in these cantons.",
            "items": {
              "type": "string",
              "enum": [
                "ZH",
                "BE",
                "LU",
                "UR",
                "SZ",
                "OW",
                "NW",
                "GL",
                "ZG",
                "FR",
                "SO",
                "BS",
                "BL",
                "SH",
                "AR",
                "AI",
                "SG",
                "GR",
                "AG",
                "TG",
                "TI",
                "VD",
                "VS",
                "NE",
                "GE",
                "JU"
              ],
              "enumTitles": [
                "Zurich",
                "Bern",
                "Lucerne",
                "Uri",
                "Schwyz",
                "Obwalden",
                "Nidwalden",
                "Glarus",
                "Zug",
                "Fribourg",
                "Solothurn",
                "Basel-Stadt",
                "Basel-Landschaft",
                "Schaffhausen",
                "Appenzell Ausserrhoden",
                "Appenzell Innerrhoden",
                "St. Gallen",
                "Graubünden",
                "Aargau",
                "Thurgau",
                "Ticino",
                "Vaud",
                "Valais",
                "Neuchâtel",
                "Geneva",
                "Jura"
              ]
            }
          },
          "excludeStaffingAgencies": {
            "title": "Exclude staffing agencies",
            "type": "boolean",
            "description": "Skip jobs posted by recruitment and staffing agencies, so you only get direct employers.",
            "default": false
          },
          "companyTypes": {
            "title": "Company type",
            "type": "array",
            "description": "Keep only jobs from these types of companies.",
            "items": {
              "type": "string",
              "enum": [
                "large_company",
                "sme",
                "staffing_agency"
              ],
              "enumTitles": [
                "Large company",
                "SME",
                "Staffing / recruitment agency"
              ]
            }
          },
          "minSalary": {
            "title": "Minimum yearly salary (CHF)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only jobs whose salary range reaches at least this amount per year. Jobs without any salary are skipped."
          },
          "includeEstimatedSalaries": {
            "title": "Count jobs.ch salary estimates",
            "type": "boolean",
            "description": "For the minimum salary filter, also accept the salary estimates that jobs.ch shows when the employer publishes none (most jobs). Turn off to require a salary published by the employer.",
            "default": true
          },
          "includeDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Open each job page to add the salary, full description, required languages, canton and coordinates, company type, industry and rating, work hours and openings. Turn off for a much faster run with results-page data only (search mode). Always on when you filter by salary, language, canton or company type.",
            "default": true
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "text",
              "markdown",
              "html",
              "all"
            ],
            "type": "string",
            "description": "Plain text, Markdown (keeps headings, lists and bold) or the original HTML. 'All' returns the three.",
            "default": "text"
          },
          "onlyNewJobs": {
            "title": "Only new jobs",
            "type": "boolean",
            "description": "Skip jobs already returned in previous runs that used the same 'State key'. Ideal for scheduled runs: you only pay for what's new.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the memory used by 'Only new jobs'. Use a different key for each scheduled task.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of jobs to return (0 = no limit).",
            "default": 100
          },
          "removeContactData": {
            "title": "Remove emails and phone numbers",
            "type": "boolean",
            "description": "Remove e-mail addresses and phone numbers from job descriptions. Recruiters' names and contacts are never returned, so you don't store personal data (GDPR, Swiss FADP).",
            "default": true
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Pause between requests to the site. The scraper slows down by itself if the site asks it to.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Usually not needed.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}