# Pracuj.pl jobs scraper (`data_dino/pracuj-jobs-scraper`) Actor

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).

- **URL**: https://apify.com/data_dino/pracuj-jobs-scraper.md
- **Developed by:** [Data Dino](https://apify.com/data_dino) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

Scrape structured job offers from the Polish job board **pracuj.pl**. Search by keyword,
location, contract type, work mode, seniority, region, and more — and optionally enrich each
offer with its full detail page (description, structured salary, employer metadata, apply URL).

### Why use it

- **No login / no API key** — the pracuj.pl API gateway answers plain HTTP requests with a
  normal browser User-Agent.
- **Structured salary** — salary is parsed into numeric `min`/`max`/`currency`/`period`
  fields instead of a raw string.
- **Company vs agency** — `isDirectlyFromEmployer` flag and a `postedBy` filter.
- **Rich details** — full text description, contact phone, apply URL, employer metadata, and
  regex-extracted emails/phones.
- **Managed proxy support** — the target site is Cloudflare-protected; the scraper works with
  a sticky residential proxy for the HTML-only paths (the API path needs none).

### Input

| Field | Description |
|---|---|
| `query` | Search keywords, e.g. `software engineer`. |
| `location` | City or region, e.g. `Warszawa`, `Kraków`. |
| `maxResults` | Stop after this many jobs (0 = unlimited). Default 10. |
| `includeDetails` | Fetch each offer's detail page (full description, salary, employer). |
| `postedBy` | `Company` / `Agency` to filter by who posted the offer. |
| `contractType`, `workMode`, `workSchedule`, `positionLevel`, `region`, `country`, `period`, `sort`, `withSalary`, `employer` | Job search filters. |

Leave everything at its default and press **Run** to scrape the most recent 10 "software
engineer" jobs in Poland.

# Actor input Schema

## `query` (type: `string`):

Job search keywords, e.g. software engineer, sprzedawca, data analyst.

## `location` (type: `string`):

City or region, e.g. Warszawa, Kraków, Trójmiasto.

## `radiusKm` (type: `integer`):

Radius around the location when location is a city (0 = no radius).

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

Optional pracuj.pl search URLs whose filters are used directly (skips the keyword form).

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

Stop after this many job offers (0 = unlimited).

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

Fetch each offer's detail page (full description, structured salary, employer, apply URL). ~3x slower when on.

## `descriptionMaxLength` (type: `integer`):

Truncate description fields to N characters (0 = full).

## `compact` (type: `boolean`):

Emit a core field record (AI/MCP-friendly).

## `excludeEmptyFields` (type: `boolean`):

Drop null/empty values from each record.

## `contractType` (type: `string`):

e.g. UoP, B2B, zlecenie, działalność gospodarcza.

## `workMode` (type: `string`):

full-office, hybrid, home-office (remote), or mobile.

## `workSchedule` (type: `string`):

full, part, or additional.

## `positionLevel` (type: `string`):

Seniority id/alias, e.g. junior, mid, senior, asystent, praktykant.

## `region` (type: `string`):

Region id or name, e.g. mazowieckie, śląskie.

## `country` (type: `string`):

Country id(s), e.g. 1=Polska, 46=Niemcy.

## `period` (type: `string`):

Posted within the last N days: 1, 3, 7, 14, or 30.

## `postedBy` (type: `string`):

Company → only offers posted directly by the hiring company; Agency → only recruitment-agency offers. Implies includeDetails.

## `sort` (type: `string`):

date, accuracy, salary, hybrid, travel-time, or distance.

## `withSalary` (type: `boolean`):

Keep only offers that show a salary.

## `employer` (type: `string`):

Employer name filter.

## `employerId` (type: `string`):

Employer id(s) filter.

## `subservice` (type: `string`):

Sub-portal: it, blue (blue-collar), sales, tech, or default.

## `its` (type: `string`):

IT specializations (only with subservice=it), e.g. backend, frontend, devops.

## `itth` (type: `string`):

IT technology codes (only with subservice=it).

## `pb` (type: `string`):

Product branch ids (only with subservice=sales).

## `proxy` (type: `string`):

Optional HTTP(S) proxy URL for managed residential access. Defaults to a bundled residential proxy; override only if you have a preferred exit.

## `workers` (type: `integer`):

Concurrent offer-detail requests (detail enrichment).

## `minDelay` (type: `number`):

Seconds between listing page requests.

## Actor input object example

```json
{
  "query": "software engineer",
  "maxResults": 10,
  "includeDetails": true,
  "workers": 8,
  "minDelay": 0.3
}
```

# Actor output Schema

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

All scraped pracuj.pl jobs, one item per row. Field shape includes jobId/offerId, title, location/region/country/coordinates, structured salary, isDirectlyFromEmployer, description, contactPhone/applyUrl, employer metadata, and regex-extracted emails/phones.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data_dino/pracuj-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data_dino/pracuj-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 '{}' |
apify call data_dino/pracuj-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_dino/pracuj-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/hPL6Tf2ajeFEG38k1/builds/VSPfU49sXUrktLy8A/openapi.json
