{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobindex Scraper & New-Job Monitor - Denmark Jobs",
    "description": "Jobindex.dk jobs in Denmark as clean JSON: title, company, place, postal code, posted date, application deadline, salary when shown, description and apply link. Turn on monitoring and each later run returns only new jobs, so each job is paid for once. No start fee.",
    "version": "0.1",
    "x-build-id": "zESS7LBSzZ1Cjflm7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~jobindex-jobs-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-jobindex-jobs-monitor",
        "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/neverempty~jobindex-jobs-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-jobindex-jobs-monitor",
        "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/neverempty~jobindex-jobs-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-jobindex-jobs-monitor",
        "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": {
          "searchQueries": {
            "title": "Job titles or keywords",
            "type": "array",
            "description": "One search per line, in Danish or English as people search on Jobindex, for example `sygeplejerske`, `udvikler`, `bogholder`, `project manager`. Each search returns up to Maximum jobs, and a job found by two searches is returned and charged once. Leave empty to use Jobindex search URLs below, or set only a Location to get every job in that place. With nothing at all, the example `udvikler` is used and every row says so in `note`.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Jobindex search URLs (optional)",
            "type": "array",
            "description": "Paste search pages straight from jobindex.dk, for example `https://www.jobindex.dk/jobsoegning/koebenhavn?q=udvikler` or `https://www.jobindex.dk/jobsoegning/it/storkoebenhavn`. The place or category in the path and the words in `q` are kept. A URL that is not a Jobindex job search comes back as one unpaid row saying so.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "location": {
            "title": "Location (optional)",
            "type": "string",
            "description": "Place as Jobindex writes it: `København`, `Storkøbenhavn`, `Aarhus`, `Odense`, `Aalborg`, `Fyn`, `Nordsjælland`, `Sjælland`, `Midtjylland`, `Sydjylland`, `Nordjylland`, `Grønland` (English names like `Copenhagen` also work). Applied to every search in Job titles or keywords. Leave empty for all of Denmark. A place Jobindex does not know comes back as one unpaid `location-not-recognised` row instead of a silent all-Denmark list."
          },
          "maxJobs": {
            "title": "Maximum jobs per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many jobs to return for each search. One job = one row = one charged event. Jobindex shows 20 jobs per page and at most 1,000 per search; for more, split the search by place or add more specific words.",
            "default": 20
          },
          "postedWithinDays": {
            "title": "Posted within N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only jobs posted in the last N days, for example 1 for jobs posted today or 7 for this week. 0 means no limit. A job whose posted date cannot be read is kept.",
            "default": 0
          },
          "remoteOnly": {
            "title": "Only jobs marked as working from home",
            "type": "boolean",
            "description": "Default: false. Turn it on to keep only jobs the employer marked as home workplace on Jobindex.",
            "default": false
          },
          "keywords": {
            "title": "Keyword filter",
            "type": "array",
            "description": "Keep only jobs whose title, company, description or place contains one of these words. Case is ignored. Leave empty to keep everything. Jobs that do not match are never charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword matching",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "`any` keeps a job that contains at least one keyword. `all` keeps only jobs that contain every keyword.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop any job containing one of these words, for example `vikar`, `studentermedhjælper`, `praktik`, or an agency you do not want. Applied after the keyword filter. Dropped jobs are never charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Companies to include",
            "type": "array",
            "description": "Keep only jobs from employers whose name contains one of these (partial match, case ignored), for example `Region Hovedstaden`, `Novo Nordisk`, `kommune`. Leave empty for all employers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "requireSalary": {
            "title": "Only jobs that publish a salary",
            "type": "boolean",
            "description": "Default: false. Turn it on to keep only jobs that show a salary on Jobindex (salary, currency and period are returned as published).",
            "default": false
          },
          "monitoringMode": {
            "title": "Only new jobs since the last run",
            "type": "boolean",
            "description": "Default: false. Turn it on and schedule this Actor daily: each run returns only jobs it has not returned before, so you pay for new postings, not the same list again. The first run returns everything and remembers it. Jobs read but filtered out are remembered too, so they never come back as false new ones.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Reset the monitoring memory (one run)",
            "type": "boolean",
            "description": "Default: false. Turn it on for a single run to forget which jobs were already returned and start monitoring again from scratch.",
            "default": false
          },
          "useProxy": {
            "title": "Use an Apify proxy",
            "type": "boolean",
            "description": "Default: true. Runs go out through an Apify proxy so a shared address does not get in the way. Turn it off only if you run from a network Jobindex already accepts.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}