# Bazos Scraper: Czech and Slovak Classifieds (`reventadata/bazos-scraper`) Actor

Bazos classified ads in the Czech Republic and Slovakia by search term, with price range, place and radius filters. Get title, price and currency, description, image, municipality, postal code, views, date and category.

- **URL**: https://apify.com/reventadata/bazos-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 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 Bazos. "Bazos" is a trademark of its respective owner
> and is used here only to describe what this tool reads. It reads the same public pages a
> browser does.

Bazos Scraper extracts classified ad listings from Bazos in the Czech Republic ([bazos.cz](https://www.bazos.cz))
and Slovakia ([bazos.sk](https://www.bazos.sk)): title, price, currency, description, image URL, municipality,
postal code, view count, posting date, and the category of each listing.

### What data can you extract from Bazos?

The listings Bazos returns for your search query and filters, up to your item and page caps,
with the fields the site itself publishes in its search results. The Actor reads Bazos's public search pages,
so it needs no browser.

### Features

- **Dual-market support**: Czech Republic (`bazos.cz`) and Slovakia (`bazos.sk`) in a single Actor.
- **Category in every row**: each listing carries the category slug Bazos files it under (such as `auto`, `mobil`, `reality`).
- **Price and location filters**: Filter by minimum/maximum price, locality (postal code or municipality), and distance radius in km.
- **Pagination walk**: Walks through results (40 listings per page) up to your configured caps.
- **Deduplication**: Identical listing IDs are deduplicated across pagination boundaries.

### How to use

1. Set your search `query` (e.g. `iphone`).
2. Choose target `market` (`cz` or `sk`).
3. Optionally set price limits (`minPrice`, `maxPrice`) or locality (`zipCode`, `distanceKm`).
4. Run the Actor. Results land in the default dataset.

#### Input

| Field | Type | Description |
|---|---|---|
| `query` | string | Keyword expression to search for on Bazos (e.g. `iphone`). |
| `market` | string | Target market: `cz` (Bazos.cz, CZK) or `sk` (Bazos.sk, EUR). Default is `cz`. |
| `minPrice` | integer | Optional minimum price filter. |
| `maxPrice` | integer | Optional maximum price filter. |
| `zipCode` | string | Optional locality name or postal code (PSČ). |
| `distanceKm` | integer | Optional radius in km around the locality. If empty, the site applies its own radius. |
| `maxItems` | integer | Maximum number of listings to collect (default 1000, prefill 10). |
| `maxPages` | integer | Maximum number of pagination pages to walk. |
| `proxyConfiguration` | object | Optional proxy settings. |

```json
{
    "query": "iphone",
    "market": "sk",
    "maxItems": 10,
    "maxPages": 1
}
```

#### Output

Sample row from a local run on 2026-11-19 (input above):

```json
{
  "id": "197422431",
  "url": "https://mobil.bazos.sk/inzerat/197422431/predam-apple-iphone-16-pro-max-256-gb-titanium.php",
  "title": "Predám Apple iPhone 16 Pro Max 256 GB – Titanium",
  "price": "650 €",
  "priceAmount": 650.0,
  "currency": "EUR",
  "description": "Predám Apple iphone 16 Pro Max s úložiskom 256 GB.\r\n\r\n📱 Informácie o telefóne:\r\n\r\n* Model: iphone 16 Pro Max\r\n* Kapacita: 256 GB\r\n* Farba: White Titanium\r\n* Zdravie batérie: 90 %\r\n* Počet nabíjacích cyklov: 590\r\n* Dátum výroby: august 2024\r\n* Prvé použitie: september 2024\r\n\r\nStav a príslušenstvo:\r\n\r ...",
  "imageUrl": "https://www.bazos.sk/img/1t/431/197422431.jpg?t=1795027878",
  "location": "Zvolen",
  "zipCode": "960 01",
  "views": 256,
  "date": "19.11. 2026",
  "isTop": true,
  "category": "mobil",
  "market": "sk",
  "searchUrl": "https://www.bazos.sk/search.php?hledat=iphone"
}
```

# Actor input Schema

## `query` (type: `string`):

Keyword to search for on Bazos (e.g. 'iphone').

## `market` (type: `string`):

Target country market: Czech Republic (bazos.cz) or Slovakia (bazos.sk).

## `minPrice` (type: `integer`):

Optional lower price limit (Kč for CZ, € for SK).

## `maxPrice` (type: `integer`):

Optional upper price limit (Kč for CZ, € for SK).

## `zipCode` (type: `string`):

Optional postal code (PSČ) or municipality to filter listings by locality.

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

Optional radius in km around the given postal code or locality. If left empty, the site applies its own radius for the locality.

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

Maximum number of listings to collect.

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

Maximum number of pagination pages to walk.

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

Optional proxy settings.

## Actor input object example

```json
{
  "query": "iphone",
  "market": "cz",
  "maxItems": 10,
  "maxPages": 1
}
```

# Actor output Schema

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

Classified ad listings with price, title, image, date, views and location.

# 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 = {
    "query": "iphone",
    "market": "cz",
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/bazos-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 = {
    "query": "iphone",
    "market": "cz",
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/bazos-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 '{
  "query": "iphone",
  "market": "cz",
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/bazos-scraper --silent --output-dataset

```

## MCP server setup

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