# Otodom Scraper (`mina_safwat/otodom-scraper`) Actor

Scrapes Otodom property listings — price, price per square metre, area, rooms, location and agency — from Poland's largest property portal.

- **URL**: https://apify.com/mina\_safwat/otodom-scraper.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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

## Otodom Scraper

Collect property listings from Otodom — Poland's largest property portal —
with prices, price per square metre, floor areas, room counts and the agency
behind each listing.

Covers flats, houses, rooms, plots, commercial space and garages, for both sale
and rent.

### How to use it

1. Go to Otodom and search for what you want.
2. Narrow it down with the filters on the page — buy or rent, city, price
   range, rooms, floor area, market type, and so on.
3. Copy the address from your browser's address bar.
4. Paste it into **Otodom search links** and run the Actor.

Every filter you set is respected, because the Actor follows the link you give
it. Paste several links at once, one per line, and they all land in the same
results table.

### What you get

For every listing:

- Title and description
- Price and currency, plus the price per square metre
- Any additional monthly rent charged on top, where the seller states one
- Floor area, plot area, number of rooms and which floor it is on
- Property type and whether it is for sale or to rent
- Street, city, district and province
- Agency name and agent name, or a flag marking it a private owner
- Whether it is an exclusive or promoted listing
- Whether it is part of a new development, and that development's name
- When it was posted and last pushed up
- Photos, plus the main one

### What you can do with it

- Track price per square metre in a city or district over time
- Compare asking prices between private sellers and agencies
- Watch a neighbourhood for new listings, on a schedule
- Estimate rental yields by pairing sale and rental searches
- Build a picture of which agencies dominate a local market

### Good to know

Otodom shows about 36 listings per page. Set **Max results per search** to
control how far each link is followed.

Room counts and floors are converted to numbers, so you can sort and filter on
them directly.

Titles and descriptions come through in Polish, since that is how they were
written.

# Actor input Schema

## `search_urls` (type: `array`):

Search links, one per line. Search on Otodom with whatever filters you want — buy or rent, city, price range, number of rooms, floor area, market type — then copy the address bar. Every filter in the link is honoured.

## `max_results_per_search` (type: `integer`):

Stops after this many listings for each link. Otodom shows about 36 per page.

## `proxy_country` (type: `string`):

A 2-letter country code to browse from. Poland suits Otodom best.

## Actor input object example

```json
{
  "search_urls": [
    "https://www.otodom.pl/pl/wyniki/sprzedaz/mieszkanie/cala-polska",
    "https://www.otodom.pl/pl/wyniki/wynajem/mieszkanie/mazowieckie/warszawa"
  ],
  "max_results_per_search": 200,
  "proxy_country": "PL"
}
```

# Actor output Schema

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

No description

# 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 = {
    "search_urls": [
        "https://www.otodom.pl/pl/wyniki/sprzedaz/mieszkanie/cala-polska",
        "https://www.otodom.pl/pl/wyniki/wynajem/mieszkanie/mazowieckie/warszawa"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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 = { "search_urls": [
        "https://www.otodom.pl/pl/wyniki/sprzedaz/mieszkanie/cala-polska",
        "https://www.otodom.pl/pl/wyniki/wynajem/mieszkanie/mazowieckie/warszawa",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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 '{
  "search_urls": [
    "https://www.otodom.pl/pl/wyniki/sprzedaz/mieszkanie/cala-polska",
    "https://www.otodom.pl/pl/wyniki/wynajem/mieszkanie/mazowieckie/warszawa"
  ]
}' |
apify call mina_safwat/otodom-scraper --silent --output-dataset

```

## MCP server setup

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