{
  "openapi": "3.0.1",
  "info": {
    "title": "jobs.ch Scraper — Swiss Jobs & Details",
    "description": "Export public jobs.ch vacancies for Swiss recruitment research: titles, employers, locations, employment type, source links. Optional details; a failed detail stays a list row at list price. $0.0005 start fee per run. Page cap 100, ID dedupe. No login.",
    "version": "0.1",
    "x-build-id": "pHCxjd28oklz9ap4t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stone_jadex~jobsch-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stone_jadex-jobsch-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/stone_jadex~jobsch-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-stone_jadex-jobsch-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/stone_jadex~jobsch-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-stone_jadex-jobsch-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": {
          "startUrls": {
            "title": "jobs.ch start URLs",
            "type": "array",
            "description": "HTTPS jobs.ch / www.jobs.ch public search URLs (/{en|de|fr}/vacancies/ with verified params term, employment-type, employment-grade-min/max, sort-by, page) or detail URLs (/{en|de|fr}/vacancies/detail/{uuid}/). Off-site hosts, credentials, signed query tokens and non-443 ports are rejected. Cannot be combined with any nonempty filter search.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "filters": {
            "title": "Search filters",
            "type": "object",
            "description": "Verified search filters mapped to jobs.ch query params. Any nonempty filter search combined with startUrls is rejected. Untested form keys are rejected when set.",
            "properties": {
              "term": {
                "title": "Search term",
                "type": "string",
                "description": "Maps to query param term. Default software applies only when there are no seeds and no explicit filter search.",
                "prefill": "software",
                "editor": "textfield"
              },
              "keywords": {
                "title": "Keywords (alias of term)",
                "type": "string",
                "description": "Alias of filters.term. Conflicting values against term are rejected.",
                "prefill": "software",
                "editor": "textfield"
              },
              "employmentType": {
                "title": "Employment type",
                "type": "string",
                "description": "Maps to query param employment-type (site form value / id string).",
                "prefill": "",
                "editor": "textfield"
              },
              "employment_type": {
                "title": "Employment type (snake_case alias)",
                "type": "string",
                "description": "Alias of filters.employmentType.",
                "prefill": "",
                "editor": "textfield"
              },
              "workloadMin": {
                "title": "Workload minimum %",
                "type": "integer",
                "description": "Maps to employment-grade-min. Clamped 0–100.",
                "prefill": 0,
                "minimum": 0,
                "maximum": 100
              },
              "workloadMax": {
                "title": "Workload maximum %",
                "type": "integer",
                "description": "Maps to employment-grade-max. Clamped 0–100.",
                "prefill": 100,
                "minimum": 0,
                "maximum": 100
              },
              "sort": {
                "title": "Sort",
                "type": "string",
                "description": "Maps to sort-by. Only relevance and date are probe-verified.",
                "prefill": "relevance",
                "enum": [
                  "relevance",
                  "date"
                ],
                "enumTitles": [
                  "Relevance",
                  "Date"
                ],
                "editor": "select"
              },
              "page": {
                "title": "Start page",
                "type": "integer",
                "description": "Maps to page. Hard stop at page<=100 regardless of meta.numPages. Minimum 1.",
                "prefill": 1,
                "minimum": 1,
                "maximum": 100000
              }
            }
          },
          "term": {
            "title": "Search term (top-level)",
            "type": "string",
            "description": "Top-level alias of filters.term. Conflicting values against filters.term are rejected; never silently dropped."
          },
          "keywords": {
            "title": "Keywords (top-level)",
            "type": "string",
            "description": "Top-level alias of filters.term / filters.keywords. Conflicts are rejected."
          },
          "language": {
            "title": "UI language path",
            "enum": [
              "en",
              "de",
              "fr"
            ],
            "type": "string",
            "description": "jobs.ch path locale: en, de or fr. Used for built search/detail URLs.",
            "default": "en"
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global successfully pushed-row limit; clamped to 1–10000. Duplicate job IDs are skipped before enrich/charge and do not count toward the limit. Hard page stop at 100 still applies.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Fetch vacancy detail SSR pages (React Query cache + JobPosting JSON-LD). Direct detail start URLs force a detail request even when false. List-only rows charge job-serp-result; successfully detail-merged rows charge job-detail-result only (not both). List-only runs leave detail fields null with missingReasons.detail.",
            "default": false
          },
          "requestDelayMs": {
            "title": "Request delay (ms)",
            "minimum": 1200,
            "maximum": 60000,
            "type": "integer",
            "description": "Minimum interval between consecutive completed requests (serial). Clamped to 1200–60000. robots.txt crawl-delay may raise the floor.",
            "default": 1200
          },
          "maxRunSeconds": {
            "title": "Maximum run seconds",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Soft wall-clock budget for the run. Soft deadline is also capped 20s before the platform timeout when ACTOR_TIMEOUT_AT / APIFY_TIMEOUT_AT is set.",
            "default": 3600
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Buyer proxy is not supported in this freeze. Omit the field, or pass {\"useApifyProxy\":false} only. Any nonempty proxy settings are rejected."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}