{
  "openapi": "3.0.1",
  "info": {
    "title": "Platsbanken Jobs Scraper",
    "description": "Scrape job listings from Platsbanken (Arbetsformedlingen) via the JobTech public API. Extract titles, employers, salaries, locations, skills, and 35+ fields from Sweden's official job database.",
    "version": "1.0",
    "x-build-id": "TY8cS9ZcmF1padMHf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsebird~platsbanken-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsebird-platsbanken-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/parsebird~platsbanken-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parsebird-platsbanken-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/parsebird~platsbanken-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parsebird-platsbanken-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": {
          "query": {
            "title": "Search keyword",
            "type": "string",
            "description": "Free-text search across job title, description, and employer, e.g. \"utvecklare\", \"sjuksköterska\", or \"warehouse\". Leave empty to pull every currently published ad in Sweden."
          },
          "occupationFields": {
            "title": "Occupation field IDs",
            "type": "array",
            "description": "Restrict the run to one or more JobTech occupation fields. Leave empty and the Actor discovers them automatically when a run needs to pass the API's 2,000-row page limit.",
            "items": {
              "type": "string",
              "enum": [
                "X82t_awd_Qyc",
                "VuuL_7CH_adj",
                "Uuf1_GMh_Uvw",
                "j7Cq_ZJe_GkT",
                "PaxQ_o1G_wWH",
                "9puE_nYg_crq",
                "apaJ_2ja_LuF",
                "MVqp_eS8_kDZ",
                "6Hq3_tKo_V57",
                "NYW6_mP6_vwf",
                "ScKy_FHB_7wT",
                "yhCP_AqT_tns",
                "wTEr_CBC_bqh",
                "bH5L_uXD_ZAX",
                "kJeN_wmw_9wX",
                "RPTn_bxG_ExZ",
                "whao_Q6A_ScE",
                "E7hm_BLq_fqZ",
                "GazW_2TU_kJw",
                "ASGV_zcE_bWf"
              ],
              "enumTitles": [
                "Administration, economics, law",
                "Agriculture and forestry",
                "Beauty and body care",
                "Construction",
                "Craft",
                "Culture, media, design",
                "Data/IT",
                "Education",
                "Engineering and technical",
                "Health care",
                "Hotel, restaurant, catering",
                "Installation, operation, maintenance",
                "Manufacturing",
                "Military occupations",
                "Natural sciences",
                "Sales, purchasing, marketing",
                "Sanitation and cleaning",
                "Security and surveillance",
                "Social work",
                "Transport, distribution, warehouse"
              ]
            },
            "default": []
          },
          "regions": {
            "title": "Region IDs",
            "type": "array",
            "description": "Restrict the run to one or more Swedish regions (län). Leave empty for all of Sweden.",
            "items": {
              "type": "string",
              "enum": [
                "DQZd_uYs_oKb",
                "oDpK_oZ2_WYt",
                "K8iD_VQv_2BA",
                "zupA_8Nt_xcD",
                "wjee_qH2_yb6",
                "65Ms_7r1_RTG",
                "MtbE_xWT_eMi",
                "9QUH_2bb_6Np",
                "tF3y_MF9_h5G",
                "9hXe_F4g_eTG",
                "CaRE_1nn_cSU",
                "CifL_Rzy_Mku",
                "s93u_BEb_sx2",
                "zBon_eET_fFU",
                "EVVp_h6U_GSZ",
                "g5Tt_CAV_zBd",
                "NvUF_SP1_1zo",
                "G6DV_fKE_Viz",
                "zdoY_6u5_Krt",
                "xTCk_nT5_Zjm",
                "oLT3_Q9p_3nn"
              ],
              "enumTitles": [
                "Blekinge län",
                "Dalarnas län",
                "Gotlands län",
                "Gävleborgs län",
                "Hallands län",
                "Jämtlands län",
                "Jönköpings län",
                "Kalmar län",
                "Kronobergs län",
                "Norrbottens län",
                "Skåne län",
                "Stockholms län",
                "Södermanlands län",
                "Uppsala län",
                "Värmlands län",
                "Västerbottens län",
                "Västernorrlands län",
                "Västmanlands län",
                "Västra Götalands län",
                "Örebro län",
                "Östergötlands län"
              ]
            },
            "default": []
          },
          "publishedAfterDays": {
            "title": "Published within the last N days",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only return ads published in the last N days. 0 disables the filter and returns every ad currently online.",
            "default": 0
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Return only ads flagged as remote-friendly by the employer.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many ads. Sweden publishes roughly 40,000 ads at any moment, so raise this for a full-market export.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The feed is a keyless public API, so the default datacenter proxy is enough.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}