# Sreality.cz Real Estate Scraper (`clever_seabutterfly/sreality-cz-scraper`) Actor

Scrape Sreality.cz listings (sale or rent; flats, houses, land, commercial) with price in CZK, price per m², layout, area, address, GPS, photos and agency. Optional full detail. Export to JSON, CSV or Excel. No login, API key or proxy.

- **URL**: https://apify.com/clever_seabutterfly/sreality-cz-scraper.md
- **Developed by:** [Vojtech Sventek](https://apify.com/clever_seabutterfly) (community)
- **Categories:** Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 sreality listing scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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.cz Real Estate Scraper

**Sreality.cz Real Estate Scraper** extracts property listings from [Sreality.cz](https://www.sreality.cz), the largest Czech real-estate portal, and lets you **export Sreality listings to JSON, CSV or Excel**. Search flats (byty), houses (domy), land (pozemky) and commercial property for sale or rent, in any region, district or city, and get clean rows with **price in CZK, price per m², layout, area, address, GPS, photos and agency**. Switch on full details for the description, seller contacts and building attributes. No login, API key or proxy needed.

### What data can you get?

| Field | Example |
| --- | --- |
| Title, URL, listing ID | `Prodej bytu 3+kk 65 m²`, `135922252` |
| Offer type and category | `sale`, `flats`, sub-category `3+kk` |
| Price (CZK), price per m², price unit | `11474000`, `176523`, `za nemovitost` |
| Price on request flag | `priceOnRequest: true` (price is `null`, never `0`) |
| Layout, usable area, land area | `3+kk`, `65`, `null` |
| Address, street, city, city part, district, region | `Na Plzeňce, Praha - Smíchov`, `Praha 5` |
| GPS | `lat 50.065`, `lon 14.409` |
| Photos | HTTPS image URLs and photo count |
| Agency | name and ID (name needs details) |
| Video / Matterport 3D tour flags | `false` |
| **With details:** description | full advert text |
| **With details:** seller name, email, phones | contact data from the advert |
| **With details:** attributes | building type, condition, ownership, energy rating, floor, balcony, terrace, loggia, cellar, garage, elevator, ready date, price note |
| **With details:** created / updated date | `2025-02-25`, `2026-11-23` |

### Why this scraper

- **Works on the current Sreality API.** Sreality retired the old `api/cs/v2/estates` endpoint (it now returns 404). This Actor uses the current public JSON API at `/api/v1`, the same one the website uses.
- **No login, no API key, no proxy.** It reads only public listing data.
- **Search URL or simple filters.** Paste a Sreality search URL, or pick offer type, category, locality, price, area and layout.
- **Flat, analysis-ready output.** One row per listing, no raw API blobs, price on request handled correctly.
- **Optional paid details.** Pay for the description and contacts only when you need them.
- **Fast.** 100 listings in a few seconds without details.

### Use cases

- **Price tracking:** schedule daily runs for a district and watch CZK/m² trends.
- **Agency monitoring:** see which agencies list how much, where, at what price.
- **Investment research:** filter by price, area and layout, compare cities and city parts.
- **Czech market datasets:** build datasets for analysis, valuation models or journalism.
- **Alerts and lead lists:** run on a schedule sorted by newest and diff against yesterday's IDs.

### How to use

1. Open the Actor and either paste a **Sreality search URL** or choose **Offer type**, **Property category** and **Locality** (for example `Praha`, `Praha 6`, `Brno`, `Moravskoslezský kraj`).
2. Optionally set price, area and layout filters.
3. Set **Max listings** (`0` means no limit, up to about 10,000 per search).
4. Turn on **Fetch full details** if you need description, contacts and attributes.
5. Click **Start**. When it finishes, open the **Dataset** tab and export JSON, CSV, Excel, XML or HTML, or fetch the data through the Apify API.

### Input example

```json
{
    "categoryType": "sale",
    "categoryMain": "flats",
    "locality": "Praha",
    "priceFrom": 3000000,
    "priceTo": 6000000,
    "areaFrom": 40,
    "areaTo": 80,
    "layout": ["2+kk", "3+kk"],
    "maxListings": 100,
    "fetchDetails": false,
    "sort": "newest"
}
```

Or with a search URL:

```json
{
    "searchUrl": "https://www.sreality.cz/hledani/prodej/byty/praha?cena-od=3000000&cena-do=6000000&plocha-od=40&plocha-do=80",
    "maxListings": 50
}
```

| Field | Description |
| --- | --- |
| `searchUrl` | Sreality search URL or single listing URL (Czech or English). Type, category and locality come from the URL; price, area and layout fields override its filters. A listing URL returns that one listing with details. |
| `categoryType` | `sale` (default), `rent`, `auction`, `shares` |
| `categoryMain` | `flats` (default), `houses`, `land`, `commercial`, `other` |
| `locality` | Region, district, city or municipality name, or a numeric region/district ID. Empty = all of Czechia. `Praha` searches the whole Prague region, `Praha 6` that district |
| `priceFrom` / `priceTo` | Price range in CZK (monthly rent for rentals) |
| `areaFrom` / `areaTo` | Usable area in m² (plot area for land) |
| `layout` | Flats only, e.g. `["2+kk","3+1"]`, combined with OR |
| `maxListings` | Limit, `0` = no limit (default 100) |
| `fetchDetails` | Add description, contacts, attributes and dates (default `false`) |
| `sort` | `newest` (default), `cheapest`, `expensive` |

### Output example

```json
{
    "type": "listing",
    "id": "135922252",
    "url": "https://www.sreality.cz/detail/prodej/byt/3+kk/praha-smichov/135922252",
    "title": "Prodej bytu 3+kk 65 m²",
    "categoryType": "sale",
    "categoryTypeName": "Prodej",
    "categoryMain": "flats",
    "categoryMainName": "Byty",
    "categorySubName": "3+kk",
    "layout": "3+kk",
    "priceCzk": 11474000,
    "priceOnRequest": false,
    "pricePerM2": 176523,
    "priceUnit": "za nemovitost",
    "currency": "CZK",
    "area": 65,
    "areaLand": null,
    "address": "Na Plzeňce, Praha - Smíchov",
    "street": "Na Plzeňce",
    "city": "Praha",
    "cityPart": "Smíchov",
    "district": "Praha 5",
    "region": "Hlavní město Praha",
    "country": "Česká republika",
    "lat": 50.0650113,
    "lon": 14.4094866,
    "sellerName": "EKOSPOL Recepce",
    "sellerEmail": "poptavky@ekospol.cz",
    "sellerPhones": ["+420233372021"],
    "agencyName": "Ekospol a.s.",
    "agencyId": 1181,
    "images": ["https://d18-a.sdn.cz/d_18/c_img_qH_C/kb4JgeTdkBcInfIRbWIaX6tJ/e796.jpeg"],
    "imageCount": 4,
    "description": "Ekorezidence Smíchov | Exkluzivní bydlení v srdci Prahy ...",
    "attributes": {
        "buildingType": "Cihlová",
        "buildingCondition": "Ve výstavbě",
        "ownership": "Osobní",
        "energyRating": "C - Úsporná",
        "floor": 2,
        "floors": 9,
        "balcony": true,
        "balconyArea": 9,
        "elevator": "Ano",
        "priceNote": "včetně DPH"
    },
    "createdAt": "2025-02-25",
    "updatedAt": "2026-11-23",
    "hasVideo": false,
    "hasMatterport": false,
    "scrapedAt": "2026-11-23T13:39:09.364Z",
    "detailFetched": true
}
```

Without `fetchDetails`, `description`, seller fields, `createdAt`, `updatedAt` and `agencyName` are empty (`null` / `[]`), `attributes` is `{}` and `detailFetched` is `false`. All other fields are filled from the search results.

### How much does it cost to scrape Sreality?

Pay only for results, no subscription and no rental:

| Event | Price |
| --- | --- |
| Listing saved | $0.001 |
| Listing detail (optional) | $0.002 |
| Dataset item (Apify platform) | $0.00001 |
| Run start (Apify platform) | $0.00005 |

| Example | Approx. cost |
| --- | --- |
| 100 listings | ~$0.10 |
| 1,000 listings | ~$1.01 |
| 1,000 listings with details | ~$3.02 |

If a detail request fails, the search-level row is still saved and only the listing event is charged. Set a maximum total charge on the run and the Actor stops cleanly when it is reached.

### Tips

- Keep **Fetch full details** off for price and market analysis. It is only needed for the description, contacts and attributes.
- Sreality exposes at most **~10,000 results per search**. For bigger areas, split by district, price range or layout.
- **Price on request** listings have `priceCzk: null` and `priceOnRequest: true`. They are never stored as `0`.
- To catch new listings, schedule the Actor with `sort: newest` and a small **Max listings**, then compare IDs with the previous run.
- The search endpoint does not name the agency. Turn on details to get `agencyName` and seller contacts.
- Dates are `YYYY-MM-DD`. `updatedAt` is the last edit, and newest-first ordering follows it.

### How it compares

- **Price:** $1.00 per 1,000 listings is in line with or below other Sreality scrapers on the Store ($1–$1.32 per 1,000), and details are optional instead of always bundled.
- **Reliability:** it uses the current `/api/v1` API. Scrapers that still call the old `/api/cs/v2/estates` endpoint get HTTP 404 and return nothing.
- **Scope:** every category, sale and rent, search URL input, locality by name, layout filter.

### FAQ

**Is scraping Sreality.cz legal?** The Actor reads publicly visible listings and does not log in or bypass protection. It is unofficial and not affiliated with or endorsed by Sreality or Seznam.cz. You are responsible for complying with Sreality's terms of use and with the law. With **Fetch full details**, seller emails and phone numbers are personal data under GDPR, so only collect and use them where you have a lawful basis.

**Do I need an API key, login or proxy?** No.

**Can I schedule it?** Yes, use Apify Schedules or the API. Combine with `sort: newest` for new-listing monitoring.

**Can I call it from the API, an AI agent or MCP?** Yes. Run it through the Apify API and clients, or through the Apify MCP server, with the input above.

**What happens with an invalid locality?** An unknown locality stops the run with a message and suggestions, so you never get an accidental nationwide search. Unknown layouts are skipped with a warning. If a single listing's details cannot be loaded, it is saved without details and a warning is logged.

**Which locality values work?** `Praha` (whole region), `Praha 1`–`Praha 10`, `Praha-západ`, region names, district names (`Okres Karviná`), cities and municipalities (`Brno`, `Jablunkov`), city parts, or numeric region/district IDs.

### Support

Found a bug or need a field added? Open an **Issue** on the Actor page and it will be answered quickly.

# Actor input Schema

## `searchUrl` (type: `string`):

Optional. A Sreality search URL (e.g. `https://www.sreality.cz/hledani/prodej/byty/praha?cena-od=3000000&cena-do=6000000`) or a single listing URL (`https://www.sreality.cz/detail/...`), Czech or English. When set, the type, category and locality come from the URL (the three fields below are ignored); price, area and layout fields further down override the URL's filters. A listing URL scrapes that one listing with full details.

## `categoryType` (type: `string`):

Sale, rent, auction or shares.

## `categoryMain` (type: `string`):

Flats, houses, land, commercial or other.

## `locality` (type: `string`):

Region, district, city or municipality, e.g. `Praha`, `Praha 6`, `Brno`, `Jablunkov`, `Moravskoslezský kraj`. A numeric region or district id also works. Leave empty to search all of Czechia. An unknown name stops the run with a clear message instead of silently searching everywhere.

## `priceFrom` (type: `integer`):

Minimum price in CZK (monthly rent for rentals).

## `priceTo` (type: `integer`):

Maximum price in CZK (monthly rent for rentals).

## `areaFrom` (type: `integer`):

Minimum usable area in m² (plot area for land).

## `areaTo` (type: `integer`):

Maximum usable area in m² (plot area for land).

## `layout` (type: `array`):

Flat layouts, e.g. `2+kk`, `3+1`, `4+kk`, `6 a více`, `Atypický`. Several values are combined with OR. Ignored for other categories.

## `maxListings` (type: `integer`):

Maximum number of listings to save. Set to `0` for no limit (Sreality shows at most ~10,000 results per search).

## `fetchDetails` (type: `boolean`):

Call the detail endpoint for every listing to add description, seller name/email/phones, agency name, attributes (condition, ownership, energy rating, floor, balcony...), usable area and created/updated dates. Billed as an extra `listing-detail` event and slower (about 0.2 s per listing). Seller contacts are personal data.

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

Newest first is best for monitoring new listings.

## Actor input object example

```json
{
  "categoryType": "sale",
  "categoryMain": "flats",
  "locality": "Praha",
  "maxListings": 20,
  "fetchDetails": false,
  "sort": "newest"
}
```

# Actor output Schema

## `overview` (type: `string`):

Table of scraped listings with the key columns: title, price, price per m², layout, area, city, district and link.

## `allItems` (type: `string`):

Every dataset item with all fields, including photos, GPS, agency and (with Fetch details) description, seller contacts and attributes.

# 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 = {
    "categoryType": "sale",
    "categoryMain": "flats",
    "locality": "Praha",
    "maxListings": 20,
    "fetchDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("clever_seabutterfly/sreality-cz-scraper").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 = {
    "categoryType": "sale",
    "categoryMain": "flats",
    "locality": "Praha",
    "maxListings": 20,
    "fetchDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("clever_seabutterfly/sreality-cz-scraper").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 '{
  "categoryType": "sale",
  "categoryMain": "flats",
  "locality": "Praha",
  "maxListings": 20,
  "fetchDetails": false
}' |
apify call clever_seabutterfly/sreality-cz-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clever_seabutterfly/sreality-cz-scraper"
        }
    }
}
```

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/Y5fITgy0tzQPpxKpb/builds/vNtaeMpzKYm0KVMF3/openapi.json
