# Otodom.pl Scraper - Poland Real Estate Data (`evpp/otodom-pl`) Actor

Extract Otodom.pl real estate listings as clean JSON: prices, areas, rooms, locations, photos, advertiser details, timestamps, and listing URLs.

- **URL**: https://apify.com/evpp/otodom-pl.md
- **Developed by:** [Evp Labs](https://apify.com/evpp) (community)
- **Categories:** Real estate, E-commerce, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.93 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Otodom.pl Scraper - Poland Real Estate Data

Extract property listings from **Otodom.pl**, Poland's largest real-estate portal (~1M+ live offers): sale and rental prices, locations down to street and district, living area, rooms, floor, building type, ownership form, primary/secondary market flag, agency details, photos and the full description.

The Actor reads the structured `__NEXT_DATA__` JSON embedded in every Otodom page - the same payload the site's own frontend consumes. No browser rendering, no login, no proxy required: it is fast, cheap and stable.

### What you can scrape

- **Agency & brokerage feeds** - mirror live sale/rental offers for your own portal or CRM, with agency names, prices and locations.
- **Investment & analytics** - track asking prices, PLN/m2 trends and new supply per city, district or voivodeship.
- **Mortgage lead generation** - harvest fresh buyer-intent inventory (new listings appear in real time) with contact-ready listing URLs.
- **Proptech data pipelines** - flat JSON items with coordinates, ownership form, building attributes and equipment, ready for indexing or ML.
- **Primary market monitoring** - developer offers are flagged `market: "primary"` and carry investment name, state and estimated delivery.

### Quick start input

Target source: `otodom.pl`. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

```json
{
    "transaction": "sprzedaz",
    "propertyType": "mieszkanie",
    "location": "cala-polska",
    "sort": "",
    "maxItems": 10
}
```

The default input is intentionally small. Raise `maxItems` only after validating the first property listing records.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `transaction` | string | `sprzedaz` | `sprzedaz` = for sale, `wynajem` = for rent. |
| `propertyType` | string | `mieszkanie` | `mieszkanie` (flat), `dom` (house), `dzialka` (plot of land), `lokal` (commercial premises). |
| `location` | string | `cala-polska` | Location path, e.g. `mazowieckie/warszawa`, `dolnoslaskie/wroclaw`, or a district like `mazowieckie/warszawa/warszawa/warszawa/wola`. `cala-polska` = all Poland. |
| `minPrice` | integer | - | Minimum price in PLN (monthly rent for `wynajem`). |
| `maxPrice` | integer | - | Maximum price in PLN. |
| `minArea` | integer | - | Minimum area in m2. |
| `maxArea` | integer | - | Maximum area in m2. |
| `minRooms` | integer | - | Minimum room count (1-5, where 5 means "5+"). |
| `sort` | string | *(site default)* | `latest`, `priceAsc`, `priceDesc`, `areaAsc`, `areaDesc`. |
| `maxItems` | integer | `15` | Maximum listings to collect (about 36 per results page). |
| `proxyConfiguration` | object | disabled | Optional Apify proxy. Not needed normally - enable only for very large runs. |

#### Example input

```json
{
    "transaction": "sprzedaz",
    "propertyType": "mieszkanie",
    "location": "mazowieckie/warszawa",
    "minPrice": 400000,
    "maxPrice": 800000,
    "minArea": 50,
    "minRooms": 3,
    "sort": "latest",
    "maxItems": 100
}
```

### Output

One flat JSON item is produced per property listing. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

#### Field reference

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Numeric Otodom ad ID |
| `title` | string | Listing title |
| `url` | string | Canonical URL of the listing on otodom.pl |
| `propertyType` | string | flat, house, plot, premises or investment (developer new-build offer) |
| `transaction` | string | sale or rent |
| `price` | number | Asking price (sale price or monthly rent) in PLN; absent for 'price on request' ads |
| `priceCurrency` | string | Currency of the price, always PLN (present only when price is set) |
| `pricePerSqm` | number | Price per square meter in PLN when provided |
| `serviceFee` | number | Administrative rent / service fee (czynsz) in PLN when listed |
| `address` | string | Street address when disclosed by the advertiser |
| `district` | string | City district or residential area name |
| `city` | string | City or village where the property is located |
| `county` | string | County (powiat) name |
| `voivodeship` | string | Voivodeship (region) name |
| `areaSqm` | number | Usable/living area of the property in square meters |
| `plotAreaSqm` | number | Plot/terrain area in square meters (houses and land) |
| `rooms` | number | Number of rooms |
| `floor` | number | Floor the property is on (0 = ground floor) |
| `buildingType` | string | Building type, e.g. tenement, block, apartment_building, detached |
| `ownershipType` | string | Form of ownership, e.g. full_ownership, cooperative |
| `market` | string | primary (developer/new build) or secondary |
| `agencyName` | string | Name of the advertising agency or advertiser |
| `privateOwner` | boolean | True when the ad is posted by a private owner |
| `advertiserType` | string | Otodom advertiser type, e.g. business or private_person |
| `publishedAt` | string | Publication timestamp of the ad (ISO 8601) |
| `pushedUpAt` | string | When the ad was last boosted/pushed up by the advertiser |
| `modifiedAt` | string | Last modification timestamp of the ad (detail page) |
| `latitude` | number | Latitude of the property location (detail page) |
| `longitude` | number | Longitude of the property location (detail page) |
| `imageUrl` | string | CDN URL of the first listing photo |
| `imageCount` | integer | Number of photos attached to the listing |
| `description` | string | Listing description as plain text, trimmed to about 400 characters |
| `developmentTitle` | string | Name of the developer investment for primary-market ads |
| `investmentState` | string | Construction state of the developer investment |
| `investmentEstimatedDelivery` | string | Estimated delivery date/quarter of the developer investment |

#### Real sample output (latest live dataset)

```json
{
    "id": "68547507",
    "title": "3-pok. mieszkanie z balkonem, przy ul. Wańkowicza.",
    "url": "https://www.otodom.pl/pl/oferta/3-pok-mieszkanie-z-balkonem-przy-ul-wankowicza-ID4DCkX",
    "propertyType": "flat",
    "transaction": "sale",
    "price": 410000,
    "priceCurrency": "PLN",
    "pricePerSqm": 6406.25,
    "serviceFee": 790,
    "address": "Wańkowicza",
    "city": "Koszalin",
    "voivodeship": "zachodniopomorskie",
    "areaSqm": 64,
    "rooms": 3,
    "floor": 2,
    "buildingType": "block",
    "ownershipType": "full_ownership",
    "market": "secondary",
    "agencyName": "Urbanowicz Centrum Nieruchomości M.Urbanowicz, G.Urbanowicz s.c.",
    "privateOwner": false,
    "advertiserType": "business",
    "publishedAt": "2026-10-20T13:01:50Z",
    "pushedUpAt": "2026-11-13T15:05:44.000Z",
    "modifiedAt": "2026-12-04T12:56:06Z",
    "latitude": 54.20244,
    "longitude": 16.187199,
    "imageUrl": "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6Ijl3aWh3MTlwZzJhYy1BUEwiLCJ3IjpbeyJmbiI6ImVudmZxcWUxYXk0azEtQVBMIiwicyI6IjE2IiwiYSI6IjAiLCJwIjoiMTAsLTEwIn1dfQ.C5a7blxvHXfmwp5JyqxZ7LTh8fDRbRzdhAJ3foDAyNk/image",
    "imageCount": 17,
    "description": "3-pokojowe mieszkanie 64 m² z balkonem. Koszalin, ul. Wańkowicza. Możliwość zakupu przez cudzoziemców — spółdzielcze własnościowe prawo do lokalu mieszkalnego. Na sprzedaż przestronne, funkcjonalne mieszkanie o powierzchni 64 m², położone na 2. piętrze w oc...",
    "param_build_year": "1990",
    "param_building_floors_num": "4",
    "param_construction_status": "ready_to_use",
    "param_extras_types": "balcony / basement / separate_kitchen",
    "param_heating": "urban",
    "param_security_types": "anti_burglary_door / entryphone"
}
```

### How it works

1. Builds an Otodom results URL from `transaction`, `propertyType`, `location`, price/area/rooms bounds and `sort` - e.g. `https://www.otodom.pl/pl/wyniki/sprzedaz/mieszkanie/mazowieckie/warszawa?priceMin=400000`.
2. Fetches result pages with a plain HTTP client (CheerioCrawler) at up to 10 concurrent requests and parses the embedded `__NEXT_DATA__` JSON (about 36 offers per page).
3. Fetches each listing page the same way and merges its full attribute payload (`building_type`, `building_ownership`, equipment, coordinates, description) with the search-level fields.
4. Pushes one clean flat item per ad and stops exactly at `maxItems`.

### Use with AI agents (MCP), n8n, Make, and Python

- **AI agents / MCP:** add `https://mcp.apify.com/?tools=evpp/otodom-pl` to your MCP client, then ask the agent to scrape Otodom.pl data or export the latest dataset.
- **n8n / Make / Zapier:** run Actor `evpp/otodom-pl` with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
- **Python:** install the client with `pip install apify-client` and run:

```python
import json
from apify_client import ApifyClient

client = ApifyClient()
run_input = json.loads('''{"transaction":"sprzedaz","propertyType":"mieszkanie","location":"cala-polska","sort":"","maxItems":10}''')
run = client.actor("evpp/otodom-pl").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])
```

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

### Cost

The Actor runs on HTTP requests only - no browser, so a run costs almost nothing in compute. Scraping **1,000 listings** typically finishes in **5-10 minutes** on 256-512 MB of memory (each item is one detail page). With pay-per-event pricing of **$2.75 per 1,000 listings**, cost is linear and predictable.

### Limits & notes

- Prices are asking prices in PLN. "Price on request" ads have no `price` field.
- `description` is trimmed to ~400 characters per item for compact dataset records.
- `minRooms` above 5 maps to Otodom's "5+" filter value.
- Deep location paths must use Otodom's slug format (`voivodeship/county/.../name`); the canonical URL the site reports is used, so slightly imprecise paths still resolve (e.g. `mazowieckie/warszawa` resolves to the city of Warsaw).
- Please respect Otodom.pl's terms of service - this Actor reads publicly available listing pages only.

### FAQ

**Do I need a proxy?** No - listing pages are fetched directly and the default works. Enable a proxy only if you run very large jobs.

**How fresh is the data?** Real-time: every run fetches live pages, and `sort: "latest"` surfaces the newest offers first.

**What is the difference between `market` values?** `primary` = developer/new-build offer (with `developmentTitle` and investment fields); `secondary` = resale or owner offer.

**Why `param_*` fields?** Otodom stores different attributes per property type (heating for flats, plot features for land). Instead of hardcoding a few, the Actor exports all of them flat so nothing is lost.

**Can I get offers for a specific district?** Yes - pass the full location path, e.g. `mazowieckie/warszawa/warszawa/warszawa/wola`, or a broader one like `mazowieckie/warszawa` and filter on `district` in the output.

# Actor input Schema

## `transaction` (type: `string`):

Type of offer to scrape: sprzedaz = properties for sale, wynajem = properties for rent.

## `propertyType` (type: `string`):

Property category to scrape: mieszkanie (flat/apartment), dom (house), dzialka (plot of land), lokal (commercial premises).

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

Location path limiting results geographically, e.g. mazowieckie/warszawa, dolnoslaskie/wroclaw, or mazowieckie/warszawa/warszawa/warszawa/wola for a district. Use cala-polska (default) for all of Poland.

## `minPrice` (type: `integer`):

Only show offers priced at or above this amount in PLN (Otodom priceMin filter). For rentals this is the monthly rent. Leave empty for no lower bound.

## `maxPrice` (type: `integer`):

Only show offers priced at or below this amount in PLN (Otodom priceMax filter). Leave empty for no upper bound.

## `minArea` (type: `integer`):

Only show offers at or above this floor area in square meters (Otodom areaMin filter). Leave empty for no lower bound.

## `maxArea` (type: `integer`):

Only show offers at or below this floor area in square meters (Otodom areaMax filter). Leave empty for no upper bound.

## `minRooms` (type: `integer`):

Only show flats/houses with at least this many rooms (Otodom roomsNumber filter, capped at 5 = '5+'). Applies to mieszkanie and dom.

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

How results are ordered. Empty uses the Otodom default (mix of promoted and newest offers).

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

Maximum number of listings to push to the dataset. Otodom returns about 36 offers per results page; the Actor stops as soon as this many items are collected.

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

Proxy settings for outbound requests. Not needed for this Actor: Otodom.pl pages are fetched directly. Keep disabled unless you hit rate limits on very large runs.

## Actor input object example

```json
{
  "transaction": "sprzedaz",
  "propertyType": "mieszkanie",
  "location": "mazowieckie/warszawa",
  "sort": "",
  "maxItems": 15,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped Otodom.pl listings

# 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 = {
    "location": "cala-polska",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("evpp/otodom-pl").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 = {
    "location": "cala-polska",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("evpp/otodom-pl").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 '{
  "location": "cala-polska",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call evpp/otodom-pl --silent --output-dataset

```

## MCP server setup

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

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/8KJ4PmhpQwm28JzQt/builds/H3uAviHUw8prT7hhg/openapi.json
