# Sreality Scraper (Czech Property) (`reventadata/sreality-scraper`) Actor

Extract property listings from Sreality.cz: flats, houses, land, commercial and other, for sale or rent, with price, price per m2, layout, city, district, region, street, coordinates, photos and agency. Optional description, building data, flags and agency and broker contact.

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

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Sreality or Seznam.cz. "Sreality" is a trademark of its
> respective owner and is used here only to describe what this tool reads. It reads the same
> public listings anyone can see on sreality.cz.

Sreality Scraper reads property listings from [Sreality.cz](https://www.sreality.cz), the Czech
real-estate portal: sale or rent, flats, houses, land, commercial and other property, with price,
location, layout, photos and the agency that published the listing. Optionally it adds the full
description, building data and the agency and broker contact for each listing.

### What data can you extract from Sreality?

Every listing Sreality returns for your search, with the fields its own search results publish:
title, price (and the CZK price), price per m², category and layout, city, city part, district,
region, street, coordinates, photo, photo count and the agency's Sreality id. With **Fetch
listing details** on, each row also carries the description, usable area, building type and
condition, ownership, energy class, balcony/terrace/loggia/cellar/garage flags, listing dates,
and the agency name, company id, website, broker name, email and phone numbers exactly as the
listing publishes them.

### Why scrape Sreality?

- **Sale and rent, five categories.** Flats, houses, land, commercial and other, all measured
  against the live site.
- **The site's own filters.** Region and a price range are applied by Sreality itself, so only
  matching listings are returned.
- **Proxy handled for you.** The Actor reads public listings without requiring a browser; the proxy is set up by default.
- **No duplicates.** Result counts move while a run is in progress; each listing id is returned once.
- **Contacts when you want them.** Agency and broker data is a switch, so a plain price-watch run stays fast.

### How to scrape Sreality

1. Pick `offerType` (sale or rent) and `category`.
2. Optionally set `regionId`, `priceFrom` and `priceTo`.
3. Switch on `fetchDetails` if you need descriptions and contacts.
4. Run it. Results land in the dataset.

#### Input

| Field | Type | Meaning |
|---|---|---|
| `offerType` | string | `sale` | `rent`. |
| `category` | string | `flats` | `houses` | `land` | `commercial` | `other`. |
| `regionId` | integer | Optional. Sreality's region (kraj) id; every result row carries its `regionId`. Ids seen in sampled listings: 1 Jihočeský, 2 Plzeňský, 4 Ústecký, 6 Královéhradecký, 8 Olomoucký, 10 Praha, 11 Středočeský, 12 Moravskoslezský, 13 Vysočina, 14 Jihomoravský. |
| `priceFrom`, `priceTo` | integer | Optional price limits, as Sreality's price filter. |
| `fetchDetails` | boolean | Off by default. One extra request per listing, so the run is slower. |
| `maxItems` | integer | Cap on rows. Default 1000. |
| `maxPages` | integer | Optional cap on pages of up to 100 listings. |
| `proxyConfiguration` | object | Proxy settings. Handled for you by default. |

```json
{
    "offerType": "sale",
    "category": "flats",
    "regionId": 10,
    "priceFrom": 3000000,
    "priceTo": 5000000,
    "maxItems": 200
}
```

#### The 10,000-row window

Sreality serves only the first 10,000 rows of any one search.
A search that matches more, such as every flat for sale in the country (24,114 on 2026-11-08),
is cut there and the run logs a warning. Split it with `regionId` and a price range to reach the rest.

### Output

One row per listing. This is a real row from a local run on 2026-11-08 (commercial property for
sale in region 14, `fetchDetails` off); the detail columns, null here, are listed in the table below.

```json
{
    "id": "2269802572",
    "url": "https://www.sreality.cz/detail/prodej/byt/2+1/x/2269802572",
    "title": "Prodej komerční nemovitosti 54 m²",
    "offerType": "Prodej",
    "category": "Komerční",
    "subcategory": "Ostatní",
    "price": 3799000.0,
    "currency": "CZK",
    "priceCzk": 3799000.0,
    "priceUnit": "za nemovitost",
    "priceCzkPerM2": 70352.0,
    "areaFromTitleM2": 54.0,
    "city": "Telnice",
    "cityPart": "Telnice",
    "district": "Brno-venkov",
    "region": "Jihomoravský kraj",
    "regionId": 14,
    "street": "Draha",
    "latitude": 49.099873853270815,
    "longitude": 16.71807816916808,
    "agencySlug": "realitni-sluzby-tomas-urbanek",
    "agencyId": 72110,
    "sellerUserId": 302428,
    "imageUrl": "https://d18-a.sdn.cz/d_18/c_img_qH_B/kb4JgeTdkCfcGaEj8fITDldh/dc84.jpeg",
    "imageCount": 11,
    "hasVideo": false,
    "hasMatterport": false,
    "isDiscounted": false,
    "detailFetched": false
}
```

With `fetchDetails` on, these columns are filled: `description`, `advertCode`, `usableAreaM2`,
`floorAreaM2`, `floorNumber`, `buildingType`, `buildingCondition`, `ownership`, `energyRating`,
`elevator`, `hasBalcony`, `hasTerrace`, `hasLoggia`, `hasCellar`, `hasGarage`, `listedSince`,
`editedAt`, `readyDate`, `priceNote`, `agencyName`, `agencyCompanyId`, `agencyWebUrl`,
`brokerName`, `brokerEmail`, `brokerPhones`.

Notes on values:

- `price` is in the listing's own currency (`currency`); `priceCzk` is the site's CZK conversion.
  Some listings are priced abroad (a flat in Italy came in EUR).
- Where the site sends a price of 0, `price` is null, never 0. 3 of 44 sampled flats had it.
- On rent searches the site's `priceUnit` was "za měsíc" (per month).
- A row has agency or broker contact fields only when the listing publishes them. In a 3-row
  detail sample of garage rentals, one listing had an agency, broker name, email and phone and
  two had none.
- `url` is a fixed-form link that sreality.cz redirects to the listing's own page (measured for a flat).
- `areaFromTitleM2` is read from the listing title; `usableAreaM2` is the site's own field.

### Limits

- Sreality's own window of 10,000 rows per search (above).
- Contact data and descriptions need one extra request per listing, so `fetchDetails` runs are slower.
- Listings change while you read them; counts reported on page 1 can drift.

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

Pay-per-event: **$0.001 per listing** saved to the dataset (**$1.00 per 1,000 listings**), plus **$0.00005** charged once when the run starts. No subscription. `fetchDetails` adds no charge. Each listing is saved once, so repeats are not charged.

# Actor input Schema

## `offerType` (type: `string`):

Listings for sale (prodej) or for rent (pronájem).

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

Flats (byty), houses (domy), land (pozemky), commercial (komerční) or other (ostatní), as Sreality groups them.

## `regionId` (type: `integer`):

Optional. Sreality's region (kraj) id. Ids seen in sampled listings: 1 Jihočeský, 2 Plzeňský, 4 Ústecký, 6 Královéhradecký, 8 Olomoucký, 10 Praha, 11 Středočeský, 12 Moravskoslezský, 13 Vysočina, 14 Jihomoravský. Every result row carries its regionId. Left out of the request when empty (whole country).

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

Optional. Lower price limit, sent to Sreality as its price filter. Left out of the request when empty.

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

Optional. Upper price limit, sent to Sreality as its price filter. Left out of the request when empty. Together with regionId it splits a search that matches more than 10,000 listings.

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

Adds one extra request per listing for the full description, usable area, building data, and the agency and broker contact as the listing publishes it (agency name, company id, broker name, email, phones). Slower: each row costs one more ~87 KB request.

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

Hard cap on rows pushed. Sreality serves at most the first 10,000 rows of any one search.

## `maxPages` (type: `integer`):

Optional cap on result pages (up to 100 listings each). Without it the run walks every page the site reports for the search, or stops at Maximum rows.

## `proxyConfiguration` (type: `object`):

Proxy settings. The default works for this site; change only if you know you need to.

## Actor input object example

```json
{
  "offerType": "sale",
  "category": "flats",
  "fetchDetails": false,
  "maxItems": 10,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CZ"
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# 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 = {
    "maxItems": 10,
    "maxPages": 1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CZ"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/sreality-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 = {
    "maxItems": 10,
    "maxPages": 1,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CZ",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/sreality-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 '{
  "maxItems": 10,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CZ"
  }
}' |
apify call reventadata/sreality-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reventadata/sreality-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/NStwiD4KsGzOvFaZT/builds/u7EYKH1X2VmeR1nMS/openapi.json
