{
  "openapi": "3.0.1",
  "info": {
    "title": "Pracuj.pl jobs scraper",
    "description": "Scrape structured job offers from Polish job board pracuj.pl — search by keyword/location/filter plus optional full offer details (description, salary, employer, apply URL).",
    "version": "0.1",
    "x-build-id": "VSPfU49sXUrktLy8A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_dino~pracuj-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_dino-pracuj-jobs-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/data_dino~pracuj-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data_dino-pracuj-jobs-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/data_dino~pracuj-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data_dino-pracuj-jobs-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": "Job search keywords, e.g. software engineer, sprzedawca, data analyst.",
            "default": "software engineer"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City or region, e.g. Warszawa, Kraków, Trójmiasto."
          },
          "radiusKm": {
            "title": "Search radius (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Radius around the location when location is a city (0 = no radius)."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional pracuj.pl search URLs whose filters are used directly (skips the keyword form).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many job offers (0 = unlimited).",
            "default": 10
          },
          "includeDetails": {
            "title": "Include offer details",
            "type": "boolean",
            "description": "Fetch each offer's detail page (full description, structured salary, employer, apply URL). ~3x slower when on.",
            "default": true
          },
          "descriptionMaxLength": {
            "title": "Description max length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate description fields to N characters (0 = full)."
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Emit a core field record (AI/MCP-friendly)."
          },
          "excludeEmptyFields": {
            "title": "Remove empty fields",
            "type": "boolean",
            "description": "Drop null/empty values from each record."
          },
          "contractType": {
            "title": "Contract type",
            "type": "string",
            "description": "e.g. UoP, B2B, zlecenie, działalność gospodarcza."
          },
          "workMode": {
            "title": "Work mode",
            "enum": [
              "",
              "full-office",
              "hybrid",
              "home-office",
              "mobile"
            ],
            "type": "string",
            "description": "full-office, hybrid, home-office (remote), or mobile."
          },
          "workSchedule": {
            "title": "Work schedule",
            "enum": [
              "",
              "full",
              "part",
              "additional"
            ],
            "type": "string",
            "description": "full, part, or additional."
          },
          "positionLevel": {
            "title": "Position level",
            "type": "string",
            "description": "Seniority id/alias, e.g. junior, mid, senior, asystent, praktykant."
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Region id or name, e.g. mazowieckie, śląskie."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country id(s), e.g. 1=Polska, 46=Niemcy."
          },
          "period": {
            "title": "Posted within",
            "enum": [
              "",
              "1",
              "3",
              "7",
              "14",
              "30"
            ],
            "type": "string",
            "description": "Posted within the last N days: 1, 3, 7, 14, or 30."
          },
          "postedBy": {
            "title": "Posted by",
            "enum": [
              "",
              "Company",
              "Agency"
            ],
            "type": "string",
            "description": "Company → only offers posted directly by the hiring company; Agency → only recruitment-agency offers. Implies includeDetails."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "",
              "date",
              "accuracy",
              "salary",
              "hybrid",
              "travel-time",
              "distance"
            ],
            "type": "string",
            "description": "date, accuracy, salary, hybrid, travel-time, or distance."
          },
          "withSalary": {
            "title": "With salary only",
            "type": "boolean",
            "description": "Keep only offers that show a salary."
          },
          "employer": {
            "title": "Employer name",
            "type": "string",
            "description": "Employer name filter."
          },
          "employerId": {
            "title": "Employer id",
            "type": "string",
            "description": "Employer id(s) filter."
          },
          "subservice": {
            "title": "Sub-portal",
            "enum": [
              "",
              "default",
              "it",
              "blue",
              "sales",
              "tech"
            ],
            "type": "string",
            "description": "Sub-portal: it, blue (blue-collar), sales, tech, or default."
          },
          "its": {
            "title": "IT specializations",
            "type": "string",
            "description": "IT specializations (only with subservice=it), e.g. backend, frontend, devops."
          },
          "itth": {
            "title": "IT technologies",
            "type": "string",
            "description": "IT technology codes (only with subservice=it)."
          },
          "pb": {
            "title": "Product branches",
            "type": "string",
            "description": "Product branch ids (only with subservice=sales)."
          },
          "proxy": {
            "title": "Proxy (optional)",
            "type": "string",
            "description": "Optional HTTP(S) proxy URL for managed residential access. Defaults to a bundled residential proxy; override only if you have a preferred exit."
          },
          "workers": {
            "title": "Detail-fetch concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Concurrent offer-detail requests (detail enrichment).",
            "default": 8
          },
          "minDelay": {
            "title": "Delay between pages (seconds)",
            "minimum": 0,
            "type": "number",
            "description": "Seconds between listing page requests.",
            "default": 0.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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}