{
  "openapi": "3.0.1",
  "info": {
    "title": "Pracuj.pl Job Scraper — Poland Jobs, Salaries & Companies",
    "description": "Scrape pracuj.pl, Poland's #1 job board. Export structured job offers with salary (min/max/currency), contract type, work mode, tech stack, requirements, benefits, company data, apply links and AI summaries. Incremental monitoring + notifications built in.",
    "version": "0.1",
    "x-build-id": "DfhBLrrPUFbNzVZic"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corvuslab~pracuj-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corvuslab-pracuj-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/corvuslab~pracuj-scraper/runs": {
      "post": {
        "operationId": "runs-sync-corvuslab-pracuj-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/corvuslab~pracuj-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-corvuslab-pracuj-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": "Keywords to search for (e.g. \"programista\", \"marketing manager\"). Separate multiple searches with commas — each runs as its own search and the results are merged and de-duplicated."
          },
          "startUrls": {
            "title": "📋 Start URLs",
            "type": "array",
            "description": "Paste pracuj.pl search/listing URLs (with your own filters applied on the site) or individual offer URLs. These are scraped in addition to the keyword search.",
            "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 job offers to return. Set 0 for unlimited (bounded by how many the search actually has).",
            "default": 25
          },
          "ignoreUrlFailures": {
            "title": "⏭️ Ignore URL failures",
            "type": "boolean",
            "description": "Skip start URLs that cannot be interpreted instead of failing the whole run.",
            "default": true
          },
          "region": {
            "title": "📍 Region (voivodeship)",
            "type": "array",
            "description": "Polish voivodeship(s) to limit the search to.",
            "items": {
              "type": "string",
              "enum": [
                "dolnośląskie",
                "kujawsko-pomorskie",
                "lubelskie",
                "lubuskie",
                "łódzkie",
                "małopolskie",
                "mazowieckie",
                "opolskie",
                "podkarpackie",
                "podlaskie",
                "pomorskie",
                "śląskie",
                "świętokrzyskie",
                "warmińsko-mazurskie",
                "wielkopolskie",
                "zachodniopomorskie",
                "abroad"
              ],
              "enumTitles": [
                "Dolnośląskie",
                "Kujawsko-pomorskie",
                "Lubelskie",
                "Lubuskie",
                "Łódzkie",
                "Małopolskie",
                "Mazowieckie (Warsaw)",
                "Opolskie",
                "Podkarpackie",
                "Podlaskie",
                "Pomorskie (Gdańsk)",
                "Śląskie (Katowice)",
                "Świętokrzyskie",
                "Warmińsko-mazurskie",
                "Wielkopolskie (Poznań)",
                "Zachodniopomorskie",
                "Abroad"
              ]
            }
          },
          "category": {
            "title": "🗂️ Job category",
            "type": "array",
            "description": "Top-level pracuj.pl job categories.",
            "items": {
              "type": "string",
              "enum": [
                "it-software-development",
                "it-administration",
                "engineering",
                "finance-economics",
                "banking",
                "sales",
                "marketing",
                "customer-service",
                "human-resources",
                "office-administration",
                "internet-ecommerce",
                "consulting",
                "manufacturing",
                "construction",
                "transport-logistics",
                "supply-chain",
                "law",
                "public-relations",
                "advertising-graphics",
                "media-art-entertainment",
                "education-training",
                "hospitality-tourism",
                "health-beauty-recreation",
                "health-safety-environment",
                "real-estate",
                "insurance",
                "purchasing",
                "quality-control",
                "research-development",
                "energy",
                "call-center",
                "public-sector",
                "physical-work",
                "franchise-own-business",
                "other"
              ],
              "enumTitles": [
                "IT — Software Development",
                "IT — Administration",
                "Engineering",
                "Finance / Economics",
                "Banking",
                "Sales",
                "Marketing",
                "Customer Service",
                "Human Resources",
                "Office Administration",
                "Internet / e-Commerce",
                "Consulting",
                "Manufacturing",
                "Construction",
                "Transport / Logistics",
                "Supply Chain",
                "Law",
                "Public Relations",
                "Advertising / Graphics",
                "Media / Art / Entertainment",
                "Education / Training",
                "Hospitality / Tourism",
                "Health / Beauty / Recreation",
                "Health & Safety / Environment",
                "Real Estate",
                "Insurance",
                "Purchasing",
                "Quality Control",
                "Research & Development",
                "Energy",
                "Call Center",
                "Public Sector",
                "Physical Work",
                "Franchise / Own Business",
                "Other"
              ]
            }
          },
          "positionLevel": {
            "title": "🪜 Position level",
            "type": "array",
            "description": "Seniority / position level.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "assistant",
                "junior",
                "mid",
                "senior",
                "expert",
                "manager-coordinator",
                "manager",
                "director",
                "president",
                "physical-worker"
              ],
              "enumTitles": [
                "Intern / Trainee",
                "Assistant",
                "Junior specialist",
                "Mid / Regular specialist",
                "Senior specialist",
                "Expert",
                "Manager / Coordinator",
                "Manager",
                "Director",
                "President / C-level",
                "Physical worker"
              ]
            }
          },
          "contractType": {
            "title": "📑 Contract type",
            "type": "array",
            "description": "Type of employment contract.",
            "items": {
              "type": "string",
              "enum": [
                "employment",
                "b2b",
                "mandate",
                "contract-work",
                "replacement",
                "agency",
                "temporary-work",
                "internship"
              ],
              "enumTitles": [
                "Employment contract (umowa o pracę)",
                "B2B contract",
                "Mandate (umowa zlecenie)",
                "Contract for specific work (umowa o dzieło)",
                "Replacement",
                "Agency",
                "Temporary work",
                "Internship / Traineeship"
              ]
            }
          },
          "workMode": {
            "title": "🏠 Work mode",
            "type": "array",
            "description": "On-site, hybrid, remote or mobile.",
            "items": {
              "type": "string",
              "enum": [
                "office",
                "hybrid",
                "remote",
                "mobile"
              ],
              "enumTitles": [
                "On-site (stationary)",
                "Hybrid",
                "Remote",
                "Mobile"
              ]
            }
          },
          "workSchedule": {
            "title": "🕒 Work schedule",
            "type": "array",
            "description": "Full-time, part-time or additional/temporary.",
            "items": {
              "type": "string",
              "enum": [
                "full-time",
                "part-time",
                "temporary"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Additional / Temporary"
              ]
            }
          },
          "postedWithin": {
            "title": "📅 Posted within",
            "enum": [
              "",
              "24h",
              "3days",
              "7days",
              "14days",
              "30days"
            ],
            "type": "string",
            "description": "Only offers published within this window.",
            "default": ""
          },
          "withSalary": {
            "title": "💰 Only offers with salary",
            "type": "boolean",
            "description": "Return only offers that disclose a salary.",
            "default": false
          },
          "includeDetails": {
            "title": "🔬 Fetch full details",
            "type": "boolean",
            "description": "Fetch each offer's page for the richer fields (description, requirements, benefits, technologies, structured salary, apply URL). Turn off for the fastest, cheapest listing-only runs.",
            "default": true
          },
          "descriptionFormat": {
            "title": "📝 Description format",
            "enum": [
              "all",
              "text",
              "html",
              "markdown"
            ],
            "type": "string",
            "description": "Which representation(s) of the job description to include.",
            "default": "all"
          },
          "descriptionMaxLength": {
            "title": "✂️ Description max length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate each description variant to at most this many characters. Leave empty for full text."
          },
          "compact": {
            "title": "📦 Compact records",
            "type": "boolean",
            "description": "Emit only the core fields (title, company, salary, location, tech, dates). Ideal for AI agents and MCP clients.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "🧹 Drop empty fields",
            "type": "boolean",
            "description": "Remove null, empty-string and empty-array fields from each record.",
            "default": false
          },
          "incrementalMode": {
            "title": "♻️ Incremental mode",
            "type": "boolean",
            "description": "Track state between runs and tag every offer with a changeType (NEW / UPDATED / UNCHANGED / EXPIRED). Unchanged offers are skipped before their detail page is fetched, so recurring runs stay cheap.",
            "default": false
          },
          "stateKey": {
            "title": "🗝️ State key",
            "type": "string",
            "description": "Stable name for the tracked search. Leave empty to derive one automatically from your search settings."
          },
          "emitUnchanged": {
            "title": "🔁 Include unchanged offers",
            "type": "boolean",
            "description": "Also emit offers that have not changed since the previous run.",
            "default": false
          },
          "emitExpired": {
            "title": "🗑️ Include expired offers",
            "type": "boolean",
            "description": "Emit offers that were present last run but are gone now (changeType = EXPIRED).",
            "default": false
          },
          "telegramToken": {
            "title": "💬 Telegram bot token",
            "type": "string",
            "description": "Bot token from @BotFather."
          },
          "telegramChatId": {
            "title": "🆔 Telegram chat ID",
            "type": "string",
            "description": "Chat or channel ID, e.g. \"-100123456789\" or \"@yourchannel\"."
          },
          "slackWebhookUrl": {
            "title": "💼 Slack webhook URL",
            "type": "string",
            "description": "Slack incoming-webhook URL."
          },
          "discordWebhookUrl": {
            "title": "🎮 Discord webhook URL",
            "type": "string",
            "description": "Discord incoming-webhook URL."
          },
          "webhookUrl": {
            "title": "🪝 Webhook URL",
            "type": "string",
            "description": "Any HTTPS endpoint. Receives a JSON POST with the matched offers — works with n8n, Make and Zapier."
          },
          "webhookHeaders": {
            "title": "🧾 Webhook headers",
            "type": "object",
            "description": "Extra headers for the webhook request, e.g. {\"Authorization\": \"Bearer xyz\"}."
          },
          "notificationLimit": {
            "title": "🔢 Offers per notification",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many offers to include in each notification message.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy configuration",
            "type": "object",
            "description": "pracuj.pl blocks datacenter/cloud IPs, so a Polish residential proxy is used by default and is recommended. The scraper automatically rotates to a fresh IP if one is refused.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "PL"
            }
          },
          "detailConcurrency": {
            "title": "⚡ Detail concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many offer detail pages to fetch in parallel.",
            "default": 8
          },
          "maxRequestRetries": {
            "title": "🔄 Max request retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many times to retry a failed request before giving up on it.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}