{
  "openapi": "3.0.1",
  "info": {
    "title": "DACH Jobs Scraper",
    "description": "Job listings of Germany, Austria and Switzerland from Arbeitsagentur, Job-Room, EURES and XING in one format, repeats between sources removed.",
    "version": "0.1",
    "x-build-id": "2EftpX7MPo70Xv2F7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/avakode~jobs-dach/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-avakode-jobs-dach",
        "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/avakode~jobs-dach/runs": {
      "post": {
        "operationId": "runs-sync-avakode-jobs-dach",
        "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/avakode~jobs-dach/run-sync": {
      "post": {
        "operationId": "run-sync-avakode-jobs-dach",
        "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": {
          "sites": {
            "title": "Sites",
            "minItems": 1,
            "type": "array",
            "description": "Sources to read. They are read in this fixed order and a job found on two of them is kept once, from the site earlier in this order: Arbeitsagentur (Germany), Job-Room (Switzerland), EURES, XING. XING is slow (one page request per job and a sitemap read at every run): switch it off for a fast run.",
            "items": {
              "type": "string",
              "enum": [
                "arbeitsagentur",
                "job-room",
                "eures",
                "xing"
              ],
              "enumTitles": [
                "Arbeitsagentur (Germany)",
                "Job-Room (Switzerland)",
                "EURES (Germany, Austria, Switzerland)",
                "XING (slow)"
              ]
            },
            "default": [
              "arbeitsagentur",
              "job-room",
              "eures",
              "xing"
            ]
          },
          "queries": {
            "title": "Search terms",
            "maxItems": 50,
            "type": "array",
            "description": "Job title or keyword, one per line (for example Pflegefachkraft). Each term is searched separately on every site. XING matches words of the job address (city and title words). Leave empty for the newest jobs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "countries": {
            "title": "Countries",
            "minItems": 1,
            "type": "array",
            "description": "Countries of the work place. A site that does not cover a chosen country is not asked for it: Arbeitsagentur reads Germany only, Job-Room Switzerland only.",
            "items": {
              "type": "string",
              "enum": [
                "de",
                "at",
                "ch"
              ],
              "enumTitles": [
                "Germany",
                "Austria",
                "Switzerland"
              ]
            },
            "default": [
              "de",
              "at",
              "ch"
            ]
          },
          "locations": {
            "title": "Places",
            "maxItems": 50,
            "type": "array",
            "description": "City name, one per line (for example Hamburg or Zürich); Job-Room also takes a postal code or a canton code (ZH). Leave empty for no place filter. EURES has no place filter and is not read when places are given.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "postedWithinDays": {
            "title": "Posted within the last days",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only jobs published in the last N days (1 to 100). 0 means any age. Job-Room shows the last 60 days at most.",
            "default": 0
          },
          "includeDescription": {
            "title": "Include full description",
            "type": "boolean",
            "description": "Return the text of each job. Arbeitsagentur needs one extra request per job for it, so a run without descriptions is faster there. EURES and XING cost one request per job either way.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "Return only jobs this tool has not delivered before for the same input. Newest jobs are read first and a site stops at a page with nothing undelivered; XING has no such stop and walks its sitemap. A run without earlier deliveries returns everything up to the limit. Jobs cut off by the limit may come in a later run or not at all (a later run keeps reading as long as every page has something undelivered): raise the limit or narrow the search.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many jobs in total over all sites. With Only new, older jobs beyond the limit may come in a later run or not at all (a later run keeps reading as long as every page has something undelivered): set the limit above the volume of the search, or narrow it.",
            "default": 100
          },
          "maxResultsPerSite": {
            "title": "Maximum results per site",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for one site, so a broad site does not use the whole limit. 0 means no cap.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}