Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APISreality

    sreality.listing

    One property listing on sreality.cz: price, layout, areas, floor, building, energy class, description, address, coordinates, photos and the agency.

    Id
    sreality.listing
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/sreality.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.

    Inputs of sreality.listing
    FieldTypeDescription
    listingrequiredstringThe listing's id (1791823948), or its address on sreality.cz (https://www.sreality.cz/detail/prodej/byt/2+kk/…/1791823948).Limit: at least 4 characters, at most 2048 characters.
    language"cs" | "en"The language of the text and the named values: Czech (default) or English, in the site's own translation.Default: "cs".

    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 sreality.listing
    FieldTypeNotes
    idintegerSreality's id of the listing: the number at the end of its address. sreality.listing takes it.
    urlstring or nullThe listing's page on sreality.cz. Null for a listing of an unusual kind whose address could not be built.
    titlestringThe listing's title as the site writes it, e.g. Prodej bytu 2+kk 42 m².
    offerstring or nullWhat is offered, in the language asked for: sale, rent or auction (Prodej, Pronájem, Dražby).
    property_typestring or nullThe kind of property, in the language asked for: apartments, houses, land, commercial or other.
    layoutstring or nullThe layout or sub-kind as the site names it: 2+kk and 3+1 for apartments, Rodinný (family house), Kanceláře (offices), ...
    pricenumber or nullThe asking price, or the rent, in currency. Null when the listing gives none (price on request).
    currencystring or nullThe currency of price as the site writes it: Kč (CZK in English), or EUR.
    price_unitstring or nullWhat the price is for, in the language asked for: the whole property (za nemovitost), a month (za měsíc), a square metre.
    price_czknumber or nullThe price in Czech crowns, whatever currency it is quoted in.
    price_czk_per_m2number or nullThe price per square metre in Czech crowns, as the site computes it.
    streetstring or nullThe street, when the listing names one.
    city_partstring or nullThe part of the town.
    citystring or nullThe town or city.
    districtstring or nullThe district (okres); in Prague, the numbered district.
    regionstring or nullThe region (kraj).
    countrystring or nullThe country.
    postal_codestring or nullThe postal code, where the site gives one.
    latitudenumber or nullThe latitude of the place the listing is pinned at, in decimal degrees. Many listings are pinned at their street, not their door.
    longitudenumber or nullThe longitude, in decimal degrees.
    fetched_atstring (date-time)When the site answered, in UTC.
    descriptionstring or nullThe listing's text, in the language asked for (the site translates it for English).
    usable_area_m2number or nullThe usable area in square metres.
    land_area_m2number or nullThe area of the plot in square metres, for a house or land.
    floorinteger or nullThe floor the unit is on, counted as the site counts it (the ground floor is 1).
    floorsinteger or nullThe number of floors of the building.
    building_typestring or nullThe construction, in the language asked for: brick, panel, mixed, ...
    conditionstring or nullThe state of the building, in the language asked for: new, very good, after reconstruction, ...
    ownershipstring or nullThe form of ownership, in the language asked for: personal, cooperative, state.
    energy_ratingstring or nullThe energy class, A to G.
    furnishedstring or nullWhether it is furnished, in the language asked for: yes, no or partly.
    elevatorboolean or nullWhether the building has a lift; null when the listing does not say.
    year_builtinteger or nullThe year the building was built, when the listing states it.
    featuresarray of stringWhat the listing ticks, from: balcony, terrace, loggia, cellar, garage, parking, swimming_pool, low_energy.
    heatingarray of stringThe kinds of heating, in the language asked for.
    price_notestring or nullThe seller's note on the price (what it includes, the commission), when there is one.
    listed_sincestring or nullThe day the listing went up, as YYYY-MM-DD.
    updatedstring or nullThe day the listing was last edited, as YYYY-MM-DD.
    imagesarray of stringEvery photo of the listing, in the site's order.
    agencystring or nullThe estate agency offering it; null for a listing by its owner.
    agency_websitestring or nullThe agency's own website, when the site links one.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/sreality.listing/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"listing":"1791823948"}}'
    
    # 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("sreality.listing", {"listing": "1791823948"})
    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("sreality.listing", { listing: "1791823948" });
    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, "sreality.listing", map[string]any{"listing": "1791823948"})
    	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("sreality.listing", Map.of("listing", "1791823948"));
            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 sreality.listing --input-json '{"listing":"1791823948"}'

    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": {
        "listing": "1791823948"
      }
    }

    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": "sreality.listing",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "listing": "1791823948"
      },
      "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": [
        {
          "id": 1791823948,
          "url": "https://www.sreality.cz/detail/prodej/byt/2+kk/praha-pitkovice-v-pitkovickach/1791823948",
          "title": "Prodej bytu 2+kk 42 m²",
          "offer": "Prodej",
          "property_type": "Byty",
          "layout": "2+kk",
          "price": 7900000,
          "currency": "Kč",
          "price_unit": "za nemovitost",
          "price_czk": 7900000,
          "price_czk_per_m2": 188095,
          "street": "V Pitkovičkách",
          "city_part": "Pitkovice",
          "city": "Praha",
          "district": "Praha 10",
          "region": "Hlavní město Praha",
          "country": "Česká republika",
          "postal_code": "10400",
          "latitude": 50.0224646601752,
          "longitude": 14.5785741675855,
          "fetched_at": "2026-11-19T18:07:41.299953Z",
          "description": "Hledáte první vlastní bydlení v Praze, nebo chytrou investici? Nabízím vám k prodeji světlý a šikovně řešený byt 2+kk o užitné ploše 42 m² v novostavbě v ulici V Pitkovičkách, Praha 10 – Pitkovice.\n\nByt se nachází v 1. patře moderního … [truncated]",
          "usable_area_m2": 42,
          "land_area_m2": null,
          "floor": 2,
          "floors": 3,
          "building_type": "Smíšená",
          "condition": "Novostavba",
          "ownership": "Osobní",
          "energy_rating": "C",
          "furnished": "Ano",
          "elevator": true,
          "year_built": 2022,
          "features": [],
          "heating": [
            "Ústřední plynové"
          ],
          "price_note": null,
          "listed_since": "2026-10-09",
          "updated": "2026-11-18",
          "images": [
            "https://d18-a.sdn.cz/d_18/c_img_qG_B/kcKfrMAkFCDh88YTYICk2Kt/5f8f.jpeg",
            "https://d18-a.sdn.cz/d_18/c_img_qG_B/nCR9NVflLBaEbFjyICk2Mr/954b.jpeg",
            "https://d18-a.sdn.cz/d_18/c_img_qG_B/nCR9NVflLnoRVQDEICk2Or/7a0c.jpeg"
          ],
          "agency": "Swiss Life Select Reality",
          "agency_website": "https://www.swisslife-reality.cz"
        }
      ],
      "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: 1,380 characters, the first 234 shown.
    • Shortened: images: 19 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 Sreality scrapers are in their own section there.