By the end of this tutorial you will have a Python script that pulls job offers from Pracuj.pl, the Polish job board, into structured rows. Each row holds the offer title, the employer, the salary as the offer states it, the work mode, the contract types, the seniority level and the workplace, with coordinates when the offer gives them.
Pracuj.pl Job Scraper (reventadata/pracuj-scraper) is the Apify Actor built for this site. You send it keywords and optionally a city, and it returns one row per workplace of each offer. It reads public search pages, so no login is needed.
The sample row in this guide is one offer from a search page the Actor's README records on 2026-11-07, with the optional offer-page fields left off. Its values are copied from that record.
Prerequisites
You need three things:
- Python 3.11 or newer with
pip. - A free Apify account. You can sign up with an email address or a GitHub login.
- Your API token, which you find in the Apify Console under the integrations settings.
Install the Apify client. The code in this guide uses the 3.x line:
pip install -U "apify-client~=3.0"
Keep the token out of the script. Export it in your terminal so the code can read it from the environment.
What you'll achieve
At the end of the run you have a list of Polish job offers, one row per workplace, that you can sort by employer, filter by salary text or export to a spreadsheet. A typical use is a weekly list of offers for one keyword in one city, with the work mode column showing which offers allow remote work.
Example: search python offers, keep only the offers that publish a salary, read the first 10 rows, and print the title, the employer and the salary text for each. The same script works for any keyword, so you can compare a second role by changing one line.
Step-by-step guide
Step 1: Open the Actor
Go to the Pracuj.pl Job Scraper page on Apify Store. The input form lists these fields:
-
searchQueries: keywords, one search each. An empty list returns every offer on the site, bounded bymaxItems. -
location: an optional city as Pracuj.pl writes it, for exampleWarszawaorKraków. -
onlyWithSalary: keeps only offers that publish a salary. -
fetchDetails: opens each offer's own page for the structured salary per contract type. It is off by default, and it makes the run slower. -
maxItemsandmaxPages: the caps on rows and on pages per keyword.
Step 2: Choose the search
For a first test, keep the search small. The script below looks for python offers that publish a salary, returns ten rows and reads one page of results:
import os
from apify_client import ApifyClient
# 1. Initialise the client with your token from the environment
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
# 2. Describe the search: Python offers with a salary, ten rows, one page
run_input = {
"searchQueries": ["python"],
"onlyWithSalary": True,
"maxItems": 10,
"maxPages": 1,
}
# 3. Start the Actor and wait for it to finish
run = client.actor("reventadata/pracuj-scraper").call(run_input=run_input)
if run is None or run.status != "SUCCEEDED":
status = run.status if run else "unknown"
raise SystemExit(f"Run did not succeed (status: {status}).")
# 4. Read the rows from the run's default dataset
items = client.dataset(run.default_dataset_id).list_items().items
print(f"Retrieved {len(items)} rows.\n")
# 5. Print one line per row: title and employer, then salary text and workplace
for item in items:
print(f"{item.get('title')} | {item.get('companyName')}")
print(f" salary: {item.get('salaryText')}, workplace: {item.get('workplace')}")
Step 3: Run it from Python
Export your token in the terminal and run the script:
export APIFY_API_TOKEN="your-token-here"
python3 pracuj_search.py
The script starts the Actor, waits for the run to end, and prints one pair of lines per row. If the status is not SUCCEEDED, the script stops and prints the status.
Step 4: Read one row
Each dataset item is a JSON object. The sample is one offer from the search page recorded on 2026-11-07:
{
"id": "1005150403",
"url": "https://www.pracuj.pl/praca/senior-backend-python-developer-warszawa-powazkowska-44c,oferta,1005150403",
"groupId": "84100000-56be-0050-b929-08df25efce80",
"title": "Senior Backend Python Developer",
"companyName": "Fundacja Szkoła w Chmurze",
"companyId": 1074109726,
"publishedAt": "2026-10-11T22:00:00Z",
"lastPublishedAt": "2026-11-07T16:00:00Z",
"expiresAt": "2026-11-10T22:59:59Z",
"salaryText": "17 000–25 000 zł / mies. (zal. od umowy)",
"workModes": ["Praca zdalna"],
"contractTypes": ["Umowa o pracę", "Kontrakt B2B"],
"positionLevels": ["Starszy specjalista / Starsza specjalistka (senior)"],
"workSchedules": ["Pełny etat"],
"isRemoteWorkAllowed": true,
"workplace": "Warszawa, Żoliborz",
"latitude": 52.25871658325195,
"longitude": 20.963115692138672,
"workplacesInGroup": 1,
"matchedKeyword": "python",
"detailFetched": false
}
The sample leaves out a few fields, such as the company logo and profile links and the search address. They are in the dataset too.
Understanding your results
-
idis the offer number, andurlis the public offer page. Use the id as the key in your own store. -
groupIdties together the rows of one offer. A posting open in several cities gives one row per city, each with its own URL, and they all share the samegroupId.workplacesInGrouptells you how many rows the offer produced. -
title,companyNameandcompanyIddescribe the offer and the employer as the page shows them. -
publishedAt,lastPublishedAtandexpiresAtare timestamps in UTC. -
salaryTextis the salary as the advertiser wrote it, in free text. It can mix contract types, so read it as text. -
workModes,contractTypes,positionLevelsandworkSchedulesare lists, because an offer can carry several values in each. -
isRemoteWorkAllowedis a boolean for the remote-work flag. -
workplace,latitudeandlongitudedescribe where the work is. Coordinates appear only when the offer gives them. -
matchedKeywordnames the keyword whose search found the row.
With fetchDetails switched on, the offer-page fields are filled in, so a list of salaries per contract type becomes possible. In a 2026-11-07 record of one offer, the salaryByContract list held one entry for each contract type, with the minimum and maximum amount per month, in PLN, and whether the figure was gross or net.
Pro tips and advanced usage
-
Use
onlyWithSalaryfor salary lists. Without it, many offers have anullsalary, and you have to filter those out in Python. -
Turn on
fetchDetailsonly when you need numbers. The listing salary is free text. The offer-page data gives a figure per contract type, but each row then takes longer to read. -
Group rows by
groupId. A posting that appears in three cities is three rows. Grouping bygroupIdcounts it once. - Read the contract types as a list. An offer can allow both an employment contract and a B2B contract, so check the whole list rather than the first item.
-
Sort by
expiresAt. Offers that close soonest come first, which helps when you want to apply in time. -
Read
lastPublishedAtwithpublishedAt. Compare the two timestamps to see when an offer first appeared and when it was last published.
Troubleshooting common issues
-
The run ends as
FAILED. The Actor writes a status message when it cannot read the site. The script prints the status. Read the run's log in the Apify Console for the message. -
The run succeeds with zero rows. A search with no matching offers ends as
SUCCEEDEDwith a message that says nothing matched. Check the keyword spelling and the city name. -
A
salaryTextisnull. The offer does not publish a salary. Filter withonlyWithSalaryif you only want offers that do. -
Coordinates are missing. Coordinates appear only when the offer gives them, so check
latitudeandlongitudefornullbefore you calculate a distance. WithfetchDetailson, thefullAddressfield is often only the city.
Support questions about this Actor go through the Actor's page on Apify Store.
Next steps
Change location to compare cities, or add a second keyword to searchQueries. To repeat a search on a schedule, save it as an Apify task and attach a schedule to it. Read each new dataset from Python in the same way, and check each run's status before you trust its count.
For current pricing and details, see the Store page.
What would you compare first? Share it in the comments.
Top comments (0)