{
  "openapi": "3.0.1",
  "info": {
    "title": "Czech Job Ads API - Úřad práce ČR (MPSV open data)",
    "description": "$1 per 1,000 job ads. Czech job vacancies (volná pracovní místa, nabídky práce) from Úřad práce ČR via MPSV's official open data. Filter by keyword, region (kraj), district, town, CZ-ISCO, salary, contract type and foreign-worker eligibility; English labels and daily alerts.",
    "version": "0.1",
    "x-build-id": "HcVnXebcnlOv2GFhF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/orange_briefcase_hrj~czech-job-ads-urad-prace/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-orange_briefcase_hrj-czech-job-ads-urad-prace",
        "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/orange_briefcase_hrj~czech-job-ads-urad-prace/runs": {
      "post": {
        "operationId": "runs-sync-orange_briefcase_hrj-czech-job-ads-urad-prace",
        "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/orange_briefcase_hrj~czech-job-ads-urad-prace/run-sync": {
      "post": {
        "operationId": "run-sync-orange_briefcase_hrj-czech-job-ads-urad-prace",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Words searched in the job title, CZ-ISCO occupation, description and employer name. Accents and case are ignored (\"ridic\" finds \"řidič\"). All words in a phrase must appear; separate alternative phrases with commas, e.g. \"programátor, vývojář, developer\"."
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "string",
            "description": "Comma-separated words or phrases; ads containing any of them are skipped, e.g. \"brigáda, agentura\"."
          },
          "regions": {
            "title": "Regions (kraj)",
            "type": "array",
            "description": "Region names or codes, e.g. Praha / Prague, Jihomoravský kraj / South Moravian / Brno, Moravskoslezský, 116 or NUTS3 CZ064. Empty = whole country.",
            "items": {
              "type": "string"
            }
          },
          "districts": {
            "title": "Districts (okres)",
            "type": "array",
            "description": "District names, codes or LAU codes, e.g. Brno-venkov, Plzeň-město, CZ0643.",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "title": "Municipalities (obec)",
            "type": "array",
            "description": "Town or municipality names (Czech spelling, accents optional) or 6-digit codes, e.g. Brno, Plzeň, Olomouc.",
            "items": {
              "type": "string"
            }
          },
          "includeNationwide": {
            "title": "Include ads for the whole Czech Republic",
            "type": "boolean",
            "description": "When a location filter is set, also include ads whose place of work is the whole country (often driving or field jobs).",
            "default": false
          },
          "czIscoCodes": {
            "title": "CZ-ISCO occupation codes",
            "type": "array",
            "description": "CZ-ISCO code prefixes: \"2512\" (software developers), \"25\" (all ICT professionals), \"8332\" (truck drivers), \"2221\" (nurses).",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Contract type",
            "type": "array",
            "description": "Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "fullTime",
                "partTime",
                "dpp",
                "dpc",
                "civilService"
              ],
              "enumTitles": [
                "Full-time (plný úvazek)",
                "Part-time (zkrácený úvazek)",
                "DPP (dohoda o provedení práce)",
                "DPČ (dohoda o pracovní činnosti)",
                "Civil service (služební poměr)"
              ]
            }
          },
          "maxEducationRequired": {
            "title": "Maximum education required",
            "enum": [
              "any",
              "zaklPraktSkol",
              "stredOdborVyuc",
              "usoSMat",
              "vyssOdbor",
              "bakal",
              "vysoka"
            ],
            "type": "string",
            "description": "Only ads whose minimum required education is at or below this level (useful for job seekers).",
            "default": "any"
          },
          "minMonthlySalaryCzk": {
            "title": "Minimum monthly salary (CZK)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads whose top of the salary range is at least this much a month. Hourly wages are compared at 173 hours a month. Ads without a salary are skipped when this is set."
          },
          "employers": {
            "title": "Employers",
            "type": "array",
            "description": "Employer name (part of the name, accents optional) or IČO, e.g. \"Škoda Auto\" or \"00177041\".",
            "items": {
              "type": "string"
            }
          },
          "foreignWorkers": {
            "title": "Foreign workers",
            "enum": [
              "any",
              "openToNonEu",
              "employeeCard",
              "blueCard"
            ],
            "type": "string",
            "description": "Filter by the employer's flags for hiring foreigners.",
            "default": "any"
          },
          "publicSector": {
            "title": "Public sector",
            "enum": [
              "any",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Based on the vacancy's state/local administration flag (státní správa a samospráva).",
            "default": "any"
          },
          "suitableForGraduates": {
            "title": "Suitable for graduates",
            "type": "boolean",
            "description": "Only ads marked as suitable for graduates (absolventi).",
            "default": false
          },
          "publishedWithinDays": {
            "title": "Published in the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only ads entered in the last N days."
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Only ads entered on or after this date."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "recentlyUpdated",
              "salaryHighest"
            ],
            "type": "string",
            "description": "Order of the saved ads.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum ads saved in this run (you pay per ad saved). The whole register has about 40,000 vacancies.",
            "default": 100
          },
          "includeDescription": {
            "title": "Include ad text",
            "type": "boolean",
            "description": "The vacancy's free-text details (upřesňující informace). E-mail addresses and phone numbers are removed unless you opt in below.",
            "default": true
          },
          "englishLabels": {
            "title": "English labels",
            "type": "boolean",
            "description": "Add English versions (…En fields) of contract type, shift pattern, education, region, benefits, suitability and languages.",
            "default": true
          },
          "includeContactDetails": {
            "title": "Include contact persons' details (opt-in)",
            "type": "boolean",
            "description": "Adds the named contact person, phone numbers and e-mails, and leaves them unmasked in the ad text. This can be personal data: only turn on if you have a lawful basis under GDPR (e.g. applying for the job).",
            "default": false
          },
          "onlyNew": {
            "title": "Only new ads since last run (alert mode)",
            "type": "boolean",
            "description": "Schedule the Actor (e.g. daily) and receive only ads it has not returned before for this search.",
            "default": false
          },
          "firstRunBaselineOnly": {
            "title": "First alert run: mark existing as seen",
            "type": "boolean",
            "description": "If on, the first alert run saves nothing and only remembers the current ads.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that remembers ads already returned.",
            "default": "cz-job-alerts-state"
          },
          "stateKey": {
            "title": "Alert name (state key)",
            "type": "string",
            "description": "Optional name for this alert. Defaults to a hash of the filters."
          },
          "requestIntervalSecs": {
            "title": "Seconds between requests",
            "minimum": 0.2,
            "maximum": 10,
            "type": "number",
            "description": "Politeness delay between downloads from data.mpsv.cz (each run downloads one export file and a few code lists).",
            "default": 0.5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}