{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobindex Scraper — Denmark Jobs | $1.5/1k",
    "description": "Scrape jobindex.dk and it-jobbank.dk — Denmark's largest job boards. Keyword, category, location and radius search, apply-link resolution, and incremental monitoring that emits only new/changed jobs.",
    "version": "1.0",
    "x-build-id": "BlvpAreYQW0kmYKJR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~jobindex-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-jobindex-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/trev0n~jobindex-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-jobindex-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/trev0n~jobindex-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-jobindex-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": {
          "query": {
            "title": "Search keywords",
            "type": "string",
            "description": "What to search for (e.g. \"software engineer\", \"sygeplejerske\", \"elektriker\"). Leave empty to browse by category/location only or to use Start URLs."
          },
          "queries": {
            "title": "Search queries (multiple)",
            "type": "array",
            "description": "Run several keyword searches in one go (results are deduplicated). Use instead of — or together with — the single query field.",
            "items": {
              "type": "string"
            }
          },
          "portal": {
            "title": "Portal",
            "enum": [
              "jobindex.dk",
              "it-jobbank.dk"
            ],
            "type": "string",
            "description": "Which site to search. jobindex.dk is Denmark's largest job board; it-jobbank.dk is its IT vertical. Start URLs auto-detect the portal.",
            "default": "jobindex.dk"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, municipality, region or area (e.g. \"København\", \"Aarhus\", \"Fyn\", \"Storkøbenhavn\"). Free text — resolved against the site's own location index."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Search radius in kilometres around the location (0 = off). Works with major city names or explicit coordinates below.",
            "default": 0
          },
          "latitude": {
            "title": "Latitude",
            "type": "string",
            "description": "Optional explicit latitude for radius search (e.g. \"55.6761\")."
          },
          "longitude": {
            "title": "Longitude",
            "type": "string",
            "description": "Optional explicit longitude for radius search (e.g. \"12.5683\")."
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "informationsteknologi",
              "ingenioer-og-teknik",
              "ledelse-og-personale",
              "handel-og-service",
              "industri-og-haandvaerk",
              "salg-og-kommunikation",
              "undervisning",
              "kontor-og-oekonomi",
              "social-og-sundhed",
              "oevrige-stillinger"
            ],
            "type": "string",
            "description": "Limit results to one top-level Jobindex category.",
            "default": ""
          },
          "subCategories": {
            "title": "Subcategories",
            "type": "array",
            "description": "One or more Jobindex subcategories, e.g. \"systemudvikling-og-programmering\", \"sygeplejerske-og-jordemoder\", \"laerer\", \"transport\", \"marketing\". Numeric subids are accepted too. Combine freely with or without a top-level category.",
            "items": {
              "type": "string"
            }
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "",
              "permanent",
              "temporary",
              "student",
              "apprentice",
              "graduate",
              "internship",
              "flex",
              "volunteer",
              "youth",
              "freelance",
              "hourly"
            ],
            "type": "string",
            "description": "Filter by employment type.",
            "default": ""
          },
          "workHours": {
            "title": "Working hours",
            "enum": [
              "",
              "fulltime",
              "parttime"
            ],
            "type": "string",
            "description": "Full-time or part-time.",
            "default": ""
          },
          "workplace": {
            "title": "Workplace",
            "enum": [
              "",
              "onsite",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "Remote-work arrangement.",
            "default": ""
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "",
              "today",
              "1d",
              "3d",
              "7d",
              "30d"
            ],
            "type": "string",
            "description": "Only jobs published within this window.",
            "default": ""
          },
          "companyId": {
            "title": "Company ID",
            "type": "string",
            "description": "Only jobs from one company (the numeric id from a jobindex.dk/virksomhed/<id>/… company URL)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Ordering of search results.",
            "default": "relevance"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional jobindex.dk / it-jobbank.dk search or job URLs to scrape directly instead of (or alongside) a keyword search. Ofir.dk search URLs are mapped to Jobindex automatically.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of jobs to collect (0 = unlimited). Note: the site serves at most 1,000 results per search — split broad searches by category or area to get more.",
            "default": 100
          },
          "maxPages": {
            "title": "Max pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on result pages to fetch per search (0 = no cap). The site serves at most 50 pages (20 jobs each) per search.",
            "default": 0
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Keep only jobs whose title/company/teaser contains at least one of these terms.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop jobs whose title/company/teaser contains any of these terms.",
            "items": {
              "type": "string"
            }
          },
          "maxAgeDays": {
            "title": "Max age (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop jobs published more than this many days ago (0 = no limit).",
            "default": 0
          },
          "includeTeaser": {
            "title": "Include teaser text",
            "type": "boolean",
            "description": "Extract each job's teaser/description snippet. Costs nothing extra per job — turn off only for the leanest possible output.",
            "default": true
          },
          "resolveApplyUrls": {
            "title": "Resolve apply redirects",
            "type": "boolean",
            "description": "Follow each job's apply link to the employer's own posting and record the final URL (resolvedUrl). One extra request per job — slower.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Teaser max length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate teasers to this many characters (0 = no limit).",
            "default": 0
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Output only the core fields — handy for AI workflows.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit null / empty fields from each record.",
            "default": false
          },
          "detailConcurrency": {
            "title": "Redirect concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many apply-redirect requests to run in parallel (1-20). Higher is faster.",
            "default": 10
          },
          "useProxyForDetails": {
            "title": "Use proxy for redirects",
            "type": "boolean",
            "description": "Route apply-redirect requests through the proxy. Off by default — employer sites respond faster fetched directly. Turn on only if you start hitting rate limits.",
            "default": false
          },
          "incrementalMode": {
            "title": "Incremental monitoring mode",
            "type": "boolean",
            "description": "Track state across runs and emit only NEW / UPDATED / REAPPEARED jobs. The first run builds a baseline; later runs charge only for the diff — ideal for cheap recurring monitoring.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Custom identifier for the monitoring baseline. Leave empty to derive it from the search config automatically."
          },
          "emitUnchanged": {
            "title": "Emit unchanged jobs",
            "type": "boolean",
            "description": "Also output jobs whose content didn't change since the last run.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired jobs",
            "type": "boolean",
            "description": "Also output a record for jobs that disappeared since the last run (changeType = EXPIRED).",
            "default": false
          },
          "skipReposts": {
            "title": "Skip reposts",
            "type": "boolean",
            "description": "Drop new jobs detected as reposts of a recently expired one (same content, new id).",
            "default": false
          },
          "notifyOnlyChanges": {
            "title": "Notify only on changes",
            "type": "boolean",
            "description": "Only send notifications when there are new/updated jobs.",
            "default": true
          },
          "notificationLimit": {
            "title": "Jobs per notification",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of jobs listed in a single notification message.",
            "default": 10
          },
          "includeRunSummary": {
            "title": "Include run summary in webhook",
            "type": "boolean",
            "description": "Attach the run summary object to the generic webhook payload.",
            "default": true
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Generic webhook to POST results to (JSON)."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Telegram bot token for notifications."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Telegram chat id to send notifications to."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Discord channel webhook for notifications."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Slack incoming webhook for notifications."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The API works without a proxy, but a proxy helps for large or frequent runs.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}