# Sbazar Scraper — sbazar.cz classifieds, every category (`richardsolar/sbazar-scraper`) Actor

Scrape sbazar.cz, the Czech classifieds site run by Seznam. Keyword, any of 451 categories, town or region with radius, price range, buyer protection and sort order, filtered by the site. Prices in CZK, places, dealers, seller profiles, every photo and an incremental mode for new adverts.

- **URL**: https://apify.com/richardsolar/sbazar-scraper.md
- **Developed by:** [Richard Solar](https://apify.com/richardsolar) (community)
- **Categories:** E-commerce, Lead generation, Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 advert (basic)s

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

Sbazar Scraper extracts classified adverts from **sbazar.cz**, the Czech classifieds site run by Seznam — close to two million live adverts across cars, real estate, electronics, furniture, clothes, music gear, animals and everything else.

Search the way the site itself does. Keyword, category, town or region with a radius, price range, buyer protection and sort order all go to the server, so you fetch what you asked for rather than filtering a firehose afterwards.

No account, no cookies, no setup.

### Why this one

- **The whole site in one Actor.** All 451 categories, not one Actor per section. Pick any number of categories and keywords in one run.
- **The site's own filters.** Town or region with a radius, price range, "Dohodou" prices hidden or kept, buyer-protection adverts only, four sort orders — all applied by the site, not afterwards.
- **Dealers and private sellers told apart.** Dealer adverts carry the dealer's name and Firmy.cz profile; private ones carry the seller's shop, join date and verification.
- **Monitoring built in.** A scheduled run returns only adverts posted since the last one.
- **The run tells you when it breaks.** Every field has an expected fill rate. If the site changes, the run says which fields stopped filling instead of quietly returning empty columns.

### How much does it cost?

You pay per advert returned. Proxy traffic and compute are included.

| Mode                   | Price            | What you get                                                                                           |
| ---------------------- | ---------------- | ------------------------------------------------------------------------------------------------------ |
| `scrapeDetails: false` | **$1 per 1,000** | Title, price, town, district, region, category, dates, first photo, promoted / reserved / dealer flags |
| `scrapeDetails: true`  | **$2 per 1,000** | Everything — full description, every photo, original price, expiry, status, seller profile             |

List-only mode reads 100 adverts per request; details mode opens every advert as well. Use list-only mode when title, price, place and the first photo are enough.

`maxItems` is enforced as adverts are collected, not trimmed afterwards, so the Actor never returns — or bills — more than you asked for.

### Input examples

**Guitars around Brno, newest first**

```json
{
  "keywords": ["kytara"],
  "categories": ["803"],
  "location": "Brno",
  "distanceKm": 30,
  "maxItems": 200
}
```

**Everything in a category, list-only, cheapest first**

```json
{
  "categories": ["1"],
  "sortBy": "cheapest",
  "scrapeDetails": false,
  "maxItems": 5000
}
```

**Specific adverts and a search copied from the site**

```json
{
  "startUrls": [
    {
      "url": "https://www.sbazar.cz/inzerat/235626234-kytara-fender-ultra-amerika"
    },
    { "url": "https://www.sbazar.cz/hledej/kytara/803-hudebni-nastroje" }
  ]
}
```

### Monitoring: only what is new

Turn on **Only listings not seen in an earlier run** and schedule the Actor. Each run remembers the adverts it returned, in a key-value store named after the Actor, and skips them next time. Skipped adverts are not opened and not charged, and a newest-first search stops paging as soon as it reaches adverts it has already delivered.

Two schedules watching different searches should use two different store names, or each will hide the other's adverts.

### Output example

```json
{
  "listingId": "235161480",
  "url": "https://www.sbazar.cz/inzerat/235161480-pouzdro-na-baskytaru-fender",
  "title": "Pouzdro na baskytaru. Fender.",
  "description": "Prodám zánovní pouzdro Fender na baskytaru -viz:foto.",
  "categoryId": 803,
  "categoryName": "Hudební nástroje",
  "categoryPath": "Hudba, knihy, hry a zábava › Hudební nástroje a příslušenství › Hudební nástroje",
  "price": 800,
  "priceType": "fixed",
  "priceOriginal": null,
  "currency": "CZK",
  "city": "Brno",
  "district": "Brno-město",
  "region": "Jihomoravský kraj",
  "localityCode": "municipality,5740",
  "otherLocalitiesCount": 0,
  "isPromoted": false,
  "isReserved": false,
  "hasBuyerProtection": false,
  "isCompany": false,
  "status": "active",
  "sellerId": "22948347",
  "sellerName": "reizner",
  "sellerUrl": "https://www.sbazar.cz/bazar/reizner",
  "sellerMemberSince": "2016-08-15",
  "sellerVerified": false,
  "premiseId": null,
  "premiseName": null,
  "premiseUrl": null,
  "createdAt": "2026-10-23T14:35:07",
  "editedAt": "2026-10-26T10:05:03",
  "refreshedAt": "2026-10-23T14:40:29",
  "validTo": "2026-12-25T10:05:03",
  "mainImage": "https://d46-a.sdn.cz/d_46/c_img_qG_C/nCXhmtHPUBiA4qOLLIKD9nP/2ac6.jpeg?fl=exf|res,1024,768,1|wrm,/watermark/sbazar.png,10,10|webp,75",
  "images": [
    "https://d46-a.sdn.cz/d_46/c_img_qG_C/nCXhmtHPUBiA4qOLLIKD9nP/2ac6.jpeg?fl=exf|res,1024,768,1|wrm,/watermark/sbazar.png,10,10|webp,75"
  ],
  "videoCount": 0
}
```

You can download the dataset as JSON, CSV, Excel or HTML, or read it through the Apify API.

### What can you use it for?

- **Price research** — what used items, cars or flats really sell for, by region.
- **Deal alerts** — a scheduled, monitored search delivers new adverts to email, Slack or a spreadsheet.
- **Dealer and market analysis** — who sells what, and how much of a category comes from dealers.

### Tips

#### Location

Type a town or a region — `Brno`, `Plzeň`, `Jihomoravský kraj`. The run log says which place it matched. When a name is ambiguous, use the code the dataset returns in `localityCode`, such as `municipality,5740`. A radius works around a town.

#### Categories

Pick categories from the list. A category includes everything below it. To start from a category page you have open on sbazar.cz, paste its URL into **Start URLs**.

#### 10,000 adverts per search

Sbazar serves at most 10,000 results for any one search. A larger search ends there and the run log says so. Split it by category, region or price range to reach the rest.

#### Proxy

Keep the default Apify Proxy. Sbazar answers datacenter addresses, so no residential proxy is needed.

### FAQ

#### Can I get the seller's phone number?

No. Sbazar hides the number until a visitor clicks to reveal it, and this Actor does not make that request. You get the seller's shop name, profile URL, join date and verification, or the dealer's name and Firmy.cz profile.

#### Why is `price` sometimes null?

Because the advert says "Dohodou" (price by agreement) or gives the item away for free. `priceType` says which.

#### Why does `images` hold only one photo?

In list-only mode the results carry the first photo only. Turn on **Open each listing** to get every photo.

#### Is scraping this legal?

Scraping publicly available data is generally legal, but this Actor collects personal data such as seller names. You are responsible for having a lawful basis to process it under GDPR, and for complying with the site's terms. Sbazar's robots.txt asks robots other than search engines not to crawl the site. If you are unsure, take legal advice.

#### Something looks wrong

Report it on the **Issues** tab. The repository checks the live site daily, so changes are usually caught before users notice.

# Actor input Schema

## `keywords` (type: `array`):

Search terms. Each one runs as its own search and they share the listing cap. Leave empty to browse a category, or everything.

## `categories` (type: `array`):

What to search, listed as `Category › Subcategory`. A category includes everything below it. Each choice runs as its own search and they share the listing cap. Leave empty to search everything. To start from a category page on sbazar.cz, paste its URL into Start URLs instead.

## `location` (type: `string`):

A Czech town or region, such as `Brno` or `Jihomoravský kraj`. The run log says which place it matched. For an exact place, use the site's own code — `municipality,5740` is Brno, `region,14` the South Moravian Region. Leave empty for the whole country.

## `distanceKm` (type: `integer`):

Distance around a town. Only used together with a location. 0 searches the place alone.

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

Applied by the site, as its own price filter does.

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

Applied by the site. Sbazar ignores a maximum of 0, so the lowest is 1. A maximum below the minimum fails the run rather than returning an empty dataset.

## `excludeNegotiable` (type: `boolean`):

Drop adverts whose price is by agreement, through the site's own filter.

## `buyerProtectionOnly` (type: `boolean`):

Only adverts sold through Sbazar's escrow (Ochrana nákupu), as the site's own checkbox does.

## `sortBy` (type: `string`):

Applied by the site, not afterwards. Monitoring works best with Newest first.

## `excludePromoted` (type: `boolean`):

Promoted adverts are always flagged as isPromoted; turn this on to drop them entirely.

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

Hard cap on listings returned, shared across every keyword and category. Enforced as listings are collected, so you are never billed for overshoot.

## `maxPagesPerSearch` (type: `integer`):

0 means no limit. Each page holds 100 listings. The site itself stops every search at 10,000.

## `scrapeDetails` (type: `boolean`):

Adds the full description, every photo, the original price, expiry date, status, and the seller's shop name, join date and verification. Results already carry the title, price, place, category, dates, the first photo and the promoted, reserved and buyer-protection flags.

## `monitorMode` (type: `boolean`):

Skip listings an earlier run already returned. Skipped listings are not opened and not charged. Leave off for one-off runs.

## `monitorStoreName` (type: `string`):

Named key-value store holding the ids already returned. Leave empty to use one named after the Actor. Give two schedules two different names when they watch different searches, or each will hide the other’s listings.

## `monitorRetentionDays` (type: `integer`):

How long an id stays remembered after its listing was last seen in a results page. Ids not seen for longer are dropped, so the store does not grow forever.

## `startUrls` (type: `array`):

Advert URLs (`https://www.sbazar.cz/inzerat/…`), category pages and keyword searches (`https://www.sbazar.cz/hledej/kytara`) to scrape directly. A results URL with a place, price or sort in its path fails the run: set those with the fields above. Passing start URLs replaces the generated search unless you also give a keyword or category.

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

Sbazar answers Apify's datacenter proxy, so the default is enough.

## `minCleanFieldRatio` (type: `number`):

Advanced. Every field has an expected fill rate; the run warns and names any field that drops below its own. Leave at 1 and the run only warns. Lower it to fail the run when more than this fraction of fields are affected.

## Actor input object example

```json
{
  "keywords": [
    "kytara"
  ],
  "categories": [],
  "location": "",
  "distanceKm": 0,
  "excludeNegotiable": false,
  "buyerProtectionOnly": false,
  "sortBy": "newest",
  "excludePromoted": false,
  "maxItems": 20,
  "maxPagesPerSearch": 0,
  "scrapeDetails": true,
  "monitorMode": false,
  "monitorStoreName": "",
  "monitorRetentionDays": 90,
  "startUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "minCleanFieldRatio": 1
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "keywords": [
        "kytara"
    ],
    "categories": [],
    "sortBy": "newest",
    "maxItems": 20,
    "scrapeDetails": true,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("richardsolar/sbazar-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 = {
    "keywords": ["kytara"],
    "categories": [],
    "sortBy": "newest",
    "maxItems": 20,
    "scrapeDetails": True,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("richardsolar/sbazar-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 '{
  "keywords": [
    "kytara"
  ],
  "categories": [],
  "sortBy": "newest",
  "maxItems": 20,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call richardsolar/sbazar-scraper --silent --output-dataset

```

## MCP server setup

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