{
  "openapi": "3.0.1",
  "info": {
    "title": "Sreality Scraper · Czech Property Listings, Agencies & Brokers",
    "description": "Scrape Sreality.cz, the Czech Republic's #1 property portal. Any sale or rent search URL returns price, Kč/m², disposition, address, GPS, photos and agency; deep mode adds the seller's phone and email. Or get Czech real-estate offices and brokers with email, mobile and IČO by region or city.",
    "version": "0.0",
    "x-build-id": "7835WMWDiAZJrZEut"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~sreality-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-sreality-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~sreality-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-sreality-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~sreality-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-sreality-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Sreality search or detail URLs",
            "type": "array",
            "description": "Full Sreality.cz search (`/hledani/`, `/en/search/`) or property detail (`/detail/`) URLs. Search URLs are paginated automatically (`?strana=N`) until `Maximum items` is reached.",
            "items": {
              "type": "string"
            }
          },
          "dealType": {
            "title": "Deal type",
            "enum": [
              "sale",
              "rent",
              "auction",
              "shares"
            ],
            "type": "string",
            "description": "Transaction type: `sale` (Prodej), `rent` (Pronájem), `auction` (Dražby), or `shares` (Podíly)."
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "flat",
              "house",
              "land",
              "commercial",
              "other"
            ],
            "type": "string",
            "description": "Main property category: `flat` (Byty), `house` (Domy), `land` (Pozemky), `commercial` (Komerční), or `other` (Ostatní)."
          },
          "location": {
            "title": "Location (region, district, or city)",
            "type": "string",
            "description": "Czech region, district, or city name with or without diacritics (e.g. `Praha`, `Brno`, `Jihomoravský kraj`, `Praha 5`, `Říčany`)."
          },
          "regionIds": {
            "title": "Region / district IDs",
            "type": "array",
            "description": "Array of Sreality region IDs (1–14, e.g. `10` for Praha, `14` for Jihomoravský kraj) or district IDs (e.g. `72` for Brno, `5005` for Praha 5)."
          },
          "subtypeCodes": {
            "title": "Disposition / subtype codes",
            "type": "array",
            "description": "Dispositions or subtypes (e.g. `2+kk`, `3+1`, `rodinne-domy`, `stavebni-parcely`, `kancelare`, or numeric Sreality subtype IDs).",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (CZK)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum listing price in CZK (`cena-od`)."
          },
          "maxPrice": {
            "title": "Maximum price (CZK)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listing price in CZK (`cena-do`)."
          },
          "minArea": {
            "title": "Minimum usable area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum floor / usable area in m² (`plocha-od`)."
          },
          "maxArea": {
            "title": "Maximum usable area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum floor / usable area in m² (`plocha-do`)."
          },
          "estateAreaMin": {
            "title": "Minimum land / plot area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum plot / estate area in m² (`plocha-pozemku-od`, or `plocha-od` for land)."
          },
          "estateAreaMax": {
            "title": "Maximum land / plot area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum plot / estate area in m² (`plocha-pozemku-do`, or `plocha-do` for land)."
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "newest",
              "cheapest",
              "most-expensive"
            ],
            "type": "string",
            "description": "Sort results server-side on Sreality: `newest`, `cheapest`, or `most-expensive`."
          },
          "requireParking": {
            "title": "Require parking",
            "type": "boolean",
            "description": "Filter server-side for properties with parking (`?navic=parkovani`)."
          },
          "requireElevator": {
            "title": "Require elevator",
            "type": "boolean",
            "description": "Filter server-side for properties with an elevator (`?navic=vytah`)."
          },
          "requireBalcony": {
            "title": "Require balcony",
            "type": "boolean",
            "description": "Filter server-side for properties with a balcony (`?navic=balkon`)."
          },
          "excludeAgents": {
            "title": "Exclude real-estate agencies (private sellers only)",
            "type": "boolean",
            "description": "Skip listings published by real-estate agencies (`agencyId` / `agency` present) so only private-seller listings are returned."
          },
          "flatten": {
            "title": "Flatten nested fields for CSV-friendly output",
            "type": "boolean",
            "description": "When enabled (default), nested objects/arrays (e.g. `address`, `photos`, `params`) are flattened into CSV-friendly columns. Disable to keep the full nested JSON.",
            "default": true
          },
          "fetchDetails": {
            "title": "Fetch full property details (description, all params, seller contact, Matterport & POIs)",
            "type": "boolean",
            "description": "If enabled, opens each property's detail page to add the **full description**, **all parameters** (floor, condition, energy rating, year built…), the **seller's name, phone and email**, the **Matterport & video URLs**, the **price-drop history** and the **nearby points of interest**. Adds one extra request per property and charges an `additional-data` event each time. Leave off for the fast/cheap search-only output. On the free Apify plan the first 3 properties show the seller's email and phone in full; later ones show them partly hidden.",
            "default": false
          },
          "enrichEmails": {
            "title": "Enrich with agency contact emails (experimental, billed per email)",
            "type": "boolean",
            "description": "If enabled, tries to find a contact email for each listing agency by discovering the agency's website (Clearbit) and reading its contact/about pages. Adds contactEmail + contactWebsite columns. Best-effort, billed per email found; never charged for misses. On the free Apify plan only the first 3 properties are looked up.",
            "default": false
          },
          "compact": {
            "title": "Compact output (LLM / lightweight JSON)",
            "type": "boolean",
            "description": "Drop bulky secondary fields (`photos`, `videoUrls`, `nearbyPois`, `agencyLogo`, `geoHash`, `watchdogBadge` on listings; `logoUrl`, `photoUrl`, `openingHours` on directory rows) while preserving `photoCount`, pricing, location, and contact fields."
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit `null`, `undefined`, empty string `\"\"`, empty array `[]`, and empty object `{}` fields from output rows while strictly preserving `0` and `false`."
          },
          "descriptionMaxLength": {
            "title": "Maximum description length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate `description` to at most this many UTF-16 code units (surrogate-pair safe)."
          },
          "directoryMode": {
            "title": "Directory mode",
            "enum": [
              "off",
              "agencies",
              "brokers"
            ],
            "type": "string",
            "description": "**Off** scrapes the search URLs as usual. **Offices** returns one row per real-estate office: name, company, IČO, email, phone, website, address, GPS, listings and brokers count, rating, opening hours. **Brokers** returns one row per broker: name, email, mobile, IČO, photo, and their office's name, email, phone and website. Each row is billed as a result, plus one `additional-data` event when it carries a contact. On the free Apify plan the first 3 rows are complete; later rows show emails and phone numbers partly hidden (e.g. `j***@reality.cz`) and carry no contact fee.",
            "default": "off"
          },
          "directoryRegion": {
            "title": "Region (kraj)",
            "enum": [
              "Hlavní město Praha",
              "Středočeský kraj",
              "Jihočeský kraj",
              "Plzeňský kraj",
              "Karlovarský kraj",
              "Ústecký kraj",
              "Liberecký kraj",
              "Královéhradecký kraj",
              "Pardubický kraj",
              "Kraj Vysočina",
              "Jihomoravský kraj",
              "Olomoucký kraj",
              "Zlínský kraj",
              "Moravskoslezský kraj"
            ],
            "type": "string",
            "description": "Directory mode only: return only offices or brokers in this region."
          },
          "directoryCity": {
            "title": "City or district contains",
            "type": "string",
            "description": "Directory mode only: city, district or city part, with or without diacritics (e.g. `Brno`, `Plzen`, `Praha 5`)."
          },
          "directoryAgency": {
            "title": "Agency name contains",
            "type": "string",
            "description": "Directory mode only: return only offices, or brokers of offices, whose name contains this text (e.g. `RE/MAX`, `Century 21`)."
          },
          "directoryWithEmail": {
            "title": "Only rows with an email",
            "type": "boolean",
            "description": "Directory mode only: skip offices or brokers without an email address.",
            "default": false
          },
          "directoryWithPhone": {
            "title": "Only rows with a phone",
            "type": "boolean",
            "description": "Directory mode only: skip offices without a phone, or brokers without a mobile or phone.",
            "default": false
          },
          "directoryExcludeDevelopers": {
            "title": "Leave out developers",
            "type": "boolean",
            "description": "Directory mode, offices only: leave out companies Sreality marks as developers (about one in five offices).",
            "default": false
          },
          "maxItems": {
            "title": "Maximum items to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of properties collected. Each search page returns ~20 listings (or `perPage` when set) and paginates automatically; use this cap to control billing.",
            "default": 10000
          },
          "maxPagesPerTask": {
            "title": "Maximum pages per search URL",
            "minimum": 1,
            "type": "integer",
            "description": "Optional limit on how many pages to paginate per search URL or task."
          },
          "perPage": {
            "title": "Listings per page (API mode, 1–200)",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Optional page size (`limit`) passed to Sreality's `/api/v1/estates/search` endpoint (1–200)."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of rows processed in parallel (mainly relevant when detail-fetch or agency-email enrichment is on). 6-12 is the sweet spot.",
            "default": 8
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Number of retries before a failed request is given up.",
            "default": 5
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty — the actor already routes all traffic through its own built-in residential proxy at no extra cost to you. Only set this if you want to use your own proxies."
          },
          "urls": {
            "title": "URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for `startUrls`.",
            "items": {
              "type": "string"
            }
          },
          "startUrl": {
            "title": "Single start URL (alias for startUrls)",
            "type": "string",
            "description": "Single-URL alias for `startUrls`."
          },
          "includeDetails": {
            "title": "Include details (alias for fetchDetails)",
            "type": "boolean",
            "description": "Alias for `fetchDetails`."
          },
          "transaction": {
            "title": "Transaction (alias for dealType)",
            "type": "string",
            "description": "Alias for `dealType` (`sale`, `rent`, `auction`, `shares`)."
          },
          "category": {
            "title": "Category (alias for propertyType)",
            "type": "string",
            "description": "Alias for `propertyType` (`flat`, `house`, `land`, `commercial`, `other`)."
          },
          "region": {
            "title": "Region (alias for location)",
            "type": "string",
            "description": "Alias for `location`."
          },
          "priceMin": {
            "title": "Price min (alias for minPrice)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `minPrice`."
          },
          "priceMax": {
            "title": "Price max (alias for maxPrice)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `maxPrice`."
          },
          "usableAreaMin": {
            "title": "Usable area min (alias for minArea)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `minArea`."
          },
          "usableAreaMax": {
            "title": "Usable area max (alias for maxArea)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `maxArea`."
          },
          "sortBy": {
            "title": "Sort by (alias for sort)",
            "type": "string",
            "description": "Alias for `sort` (`newest`, `cheapest`, `most-expensive`)."
          },
          "maxListings": {
            "title": "Max listings (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "maxResults": {
            "title": "Max results (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "limit": {
            "title": "Limit (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "maxPages": {
            "title": "Max pages (alias for maxPagesPerTask)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxPagesPerTask`."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Alias for `proxy`."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}