{
  "openapi": "3.0.1",
  "info": {
    "title": "Pracuj.pl Jobs Scraper & Monitoring",
    "description": "Scrape and monitor Pracuj.pl job offers with salaries, company data, full descriptions, and incremental change tracking.",
    "version": "0.0",
    "x-build-id": "1AHs9181z9BMoyfC9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mrarcode~pracuj-pl-jobs-scraper-monitoring/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mrarcode-pracuj-pl-jobs-scraper-monitoring",
        "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/mrarcode~pracuj-pl-jobs-scraper-monitoring/runs": {
      "post": {
        "operationId": "runs-sync-mrarcode-pracuj-pl-jobs-scraper-monitoring",
        "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/mrarcode~pracuj-pl-jobs-scraper-monitoring/run-sync": {
      "post": {
        "operationId": "run-sync-mrarcode-pracuj-pl-jobs-scraper-monitoring",
        "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. 'python developer', 'driver')."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City or city area (e.g. 'Warszawa', 'Kraków')."
          },
          "contractType": {
            "title": "Contract Type",
            "enum": [
              "",
              "0",
              "3",
              "2",
              "1",
              "4",
              "5",
              "6",
              "7"
            ],
            "type": "string",
            "description": "Filter by employment contract type.",
            "default": ""
          },
          "workMode": {
            "title": "Work Mode",
            "enum": [
              "",
              "full-office",
              "hybrid",
              "home-office",
              "mobile"
            ],
            "type": "string",
            "description": "Filter by working arrangements.",
            "default": ""
          },
          "positionLevel": {
            "title": "Position Seniority",
            "enum": [
              "",
              "1",
              "3",
              "17",
              "4",
              "18",
              "19",
              "5",
              "20",
              "6",
              "21",
              "2"
            ],
            "type": "string",
            "description": "Filter by job seniority / position level.",
            "default": ""
          },
          "region": {
            "title": "Voivodeship (Region)",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17"
            ],
            "type": "string",
            "description": "Filter by Polish province / region (if searching general region instead of city).",
            "default": ""
          },
          "period": {
            "title": "Publication Period",
            "enum": [
              "",
              "1",
              "3",
              "7",
              "14",
              "30"
            ],
            "type": "string",
            "description": "Show only offers published within specific time window.",
            "default": ""
          },
          "withSalary": {
            "title": "Only with Salary",
            "type": "boolean",
            "description": "If enabled, only listings containing disclosed salary ranges will be returned."
          },
          "maxResults": {
            "title": "Max Results Limit",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of job listings to scrap. Set to 0 for unlimited."
          },
          "includeDetails": {
            "title": "Include Full Details (Enrichment)",
            "type": "boolean",
            "description": "Fetch and enrich each job offer with full description, requirements, responsibilities, and apply URL. (Requires one extra request per offer, slower and more proxy intensive)."
          },
          "startUrl": {
            "title": "Start URL (Override / Advanced)",
            "type": "string",
            "description": "If provided, overrides all other search filters and scraps the search page directly. Supports pracuj.pl and its subdomains (e.g. it.pracuj.pl)."
          },
          "incremental": {
            "title": "Incremental Mode",
            "type": "boolean",
            "description": "If enabled, returns only new or updated offers compared to previous runs. Saves money and proxy requests.",
            "default": false
          },
          "stateKey": {
            "title": "State Universe Key",
            "type": "string",
            "description": "Identifies the unique search context state. If left empty, a key is auto-generated based on the search parameters."
          },
          "includeUnchanged": {
            "title": "Include Unchanged Offers",
            "type": "boolean",
            "description": "If enabled, unchanged job offers from previous runs are also included in output (but NOT charged).",
            "default": false
          },
          "trackExpiration": {
            "title": "Track Expired / Reappeared",
            "type": "boolean",
            "description": "If enabled, detects when job offers disappear (EXPIRED) or reappear (REAPPEARED) compared to the previous runs.",
            "default": false
          },
          "skipReposts": {
            "title": "Skip Reposts",
            "type": "boolean",
            "description": "If enabled, excludes job offers detected as reposts of previously expired offers from output dataset.",
            "default": false
          },
          "compact": {
            "title": "Compact Mode",
            "type": "boolean",
            "description": "Return core fields only (AI-agent/MCP).",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Max Description Length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate description to N chars (0 = no limit).",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}