# Pracuj.pl Jobs Scraper (Poland #1 job board) (`stone_jadex/pracuj-pl-jobs-scraper`) Actor

Public Pracuj.pl job listings: offerId, title, company, structured salary, contract, work mode, location, and optional detail page. No start fee. Default proxy off.

- **URL**: https://apify.com/stone_jadex/pracuj-pl-jobs-scraper.md
- **Developed by:** [Stone Jade](https://apify.com/stone_jadex) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 66.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.85 / 1,000 list-tier jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Pracuj.pl Jobs Scraper

Extract public Polish job listings from **Pracuj.pl** (Poland's #1 job board) into clean, structured JSON, CSV, Excel, or API feeds. Start from any public Pracuj.pl search URL (keyword, city, category, or filtered query) or individual offer URL to capture job titles, employers, structured salary ranges (`min`, `max`, `currency`, `period`, `kind`), contract types, work modes, locations, timestamps, and optional full offer descriptions with public HR/apply links.

- **No Actor start fee**: Pay only for extracted jobs (`$0.001` per job / `$1.00` per 1,000 on Free; down to `$0.00085` / `$0.85` per 1,000 on Gold, Platinum, and Diamond plans).
- **Fast list tier or rich detail tier at the same rate**: Open individual offer pages with `scrapeDetails: true` for full descriptions, categories, employer-direct flags, and optional public HR contacts — charged as `job-detail` *instead of* `job`, never twice.
- **Direct-first fetching with automatic datacenter fallback**: Starts on a direct connection and switches to Apify datacenter proxy only if challenged, keeping platform overhead low.

### Overview and use cases

Pracuj.pl Jobs Scraper reads public grouped search results via Pracuj.pl's structured listing endpoint and expands multi-city grouped cards into individual offer records keyed by stable `offerId` (`partitionId`). Every run also saves a machine-readable `OUTPUT` summary record in the default key-value store with run counters, HTTP/robots statistics, echoed normalized input, and the exact `stopReason`.

#### Key capabilities

- **Search and direct offer seeds**: Pass one or more public search URLs (for example `https://www.pracuj.pl/praca/python;kw/warszawa;wp`) or direct offer URLs (`https://www.pracuj.pl/praca/senior-python-developer-warszawa,oferta,1005159068`), or run with empty input to test immediately on `/praca/python;kw`.
- **Structured compensation parsing**: Parses Polish salary text (including `brutto`, `netto (+ VAT)`, hourly/monthly/annual ranges, and single-figure rates) into numeric `salary.min`, `salary.max`, `salary.currency`, `salary.period`, and `salary.kind` alongside raw `salaryText`.
- **Workplace and contract classification**: Extracts `contractType` (e.g., *Umowa o pracę*, *Kontrakt B2B*), `workMode` (remote, hybrid, on-site), `workSchedule`, `positionLevel`, `location`, `locations`, `isRemoteWorkAllowed`, and `isWholePoland`.
- **Optional detail enrichment and HR contacts**: Enable `scrapeDetails` to open each offer's public HTML page for full description sections, `categories`, `isDirectlyFromEmployer`, `isArchive`, and detail-level salary data. Enable `includeHrContact` alongside `scrapeDetails` to include publicly published apply URLs, ATS form URLs, and published recruiter phone numbers (off by default; candidate PII is never collected).
- **Automatic deduplication**: Duplicate `offerId` rows encountered across pages or overlapping search URLs are skipped and never re-charged.

#### Common use cases

- **Recruitment and talent sourcing**: Build regional or role-specific shortlists across Warsaw, Kraków, Wrocław, Gdańsk, or nationwide remote openings in Poland.
- **Compensation and contract benchmarking**: Track published PLN/EUR B2B hourly rates vs. permanent employment (*Umowa o pracę*) monthly salary ranges by seniority level and tech stack.
- **Labour-market research and competitor hiring intelligence**: Monitor hiring volume, work-mode shifts (remote vs. hybrid vs. on-site), and active employer footprints across Polish industries.
- **Job-board aggregation and internal ATS pipelines**: Stream fresh structured offers into downstream databases, Slack alerts, or BI dashboards via webhooks and the Apify API.

### Input configuration

Configure the Actor through the Apify Console form or by passing a JSON object via API/SDK. Empty input (`{}`) runs cleanly against `https://www.pracuj.pl/praca/python;kw` with `maxItems: 50`.

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | `array` | `[{ "url": "https://www.pracuj.pl/praca/python;kw" }]` | Public Pracuj.pl search URLs (`/praca/...`) or direct offer URLs (`/praca/...,oferta,<id>`). Accepts strings or `{ "url": "..." }` request-list objects. Non-`pracuj.pl` URLs are rejected. |
| `maxItems` | `integer` | `50` | Maximum number of charged jobs to collect (`1`–`5000`). Alias: `maxResults`. |
| `maxResults` | `integer` | — | Optional backward-compatible alias for `maxItems` (`1`–`5000`). |
| `maxPages` | `integer` | — | Optional cap on search list pages fetched per search seed (`1`–`500`). Each page contains ~50 grouped cards, which may expand into more rows when cards span multiple cities. |
| `startPage` | `integer` | `1` | Starting search page (`pn`, `1`–`500`) used when a search URL does not already contain `?pn=`. |
| `scrapeDetails` | `boolean` | `false` | When `true`, opens each public offer detail page to populate full descriptions, structured detail salary, categories, and employer flags. Charged as `job-detail` instead of `job`. Alias: `includeDetails`. |
| `includeDetails` | `boolean` | — | Optional alias for `scrapeDetails`. |
| `includeHrContact` | `boolean` | `false` | When `scrapeDetails` is `true`, retains the `hrContact` object (`applyUrl`, published `contactPhone`, `formUrl`, `oneClickApply`, `remoteRecruitment`). Off by default; never collects candidate PII. |
| `requestIntervalMs` | `integer` | `1200` | Minimum milliseconds between request starts (enforced floor `1200` ms, up to `60000` ms). A `Crawl-delay` in `robots.txt` can raise this value further. |
| `concurrency` | `integer` | `1` | Concurrent requests in flight. Fixed at `1` to protect run reliability and keep proxy/compute cost predictable. |
| `maxRunSeconds` | `integer` | `3600` | Soft runtime cap in seconds (`30`–`86400`). Stops cleanly and writes `OUTPUT` before timeout. |
| `proxyConfiguration` | `object` | `{ "useApifyProxy": true }` | Apify Proxy configuration. Datacenter proxy is configured as standby by default; residential proxy groups are opt-in and enforce an internal 5 MB transfer guard. |
| `useProxyFallback` | `boolean` | `true` | Starts on a direct connection and automatically switches to the configured proxy after Cloudflare, HTTP `403`, or HTTP `429` responses. |
| `allowDetailOnResidential` | `boolean` | `false` | When using an opt-in residential proxy group, detail pages remain on a direct connection unless this flag is set to `true`. |

#### Example 1: Search list collection (fast list tier)

Collect up to 100 Python developer offers in Warsaw from search pages without opening individual detail pages:

```json
{
  "startUrls": [
    { "url": "https://www.pracuj.pl/praca/python;kw/warszawa;wp" }
  ],
  "maxItems": 100,
  "maxPages": 4,
  "startPage": 1,
  "scrapeDetails": false,
  "requestIntervalMs": 1200,
  "useProxyFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

#### Example 2: Detailed offer enrichment with public HR contacts

Combine a filtered search URL and a direct offer URL, opening each public offer page and retaining published apply/HR contact fields:

```json
{
  "startUrls": [
    { "url": "https://www.pracuj.pl/praca/senior-python-developer-warszawa,oferta,1005159068" },
    { "url": "https://www.pracuj.pl/praca/data-engineer;kw/krakow;wp" }
  ],
  "maxItems": 25,
  "scrapeDetails": true,
  "includeHrContact": true,
  "requestIntervalMs": 1500,
  "useProxyFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Output format and dataset fields

Extracted offers are saved to the Actor's **default dataset** (downloadable as JSON, JSONL, CSV, Excel, XML, or RSS) with an **Overview** table view pre-configured in Apify Console. When a run stops early (for example at `maxItems`, `maxRunSeconds`, or a charge limit), one uncharged summary record with `"recordType": "run-notice"` is appended to the dataset, and full crawl telemetry is written to the default key-value store under the `OUTPUT` key.

#### Delivery preview

These fictional rows are **illustrative**, not captured live results. Optional fields may be `null` depending on what the employer publishes.

| Role | Company | Location | Salary | Contract | Work mode |
| :--- | :--- | :--- | :--- | :--- | :--- |
| Senior Python Developer | Example Tech Sp. z o.o. | Warszawa | 15,000–21,000 zł brutto / mies. | Umowa o pracę, Kontrakt B2B | Praca hybrydowa |
| Data Analyst | Example Data S.A. | Kraków | 120–150 zł netto (+ VAT) / godz. | Kontrakt B2B | Praca zdalna |
| Product Designer | Example Studio | Gdańsk | — | Umowa o pracę | Praca stacjonarna |

#### Illustrative JSON output example

Below is a fictional **illustrative** detail-tier record matching `.actor/dataset_schema.json` (in list mode, `tier` is `"list"`, detail-only fields such as `categories`, `isDirectlyFromEmployer`, and `isArchive` may be `null`, and `hrContact` is omitted unless `includeHrContact: true`):

```json
{
  "offerId": "1005159068",
  "groupId": "00000000-0000-0000-0000-000000000000",
  "title": "Example Senior Python Developer (PostgreSQL)",
  "company": "Example Technology Sp. z o.o.",
  "companyId": 123456789,
  "companyUrl": "https://pracodawcy.pracuj.pl/company/123456789",
  "companyLogoUrl": "https://example.com/logos/123456789.png",
  "salary": {
    "min": 145,
    "max": 180,
    "currency": "PLN",
    "period": "hour",
    "kind": "net-plus-vat",
    "text": "145–180 zł netto (+ VAT) / godz."
  },
  "salaryText": "145–180 zł netto (+ VAT) / godz.",
  "contractType": "Kontrakt B2B, Umowa o pracę",
  "workMode": "Praca hybrydowa",
  "workSchedule": "Pełny etat",
  "positionLevel": "Starszy specjalista / Starsza specjalistka (senior)",
  "location": "Warszawa",
  "locations": ["Warszawa", "Kraków"],
  "isRemoteWorkAllowed": false,
  "isWholePoland": false,
  "description": "Design and maintain backend services in Python and PostgreSQL, collaborate with product teams, and improve API latency and observability.",
  "url": "https://www.pracuj.pl/praca/example-senior-python-developer-warszawa,oferta,1005159068",
  "postedAt": "2026-10-25T10:00:00Z",
  "publishedAt": "2026-10-20T09:00:00Z",
  "expiresAt": "2026-11-24T23:59:59Z",
  "isDirectlyFromEmployer": true,
  "isArchive": false,
  "categories": ["Backend", "Python", "Data engineering"],
  "hrContact": {
    "applyUrl": "https://example.com/apply/1005159068",
    "contactPhone": "+48 000 000 000",
    "formUrl": "https://example.com/form/1005159068",
    "oneClickApply": false,
    "remoteRecruitment": true
  },
  "page": 1,
  "listUrl": "https://www.pracuj.pl/praca/python;kw",
  "tier": "detail",
  "scrapedAt": "2026-11-21T07:00:00.000Z"
}
```

#### Complete dataset field reference

Every job record follows `.actor/dataset_schema.json`. Notice records emitted on early stops only carry `recordType`, `truncatedAfter`, and `reason`.

| Field | Type | Tier | Description |
| :--- | :--- | :--- | :--- |
| `offerId` | `string \| null` | List & Detail | Stable Pracuj.pl offer identifier (`partitionId`), e.g. `"1005159068"`. |
| `groupId` | `string \| null` | List & Detail | Grouped offer identifier shared across multi-city variants of one search card. |
| `title` | `string \| null` | List & Detail | Published job title. |
| `company` | `string \| null` | List & Detail | Published employer or recruitment agency name. |
| `companyId` | `number \| null` | List & Detail | Numeric Pracuj.pl employer ID when published. |
| `companyUrl` | `string \| null` | List & Detail | Public employer profile URL when present on the listing card. |
| `companyLogoUrl` | `string \| null` | List & Detail | Public company logo URL when present on the listing card. |
| `salary` | `object \| null` | List & Detail | Structured salary object (`min`, `max`, `currency`, `period`, `kind`, `text`); `null` when no amount is published. |
| `salary.min` | `number \| null` | List & Detail | Lower published amount (or single figure when min equals max). |
| `salary.max` | `number \| null` | List & Detail | Upper published amount (or single figure when min equals max). |
| `salary.currency` | `string \| null` | List & Detail | Detected currency code (typically `"PLN"`, or `"EUR"`/`"USD"` when stated). |
| `salary.period` | `string \| null` | List & Detail | Normalized pay period (`"hour"`, `"day"`, `"week"`, `"month"`, `"year"`, or original label). |
| `salary.kind` | `string \| null` | List & Detail | Pay basis (`"gross"`, `"net"`, `"net-plus-vat"`, or source salary-kind label). |
| `salary.text` | `string \| null` | List & Detail | Original or rebuilt human-readable salary string. |
| `salaryText` | `string \| null` | List & Detail | Top-level readable salary string mirroring `salary.text`. |
| `contractType` | `string \| null` | List & Detail | Comma-separated published contract types (e.g. *Umowa o pracę*, *Kontrakt B2B*). |
| `workMode` | `string \| null` | List & Detail | Comma-separated published work modes (e.g. *Praca zdalna*, *Praca hybrydowa*). |
| `workSchedule` | `string \| null` | List & Detail | Comma-separated published work schedules (e.g. *Pełny etat*). |
| `positionLevel` | `string \| null` | List & Detail | Comma-separated seniority / position levels. |
| `location` | `string \| null` | List & Detail | Primary workplace label for this offer variant. |
| `locations` | `array \| null` | List & Detail | All workplace labels listed on the offer card or detail page. |
| `isRemoteWorkAllowed` | `boolean \| null` | List & Detail | Whether the listing marks remote work as allowed. |
| `isWholePoland` | `boolean \| null` | List & Detail | Whether the listing card marks the offer as covering all of Poland. |
| `description` | `string \| null` | List & Detail | Plain-text snippet on list tier; full description sections when `scrapeDetails: true`. |
| `url` | `string \| null` | List & Detail | Public canonical Pracuj.pl offer URL. |
| `postedAt` | `string \| null` | List & Detail | Most recent publication timestamp (UTC ISO 8601 when available). |
| `publishedAt` | `string \| null` | List & Detail | Initial publication timestamp (UTC ISO 8601 when available). |
| `expiresAt` | `string \| null` | List & Detail | Offer expiration timestamp when published. |
| `isDirectlyFromEmployer` | `boolean \| null` | Detail | Whether the detail page marks the offer as posted directly by the employer. |
| `isArchive` | `boolean \| null` | Detail | Whether the detail page marks the offer as archived. |
| `categories` | `array \| null` | Detail | Public category names listed on the detail page. |
| `hrContact` | `object \| null` | Detail (opt-in) | Present only when `scrapeDetails: true` and `includeHrContact: true` and published on the offer. Contains `applyUrl`, `contactPhone`, `formUrl`, `oneClickApply`, and `remoteRecruitment`. |
| `page` | `integer \| null` | List & Detail | Search page number where the offer was discovered (`null` for direct detail seeds). |
| `listUrl` | `string \| null` | List & Detail | Search list URL where the offer was found (`null` for direct detail seeds). |
| `tier` | `string \| null` | List & Detail | Extraction tier: `"list"` or `"detail"`. |
| `scrapedAt` | `string \| null` | List & Detail | ISO 8601 UTC timestamp when the record was scraped. |
| `detailError` | `string \| null` | Detail fallback | Populated (e.g. `"HTTP 500"`) if detail fetching failed and the list-tier row was preserved instead. |
| `recordType` | `string \| null` | Run notice | Set to `"run-notice"` on the single uncharged truncation notice row; absent on job records. |
| `truncatedAfter` | `integer \| null` | Run notice | Number of charged job rows saved before a truncated run stopped. |
| `reason` | `string \| null` | Run notice | Stop reason matching `OUTPUT.stopReason` (e.g. `"maxItems"`, `"run-time-limit"`). |

### Pricing

This Actor uses transparent **Pay-Per-Event (PPE)** pricing in **USD** with **no Actor start fee** and **no separate dataset-item fee**. Check the Actor's **Pricing** tab in Apify Console for live billing confirmation.

| Event name | Event title | Free-tier price | Price per 1,000 jobs (Free) | When charged |
| :--- | :--- | ---: | ---: | :--- |
| `job` | List-tier job | **$0.001** | **$1.00** | One Pracuj.pl job parsed from a public search list page (no detail-page visit). |
| `job-detail` | Job with detail page | **$0.001** | **$1.00** | One job enriched from its public detail page. **Charged instead of `job`, not in addition.** |

#### Apify Store subscription tier discounts

Higher Apify Store subscription plans automatically receive **5% to 15% off** both `job` and `job-detail` events (effective 20 November 2026):

| Apify plan tier | Discount | Price per `job` / `job-detail` | Cost per 1,000 jobs |
| :--- | ---: | ---: | ---: |
| **Free** | Base rate | $0.001 | $1.00 |
| **Bronze** | 5% off | $0.00095 | $0.95 |
| **Silver** | 10% off | $0.0009 | $0.90 |
| **Gold** | 15% off | $0.00085 | $0.85 |
| **Platinum** | 15% off | $0.00085 | $0.85 |
| **Diamond** | 15% off | $0.00085 | $0.85 |

#### Billing rules and cost comparison

- **Never charged for non-results**: Duplicate `offerId` rows, empty pages, Cloudflare-blocked runs that yield 0 rows, and `run-notice` records are never charged. If a detail page fails and falls back to the list row, it is charged once as `job` (not `job-detail`).
- **Transparent benchmark**: On the Free tier, 1,000 jobs cost **$1.00** total in Actor event charges (down to **$0.85** on Gold/Platinum/Diamond), compared with **$2.01** per 1,000 results for comparable pay-per-event scrapers such as `blackfalcondata` ($0.002/result + $0.01 start fee).
- **Platform resources**: The table above covers Actor event charges; any separately listed Apify platform usage or long-term dataset storage follows your Apify plan's standard pricing. Runs default to lightweight 256 MB memory.

### API and SDK quickstart

Run `Stone_JadeX/pracuj-pl-jobs-scraper` programmatically from Node.js or Python using the official Apify Client libraries. Store your API token in the `APIFY_TOKEN` environment variable.

#### JavaScript (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('Stone_JadeX/pracuj-pl-jobs-scraper').call({
    startUrls: [{ url: 'https://www.pracuj.pl/praca/python;kw/warszawa;wp' }],
    maxItems: 50,
    scrapeDetails: true,
    includeHrContact: false,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
const jobs = items.filter((row) => row.recordType !== 'run-notice');
console.log(`Collected ${jobs.length} jobs. First offer:`, jobs[0]?.offerId, jobs[0]?.title);

const summary = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Run stopReason:', summary?.value?.stopReason);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("Stone_JadeX/pracuj-pl-jobs-scraper").call(
    run_input={
        "startUrls": [{"url": "https://www.pracuj.pl/praca/python;kw/warszawa;wp"}],
        "maxItems": 50,
        "scrapeDetails": True,
        "includeHrContact": False,
    }
)

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
jobs = [row for row in items if row.get("recordType") != "run-notice"]
print(f"Collected {len(jobs)} jobs")
for job in jobs[:5]:
    print(job.get("offerId"), "|", job.get("title"), "|", job.get("salaryText"))

output_record = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
print("Stop reason:", (output_record or {}).get("value", {}).get("stopReason"))
```

### Limitations, compliance, and FAQ

#### Operational limits and `robots.txt` handling

- **Pacing and `robots.txt`**: At startup, the Actor fetches `https://www.pracuj.pl/robots.txt`, honors any `Crawl-delay` (never going below `1200` ms between request starts), and refuses login/account URLs (such as `/login`, `/account`, `/signin`, `/mypage`). In warn-only mode, a URL that robots.txt disallows is still requested, logged as a warning and counted in `robotsDisallowedHits`.
- **Cloudflare fail-fast**: If requests hit an unresolvable Cloudflare challenge before any jobs are collected, the run stops immediately with `stopReason: "cloudflare-challenge"` and charges nothing (`$0.00`).
- **Residential proxy transfer guard**: Residential proxies are off by default. If you explicitly opt in via `proxyConfiguration.apifyProxyGroups`, an internal 5 MB transfer cap prevents unexpected proxy bills, and detail pages remain direct unless `allowDetailOnResidential: true` is enabled.
- **Detail fallback**: When `scrapeDetails: true` and an individual offer page returns an error, the list-tier record is preserved with `detailError` populated and billed as a list `job`.

#### Frequently asked questions

**Is it legal to scrape Pracuj.pl job listings?**
This Actor accesses only publicly available job listings without logging in, never bypasses authentication, and never collects candidate profiles, CVs, or private applicant data (`includeHrContact` is disabled by default). However, web scraping legality depends on your jurisdiction, use case, GDPR/data-protection rules, and the target site's Terms of Service. You are responsible for ensuring your collection and downstream use of data comply with applicable laws and Pracuj.pl's terms.

**Why did a single search page return more than 50 records?**
Pracuj.pl groups multi-location vacancies into ~50 search cards per page. The Actor expands each city variant into its own row with a unique `offerId` while keeping the shared `groupId`, so a single page can yield more than 50 distinct rows.

**Will every field (such as salary or HR contact) always be populated?**
No. Employers on Pracuj.pl do not always publish salary ranges, expiration dates, or recruiter phone numbers. Missing fields appear as `null`. Some list cards omit `salaryText` even when structured compensation is available on the detail page — enable `scrapeDetails: true` to enrich those rows.

**Is this a live feed or an alert service?**
Each run captures a point-in-time snapshot of publicly available listings. To run recurring monitoring or trigger alerts on newly posted `offerId` values, schedule the Actor in Apify Console and diff results in your own workflow.

**What does the `run-notice` record mean?**
When a run stops early because of `maxItems`, `maxRunSeconds`, a charge limit, or errors, the Actor appends one uncharged dataset row with `recordType: "run-notice"`, `truncatedAfter`, and `reason`. Filter out `recordType === "run-notice"` when ingesting pure job rows.

### Changelog

#### 2026-11-23

- Hardened network/proxy fallback reliability: isolated `robots.txt` probes per host so a Cloudflare response on `www.pracuj.pl/robots.txt` never forces `massachusetts.pracuj.pl` onto proxy or burns rate-limit backoffs, and rotated proxy session IDs on blocked/challenged proxy retries.
- Handled valid empty searches (`offersTotalCount: 0`), pagination end, and `startPage` beyond total pages cleanly (`stopReason: "site-end"`, `$0.00` charged) without treating valid 0-result JSON as a failure.
- Preserved already-fetched list-tier jobs with `detailError: "cloudflare-challenge"` (billed once as `job`, not `job-detail`) when `scrapeDetails: true` encounters Cloudflare on detail pages, and added resilient `ProxyConfiguration` fallback, deadline-aware backoff guards, and parser/URL safety fixes.

#### 2026-11-21

- Upgraded `README.md` with complete input parameter documentation, JSON input/output examples, full dataset schema reference, tiered Pay-Per-Event pricing table (Free through Diamond), JavaScript & Python `ApifyClient` SDK quickstarts, and expanded FAQ.
- Added explicit `prefill` defaults (`startUrls`, `maxItems`, `startPage`, `requestIntervalMs`, `proxyConfiguration`) and organized `sectionCaption` groupings in `.actor/input_schema.json`.

#### 2026-11-20

- Enabled Apify Store subscription tier discounts (Bronze 5% off, Silver 10% off, Gold/Platinum/Diamond 15% off) while keeping the Free-tier base rate at `$0.001` per job (`$1.00` per 1,000).

#### 2026-10-26

- **v0.1.1**: Switched search listing retrieval to Pracuj.pl's public grouped JSON endpoint (`massachusetts.pracuj.pl/jobOffers/listing/grouped`), added Cloudflare fail-fast handling, enabled direct-first fetching with automatic datacenter proxy fallback, and updated `robots.txt` Disallow handling to warn and count in `robotsDisallowedHits`.
- **v0.1.0**: Initial public release with list-tier and optional detail-tier extraction, structured PLN salary parser, optional `includeHrContact`, and `$0.001`/job Pay-Per-Event pricing with no start fee.

# Changelog

This Actor's version history is a separate document: https://apify.com/stone_jadex/pracuj-pl-jobs-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Optional. A Pracuj search URL such as https://www.pracuj.pl/praca/python;kw or an offer URL …/praca/…,oferta,<id>. Empty input uses /praca/python;kw.

## `maxItems` (type: `integer`):

Stop after this many charged jobs. Alias: maxResults.

## `maxResults` (type: `integer`):

Alias for maxItems.

## `maxPages` (type: `integer`):

Optional. Each search page has about 50 grouped offers (often more rows when a group has several cities).

## `startPage` (type: `integer`):

First search page when the start URL does not already set ?pn=.

## `scrapeDetails` (type: `boolean`):

Adds full description sections and structured employment/salary from the public detail page. Charged as job-detail instead of job. Alias: includeDetails.

## `includeDetails` (type: `boolean`):

Alias for scrapeDetails.

## `includeHrContact` (type: `boolean`):

When scrapeDetails is on, keep public apply URL, published contact phone, and ATS form URL. Off by default. Never collects candidate PII.

## `requestIntervalMs` (type: `integer`):

At least 1.2 seconds between request starts. A Crawl-delay in robots.txt can only raise this.

## `concurrency` (type: `integer`):

Fixed at 1 to keep cost under the $0.133/1k cap. Rows are still saved in page order.

## `maxRunSeconds` (type: `integer`):

Stops cleanly and writes the OUTPUT record before this limit.

## `proxyConfiguration` (type: `object`):

Default: Apify datacenter proxy available. Direct first when useProxyFallback is on. Do not set RESIDENTIAL unless cost still ≤ $0.133/1k at $0.001/job (5 MB cap).

## `useProxyFallback` (type: `boolean`):

Default true: stay direct until Cloudflare/403/429, then switch to the configured proxy (datacenter). Residential groups are opt-in only.

## `allowDetailOnResidential` (type: `boolean`):

Detail pages stay on a direct connection when the proxy group is residential. Turn this on only if those pages should use the residential proxy too.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.pracuj.pl/praca/python;kw"
    }
  ],
  "maxItems": 50,
  "startPage": 1,
  "scrapeDetails": false,
  "includeHrContact": false,
  "requestIntervalMs": 1200,
  "concurrency": 1,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "useProxyFallback": true,
  "allowDetailOnResidential": false
}
```

# Actor output Schema

## `results` (type: `string`):

Public Pracuj.pl job records from the default dataset. Detail-only fields depend on the input; a truncated run appends one run-notice record with recordType, truncatedAfter, and reason.

## `summary` (type: `string`):

Run counters, echoed input, errors, stop reason, and HTTP and robots statistics. Also written for invalid-input and other early failures.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.pracuj.pl/praca/python;kw"
        }
    ],
    "maxItems": 50,
    "startPage": 1,
    "requestIntervalMs": 1200,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("stone_jadex/pracuj-pl-jobs-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.pracuj.pl/praca/python;kw" }],
    "maxItems": 50,
    "startPage": 1,
    "requestIntervalMs": 1200,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("stone_jadex/pracuj-pl-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.pracuj.pl/praca/python;kw"
    }
  ],
  "maxItems": 50,
  "startPage": 1,
  "requestIntervalMs": 1200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call stone_jadex/pracuj-pl-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stone_jadex/pracuj-pl-jobs-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cRqrk1921oaNIiHFm/builds/DekdmAx7HdochE0fr/openapi.json
