{
  "openapi": "3.0.1",
  "info": {
    "title": "JobTech Sweden Jobs",
    "description": "Search Swedish job ads from the open JobTech (Arbetsförmedlingen) job search by word, county, occupation field and age.",
    "version": "0.1",
    "x-build-id": "x5hJqSizOamv95BSg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/avakode~jobtech-sweden-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-avakode-jobtech-sweden-jobs",
        "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~jobtech-sweden-jobs/runs": {
      "post": {
        "operationId": "runs-sync-avakode-jobtech-sweden-jobs",
        "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~jobtech-sweden-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-avakode-jobtech-sweden-jobs",
        "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": {
          "queries": {
            "title": "Search words",
            "maxItems": 100,
            "type": "array",
            "description": "One search word or phrase per line, in Swedish or English (for example kock, sjuksköterska, python). Leave empty for one search with no word, limited by the other filters. The source returns at most 2,100 ads per search, so split a broad search by counties or occupation fields.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "regions": {
            "title": "Counties (län)",
            "type": "array",
            "description": "Only ads located in these counties. Leave empty for all of Sweden.",
            "items": {
              "type": "string",
              "enum": [
                "10",
                "20",
                "09",
                "21",
                "13",
                "23",
                "06",
                "08",
                "07",
                "25",
                "12",
                "01",
                "04",
                "03",
                "17",
                "24",
                "22",
                "19",
                "14",
                "18",
                "05"
              ],
              "enumTitles": [
                "Blekinge",
                "Dalarna",
                "Gotland",
                "Gävleborg",
                "Halland",
                "Jämtland",
                "Jönköping",
                "Kalmar",
                "Kronoberg",
                "Norrbotten",
                "Skåne",
                "Stockholm",
                "Södermanland",
                "Uppsala",
                "Värmland",
                "Västerbotten",
                "Västernorrland",
                "Västmanland",
                "Västra Götaland",
                "Örebro",
                "Östergötland"
              ]
            },
            "default": []
          },
          "municipalities": {
            "title": "Municipalities",
            "maxItems": 50,
            "type": "array",
            "description": "Four-digit municipality codes (kommunkod), for example 0180 for Stockholm or 1480 for Göteborg. Leave empty for no municipality filter.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "occupationFields": {
            "title": "Occupation fields",
            "type": "array",
            "description": "Only ads in these occupation fields (Arbetsförmedlingen taxonomy). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "X82t_awd_Qyc",
                "VuuL_7CH_adj",
                "Uuf1_GMh_Uvw",
                "whao_Q6A_ScE",
                "j7Cq_ZJe_GkT",
                "PaxQ_o1G_wWH",
                "9puE_nYg_crq",
                "apaJ_2ja_LuF",
                "MVqp_eS8_kDZ",
                "NYW6_mP6_vwf",
                "ScKy_FHB_7wT",
                "yhCP_AqT_tns",
                "bh3H_Y3h_5eD",
                "wTEr_CBC_bqh",
                "bH5L_uXD_ZAX",
                "kJeN_wmw_9wX",
                "RPTn_bxG_ExZ",
                "E7hm_BLq_fqZ",
                "GazW_2TU_kJw",
                "6Hq3_tKo_V57",
                "ASGV_zcE_bWf"
              ],
              "enumTitles": [
                "Administration, economy, law",
                "Agriculture, forestry, fishing",
                "Body and beauty care",
                "Cleaning and waste",
                "Construction",
                "Crafts",
                "Culture, media, design",
                "Data / IT",
                "Education",
                "Healthcare",
                "Hotel, restaurant, catering",
                "Installation, operation, maintenance",
                "Managers",
                "Manufacturing",
                "Military",
                "Natural science",
                "Sales, procurement, marketing",
                "Security",
                "Social work",
                "Technical occupations",
                "Transport, distribution, warehouse"
              ]
            },
            "default": []
          },
          "employer": {
            "title": "Employer",
            "type": "string",
            "description": "Employer name or organization number. Leave empty for any employer.",
            "default": ""
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Only these types of employment. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "1paU_aCR_nGn",
                "EBhX_Qm2_8eX",
                "kpPX_CNN_gDU",
                "sTu5_NBQ_udq",
                "gro4_cWF_6D7"
              ],
              "enumTitles": [
                "On-demand",
                "Seasonal",
                "Permanent",
                "Fixed term",
                "Temporary cover"
              ]
            },
            "default": []
          },
          "workingTime": {
            "title": "Working time",
            "enum": [
              "any",
              "fulltime",
              "parttime"
            ],
            "type": "string",
            "description": "Full-time (100 percent scope) or part-time ads only, or any.",
            "default": "any"
          },
          "noExperienceRequired": {
            "title": "No experience required",
            "type": "boolean",
            "description": "Keep only ads that do not require experience.",
            "default": false
          },
          "remoteOnly": {
            "title": "Remote work only",
            "type": "boolean",
            "description": "Keep only ads that allow working remotely.",
            "default": false
          },
          "publishedWithinDays": {
            "title": "Published within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only ads published in the last N days. 0 means any age.",
            "default": 0
          },
          "publishedFrom": {
            "title": "Published from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "First publication day, YYYY-MM-DD (Swedish time). Ignored when Published within is set."
          },
          "publishedTo": {
            "title": "Published until",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Last publication day, YYYY-MM-DD (Swedish time)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "pubdate-desc"
            ],
            "type": "string",
            "description": "Best match first, or newest first. Ignored when Only new is on: that mode always reads newest first.",
            "default": "relevance"
          },
          "includeDescription": {
            "title": "Include description text",
            "type": "boolean",
            "description": "Add the full ad text to every record. E-mail addresses and phone numbers in the text are removed.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new ads since the last run",
            "type": "boolean",
            "description": "Return only ads that this tool has not delivered before for the same search (words and filters). Reads newest first and stops at the first page with nothing undelivered; ads that Maximum results cut off may come in a later run or not at all (a later run reads on only while every page has something undelivered). The same holds for ads left unwritten when the run cost limit is reached. Do not start two Only new runs with the same search at the same time.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many ads in total.",
            "default": 100
          },
          "maxResultsPerQuery": {
            "title": "Maximum results per search word",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Stop each search word after this many ads. 0 means no limit. The source returns at most 2,100 ads per search; use counties or occupation fields to split larger searches.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}