{
  "openapi": "3.0.1",
  "info": {
    "title": "Sweden & Norway Jobs Scraper: Platsbanken & NAV Arbeidsplassen",
    "description": "Job ads from Sweden's Platsbanken (Arbetsförmedlingen JobTech API, open data) and Norway's arbeidsplassen.no (NAV job feed) in one schema: title, employer and org number, municipality, occupation, employment type, salary type, deadline and apply link. Keyword filters, dedupe, only-new alerts.",
    "version": "0.1",
    "x-build-id": "ec1VtMKnSB9hMRuCq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/latamdatatools~nordic-public-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-latamdatatools-nordic-public-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/latamdatatools~nordic-public-jobs/runs": {
      "post": {
        "operationId": "runs-sync-latamdatatools-nordic-public-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/latamdatatools~nordic-public-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-latamdatatools-nordic-public-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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Sweden (Platsbanken, no key needed) and/or Norway (arbeidsplassen.no, needs a free NAV token, see below).",
            "items": {
              "type": "string",
              "enum": [
                "SE",
                "NO"
              ],
              "enumTitles": [
                "Sweden (Platsbanken)",
                "Norway (NAV arbeidsplassen)"
              ]
            },
            "default": [
              "SE",
              "NO"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Job titles, skills or employers in any language (e.g. utvecklare, sjuksköterska, developer, sykepleier). Sweden: full-text search. Norway: matched against the ad title and employer name. Empty = all ads.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Keep ads whose municipality, county or city contains any of these (e.g. Stockholm, Göteborg, Oslo, Bergen, Vestland).",
            "items": {
              "type": "string"
            }
          },
          "publishedWithinDays": {
            "title": "Published / updated in the last N days",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Sweden: published after this date. Norway: ads changed in the feed after this date.",
            "default": 3
          },
          "remoteOnly": {
            "title": "Remote only (Sweden)",
            "type": "boolean",
            "description": "Platsbanken ads marked as remote work.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude words in the title",
            "type": "array",
            "description": "Drop ads whose title contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "navToken": {
            "title": "NAV feed token (Norway)",
            "type": "string",
            "description": "Free: e-mail nav.team.arbeidsplassen@nav.no accepting the API terms (arbeidsplassen.nav.no/vilkar-api) and NAV sends you a personal token. Stored encrypted."
          },
          "useNavPublicToken": {
            "title": "Use NAV public test token",
            "type": "boolean",
            "description": "NAV publishes a rotating public token for experiments. Fine for trying the actor; for regular use get your own token.",
            "default": false
          },
          "maxFeedPages": {
            "title": "Max NAV feed pages",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "The NAV feed has roughly 10-15 pages of changes per day.",
            "default": 400
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Plain-text job description.",
            "default": true
          },
          "maxDescriptionChars": {
            "title": "Max description length",
            "minimum": 200,
            "maximum": 50000,
            "type": "integer",
            "description": "Longer descriptions are cut.",
            "default": 5000
          },
          "maxItems": {
            "title": "Max ads per country",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many ads in each country.",
            "default": 300
          },
          "onlyNew": {
            "title": "Only new ads",
            "type": "boolean",
            "description": "Skip ads already delivered in earlier runs with the same alert name. Skipped ads are not charged.",
            "default": false
          },
          "alertName": {
            "title": "Alert name",
            "type": "string",
            "description": "Separate memory for each scheduled alert.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}