{
  "openapi": "3.0.1",
  "info": {
    "title": "Praca.gov.pl Job Scraper",
    "description": "Fast scraper for praca.gov.pl, the Polish public job portal (CBOP) ePraca. Extract job offers, salaries, employers, locations, requirements and contacts with keyword, location, salary and contract filters.",
    "version": "1.0",
    "x-build-id": "1EeSNE9tFJaXIeshx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~praca-gov-pl-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-praca-gov-pl-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~praca-gov-pl-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-praca-gov-pl-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~praca-gov-pl-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-praca-gov-pl-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": {
          "startUrls": {
            "title": "Direct offer URLs",
            "type": "array",
            "description": "Optional. Paste links to individual praca.gov.pl offers (e.g. https://oferty.praca.gov.pl/portal/index.cbop#/szczegoly-oferty/<id>) or raw offer ids. When set, filters below are ignored and each offer is fetched with full details.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchTerms": {
            "title": "Search terms (position / keyword)",
            "type": "array",
            "description": "Free-text phrases matched against the job position, e.g. \"kierowca\", \"programista\", \"magazynier\". Leave empty to scrape all offers.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City",
            "type": "string",
            "description": "City name to search in (e.g. \"Warszawa\", \"Kraków\"). Resolved to the official locality automatically."
          },
          "locationRadius": {
            "title": "City radius (km)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Include offers within this many kilometres of the chosen city. 0 = exact city only.",
            "default": 0
          },
          "voivodeships": {
            "title": "Voivodeships (regions)",
            "type": "array",
            "description": "Limit results to one or more Polish voivodeships.",
            "items": {
              "type": "string",
              "enum": [
                "dolnoslaskie",
                "kujawsko-pomorskie",
                "lubelskie",
                "lubuskie",
                "lodzkie",
                "malopolskie",
                "mazowieckie",
                "opolskie",
                "podkarpackie",
                "podlaskie",
                "pomorskie",
                "slaskie",
                "swietokrzyskie",
                "warminsko-mazurskie",
                "wielkopolskie",
                "zachodniopomorskie"
              ],
              "enumTitles": [
                "dolnośląskie",
                "kujawsko-pomorskie",
                "lubelskie",
                "lubuskie",
                "łódzkie",
                "małopolskie",
                "mazowieckie",
                "opolskie",
                "podkarpackie",
                "podlaskie",
                "pomorskie",
                "śląskie",
                "świętokrzyskie",
                "warmińsko-mazurskie",
                "wielkopolskie",
                "zachodniopomorskie"
              ]
            }
          },
          "country": {
            "title": "Country scope",
            "enum": [
              "ALL",
              "POLAND",
              "FOREIGN"
            ],
            "type": "string",
            "description": "Restrict to offers in Poland or abroad (EURES). Default: all.",
            "default": "ALL"
          },
          "offerTypes": {
            "title": "Offer types",
            "type": "array",
            "description": "Limit to specific proposal types (job, internship, traineeship, volunteering...).",
            "items": {
              "type": "string",
              "enum": [
                "OFERTA_PRACY",
                "PRAKTYKI",
                "PRAKT_STUDENT",
                "PRZYG_ZAW",
                "STAZ",
                "STAZ_UP",
                "WOLONTARIAT"
              ],
              "enumTitles": [
                "Job offer",
                "Internship",
                "Student internship",
                "Adult vocational training",
                "Traineeship",
                "Labor-office traineeship",
                "Volunteering"
              ]
            }
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Limit to specific contract types.",
            "items": {
              "type": "string",
              "enum": [
                "UMOWA_O_PRACE_CZAS_NIEOKRESLONY",
                "UMOWA_O_PRACE_CZAS_OKRESLONY",
                "UMOWA_O_PRACE_OKRES_PROBNY",
                "UMOWA_O_PRACE_ZASTEPWSTWO",
                "UMOWA_ZLECENIE",
                "UMOWA_O_DZIELO",
                "KONTRAKT_MENADZERSKI",
                "UMOWA_AGENCYJNA",
                "MIANOWANIE",
                "POWOLANIE",
                "WYBOR",
                "DELEGOWANIE",
                "SPOLDZIELCZA_UMOWA_O_PRACE",
                "PRAKTYKA_ABSOLWENCKA",
                "PRAKTYKA_STUDENCKA",
                "UMOWA_POMOC_ZBIORY",
                "WOLONTARIAT",
                "NIE_DOTYCZY"
              ],
              "enumTitles": [
                "Employment, indefinite",
                "Employment, fixed-term",
                "Employment, probation",
                "Employment, replacement",
                "Mandate (zlecenie)",
                "Specific-task (dzieło)",
                "Managerial contract",
                "Agency contract",
                "Appointment (mianowanie)",
                "Appointment (powołanie)",
                "Election (wybór)",
                "Posting (delegowanie)",
                "Cooperative employment",
                "Graduate internship",
                "Student internship",
                "Harvest-help contract",
                "Volunteering",
                "Not applicable"
              ]
            }
          },
          "salaryFrom": {
            "title": "Minimum gross salary (PLN)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers with gross salary at least this amount."
          },
          "salaryTo": {
            "title": "Maximum gross salary (PLN)",
            "minimum": 0,
            "type": "integer",
            "description": "Only offers with gross salary up to this amount."
          },
          "onlyForDisabled": {
            "title": "Only offers for people with disabilities",
            "type": "boolean",
            "description": "Return only offers dedicated to people with disabilities.",
            "default": false
          },
          "immediateStart": {
            "title": "Only immediate-start offers",
            "type": "boolean",
            "description": "Return only offers marked as immediate start (zatrudnienie od zaraz).",
            "default": false
          },
          "temporaryWork": {
            "title": "Only temporary work",
            "type": "boolean",
            "description": "Return only temporary-work offers (praca tymczasowa).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "dateAdded",
              "validUntil",
              "salary",
              "matchLevel",
              "position",
              "employer",
              "workplace",
              "contractType",
              "addedBy"
            ],
            "type": "string",
            "description": "Field to sort search results by.",
            "default": "dateAdded"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Sort direction.",
            "default": "DESC"
          },
          "extractFullDetails": {
            "title": "Extract full details",
            "type": "boolean",
            "description": "Fetch each offer's detail page for extra fields (NIP, contacts, full requirements, work conditions, labor office). Slower — one extra request per offer.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of offers to scrape. 0 = no limit.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of parallel requests.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The API is public and works without a proxy. Use one only if you hit rate limits.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}