# 🇵🇱 Otodom Poland Scraper | Property Prices (`antique_sundew/otodom-scraper`) Actor

Scrape Otodom.pl apartment listings, real estate prices, rent costs, location data, and agency contacts across Poland. Fast Polish property market scraper.

- **URL**: https://apify.com/antique\_sundew/otodom-scraper.md
- **Developed by:** [Alexandru Afanasiuc](https://apify.com/antique_sundew) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 property scrapeds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Otodom.pl Scraper — Poland Apartments, Houses, Prices & Agencies

Extract structured property listings from **Otodom.pl, Poland's largest real-estate portal**. Choose sale or rental, pick a property type and a city (or all of Poland), and get clean JSON/CSV with prices, price per m², areas, rooms, locations, agencies and photo URLs.

### Why use this scraper

- **Verified location filter** — a city Otodom does not recognise returns **zero rows** (hard 404 check, no fallback to the national feed). You are never billed for listings you did not ask for.
- **Price per m² included** — the field Polish property analysis actually runs on, extracted per listing.
- **Sale and rental** — `sprzedaz` or `wynajem`, same schema either way.
- **Agency vs private** — `agency` is `null` on private listings, so separating the two is one filter.
- **Photos included** — image URLs per listing, ready for previews or ML datasets.
- **Pure HTTP** — no browser, fast and cheap.

### What data you get

```json
{
  "id": "65432100",
  "title": "Mieszkanie 3-pokojowe, Mokotów",
  "url": "https://www.otodom.pl/pl/oferta/mieszkanie-3-pokojowe-mokotow-ID4abc",
  "transaction": "SELL",
  "estateType": "FLAT",
  "price": { "value": 899000, "currency": "PLN" },
  "pricePerM2": { "value": 14983, "currency": "PLN" },
  "areaInM2": 60,
  "rooms": "THREE",
  "floor": "FLOOR_2",
  "location": {
    "street": "ul. Puławska",
    "city": "Warszawa",
    "province": "mazowieckie",
    "fullAddress": "Warszawa, Mokotów, ul. Puławska"
  },
  "agency": { "name": "Example Nieruchomości", "url": "https://www.otodom.pl/pl/agencje/example" },
  "images": ["https://ireland.apollo.olxcdn.com/v1/files/..."],
  "shortDescription": "Jasne mieszkanie po remoncie...",
  "dateCreated": "2026-08-01 10:22:15",
  "scrapedAt": "2026-08-11T10:00:00.000Z"
}
```

Fields the listing does not include are `null` — this Actor never invents data. `price` is `null` on "ask for price" listings, exactly as the portal shows them.

### How to run it

1. Pick `transaction`: `sprzedaz` (sale) or `wynajem` (rental).
2. Pick `propertyType`: `mieszkanie`, `dom`, `dzialka` or `lokal`.
3. Set `location` to a city slug (`warszawa`, `krakow`, `gdansk`...) or keep `cala-polska` for country-wide.
4. Click **Start** and export the dataset as JSON, CSV or Excel.

Works out of the box: the default input (apartments for sale, all Poland, 100 items) runs successfully with no changes.

### Input parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `transaction` | string | `sprzedaz` | `sprzedaz` (sale) or `wynajem` (rent). |
| `propertyType` | string | `mieszkanie` | `mieszkanie`, `dom`, `dzialka`, `lokal`. |
| `location` | string | `cala-polska` | City/region slug as used in Otodom URLs. |
| `maxItems` | integer | `100` | Cap on returned listings. |

### Pricing

**$3.00 per 1,000 listings** (pay per event, no subscription). Examples:

- 100 listings → **$0.30**
- 500 listings → **$1.50**
- Zero results (unrecognised location) → **$0.00**.

### Use cases

- **Price monitoring** — track asking prices and PLN/m² by district, weekly.
- **Investment screening** — filter by price per m² against the city median to spot underpriced listings.
- **Market research** — measure supply per city, property type and agency.
- **Lead generation for agencies** — private listings (`agency: null`) are potential clients.
- **AI agents** — call this Actor as a tool through the [Apify MCP server](https://mcp.apify.com/?actors=antique_sundew/otodom-scraper).

### Limitations

- Returns what Otodom publishes on the results feed; visiting each listing page for full descriptions is out of scope.
- `location` must be an Otodom URL slug (lowercase, hyphens: `nowy-sacz`, not `Nowy Sącz`).
- "Ask for price" listings have `price: null` — that is the portal's data, not a gap in the scraper.

### FAQ

**How do I scrape Otodom without coding?**
Run this Actor from the Apify Console — pick transaction, type and city, press Start, export CSV.

**Does it cover rentals?**
Yes — set `transaction: "wynajem"`.

**What happens on a typo'd city?**
Zero rows, zero cost. The location check is a hard 404 — there is no silent fallback to all-Poland results.

**Can I schedule daily price tracking?**
Yes — use Apify Schedules and export to Google Sheets, or read the dataset from the API.

### Related Actors

- [Pracuj.pl Scraper](https://apify.com/antique_sundew/pracuj-scraper) — Poland's largest job board
- [StepStone NL/BE/AT/UK Scraper](https://apify.com/antique_sundew/stepstone-nl-scraper) — four job markets, one input
- [eJobs.ro Scraper](https://apify.com/antique_sundew/ejobs-scraper) — Romania's largest job board

***

If this Actor saved you time, a short review on its Store page helps other people find it. If something looks wrong, open an issue on the **Issues** tab — issues get answered.

# Actor input Schema

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

Transaction type: sprzedaz (sale) or wynajem (rent).

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

Property category: mieszkanie, dom, dzialka, sau lokal.

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

Filter by city or voivodeship (e.g. 'warszawa', 'krakow', 'wroclaw', 'gdansk', 'poznan'). Default is 'cala-polska'.

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

Maximum number of real estate listings to return.

## Actor input object example

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

# 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("antique_sundew/otodom-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("antique_sundew/otodom-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 antique_sundew/otodom-scraper --silent --output-dataset

```

## MCP server setup

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