# otodom.search

A page of the property adverts otodom.pl lists for a place in Poland, for sale or to rent: price, price per square metre, area, rooms, floor, street and district, photos and the agency.

Otodom search, one of the Otodom scrapers.

| | |
| --- | --- |
| Id | `otodom.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/otodom.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `location` | string | yes | The place, as otodom.pl's own addresses write it from the province down, e.g. `mazowieckie/warszawa/warszawa/warszawa` or `malopolskie`; or the address of a results page on otodom.pl, from which the place is taken. `cala-polska` is all of Poland. Limit: at least 1 characters, at most 600 characters. |
| `listing_type` | "sale" \| "rent" | no | Properties for sale, or to rent. Default: `"sale"`. |
| `property_type` | "flat" \| "house" \| "room" \| "land" \| "commercial" \| "garage" \| "studio" | no | The kind of property. Default: `"flat"`. |
| `min_price` | integer | no | The lowest price (or monthly rent), in złoty. Limit: 0 to 1000000000. |
| `max_price` | integer | no | The highest price (or monthly rent), in złoty. Limit: 1 to 1000000000. |
| `min_area` | integer | no | The smallest floor area, in square metres. Limit: 0 to 1000000. |
| `max_area` | integer | no | The largest floor area, in square metres. Limit: 1 to 1000000. |
| `page` | integer | no | The results page, from 1; 36 adverts a page. Limit: 1 to 100. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer or null | The advert's place on its results page, from 1. Null for `otodom.listing`. |
| `page` | integer or null | The results page the advert is on. Null for `otodom.listing`. |
| `listing_id` | string | Otodom's number of the advert. |
| `url` | string | The advert's page on otodom.pl. |
| `title` | string | The advert's title. |
| `property_type` | string or null | The kind of property in Otodom's word: `FLAT`, `HOUSE`, `ROOM`, `TERRAIN`, `COMMERCIAL_PROPERTY`, `GARAGE`, `STUDIO_FLAT`, `INVESTMENT`. |
| `transaction` | string or null | `SELL` for a property for sale, `RENT` for one to let. |
| `market` | string or null | `primary` for a new property sold by its developer, `secondary` for a resale. Null where the advert does not say. |
| `price` | number or null | The asking price, or the monthly rent of a property to let. Null when the advertiser hides it. |
| `currency` | string or null | The currency of the price, e.g. `PLN`, `EUR`. |
| `price_per_m2` | number or null | The price per square metre, in the same currency. |
| `extra_rent` | number or null | The monthly charges beside the price that the advert states (administration fees). |
| `area_m2` | number or null | The floor area in square metres. |
| `plot_area_m2` | number or null | The area of the plot in square metres, for a house. From `otodom.listing` only. |
| `rooms` | integer or null | The number of rooms. Null where the advert gives none, or says more than ten. |
| `floor` | string or null | The floor the property is on, in Otodom's word: `GROUND`, `FIRST`, `SECOND`, …, `ABOVE_TENTH`, `GARRET`, `CELLAR`. |
| `street` | string or null | The street the advert names, without a house number. |
| `district` | string or null | The district of the city. |
| `city` | string or null | The city, town or village. |
| `province` | string or null | The province (voivodeship). |
| `latitude` | number or null | The latitude of the advert's map pin, in decimal degrees. From `otodom.listing` only. |
| `longitude` | number or null | The longitude of that pin. From `otodom.listing` only. |
| `description` | string or null | The advert's text, with line breaks kept. From `otodom.listing` only. |
| `details` | array of object | What the advert states about the property and its building beside the fields above: year built, heating, material, ownership, extras (several values joined with commas). From `otodom.listing` only. |
| `details[].name` | string | The detail's name in Otodom's own key, e.g. `build_year`, `heating`, `building_type`. |
| `details[].value` | string | Its value as Otodom stores it, e.g. `2020`, `urban`, `apartment`. |
| `images` | array of string | The advert's photos, at their largest size. A search record holds the first few; `image_count` says how many the advert has. |
| `image_count` | integer or null | The number of photos the advert has. |
| `advertiser_type` | string or null | Who advertises, in Otodom's word: `business`, `agency` or `developer`, or `private` for an owner. |
| `agency_name` | string or null | The name of the agency or developer. Null for a private owner, who is not named. |
| `is_promoted` | boolean or null | True for an advert shown in a paid place on the results page. From `otodom.search` only. |
| `created_at` | string (date-time) or null | When the advert was published. |
| `modified_at` | string (date-time) or null | When the advert was last changed. From `otodom.listing` only. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/otodom.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"location":"mazowieckie/warszawa/warszawa/warszawa"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "otodom.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "location": "mazowieckie/warszawa/warszawa/warszawa"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "page": 1,
      "listing_id": "68650442",
      "url": "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c",
      "title": "Mokotów | 73 m² | Ogród + Loggia | 3–4 Pokoje | 20",
      "property_type": "FLAT",
      "transaction": "SELL",
      "market": null,
      "price": 1299000,
      "currency": "PLN",
      "price_per_m2": 17860.58,
      "extra_rent": 1000,
      "area_m2": 72.73,
      "plot_area_m2": null,
      "rooms": 3,
      "floor": "FIRST",
      "street": "Panamska",
      "district": "Mokotów",
      "city": "Warszawa",
      "province": "mazowieckie",
      "latitude": null,
      "longitude": null,
      "description": null,
      "details": [],
      "images": [
        "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InhrMWhtZmk4ZmJhODItQVBMIiwidyI6W3siZm4iOiJlbnZmcXFlMWF5NGsxLUFQTCIsInMiOiIxNiIsImEiOiIwIiwicCI6IjEwLC0xMCJ9XX0.O8paV8hwRFImSC0hbBBh8gnMih1KaD_U0bcdJ9qvujs/image;s=1280x1024;q=80",
        "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InhnYXlrY2J0MWZ2bi1BUEwiLCJ3IjpbeyJmbiI6ImVudmZxcWUxYXk0azEtQVBMIiwicyI6IjE2IiwiYSI6IjAiLCJwIjoiMTAsLTEwIn1dfQ.NyvDVnnSDlOZS_72SSr5RXHfokKpCfvrNqHvdUTY87o/image;s=1280x1024;q=80",
        "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6ImRrZ2gzZmFvbnFiYy1BUEwiLCJ3IjpbeyJmbiI6ImVudmZxcWUxYXk0azEtQVBMIiwicyI6IjE2IiwiYSI6IjAiLCJwIjoiMTAsLTEwIn1dfQ.ejG889t34nVzyl7IbnVlAVA58hrGbm1IDAxtp358Em8/image;s=1280x1024;q=80"
      ],
      "image_count": 17,
      "advertiser_type": "business",
      "agency_name": "Kusho Investment",
      "is_promoted": false,
      "created_at": "2026-11-18T21:15:03Z",
      "modified_at": null,
      "fetched_at": "2026-11-19T18:07:41.055130Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Otodom scrapers](https://docs.enrichednow.com/results-and-statuses.md#otodom) are in their own section there.
