{
  "openapi": "3.0.1",
  "info": {
    "title": "Sweden Job Ads Feed: Platsbanken API & Hiring Employers",
    "description": "Daily Swedish job ads from Arbetsförmedlingen's official open JobTech API (Platsbanken): employer org number, SSYK occupation, kommun, terms, skills. Plus a 'who is hiring' employer ranking. CC0 data, no API key.",
    "version": "0.1",
    "x-build-id": "opHzbtKnvge9OjDXy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moment-data~sweden-job-ads-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moment-data-sweden-job-ads-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/moment-data~sweden-job-ads-feed/runs": {
      "post": {
        "operationId": "runs-sync-moment-data-sweden-job-ads-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/moment-data~sweden-job-ads-feed/run-sync": {
      "post": {
        "operationId": "run-sync-moment-data-sweden-job-ads-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": {
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum job ads (or employers, with onePerEmployer) to return. You pay per record.",
            "default": 30
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Look at ads published in the last N days (newest first).",
            "default": 1
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Free-text search in headline, description and employer (Swedish or English), e.g. 'elektriker', 'python', 'sjuksköterska'."
          },
          "regions": {
            "title": "Regions (län)",
            "type": "array",
            "description": "County names or codes, e.g. Stockholm / 01, Skåne / 12, Västra Götaland / 14, Uppsala / 03.",
            "items": {
              "type": "string"
            }
          },
          "municipalityCodes": {
            "title": "Municipality codes (kommun)",
            "type": "array",
            "description": "4-digit kommun codes, e.g. 0180 Stockholm, 1480 Göteborg, 1280 Malmö, 0380 Uppsala.",
            "items": {
              "type": "string"
            }
          },
          "occupationGroups": {
            "title": "Occupation groups (SSYK 2012)",
            "type": "array",
            "description": "4-digit SSYK codes, e.g. 2512 software developers, 2221 nurses, 7411 electricians, 5120 cooks, 8332 truck drivers.",
            "items": {
              "type": "string"
            }
          },
          "employers": {
            "title": "Employers",
            "type": "array",
            "description": "Employer names or organisation numbers (10 digits), e.g. Volvo, 5560566258.",
            "items": {
              "type": "string"
            }
          },
          "permanentOnly": {
            "title": "Permanent jobs only",
            "type": "boolean",
            "description": "Only tillsvidareanställning (permanent employment).",
            "default": false
          },
          "fullTimeOnly": {
            "title": "Full-time only",
            "type": "boolean",
            "description": "Only full-time (heltid) ads.",
            "default": false
          },
          "remoteOnly": {
            "title": "Remote-friendly only",
            "type": "boolean",
            "description": "Ads that likely allow remote work (Arbetsförmedlingen phrase matching).",
            "default": false
          },
          "noExperienceRequired": {
            "title": "No experience required",
            "type": "boolean",
            "description": "Only ads that do not require previous experience.",
            "default": false
          },
          "minVacancies": {
            "title": "Min vacancies per ad",
            "type": "integer",
            "description": "Keep ads with at least this many open positions."
          },
          "excludeKeywords": {
            "title": "Exclude headline keywords",
            "type": "array",
            "description": "Drop ads whose headline or occupation contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "excludeEmployerKeywords": {
            "title": "Exclude employer keywords",
            "type": "array",
            "description": "Drop employers whose name contains any of these words, e.g. bemanning, rekrytering, staffing.",
            "items": {
              "type": "string"
            }
          },
          "onePerEmployer": {
            "title": "Hiring employers (one row per employer)",
            "type": "boolean",
            "description": "Scan the window and return one row per employer, ranked by number of ads, with employerAdsInWindow, employerVacanciesInWindow, top occupations and municipalities. Great for B2B 'who is hiring' lists.",
            "default": false
          },
          "maxAdsToScan": {
            "title": "Max ads to scan (employer mode)",
            "minimum": 100,
            "maximum": 100000,
            "type": "integer",
            "description": "In onePerEmployer mode, how many ads to read before ranking employers (about 100 ads per request).",
            "default": 2000
          },
          "includeDescription": {
            "title": "Include ad description",
            "type": "boolean",
            "description": "Adds the ad text. E-mail addresses, phone numbers and names after contact cues are removed, but free text can still mention people; use responsibly.",
            "default": false
          },
          "includeSoleTraders": {
            "title": "Include sole traders",
            "type": "boolean",
            "description": "Ads from sole traders (enskild firma, whose organisation number is a personal identity number) are skipped by default. If included, their name and number are withheld.",
            "default": false
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "window",
              "sinceLastRun"
            ],
            "type": "string",
            "description": "sinceLastRun remembers ad ids (or employers in onePerEmployer mode) already delivered, in a named key-value store, so scheduled runs only return new ones.",
            "default": "window"
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Separate memory per saved search when mode is sinceLastRun.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}