# Sreality Czech Property Search & Listing Extractor (`xyrelith-data/sreality-czech-property-search-and-listing`) Actor

Search Sreality.cz, the Czech Republic largest property portal, by deal type, location, price and area across flats, houses, land, commercial space and auctions, or pull full listing details and seller contact by URL.

- **URL**: https://apify.com/xyrelith-data/sreality-czech-property-search-and-listing.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Sreality Czech Property Search & Listing Extractor

Sreality.cz is the largest real-estate portal in the Czech Republic, listing flats, houses, land, commercial space and auctions nationwide. This actor searches that catalog by deal type, location, price, area and layout, or scrapes search URLs, listing URLs and listing IDs you already have — with optional full detail enrichment.

### What this actor does

- **Two modes**: `search` runs a filtered search across sreality.cz; `byUrls` accepts Czech or English search URLs, listing-detail URLs, and bare numeric listing IDs in one list.
- **Nationwide or local**: search a city, district, region, or the whole country. Invalid place names are reported instead of silently returning nationwide results.
- **Server-side filters**: deal type, category, room layout, price, usable area, building condition, ownership, amenities and sort order are applied by sreality.cz before records reach your dataset.
- **Full detail enrichment**: turn on `includeDetails` to add the description, seller contact, building specs and energy data to every search result, or use `byUrls` to fetch selected listings.
- **No null clutter**: fields sreality.cz doesn't publish for a listing are left out entirely, never returned as `null` or an empty string.

### Output per listing

**Available in both modes:**

- `estateId` — sreality.cz's listing ID (the number at the end of a listing URL)
- `title`, `dealType` (`sale`/`rent`/`auction`/`shares`), `category`, `subCategory` (e.g. `2+1`; English pages localize it as `2+kt`)
- `price`, `pricePerSqm`, `priceCurrency` (`CZK`), `priceNote`
- `usableAreaSqm`
- `city`, `cityPart`, `district`, `region`, `street`, `houseNumber`, `zip`, `country`
- `latitude`, `longitude`
- `imageUrls`
- `agencyName`
- `sourceUrl` — direct link to the listing on sreality.cz

**Also returned from search results:**

- `hasVideo`, `hasMatterport`
- `agencyLogoUrl`

**Added by `includeDetails`, and for listing-detail URLs or IDs passed to `byUrls`:**

- `description`, `note`, `priceNoteDetail`, `previousPrice`, `isPriceNegotiable`
- `sellerName`, `sellerEmail`, `sellerPhone`, `sellerPhones`, `sellerRating`, `sellerReviewCount`
- `agencyLogoUrl`, `agencyWebUrl`, `agencyIco`, `agencyReviewScore`, `agencyReviewCount`
- `floorNumber`, `totalFloors`, `buildingType`, `buildingCondition`, `ownership`, `energyPerformanceCertificate`, `energyEfficiencyRating`, `energyPerformanceSummary`, `furnishing`
- `buildingAreaSqm`, `floorAreaSqm`, `estateAreaSqm`, `objectType`, `roomCount`, `flatClass`
- `objectAgeYears`, `yearBuilt`, `acceptanceYear`, `reconstructionYear`, `readyDate`
- `hasBalcony`/`balconyAreaSqm`, `hasCellar`/`cellarAreaSqm`, `hasGarage`, `garageCount`, `hasTerrace`/`terraceAreaSqm`, `hasLoggia`/`loggiaAreaSqm`, `gardenAreaSqm`, `hasParking`, `parkingSpaces`, `isLowEnergy`, `hasElevator`, `isBarrierFree`
- `objectLocation`, `surroundings`, `listingStatus`, `projectName`
- `hasVideo`, `hasMatterport`, `hasPanorama`, `isExclusiveListing`
- `listedSince`, `lastEdited`

**Every record also carries:**

- `recordType` — always `estate`
- `scrapedAt` — UTC timestamp of when the record was collected

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` to filter listings, or `byUrls` to scrape search URLs, listing URLs and IDs. |
| `dealType` | string | `sale` | (mode=search) `sale`, `rent`, `auction`, or `shares` (fractional/co-ownership sale). |
| `category` | string | `flat` | (mode=search) `flat`, `house`, `land`, `commercial`, or `other`. |
| `locationQuery` | string | – | Free-text Czech place name — city, district or region, e.g. `Praha`, `Brno`, `Praha 9`. |
| `region` | string | – | One of the 14 Czech regions (kraje); used when `locationQuery` is empty. |
| `roomCount` | string | – | (category=flat) Exact room layout, e.g. `2+kk`, `3+1`, `6 and more`, `Atypical`. |
| `priceMin` | integer | – | Minimum total price in CZK. |
| `priceMax` | integer | – | Maximum total price in CZK. |
| `areaMin` | integer | – | Minimum usable area in m². |
| `areaMax` | integer | – | Maximum usable area in m². |
| `keyword` | string | – | Only keep listings whose title/city/district contains this text. |
| `buildingCondition` | string | – | Restrict to one building condition, e.g. `newBuild`, `good`, `underReconstruction`. |
| `ownership` | string | – | `private`, `cooperative`, or `municipal`. |
| `amenities` | array | `[]` | One or more amenities — elevator, balcony, terrace, loggia, cellar, garage, parking, barrier-free, garden. |
| `maxItems` | integer | `30` | Maximum number of listings to return (1–2000). |
| `sort` | string | `newest` | (mode=search) `newest`, `priceAsc`, or `priceDesc`. |
| `includeDetails` | boolean | `false` | Add full detail fields to every search result. One extra request per listing. |
| `urls` | array | – | (mode=byUrls) Czech/English search URLs, listing-detail URLs, or numeric listing IDs. Search URLs are paginated automatically. |

#### Example: flats for sale in Prague under 10M CZK

```json
{
  "mode": "search",
  "dealType": "sale",
  "category": "flat",
  "locationQuery": "Praha",
  "priceMax": 10000000,
  "maxItems": 30
}
```

#### Example: houses for rent in a region, cheapest first, with details

```json
{
  "mode": "search",
  "dealType": "rent",
  "category": "house",
  "region": "jihomoravsky",
  "amenities": ["garage", "garden"],
  "areaMin": 100,
  "sort": "priceAsc",
  "includeDetails": true,
  "maxItems": 10
}
```

#### Example: paste a search URL

```json
{
  "mode": "byUrls",
  "urls": ["https://www.sreality.cz/hledani/prodej/byty/praha?velikost=2%2Bkk"],
  "maxItems": 40
}
```

#### Example: mix listing URLs and IDs

```json
{
  "mode": "byUrls",
  "urls": [
    "https://www.sreality.cz/detail/prodej/byt/2+1/praha-prosek-veltruska/1791086668",
    "210571340"
  ]
}
```

### Use cases

- **Market research** — track asking prices and price-per-square-meter across cities or regions over time.
- **Investment screening** — filter by price, area, layout and building condition to shortlist undervalued properties.
- **Lead generation** — collect agency and seller contact details for outreach.
- **Portfolio monitoring** — re-fetch known listing URLs or IDs on a schedule to detect price changes or delisting.
- **Relocation planning** — compare rent prices and amenities across districts before moving.

### Backward compatibility

Saved tasks that use the old `detailUrls` field, `startUrls`, `estateIds`, `transactionType`, `propertyType`, `rooms`, `limit`, `fetchDetails`, or other common aliases keep working: those keys are mapped onto the current fields inside the actor and are intentionally hidden from the input form. New tasks should use the fields listed above.

### FAQ

#### Does this need a sreality.cz account or API key?

No. It reads sreality.cz's public listing pages and JSON endpoints and requires no login or key.

#### Is this affiliated with sreality.cz?

No. This is an independent, third-party actor that reads publicly available sreality.cz listing pages; it isn't operated by or affiliated with Sreality.cz or Seznam.cz.

#### Can I search outside the Czech Republic?

No. Sreality.cz only lists properties within the Czech Republic, so results are limited to that market.

#### What's the difference between `locationQuery` and `region`?

`locationQuery` is a free-text place name (city, district, or region name) and takes priority. `region` is a fixed dropdown of the 14 Czech administrative regions and is only applied when `locationQuery` is left empty.

#### Why did a location return 0 records?

If sreality.cz can't resolve the place name, the actor stops with a clear status message instead of returning nationwide listings. Try the Czech name of the city, district, or region.

#### Why are `sellerEmail` or `sellerPhone` sometimes missing?

Some listings are posted without public contact details, or the agency only accepts contact through a form. The actor never fabricates data — a missing field means sreality.cz simply didn't publish it for that listing.

#### Why is `zip` sometimes missing from search-mode rows?

Sreality.cz's search payload does not always include the postal code, even though the detail page does. Use `includeDetails=true` or `mode=byUrls` when you need the most complete address data.

#### Why don't search-mode results include the full description or seller contact?

Sreality.cz's search results only carry summary data. Set `includeDetails=true`, or use `mode=byUrls` with the listing URLs/IDs you want full detail for.

#### Why can a result lack the amenity I selected?

Amenity filtering uses sreality.cz's own search filter, which is broader than the per-listing detail flags — for example, a shared loggia can satisfy the portal's `balcony` filter. Set `includeDetails=true` to see the listing's actual `hasBalcony`, `hasElevator`, `hasTerrace` and related flags.

#### Why do English search URLs return `2+kt` instead of `2+kk`?

Sreality.cz localizes layout labels on its English pages. The listing ID, price, area and other numeric fields are identical; use Czech search URLs if you need Czech layout labels.

#### How many listings can I get per run?

Up to `maxItems` (default 30, maximum 2000). Sreality.cz paginates results at roughly 22 listings per page, so larger values take proportionally longer. `includeDetails` adds one request per listing.

#### Does `roomCount` work for houses and land too?

No. Room layout (e.g. `2+kk`) is a flat-specific attribute on sreality.cz, so `roomCount` is only meaningful when `category` is `flat`.

#### Why is there no `videoUrls` field?

Sreality.cz serves video files from a signed, hotlink-protected CDN that rejects direct requests, so the actor reports `hasVideo` instead of returning URLs that would not open.

# Actor input Schema

## `mode` (type: `string`):

Search listings by filters, or scrape search URLs, detail URLs, and listing IDs you already have.

## `dealType` (type: `string`):

Sale, rent, auction, or fractional-ownership-share listings.

## `category` (type: `string`):

Type of property to search.

## `locationQuery` (type: `string`):

Free-text Czech place name to narrow results, e.g. `Praha`, `Brno`, `Praha 9`, `Jihomoravský kraj`. Takes priority over `region` if both are set. Leave empty (and `region` unset) to search nationwide.

## `region` (type: `string`):

Restrict results to one of the 14 Czech administrative regions. Ignored if `locationQuery` is set. Leave both empty to search nationwide.

## `roomCount` (type: `string`):

Only keep flat listings with this exact room layout, e.g. `2+kk`. Only applies to `category=flat`; ignored for other categories.

## `priceMin` (type: `integer`):

Minimum total price in Czech korunas.

## `priceMax` (type: `integer`):

Maximum total price in Czech korunas.

## `areaMin` (type: `integer`):

Minimum usable floor area in square meters.

## `areaMax` (type: `integer`):

Maximum usable floor area in square meters.

## `keyword` (type: `string`):

Only keep listings whose title/city/district contains this text (case-insensitive).

## `buildingCondition` (type: `string`):

Restrict results to a single building condition, applied server-side by sreality.cz.

## `ownership` (type: `string`):

Restrict results to a single ownership type, applied server-side by sreality.cz.

## `amenities` (type: `array`):

Apply sreality.cz's own amenity filter server-side. Use `includeDetails` to inspect the listing's individual amenity flags; the portal's filter classification can be broader (e.g. a shared loggia can satisfy `balcony`). Verified against sreality's `category=flat` filter chips; may not affect other categories.

## `maxItems` (type: `integer`):

Maximum number of listings to scrape. With `includeDetails` enabled, one extra detail request is made per listing.

## `sort` (type: `string`):

Order of search-mode results. Applied server-side by sreality.cz; a pasted search URL keeps its own sort in `byUrls` mode.

## `includeDetails` (type: `boolean`):

Fetch each listing's detail page to add description, seller contact, building specs, energy rating and more. Costs one extra request per listing, so keep `maxItems` small when enabled.

## `urls` (type: `array`):

Paste any mix of sreality.cz search URLs (Czech `/hledani/...` or English `/en/search/...`), listing-detail URLs, or bare numeric listing IDs. Each search URL is paginated automatically.

## Actor input object example

```json
{
  "mode": "search",
  "dealType": "sale",
  "category": "flat",
  "locationQuery": "Praha",
  "amenities": [],
  "maxItems": 30,
  "sort": "newest",
  "includeDetails": false,
  "urls": []
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped sreality.cz listings.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "dealType": "sale",
    "category": "flat",
    "locationQuery": "Praha",
    "maxItems": 30,
    "sort": "newest",
    "includeDetails": false,
    "urls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/sreality-czech-property-search-and-listing").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "dealType": "sale",
    "category": "flat",
    "locationQuery": "Praha",
    "maxItems": 30,
    "sort": "newest",
    "includeDetails": False,
    "urls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/sreality-czech-property-search-and-listing").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "dealType": "sale",
  "category": "flat",
  "locationQuery": "Praha",
  "maxItems": 30,
  "sort": "newest",
  "includeDetails": false,
  "urls": []
}' |
apify call xyrelith-data/sreality-czech-property-search-and-listing --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/sreality-czech-property-search-and-listing"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oXrzAb2gpdZ8Fk0BG/builds/V2norYxFwx92OWrkG/openapi.json
