{
  "openapi": "3.0.1",
  "info": {
    "title": "arbeit.swiss Jobs Scraper: Swiss Federal Job-Room",
    "description": "Find job listings in Switzerland for recruiting, sales leads and labour market research: scrape arbeit.swiss (federal Job-Room) jobs with employer, canton, workload, contact person and full description.",
    "version": "1.3",
    "x-build-id": "oAwbxNfetdyv9FSjD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/santamaria-automations~arbeit-swiss-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-santamaria-automations-arbeit-swiss-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~arbeit-swiss-scraper/runs": {
      "post": {
        "operationId": "runs-sync-santamaria-automations-arbeit-swiss-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~arbeit-swiss-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-santamaria-automations-arbeit-swiss-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 links or job IDs",
            "type": "array",
            "description": "Paste links to specific jobs (job-room.ch, arbeit.swiss, travail.swiss, lavoro.swiss, work.swiss) or bare job IDs. Each job comes back as one full row. Duplicates are removed, links without a job ID are skipped with a warning, and jobs that are expired or not found are skipped without charge. If you also enter search keywords, these jobs are fetched first and then the search runs; both share Max Total Results. With links only, no search runs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Job title or keyword",
            "type": "array",
            "description": "Job titles or keywords to search for, for example Pflege, Software Engineer or Buchhalter. Each keyword is searched separately and the results are merged without duplicates.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (old field)",
            "type": "array",
            "description": "Old field, kept for existing setups. Use Job title or keyword instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cantonCodes": {
            "title": "Canton (region)",
            "type": "array",
            "description": "Only show jobs in these Swiss cantons, as two-letter codes such as ZH, BE or SG. Leave empty to search all of Switzerland.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Order of the results. The portal only sorts by date: Newest first or Oldest first.",
            "default": "newest"
          },
          "workloadMin": {
            "title": "Minimum workload in %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Lowest workload (Pensum) you want, from 0 to 100. For example 80 for jobs of at least 80%.",
            "default": 10
          },
          "workloadMax": {
            "title": "Maximum workload in %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Highest workload (Pensum) you want, from 0 to 100. For example 100 for full-time jobs.",
            "default": 100
          },
          "postedWithinDays": {
            "title": "Posted in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only jobs posted in the last N days: 1 = last 24 hours, 7 = last week, 30 = last month. The site filters by day, and the actor also drops every job older than N days before it is saved and billed (jobs without a date are kept). Leave empty or 0 for no age limit."
          },
          "onlineSinceDays": {
            "title": "Posted in the last N days (old field)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Old field, kept for existing setups. Use Posted in the last N days instead. Only used when that field is 0.",
            "default": 60
          },
          "maxResultsPerQuery": {
            "title": "Max jobs per keyword",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of jobs returned for each keyword. With 100 per keyword and 8 keywords you get up to 800 jobs. Set to 0 for no limit per keyword.",
            "default": 100
          },
          "maxResults": {
            "title": "Max jobs in total",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of jobs for the whole run across all keywords. Set to 0 for no total limit.",
            "default": 0
          },
          "includeJobDetails": {
            "title": "Include full job description",
            "type": "boolean",
            "description": "Turn on to get the complete job text (paragraphs, headings and bullet points kept) for every job. Turn off to get only the short teaser, which is faster and uses fewer requests.",
            "default": true
          },
          "titleFilter": {
            "title": "Only jobs with these words in the title",
            "type": "string",
            "description": "Comma-separated words. A job is kept only if its title contains at least one of them (not case sensitive). Jobs that do not match are dropped before the description is loaded, so you do not pay for them. Leave empty to keep all jobs.",
            "default": ""
          },
          "detailWorkers": {
            "title": "Parallel description downloads",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many job descriptions are loaded at the same time, from 1 to 20. Higher is faster but sends more requests at once. Ignored when full job descriptions are off.",
            "default": 5
          },
          "statsMode": {
            "title": "Statistics output",
            "enum": [
              "off",
              "include",
              "only"
            ],
            "type": "string",
            "description": "Add counts per keyword: how many jobs the portal reports, how many pages exist, how far the run got and why it stopped. Off: jobs only. Include: jobs plus statistics. Only: statistics without job data (fast and cheap, good for labour market snapshots).",
            "default": "off"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}