{
  "openapi": "3.0.1",
  "info": {
    "title": "Werk.nl Job Scraper — Vacancies & Contacts",
    "description": "Scrape public Werk.nl job vacancies by keyword, location, filters, or detail URL. For Dutch recruitment and labor-market research, not candidate profiles, CV data, or applications. Returns flat job, employer, salary, contact, date, and apply fields. $0.0025 per job plus $0.00005 per start.",
    "version": "1.0",
    "x-build-id": "l2wDXFMsqMzlLSc9Y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muhammadafzal~werk-nl-job-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muhammadafzal-werk-nl-job-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/muhammadafzal~werk-nl-job-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muhammadafzal-werk-nl-job-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/muhammadafzal~werk-nl-job-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muhammadafzal-werk-nl-job-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": {
          "mode": {
            "title": "Scraping mode",
            "enum": [
              "search",
              "urls"
            ],
            "type": "string",
            "description": "Use this when choosing between a Werk.nl search and known vacancy pages. Accepts 'search' or 'urls'; for example, choose 'search' to find developer jobs. Defaults to 'search'. This is not a switch for CV or candidate-profile data.",
            "default": "search"
          },
          "searchQueries": {
            "title": "Job search queries",
            "type": "array",
            "description": "Use this when searching Werk.nl by job title, profession, keyword, or vacancy reference. Enter one query per line, for example 'software developer'; up to 10 queries are accepted. Defaults to one health-check query. This field is ignored in URL mode.",
            "default": [
              "software developer"
            ],
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Use this when narrowing search results to a Dutch city or postcode. Enter a value such as 'Amsterdam' or '1011AB'. Defaults to an empty nationwide search. This is not a country selector and is ignored in URL mode.",
            "default": ""
          },
          "startUrls": {
            "title": "Werk.nl vacancy URLs",
            "type": "array",
            "description": "Use this when you already know specific public Werk.nl vacancy pages. Enter URLs such as 'https://www.werk.nl/nl/vacatures/67354900'; only Werk.nl detail URLs are accepted. Defaults to an empty list. This is not for search-result pages or external employer URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Use this when filtering search results by Werk.nl contract category. Choose permanent, possibly permanent, or temporary; for example, '1' means permanent. Defaults to no contract filter. This does not infer a contract when Werk.nl omits one.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "Permanent (Vast)",
                "Possibly permanent",
                "Temporary"
              ]
            },
            "default": []
          },
          "educationLevels": {
            "title": "Education levels",
            "type": "array",
            "description": "Use this when filtering vacancies by required education. Choose Werk.nl codes such as '4' for MBO or '5' for HBO/bachelor. Defaults to no education filter. This does not classify education from free-text descriptions.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7"
              ],
              "enumTitles": [
                "Primary",
                "VMBO",
                "Havo/VWO",
                "MBO",
                "HBO/bachelor",
                "WO/master",
                "Not specified"
              ]
            },
            "default": []
          },
          "hoursPerWeek": {
            "title": "Hours per week",
            "type": "array",
            "description": "Use this when filtering search results by weekly-hour range. Choose codes such as '4' for 25–32 hours or '5' for 33–40 hours. Defaults to no hours filter. This is not an exact numeric minimum-hour input.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "0–8 hours",
                "9–16 hours",
                "17–24 hours",
                "25–32 hours",
                "33–40 hours",
                "More than 40 hours"
              ]
            },
            "default": []
          },
          "responseFormat": {
            "title": "Response format",
            "enum": [
              "concise",
              "detailed"
            ],
            "type": "string",
            "description": "Use this when balancing AI-agent context size against description depth. 'concise' returns up to 600 description characters, while 'detailed' uses maxDescriptionChars; for example, choose 'detailed' for archival datasets. Defaults to 'concise'. This setting does not remove structured salary, contact, or date fields.",
            "default": "concise"
          },
          "maxDescriptionChars": {
            "title": "Detailed description limit",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Use this when responseFormat is 'detailed' and you need to bound text size. Enter 500–10000 characters, for example 2500. Defaults to 2500. This does not affect concise mode or other output fields.",
            "default": 2500
          },
          "maxResults": {
            "title": "Maximum vacancies",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Use this when setting the hard result and billing cap for the entire run. Enter 1–100, for example 10; each returned vacancy costs $0.0025. Defaults to 10. This is not a per-query limit when multiple search queries are supplied. Verified Apify free-plan runs are capped at 5 records per run; upgrade for more.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}