# Otodom Scraper — Polish Real Estate Listings & Property Prices (`studio-amba/otodom-scraper`) Actor

Scrape property listings, prices, photos, and details from Otodom.pl — Poland's largest real estate portal. Supports sale and rental listings.

- **URL**: https://apify.com/studio-amba/otodom-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Scraper

Scrape property listings from [Otodom.pl](https://www.otodom.pl) — Poland's largest real estate portal — with prices, locations, photos, and full property details for apartments, houses, plots, and commercial properties.

### What is Otodom Scraper?

**Otodom Scraper** extracts structured real estate data from Otodom.pl, Poland's #1 property platform with over 200,000 active listings. Otodom is part of the OLX Group (Prosus/Naspers) and dominates the Polish real estate market for both sale and rental properties.

- **Monitor the Polish property market:** track asking prices, listing volumes, and price-per-m2 trends across all 16 voivodeships and major cities (Warsaw, Krakow, Wroclaw, Gdansk, Poznan, Lodz, Katowice)
- **Generate real estate leads:** extract agency names, contact details, and listing volumes to identify active agents and agencies in any Polish city
- **Build property datasets:** collect comprehensive listing data including GPS coordinates, images, property specifications, and full descriptions for analysis or integration
- **Compare sale and rental markets:** run separate scrapes for sale vs. rent to analyze yield potential and market dynamics by location
- **Track new developments:** filter by primary market to monitor developer projects, pricing strategies, and inventory levels

The scraper uses **Playwright** (headless browser) to reliably handle Otodom's anti-bot protection and extracts structured data from the site's Next.js rendering pipeline.

### What data does Otodom Scraper extract?

| Field | Type | Description |
|-------|------|-------------|
| `title` | String | Listing headline |
| `price` | Number | Asking price in PLN |
| `currency` | String | Currency code (PLN) |
| `listingType` | String | `sale` or `rent` |
| `propertyType` | String | apartment, house, room, plot, commercial, warehouse, garage |
| `address` | String | Full address (street, district, city, province) |
| `city` | String | City name |
| `postalCode` | String | Polish postal code |
| `latitude` | Number | GPS latitude |
| `longitude` | Number | GPS longitude |
| `bedrooms` | Number | Number of rooms |
| `bathrooms` | Number | Number of bathrooms (detail pages) |
| `surface` | Number | Living area in m2 |
| `landSurface` | Number | Plot/terrain area in m2 |
| `buildYear` | Number | Year of construction |
| `imageUrl` | String | Primary listing photo URL |
| `imageUrls` | Array | All listing photo URLs |
| `description` | String | Full listing description text |
| `agencyName` | String | Listing agency or seller name |
| `agencyUrl` | String | Agency profile URL on Otodom |
| `url` | String | Direct link to the listing |
| `scrapedAt` | String | ISO timestamp of when the data was collected |

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `startUrls` | Array | No | Specific Otodom search or listing URLs to scrape |
| `searchQuery` | String | No | Free-text search (e.g. 'balkon parking') |
| `location` | String | No | City/region path (e.g. 'mazowieckie/warszawa'). Empty = all Poland |
| `listingType` | String | No | `sale` (default) or `rent` |
| `propertyType` | String | No | `apartment` (default), `house`, `room`, `plot`, `commercial`, `warehouse`, `garage` |
| `maxResults` | Integer | No | Maximum listings to return (default: 100) |
| `proxyConfiguration` | Object | No | Proxy settings (Apify Proxy enabled by default) |

### Example output

```json
{
    "title": "Mieszkanie 3-pokojowe, Mokotow, 65m2",
    "price": 850000,
    "currency": "PLN",
    "url": "https://www.otodom.pl/pl/oferta/mieszkanie-3-pokojowe-mokotow-65m2-ID4xAbC",
    "scrapedAt": "2026-04-03T12:00:00.000Z",
    "listingType": "sale",
    "propertyType": "apartment",
    "address": "Pulawska, Mokotow, Warszawa, mazowieckie",
    "city": "Warszawa",
    "postalCode": "02-508",
    "latitude": 52.1935,
    "longitude": 21.0370,
    "bedrooms": 3,
    "bathrooms": 1,
    "surface": 65,
    "landSurface": null,
    "buildYear": 2018,
    "imageUrl": "https://ireland.apollo.olxcdn.com/v1/files/...",
    "imageUrls": [
        "https://ireland.apollo.olxcdn.com/v1/files/...",
        "https://ireland.apollo.olxcdn.com/v1/files/..."
    ],
    "description": "Sprzedam przestronne mieszkanie 3-pokojowe na Mokotowie...",
    "agencyName": "ABC Nieruchomosci",
    "agencyUrl": "https://www.otodom.pl/pl/biuro/abc-nieruchomosci"
}
````

### Cost estimate

This actor uses Playwright (headless browser), which consumes more compute than HTTP-only scrapers. Approximate costs:

- **~100 listings:** 0.05-0.10 USD (1 search page + pagination)
- **~1,000 listings:** 0.30-0.60 USD (28+ search pages)
- **~5,000 listings:** 1.50-3.00 USD (140+ search pages)

Costs depend on proxy type (datacenter vs. residential) and retry rate.

### Tips for best results

1. **Use location filters** to narrow results — scraping all of Poland produces huge result sets
2. **Residential proxies** give the best success rate if you encounter blocks
3. **Start with a small `maxResults`** (50-100) to validate your filters before running large scrapes
4. **Provide `startUrls`** for maximum control — paste any Otodom search URL with your exact filters applied

### Limitations

- Otodom uses anti-bot protection; occasional retries may be needed
- Bathroom count and build year are only available when visiting detail pages (not from search results alone)
- Maximum ~10,000 results per run to stay within reasonable costs
- Data is scraped from the public website and may change without notice

# Actor input Schema

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

Otodom.pl search result or listing detail URLs. If provided, other search filters are ignored.

## `searchQuery` (type: `string`):

Free-text search query (e.g. 'balkon parking' or 'ogrodek'). Applied on top of other filters.

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

City or region to search in. Use Polish location path from the Otodom URL (e.g. 'mazowieckie/warszawa', 'malopolskie/krakow', 'dolnoslaskie/wroclaw'). Leave empty for all of Poland.

## `listingType` (type: `string`):

Search for properties for sale or rent.

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

Type of property to search for.

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

Maximum number of listings to scrape.

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

Proxy settings. Residential proxies recommended for best reliability. Datacenter proxies may work with Playwright.

## Actor input object example

```json
{
  "location": "mazowieckie/warszawa",
  "listingType": "sale",
  "propertyType": "apartment",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": "mazowieckie/warszawa"
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/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 = { "location": "mazowieckie/warszawa" }

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/otodom-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": "mazowieckie/warszawa"
}' |
apify call studio-amba/otodom-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/otodom-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Otodom Scraper — Polish Real Estate Listings & Property Prices",
        "description": "Scrape property listings, prices, photos, and details from Otodom.pl — Poland's largest real estate portal. Supports sale and rental listings.",
        "version": "0.1",
        "x-build-id": "bp9nY60GPoKlR1zDS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~otodom-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-otodom-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~otodom-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-otodom-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~otodom-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-otodom-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Otodom.pl search result or listing detail URLs. If provided, other search filters are ignored.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Free-text search query (e.g. 'balkon parking' or 'ogrodek'). Applied on top of other filters."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or region to search in. Use Polish location path from the Otodom URL (e.g. 'mazowieckie/warszawa', 'malopolskie/krakow', 'dolnoslaskie/wroclaw'). Leave empty for all of Poland.",
                        "default": ""
                    },
                    "listingType": {
                        "title": "Listing Type",
                        "enum": [
                            "sale",
                            "rent"
                        ],
                        "type": "string",
                        "description": "Search for properties for sale or rent.",
                        "default": "sale"
                    },
                    "propertyType": {
                        "title": "Property Type",
                        "enum": [
                            "apartment",
                            "house",
                            "room",
                            "plot",
                            "commercial",
                            "warehouse",
                            "garage"
                        ],
                        "type": "string",
                        "description": "Type of property to search for.",
                        "default": "apartment"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of listings to scrape.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. Residential proxies recommended for best reliability. Datacenter proxies may work with Playwright.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
