# Bazos Scraper: Czech, Slovak & Polish Classifieds (`davidcastro/bazos-scraper`) Actor

Scrape Bazos.cz, Bazos.sk and Bazos.pl classified ads by keyword, category, price range and location radius: title, price, currency, city and postal code, date, views, top flag, description text, phone numbers and emails written in the ad, and photo.

- **URL**: https://apify.com/davidcastro/bazos-scraper.md
- **Developed by:** [David Castro](https://apify.com/davidcastro) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.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

## Bazos Scraper: Czech, Slovak & Polish Classifieds

Collect classified ads from Bazos, the largest free classifieds site in Czechia and Slovakia, plus its Polish edition. Search by keyword in any section (cars, phones, real estate, jobs, furniture and more) with price range and distance around a postal code, or paste any Bazos result page. Each ad comes with its title, price and currency, city and postal code, date, view count, the ad text, and any phone numbers or emails the seller wrote in it.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `adId` | Škoda Octavia 1.9 TDI 77 kw, ad page, 197498010 |
| `price`, `priceText`, `currency` | 4390, 4 390 €, EUR |
| `location`, `postalCode` | Nitra, 949 01 |
| `postedDate` | 2026-11-17 |
| `views`, `isTop` | 1726, true |
| `description` | ad text as shown in the results |
| `phones`, `emails` | \["910434141"], \[] |
| `section`, `image` | auto, photo link |
| `site`, `country`, `totalResults`, `position` | bazos.sk, SK, 11976, 1 |

### Inputs

- **Marketplace:** Bazos.cz (Czechia), Bazos.sk (Slovakia) or Bazos.pl (Poland).
- **Search keywords:** for example iphone, kolo, octavia, byt 2+kk.
- **Category:** all sections or one of 20 sections such as cars, phones, real estate or jobs.
- **Price range** in local currency (CZK, EUR or PLN).
- **Postal code and radius:** only ads near a place.
- **Search URLs:** paste Bazos result or category pages, for example reality.bazos.cz/prodam/byt/.
- **Only ads matching the keyword:** on by default, so paid top placements unrelated to your keyword are skipped.

### Example input

```json
{
    "site": "bazos.sk",
    "searchQueries": ["octavia"],
    "category": "auto",
    "maxPrice": 5000,
    "maxListings": 200
}
```

### Use cases

- Used car and equipment dealers sourcing stock in Czechia, Slovakia and Poland.
- Price research for second-hand goods and cars.
- Lead lists of sellers who publish a phone number.
- Daily monitoring of new apartments or jobs in a region.

### Pricing

You pay per ad delivered. Searches that match nothing are never charged. The run stops at your maximum listings or your spend limit. Free Apify plans get up to 10 ads per run.

### FAQ

**Why are some phone fields empty?**
Phone numbers and emails are only returned when the seller wrote them in the ad text.

**Is the date the original publish date?**
It is the date shown on the ad, which is refreshed when the seller renews or tops the ad.

# Actor input Schema

## `site` (type: `string`):

Which Bazos site to search.

## `searchQueries` (type: `array`):

What to search for, for example iphone, kolo, skoda octavia.

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

Limit the search to one section.

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

Minimum price in local currency.

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

Maximum price in local currency.

## `postalCode` (type: `string`):

Search around this postal code, for example 11000 (Prague) or 81101 (Bratislava).

## `radiusKm` (type: `integer`):

Distance around the postal code.

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

Paste Bazos result pages (search or category) with your filters already applied.

## `onlyMatching` (type: `boolean`):

Drop ads whose title and text share no word with the keyword. On by default, so you only pay for relevant ads.

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

Maximum listings per keyword or URL.

## Actor input object example

```json
{
  "site": "bazos.cz",
  "searchQueries": [
    "iphone"
  ],
  "category": "www",
  "radiusKm": 25,
  "onlyMatching": true,
  "maxListings": 30
}
```

# Actor output Schema

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

The main fields in a table.

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

Every field of every result.

# 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 = {
    "site": "bazos.cz",
    "searchQueries": [
        "iphone"
    ],
    "maxListings": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("davidcastro/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 = {
    "site": "bazos.cz",
    "searchQueries": ["iphone"],
    "maxListings": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("davidcastro/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 '{
  "site": "bazos.cz",
  "searchQueries": [
    "iphone"
  ],
  "maxListings": 30
}' |
apify call davidcastro/bazos-scraper --silent --output-dataset

```

## MCP server setup

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