Scraper APIOtodom
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.
- 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; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
locationrequired | string | 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" | Properties for sale, or to rent.Default: "sale". |
property_type | "flat" | "house" | "room" | "land" | "commercial" | "garage" | "studio" | The kind of property.Default: "flat". |
min_price | integer | The lowest price (or monthly rent), in złoty.Limit: 0 to 1000000000. |
max_price | integer | The highest price (or monthly rent), in złoty.Limit: 1 to 1000000000. |
min_area | integer | The smallest floor area, in square metres.Limit: 0 to 1000000. |
max_area | integer | The largest floor area, in square metres.Limit: 1 to 1000000. |
page | integer | 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. |
name (in details[]) | string | The detail's name in Otodom's own key, e.g. build_year, heating, building_type. |
value (in details[]) | 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
# Start a run and wait up to 60 seconds for it to finish
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"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("otodom.search", {
"location": "mazowieckie/warszawa/warszawa/warszawa",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("otodom.search", {
location: "mazowieckie/warszawa/warszawa/warszawa",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "otodom.search", map[string]any{"location": "mazowieckie/warszawa/warszawa/warszawa"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("otodom.search", Map.of("location", "mazowieckie/warszawa/warszawa/warszawa"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run otodom.search --input location=mazowieckie/warszawa/warszawa/warszawaInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"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.
{
"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.
{
"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 lists every status and the reasons every scraper shares; the reasons of the Otodom scrapers are in their own section there.