{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobs.ch Jobs Scraper · Swiss listings+contacts · $1/1K",
    "description": "Scrape job listings for recruitment research, market monitoring and lead generation from Jobs.ch. Search by keyword, location, company or URL; export descriptions, workload, contacts and company data. No login. $1/1K results.",
    "version": "0.1",
    "x-build-id": "I1YFUEScOvisxRdSg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mlg14~ch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mlg14-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/mlg14~ch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mlg14-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/mlg14~ch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mlg14-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Job search keywords, each searched separately; duplicate jobs are returned once. Example: [\"Software Engineer\", \"Pflegefachperson\"]. Use it for keyword searches; leave empty when using startUrls, directUrls or companyNames.",
            "items": {
              "type": "string"
            },
            "default": [
              "Software Engineer"
            ]
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities or regions searched with each keyword. Example: [\"Zürich\", \"Basel\"]. Leave empty to search all of Switzerland.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "startUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Existing jobs.ch search-result URLs whose filters are kept. Example: [\"https://www.jobs.ch/en/vacancies/?term=engineer\"]. Takes priority over keywords; leave empty otherwise.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "directUrls": {
            "title": "Direct job URLs",
            "type": "array",
            "description": "Specific jobs.ch job detail URLs to fetch; each result reports whether the job is online, offline, expired or unknown. Example: [\"https://www.jobs.ch/en/vacancies/detail/abc-123/\"]. Use for monitoring known postings.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Employer names to search; only listings whose employer matches exactly are kept. Example: [\"Swisscom\"]. Takes priority over keywords; leave empty otherwise.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "cantons": {
            "title": "Canton codes",
            "type": "array",
            "description": "Keep jobs whose address has one of these Swiss canton codes. Example: [\"ZH\", \"BE\"]. Requires includeJobDetails true; leave empty for all cantons.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "language": {
            "title": "Page language",
            "enum": [
              "de",
              "fr",
              "en"
            ],
            "type": "string",
            "description": "Language of generated search and job URLs; job text can still be in another language. Allowed values: de, fr, en. Use en for English page labels. Example: en.",
            "default": "de"
          },
          "maxResultsPerQuery": {
            "title": "Results per search",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum accepted jobs for each keyword and location search. Example: 100. Set 0 to remove this cap.",
            "default": 100
          },
          "maxResults": {
            "title": "Total results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum jobs across the whole run. Example: 50 for a quick test. Set 0 to remove this cap.",
            "default": 100
          },
          "includeJobDetails": {
            "title": "Fetch job details",
            "type": "boolean",
            "description": "Fetch descriptions, addresses, contacts and company data from each job detail page. Allowed values: true or false. Use false for faster listing-only runs; leave true for full data. Example: false.",
            "default": true
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "",
              "permanent",
              "temporary",
              "freelance"
            ],
            "type": "string",
            "description": "Keep jobs matching one employment type, based on the detail page. Allowed values: permanent, temporary, freelance, or empty for any. Example: permanent. Leave empty for all types.",
            "default": ""
          },
          "workloadMin": {
            "title": "Minimum workload",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep jobs whose workload range reaches at least this percent. Example: 80 for near full-time roles. Leave empty for no minimum."
          },
          "workloadMax": {
            "title": "Maximum workload",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep jobs whose workload range starts at or below this percent. Example: 60 for part-time roles. Leave empty for no maximum."
          },
          "postedWithinDays": {
            "title": "Posted within days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep jobs published within this many days. Example: 7 for last week's postings. Set 0 to disable the filter; use 1, 3, 7 or 30 for best results.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Concurrent detail requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum simultaneous job detail page requests. Example: 5. Use a lower value if runs get blocked; allowed 1 to 20.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Proxy configuration for fetching public pages.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}