{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobnet.dk Scraper",
    "description": "Scrape job listings from Jobnet.dk — Denmark's official government job portal with 20,000+ active listings. Supports keyword search, regional filters, employment type, and full job detail enrichment.",
    "version": "0.0",
    "x-build-id": "7ALUSMOtN2UfBXr1a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~jobnet-dk-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-jobnet-dk-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/unfenced-group~jobnet-dk-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-jobnet-dk-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/unfenced-group~jobnet-dk-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-jobnet-dk-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": {
          "searchString": {
            "title": "Search query",
            "type": "string",
            "description": "Job title, keyword or company name. Leave empty to scrape all listings.",
            "default": ""
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of job ads to return. Set to 0 for no limit.",
            "default": 0
          },
          "orderType": {
            "title": "Sort order",
            "enum": [
              "BestMatch",
              "PublicationDate",
              "ApplicationDate"
            ],
            "type": "string",
            "description": "How results are sorted.",
            "default": "BestMatch"
          },
          "regions": {
            "title": "Danish regions",
            "type": "array",
            "description": "Filter by one or more Danish regions. Valid values: Nordjylland, Midtjylland, Syddanmark, HovedstadenOgBornholm, OevrigeSjaelland",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "countries": {
            "title": "Countries (abroad)",
            "type": "array",
            "description": "Filter by country code(s) for positions outside Denmark (e.g. 'DE', 'SE', 'NO').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "employmentDurationType": {
            "title": "Employment duration",
            "enum": [
              "",
              "Permanent",
              "Temporary"
            ],
            "type": "string",
            "description": "Filter by employment duration type.",
            "default": ""
          },
          "workHoursType": {
            "title": "Work hours",
            "enum": [
              "",
              "FullTime",
              "PartTime"
            ],
            "type": "string",
            "description": "Filter by full-time or part-time.",
            "default": ""
          },
          "workplaceFilter": {
            "title": "No fixed workplace",
            "enum": [
              "",
              "NonFixed"
            ],
            "type": "string",
            "description": "Set to 'NonFixed' to filter for positions with no fixed workplace.",
            "default": ""
          },
          "jobAnnouncementType": {
            "title": "Job announcement type",
            "enum": [
              "",
              "Ordinaert",
              "Hotjob",
              "Fleksjob",
              "Foertidspension",
              "Efterloenner",
              "Handicapingenhindring"
            ],
            "type": "string",
            "description": "Filter by special employment categories.",
            "default": ""
          },
          "postalCode": {
            "title": "Postal code (proximity search)",
            "type": "integer",
            "description": "Danish postal code for proximity-based search. Combine with kmRadius."
          },
          "kmRadius": {
            "title": "Search radius (km)",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Radius in km around the postal code. Min 5, max 100. Default 50.",
            "default": 50
          },
          "occupationAreas": {
            "title": "Occupation areas (identifiers)",
            "type": "array",
            "description": "Filter by occupation area identifier(s). Use the Jobnet.dk search facets to discover valid identifiers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "occupationGroups": {
            "title": "Occupation groups (identifiers)",
            "type": "array",
            "description": "Filter by occupation group identifier(s). Subset of occupation areas.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "occupations": {
            "title": "Occupations (identifiers)",
            "type": "array",
            "description": "Filter by specific occupation identifier(s). Subset of occupation groups.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Fetch full job details",
            "type": "boolean",
            "description": "When enabled, the scraper fetches the full job description, application URL, employer address, work shifts and more for each listing. Doubles the number of requests. Recommended for high-quality data pipelines.",
            "default": false
          },
          "skipReposts": {
            "title": "Skip already-seen jobs (cross-run dedup)",
            "type": "boolean",
            "description": "Skip job ads seen in previous runs of this actor (90-day rolling window). Useful for incremental monitoring workflows.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}