{
  "openapi": "3.0.1",
  "info": {
    "title": "Pracuj.pl Salary Benchmark by Job Title and City",
    "description": "Get a salary benchmark for any job title from pracuj.pl postings in Poland: gross monthly median, quartiles and range in PLN, share of postings showing pay, listings, direct employers and agencies, top employers, work modes and contract types. One price per benchmark.",
    "version": "0.1",
    "x-build-id": "31YQoA5HlSFpUKyFN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/v0iddo~pracuj-pl-salary-benchmark/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-v0iddo-pracuj-pl-salary-benchmark",
        "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/v0iddo~pracuj-pl-salary-benchmark/runs": {
      "post": {
        "operationId": "runs-sync-v0iddo-pracuj-pl-salary-benchmark",
        "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/v0iddo~pracuj-pl-salary-benchmark/run-sync": {
      "post": {
        "operationId": "run-sync-v0iddo-pracuj-pl-salary-benchmark",
        "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": {
          "jobTitles": {
            "title": "Job titles",
            "type": "array",
            "description": "Job titles as postings name them, one per line, for example księgowa, kierowca or Java developer. Each title gets its own benchmark.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City",
            "type": "string",
            "description": "Optional city or town such as Warszawa, Kraków or Gdańsk, for a benchmark of that place; empty means all of Poland. English names such as Warsaw are read as the Polish one."
          },
          "distanceKm": {
            "title": "Distance (km)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "How far from the city postings may be. pracuj.pl uses 0, 10, 20, 30, 50 or 100 km; other numbers are rounded down to one of those. Used only with a city.",
            "default": 30
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Optional. Only postings that offer one of these contract types; empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "employment contract",
                "contract for specific work",
                "mandate contract",
                "B2B",
                "replacement contract",
                "agency contract",
                "temporary employment",
                "internship",
                "0",
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "permanent",
                "specific-task",
                "mandate",
                "b2b",
                "substitution",
                "agency",
                "temporary"
              ],
              "enumTitles": [
                "Employment contract",
                "Contract for specific work",
                "Mandate contract",
                "B2B",
                "Replacement contract",
                "Agency contract",
                "Temporary employment",
                "Internship",
                "Employment contract: 0",
                "Contract for specific work: 1",
                "Mandate contract: 2",
                "B2B: 3",
                "Replacement contract: 4",
                "Agency contract: 5",
                "Temporary employment: 6",
                "Internship: 7",
                "Employment contract: permanent",
                "Contract for specific work: specific-task",
                "Mandate contract: mandate",
                "B2B: b2b",
                "Replacement contract: substitution",
                "Agency contract: agency",
                "Temporary employment: temporary"
              ]
            }
          },
          "positionLevels": {
            "title": "Position levels",
            "type": "array",
            "description": "Optional. Only postings at one of these levels; empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "assistant",
                "junior",
                "mid",
                "senior",
                "expert",
                "team leader",
                "manager",
                "director",
                "president",
                "manual worker",
                "1",
                "3",
                "17",
                "4",
                "18",
                "19",
                "5",
                "20",
                "6",
                "21",
                "2",
                "team-leader",
                "blue-collar"
              ],
              "enumTitles": [
                "Intern",
                "Assistant",
                "Junior",
                "Mid",
                "Senior",
                "Expert",
                "Team leader or coordinator",
                "Manager",
                "Director",
                "President",
                "Manual worker",
                "Intern: 1",
                "Assistant: 3",
                "Junior: 17",
                "Mid: 4",
                "Senior: 18",
                "Expert: 19",
                "Team leader or coordinator: 5",
                "Manager: 20",
                "Director: 6",
                "President: 21",
                "Manual worker: 2",
                "Team leader or coordinator: team-leader",
                "Manual worker: blue-collar"
              ]
            }
          },
          "listingsPerBenchmark": {
            "title": "Postings read per benchmark",
            "minimum": 50,
            "maximum": 1000,
            "type": "integer",
            "description": "Postings counted for each benchmark, in pracuj.pl's order (50 a page). More postings give a steadier median; the price per benchmark stays the same.",
            "default": 200
          },
          "detailPages": {
            "title": "Posting pages read per benchmark",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Posting pages read for each benchmark: first those whose search card does not say gross or net, then spread over the other postings. They give gross pay per contract type, the direct employer and agency shares, categories and technologies. 0 skips them for a faster run.",
            "default": 20
          },
          "titleMustMatch": {
            "title": "Matching titles only",
            "type": "boolean",
            "description": "Count only postings whose title holds every word of the job title (case and Polish letters ignored, and a final vowel: księgowa counts Księgowy). Switch it off to count every posting pracuj.pl's search returns, which also lists postings that only mention the words in their text.",
            "default": true
          },
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "pracuj.pl search result pages copied from your browser, one benchmark each, for example https://www.pracuj.pl/praca/księgowa;kw/warszawa;wp?rd=30 . Filters in the URL are kept.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The run stops after this many result rows. It also caps what one run can cost.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the run starts on the cheapest network the site accepts and switches to Apify Proxy automatically when the site blocks it. Pick proxy groups here only to force one specific network."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}