{
  "openapi": "3.0.1",
  "info": {
    "title": "Sweden Jobs Feed: Arbetsförmedlingen JobSearch API",
    "description": "Every job ad on Platsbanken, Sweden's public job board, from Arbetsförmedlingen's open CC0 API in one clean schema: employer, org number, SSYK occupation, municipality, region, pay, deadline and description. Text and taxonomy filters, plus a new-jobs monitor with closed-job rows.",
    "version": "1.0",
    "x-build-id": "jRqxr3Ew1KUEfGmFq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rivetfinch~sweden-jobs-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rivetfinch-sweden-jobs-feed",
        "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/rivetfinch~sweden-jobs-feed/runs": {
      "post": {
        "operationId": "runs-sync-rivetfinch-sweden-jobs-feed",
        "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/rivetfinch~sweden-jobs-feed/run-sync": {
      "post": {
        "operationId": "run-sync-rivetfinch-sweden-jobs-feed",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Free text, in Swedish or English, searched by Arbetsförmedlingen's own search in the headline, description and employer name. Any of the words may match; it understands word forms (sjuksköterska also finds sjuksköterskor). Put a multi-word phrase on one line, e.g. project manager. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude title words",
            "type": "array",
            "description": "Drop ads whose headline contains any of these words. Words match from their start: chef drops chef and chefsjuksköterska. Put a word in double quotes to match it whole only.",
            "items": {
              "type": "string"
            }
          },
          "occupations": {
            "title": "Occupations",
            "type": "array",
            "description": "Occupation fields (Data/IT, Pedagogik …), SSYK 2012 occupation groups (by 4-digit code, e.g. 2512, or name) or occupation names (e.g. Mjukvaruutvecklare), as Arbetsförmedlingen labels them, or their taxonomy concept ids. Any may match. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "title": "Municipalities",
            "type": "array",
            "description": "Swedish municipalities (kommuner) by name (Göteborg, Malmö, Gothenburg), 4-digit municipality code (0180 is Stockholm) or concept id. Combined with Regions: an ad matches if it is in any of them. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Swedish regions (län) by name (Stockholms län or just Stockholm län, Skåne, Västra Götaland), 2-digit region code (01 is Stockholm) or concept id. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Keep ads with any of these employment types, as Arbetsförmedlingen classifies them. Empty keeps all.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "regular",
                "fixed_term",
                "on_call",
                "summer_job",
                "seasonal",
                "substitute"
              ],
              "enumTitles": [
                "Permanent (tillsvidareanställning)",
                "Regular employment (vanlig anställning)",
                "Fixed term (tidsbegränsad)",
                "On call (behovsanställning)",
                "Summer job (sommarjobb / feriejobb)",
                "Seasonal (säsongsanställning)",
                "Substitute (vikariat)"
              ]
            }
          },
          "workingHours": {
            "title": "Working hours",
            "type": "array",
            "description": "Full time (heltid), part time (deltid), or both. About 12% of ads say neither and are dropped when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "full_time",
                "part_time"
              ],
              "enumTitles": [
                "Full time (heltid)",
                "Part time (deltid)"
              ]
            }
          },
          "remoteOnly": {
            "title": "Remote work only",
            "type": "boolean",
            "description": "Keep only ads that Arbetsförmedlingen's search marks as likely to allow remote work (it matches phrases such as distansarbete or remote in the ad).",
            "default": false
          },
          "publishedSince": {
            "title": "Published since",
            "type": "string",
            "description": "Keep ads published on or after this date: a date such as 2026-11-01, or relative such as 7 days (or 7 dagar). Applied by the API, so it also makes runs faster."
          },
          "minMonthlySalary": {
            "title": "Minimum monthly pay (SEK)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep ads whose pay, read from the ad, reaches at least this per month at the top of the range. Only about 2.5% of ads state monthly or yearly figures, so this keeps few ads; hourly pay and ads without figures are dropped."
          },
          "maxJobs": {
            "title": "Maximum jobs",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after delivering this many jobs. 0 means no limit. Closed-job rows in monitor mode do not count.",
            "default": 0
          },
          "monitorMode": {
            "title": "Monitor mode",
            "enum": [
              "off",
              "new"
            ],
            "type": "string",
            "description": "New jobs only: each run returns only ads this monitor has not delivered before, plus a free row (changeType closed) for each delivered ad that was taken down. The first run is a full pull; later runs read Arbetsförmedlingen's change log, so a daily run takes a minute or two.",
            "default": "off"
          },
          "stateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name for this monitor's memory. Each saved task gets its own by default; give a new name to start fresh, or the same name to share one memory between tasks."
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "markdown",
              "text",
              "html",
              "all",
              "none"
            ],
            "type": "string",
            "description": "How to return the ad text.",
            "default": "markdown"
          },
          "redactPersonalData": {
            "title": "Remove personal emails and phone numbers",
            "type": "boolean",
            "description": "Ads often name a recruiter or union contact with an email and phone number. On (default): personal emails and all phone numbers in the text are replaced with [email removed] / [phone removed]; role mailboxes such as jobb@ or rekrytering@ stay. Contact-person fields are never output. Off: the text exactly as published.",
            "default": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}