Scraper APIOtodom
otodom.listing
One property advert on otodom.pl: price, area, rooms, floor, address and coordinates, the full description, the building's details, photos and the agency.
- Id
otodom.listing- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/otodom.listing/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 |
|---|---|---|
urlrequired | string | The address of the advert's page, e.g. https://www.otodom.pl/pl/oferta/<name>-ID<id>.Limit: at least 1 characters, at most 600 characters. |
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.listing/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c"}}'
# 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.listing", {
"url": "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c",
})
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.listing", {
url: "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c",
});
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.listing", map[string]any{"url": "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c"})
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.listing", Map.of("url", "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c"));
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.listing --input url=https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37cInstall 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": {
"url": "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c"
}
}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.listing",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"url": "https://www.otodom.pl/pl/oferta/mokotow-73-m-ogrod-loggia-3-4-pokoje-20-ID4E37c"
},
"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": null,
"page": null,
"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": "secondary",
"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": 52.18666,
"longitude": 21.04721,
"description": "Eleganckie Mieszkanie na sprzedaż Mokotów | 73 m | Ogród + loggia | 2020 r. | 34 pokoje | Wysoki standard\nNa sprzedaż nowoczesne, komfortowe mieszkanie o powierzchni blisko 73 m, położone na Mokotowie, w prestiżowym, zamkniętym osiedlu z … [truncated]",
"details": [
{
"name": "build_year",
"value": "2020"
},
{
"name": "building_floors_num",
"value": "7"
},
{
"name": "building_material",
"value": "brick"
}
],
"images": [
"https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InhrMWhtZmk4ZmJhODItQVBMIiwidyI6W3siZm4iOiJlbnZmcXFlMWF5NGsxLUFQTCIsInMiOiIxNiIsImEiOiIwIiwicCI6IjEwLC0xMCJ9XX0.O8paV8hwRFImSC0hbBBh8gnMih1KaD_U0bcdJ9qvujs/image;s=2048x1536;q=80",
"https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InhnYXlrY2J0MWZ2bi1BUEwiLCJ3IjpbeyJmbiI6ImVudmZxcWUxYXk0azEtQVBMIiwicyI6IjE2IiwiYSI6IjAiLCJwIjoiMTAsLTEwIn1dfQ.NyvDVnnSDlOZS_72SSr5RXHfokKpCfvrNqHvdUTY87o/image;s=2048x1536;q=80",
"https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6ImRrZ2gzZmFvbnFiYy1BUEwiLCJ3IjpbeyJmbiI6ImVudmZxcWUxYXk0azEtQVBMIiwicyI6IjE2IiwiYSI6IjAiLCJwIjoiMTAsLTEwIn1dfQ.ejG889t34nVzyl7IbnVlAVA58hrGbm1IDAxtp358Em8/image;s=2048x1536;q=80"
],
"image_count": 17,
"advertiser_type": "business",
"agency_name": "Kusho Investment",
"is_promoted": null,
"created_at": "2026-11-18T21:15:03Z",
"modified_at": "2026-11-18T23:02:52Z",
"fetched_at": "2026-11-19T18:07:41.048284Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
description: 6,196 characters, the first 237 shown. - Shortened:
details: 7 items, the first 3 shown. - Shortened:
images: 17 items, the first 3 shown.
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.