{
  "openapi": "3.0.1",
  "info": {
    "title": "🇨🇭 Jobs.ch $0.99/1K: Swiss Job Board, 46K Swiss Job Listings",
    "description": "$0.99/1K | 46,576 Swiss jobs in one run — the public jobs.ch API stops at 2,000. Full advert text, apply URL, workload %, coordinates. Incremental mode pays only for what appeared since yesterday. A Switzerland job board of Switzerland job listings data. Sion jobs, Biel jobs, Lucerne jobs.",
    "version": "0.1",
    "x-build-id": "iyQENK8SgfXxAnNrV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/snow_leo_data~jobs-ch-scraper-swiss-switzerland-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-snow_leo_data-jobs-ch-scraper-swiss-switzerland-jobs",
        "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/snow_leo_data~jobs-ch-scraper-swiss-switzerland-jobs/runs": {
      "post": {
        "operationId": "runs-sync-snow_leo_data-jobs-ch-scraper-swiss-switzerland-jobs",
        "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/snow_leo_data~jobs-ch-scraper-swiss-switzerland-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-snow_leo_data-jobs-ch-scraper-swiss-switzerland-jobs",
        "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": {
          "query": {
            "title": "Search term — or leave it empty for every job on jobs.ch",
            "type": "string",
            "description": "Keyword as you would type it on the site — `java`, `pflegefachfrau`, `controller`. Leave empty to take everything."
          },
          "location": {
            "title": "Location — any Swiss town, with its live job count",
            "type": "string",
            "description": "Pick a Swiss town or type any other. jobs.ch matches the town itself; it publishes no radius search. The number after each name is how many jobs are open there right now.",
            "default": ""
          },
          "workloadMin": {
            "title": "Workload from — the Swiss % in place of full or part time",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Swiss adverts state a workload percentage instead of full/part time. 80 keeps everything that can be worked at 80% or more.",
            "default": 0
          },
          "workloadMax": {
            "title": "Workload up to",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Use with the field above to select part-time work, e.g. 40 to 60.",
            "default": 0
          },
          "postedWithinDays": {
            "title": "Posted within",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no date filter.",
            "default": 0
          },
          "keywords": {
            "title": "Must contain any of",
            "type": "array",
            "description": "Checked against job titles, the profession field and the full advert text.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Must not contain",
            "type": "array",
            "description": "Drops a job if any of these appears in its title or text.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "placeContains": {
            "title": "Place contains",
            "type": "string",
            "description": "Extra text match on town, postcode or street — narrower than the Location field above.",
            "default": ""
          },
          "companies": {
            "title": "Only these employers",
            "type": "array",
            "description": "Substring match on the company name.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeCompanies": {
            "title": "Skip these employers",
            "type": "array",
            "description": "Substring match. Useful for leaving out staffing agencies that repost the same role.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "withDescriptionOnly": {
            "title": "Only jobs with an advert text",
            "type": "boolean",
            "description": "Drops listings whose advert body is empty at the source.",
            "default": false
          },
          "includeDescription": {
            "title": "Fetch the full advert text",
            "type": "boolean",
            "description": "On: one extra request per job brings the full text, the apply URL, contact details, street and postcode — 38 fields instead of the 20 the search endpoint returns. Off: much faster and cheaper.",
            "default": true
          },
          "onlyNew": {
            "title": "Only jobs not seen before",
            "type": "boolean",
            "description": "For schedules. The Actor remembers what it already delivered in a named store that survives between runs, so a daily run returns only what appeared since yesterday — and you pay only for those.",
            "default": false
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit. The form starts at 300 so a first run is quick and cheap; raise it or set 0 once you know the search is right. A run with no search and no limit is treated as a trial and stops at 500.",
            "default": 0
          },
          "categoryIds": {
            "title": "Category ids",
            "type": "array",
            "description": "Raw jobs.ch category ids, if you already know them. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regionIds": {
            "title": "Region ids",
            "type": "array",
            "description": "Raw jobs.ch region ids.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "industryIds": {
            "title": "Industry ids",
            "type": "array",
            "description": "Raw jobs.ch industry ids.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "employmentTypeIds": {
            "title": "Employment type ids",
            "type": "array",
            "description": "Raw jobs.ch employment type ids.",
            "default": [],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}