Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of otodom.search
    FieldTypeDescription
    locationrequiredstringThe 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_priceintegerThe lowest price (or monthly rent), in złoty.Limit: 0 to 1000000000.
    max_priceintegerThe highest price (or monthly rent), in złoty.Limit: 1 to 1000000000.
    min_areaintegerThe smallest floor area, in square metres.Limit: 0 to 1000000.
    max_areaintegerThe largest floor area, in square metres.Limit: 1 to 1000000.
    pageintegerThe 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.

    Record fields of otodom.search
    FieldTypeNotes
    positioninteger or nullThe advert's place on its results page, from 1. Null for otodom.listing.
    pageinteger or nullThe results page the advert is on. Null for otodom.listing.
    listing_idstringOtodom's number of the advert.
    urlstringThe advert's page on otodom.pl.
    titlestringThe advert's title.
    property_typestring or nullThe kind of property in Otodom's word: FLAT, HOUSE, ROOM, TERRAIN, COMMERCIAL_PROPERTY, GARAGE, STUDIO_FLAT, INVESTMENT.
    transactionstring or nullSELL for a property for sale, RENT for one to let.
    marketstring or nullprimary for a new property sold by its developer, secondary for a resale. Null where the advert does not say.
    pricenumber or nullThe asking price, or the monthly rent of a property to let. Null when the advertiser hides it.
    currencystring or nullThe currency of the price, e.g. PLN, EUR.
    price_per_m2number or nullThe price per square metre, in the same currency.
    extra_rentnumber or nullThe monthly charges beside the price that the advert states (administration fees).
    area_m2number or nullThe floor area in square metres.
    plot_area_m2number or nullThe area of the plot in square metres, for a house. From otodom.listing only.
    roomsinteger or nullThe number of rooms. Null where the advert gives none, or says more than ten.
    floorstring or nullThe floor the property is on, in Otodom's word: GROUND, FIRST, SECOND, …, ABOVE_TENTH, GARRET, CELLAR.
    streetstring or nullThe street the advert names, without a house number.
    districtstring or nullThe district of the city.
    citystring or nullThe city, town or village.
    provincestring or nullThe province (voivodeship).
    latitudenumber or nullThe latitude of the advert's map pin, in decimal degrees. From otodom.listing only.
    longitudenumber or nullThe longitude of that pin. From otodom.listing only.
    descriptionstring or nullThe advert's text, with line breaks kept. From otodom.listing only.
    detailsarray of objectWhat 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[])stringThe detail's name in Otodom's own key, e.g. build_year, heating, building_type.
    value (in details[])stringIts value as Otodom stores it, e.g. 2020, urban, apartment.
    imagesarray of stringThe advert's photos, at their largest size. A search record holds the first few; image_count says how many the advert has.
    image_countinteger or nullThe number of photos the advert has.
    advertiser_typestring or nullWho advertises, in Otodom's word: business, agency or developer, or private for an owner.
    agency_namestring or nullThe name of the agency or developer. Null for a private owner, who is not named.
    is_promotedboolean or nullTrue for an advert shown in a paid place on the results page. From otodom.search only.
    created_atstring (date-time) or nullWhen the advert was published.
    modified_atstring (date-time) or nullWhen the advert was last changed. From otodom.listing only.
    fetched_atstring (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/warszawa

    Install 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:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Otodom scrapers are in their own section there.