{
  "openapi": "3.0.1",
  "info": {
    "title": "JobScout24.ch Scraper - Swiss Job Board Data Extraction",
    "description": "Collect job postings from JobScout24.ch: jobs in Switzerland with title, company, canton, workload and full description, plus salary and contact when listed. No login needed.",
    "version": "3.5",
    "x-build-id": "kLKJXbWoleMp7WYCd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/santamaria-automations~jobscout24-ch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-santamaria-automations-jobscout24-ch-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/santamaria-automations~jobscout24-ch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-santamaria-automations-jobscout24-ch-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/santamaria-automations~jobscout24-ch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-santamaria-automations-jobscout24-ch-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": {
          "directUrls": {
            "title": "Job page links",
            "type": "array",
            "description": "Links to individual JobScout24.ch job pages. When you fill this in, the actor reads only these jobs and skips the search. Handy for checking whether a job is still online. Each entry can be a plain link or an object like {\"url\": \"...\"}.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Job titles or keywords",
            "type": "array",
            "description": "One or more job titles or keywords, for example \"Softwareentwickler\" or \"Pflegefachfrau\". Each keyword is searched separately and duplicate jobs are removed.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Single keyword (older option)",
            "type": "string",
            "description": "One job title or keyword. Kept so older setups keep working; use \"Job titles or keywords\" for several."
          },
          "region": {
            "title": "Region",
            "enum": [
              "",
              "zurich",
              "bern",
              "basel",
              "aargau",
              "ostschweiz",
              "zentralschweiz",
              "romandie",
              "tessin",
              "graubunden",
              "wallis",
              "remote"
            ],
            "type": "string",
            "description": "Only show jobs in this part of Switzerland. Leave on \"All Regions\" to search the whole country.",
            "default": ""
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City or place, for example \"Bern\". Only jobs in this place (and, with a radius, around it) are kept. The site search does not narrow by place by itself, so the actor checks the place of every job."
          },
          "radius": {
            "title": "Radius around the location (km)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Keep jobs up to this many kilometres around the location. Leave empty (or 0) to use the default of 25 km. Jobs in the place itself and its districts are always kept. Needs a location.",
            "default": 25
          },
          "category": {
            "title": "Job category",
            "enum": [
              "",
              "it",
              "engineering",
              "finance",
              "sales",
              "marketing",
              "hr",
              "healthcare",
              "education",
              "hospitality",
              "construction",
              "logistics",
              "administration",
              "management",
              "legal",
              "customer-service"
            ],
            "type": "string",
            "description": "Only show jobs in this field of work, for example IT or Healthcare. Leave on \"All Categories\" for every field.",
            "default": ""
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "",
              "full-time",
              "part-time",
              "temporary",
              "apprenticeship",
              "internship"
            ],
            "type": "string",
            "description": "Only show full-time, part-time, temporary, apprenticeship or internship jobs. Leave on \"All Types\" for every kind.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "newest",
              "relevance",
              "title",
              "company",
              "location"
            ],
            "type": "string",
            "description": "How the results are ordered. \"Newest first\" is best for scheduled runs that look for new jobs.",
            "default": "newest"
          },
          "postedWithinDays": {
            "title": "Posted within the last days",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep jobs posted in the last N days. 0 turns the filter off. The site shows job age in whole days, so 1 keeps jobs from today and yesterday. Jobs without a date are kept. With \"Newest first\", paging stops early once a whole result page is older than the limit.",
            "default": 0
          },
          "maxAgeHours": {
            "title": "Posted within the last hours",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep jobs posted in the last N hours. 0 turns the filter off. If you also set the days filter, the stricter one wins. With full job details on, the exact posting time is checked. Without details the site only shows days, so 1 keeps everything posted today. Jobs without a date are kept.",
            "default": 0
          },
          "maxResultsPerQuery": {
            "title": "Maximum jobs per keyword",
            "minimum": 0,
            "type": "integer",
            "description": "The most jobs to collect for each keyword. The total is this number times the number of keywords, after duplicates are removed. 0 means no limit per keyword.",
            "default": 100
          },
          "maxResults": {
            "title": "Maximum jobs in total",
            "minimum": 0,
            "type": "integer",
            "description": "The most jobs to collect across all keywords. 0 means no overall limit (each keyword is still limited by the number above).",
            "default": 0
          },
          "includeJobDetails": {
            "title": "Read full job pages",
            "type": "boolean",
            "description": "On: open every job page for the full description, contact person, apply link and company data. Off: faster and cheaper, listing data only.",
            "default": true
          },
          "titleFilter": {
            "title": "Only jobs with these words in the title",
            "type": "string",
            "description": "Comma-separated words. A job is kept when its title contains any of them (upper or lower case does not matter). Other jobs are dropped before their job page is opened, so you are not charged for them. Leave empty to turn off.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}