# Bazos Mega Scraper — SK / CZ / AT / PL (`maxai/bazos-mega-scraper`) Actor

Powerful scraper for Bazos. Scrapes all 4 country domains with detail pages, all images, seller info, GPS coordinates, and flexible input modes.

- **URL**: https://apify.com/maxai/bazos-mega-scraper.md
- **Developed by:** [Max](https://apify.com/maxai) (community)
- **Categories:** Agents, E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 bazos listings

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🔍 Bazos Mega Scraper — SK / CZ / AT / PL

The most comprehensive and powerful Apify scraper for **Bazos** classifieds — supporting all 4 country domains with rich data extraction.

Extract listings from **bazos.sk**, **bazos.cz**, **bazos.at**, and **bazos.pl** with full detail pages, all images, seller information, GPS coordinates, and more.

***

### ✨ Features

| Feature | Description |
|---|---|
| 🌍 **4 Countries** | Slovakia, Czech Republic, Austria, Poland — automatic domain handling |
| 🔍 **3 Input Modes** | Search by keyword, browse categories, or scrape specific URLs |
| 📄 **Detail Page Scraping** | Full descriptions, up to 12 images, seller info, GPS coordinates |
| ⚡ **Fast Mode** | Toggle `scrapeDetails: false` for ultra-fast listing-only extraction |
| 📍 **Location Filtering** | Filter by postal code and radius (km) |
| 💰 **Price Filtering** | Min/max price range filters |
| 🏷️ **TOP Badge Detection** | Identifies promoted/featured listings |
| 📊 **Sort Options** | Sort by date, price, or views |
| 🛡️ **Anti-Bot Resilient** | Session pooling, proxy rotation, respectful rate limiting |
| 📁 **20 Categories** | Auto, PC, Mobily, Reality, and 16 more |

***

### 🎯 Use Cases

- **Price Monitoring** — Track item prices across Bazos markets
- **Market Research** — Analyze listing volumes, pricing trends by region
- **Lead Generation** — Extract seller contact information at scale
- **Inventory Tracking** — Monitor specific categories for new listings
- **Data Aggregation** — Build comparison databases across all 4 countries

***

### 📥 Input Parameters

#### Scraping Target

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | Enum | `SEARCH` | `SEARCH` / `CATEGORY` / `URLS` |
| `country` | Enum | `sk` | `sk` / `cz` / `at` / `pl` |
| `searchQuery` | String | `""` | Search keyword (SEARCH mode) |
| `category` | Enum | `""` | Category filter (e.g., `auto`, `pc`, `mobil`) |
| `subcategory` | String | `""` | Subcategory slug (e.g., `notebook`, `apple`) |
| `startUrls` | Array | `[]` | Direct URLs (URLS mode) |

#### Filters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `location` | String | `""` | Postal code or city name |
| `radiusKm` | Integer | `25` | Search radius in km |
| `minPrice` | Integer | — | Minimum price filter |
| `maxPrice` | Integer | — | Maximum price filter |
| `sortBy` | Enum | `date` | `date` / `price` / `views` |

#### Limits & Performance

| Parameter | Type | Default | Description |
|---|---|---|---|
| `maxResults` | Integer | `50` | Max listings to scrape (0 = unlimited) |
| `maxPages` | Integer | `0` | Max pages to paginate (0 = unlimited) |
| `scrapeDetails` | Boolean | `true` | Fetch detail pages for rich data |
| `proxyConfiguration` | Object | Apify Proxy | Proxy settings |

#### Example Input (SEARCH mode)

```json
{
    "mode": "SEARCH",
    "country": "sk",
    "searchQuery": "iphone 15",
    "category": "mobil",
    "location": "84101",
    "radiusKm": 50,
    "minPrice": 200,
    "maxPrice": 800,
    "maxResults": 100,
    "scrapeDetails": true,
    "proxyConfiguration": { "useApifyProxy": true }
}
```

#### Example Input (CATEGORY mode)

```json
{
    "mode": "CATEGORY",
    "country": "cz",
    "category": "auto",
    "subcategory": "skoda",
    "maxResults": 200,
    "scrapeDetails": true
}
```

#### Example Input (URLS mode)

```json
{
    "mode": "URLS",
    "startUrls": [
        { "url": "https://pc.bazos.sk/notebook/" },
        { "url": "https://mobil.bazos.sk/inzerat/194668041/i-phone-17-pro.php" }
    ],
    "maxResults": 50,
    "scrapeDetails": true
}
```

***

### 📤 Output Format

Data is exported as **JSON**, **CSV**, **Excel**, **XML**, or **HTML** via the Apify dataset.

#### With `scrapeDetails: true` (Full Detail)

```json
{
    "id": "194668041",
    "title": "iPhone 17 pro 256 GB tmavomodrý",
    "url": "https://mobil.bazos.sk/inzerat/194668041/i-phone-17-pro-256-gb-tmavomodry.php",
    "description": "Predám iPhone 17 pro 256 GB tmavomodrý v perfektnom stave. Na telefóne nie je jediná ryha...",
    "price": 1000,
    "currency": "EUR",
    "priceText": "1 000 €",
    "isNegotiable": false,
    "isFree": false,
    "locationCity": "Banská Bystrica",
    "locationPostalCode": "974 11",
    "gpsLatitude": 48.755436,
    "gpsLongitude": 19.165686,
    "views": 735,
    "date": "2026-08-18",
    "isTop": true,
    "sellerName": "Roman",
    "sellerPhone": "090... zobraz číslo",
    "category": "mobil",
    "subcategory": "Apple",
    "thumbnailUrl": "https://www.bazos.sk/img/1/041/194668041.jpg",
    "images": [
        "https://www.bazos.sk/img/1/041/194668041.jpg",
        "https://www.bazos.sk/img/2/041/194668041.jpg",
        "https://www.bazos.sk/img/3/041/194668041.jpg"
    ],
    "imageCount": 12,
    "breadcrumbs": ["Hlavná stránka", "Mobily", "Apple"],
    "country": "sk",
    "scrapedAt": "2026-08-18T20:30:00.000Z"
}
```

#### With `scrapeDetails: false` (Fast Mode)

```json
{
    "id": "194668041",
    "title": "iPhone 17 pro 256 GB tmavomodrý",
    "url": "https://mobil.bazos.sk/inzerat/194668041/i-phone-17-pro-256-gb-tmavomodry.php",
    "description": "Predám iPhone 17 pro 256 GB tmavomodrý v perfektnom stave...",
    "price": 1000,
    "currency": "EUR",
    "priceText": "1 000 €",
    "isNegotiable": false,
    "locationCity": "Banská Bystrica",
    "locationPostalCode": "974 11",
    "views": 735,
    "date": "2026-08-18",
    "isTop": true,
    "sellerName": "Roman",
    "category": "mobil",
    "country": "sk",
    "scrapedAt": "2026-08-18T20:30:00.000Z"
}
```

***

### 💻 Programmatic Usage

#### JavaScript / Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('your-username/bazos-mega-scraper').call({
    mode: 'SEARCH',
    country: 'sk',
    searchQuery: 'macbook',
    category: 'pc',
    maxResults: 50,
    scrapeDetails: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Found ${items.length} listings`);
items.forEach(item => {
    console.log(`${item.title} — ${item.priceText} — ${item.locationCity}`);
});
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("your-username/bazos-mega-scraper").call(run_input={
    "mode": "SEARCH",
    "country": "cz",
    "searchQuery": "elektrokolo",
    "maxResults": 100,
    "scrapeDetails": True,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in items:
    print(f"{item['title']} — {item['priceText']} — {item['locationCity']}")
```

***

### 📊 Output Fields Reference

| Field | Type | Detail Mode | Fast Mode | Description |
|---|---|---|---|---|
| `id` | String | ✅ | ✅ | Unique listing ID |
| `title` | String | ✅ | ✅ | Listing title |
| `url` | String | ✅ | ✅ | Direct listing URL |
| `description` | String | ✅ Full | ✅ Snippet | Listing description |
| `price` | Number/null | ✅ | ✅ | Parsed numeric price |
| `currency` | String | ✅ | ✅ | EUR, CZK, or PLN |
| `priceText` | String | ✅ | ✅ | Original price text |
| `isNegotiable` | Boolean | ✅ | ✅ | "Dohodou" detected |
| `isFree` | Boolean | ✅ | ✅ | "Zdarma" detected |
| `locationCity` | String | ✅ | ✅ | City name |
| `locationPostalCode` | String | ✅ | ✅ | Postal code |
| `gpsLatitude` | Number/null | ✅ | ❌ | GPS latitude |
| `gpsLongitude` | Number/null | ✅ | ❌ | GPS longitude |
| `views` | Integer/null | ✅ | ✅ | View count |
| `date` | String | ✅ | ✅ | Publication date (YYYY-MM-DD) |
| `isTop` | Boolean | ✅ | ✅ | Promoted listing |
| `sellerName` | String/null | ✅ | ✅ | Seller display name |
| `sellerPhone` | String/null | ✅ | ❌ | Partial phone number |
| `category` | String | ✅ | ✅ | Category slug |
| `subcategory` | String/null | ✅ | ❌ | Subcategory name |
| `thumbnailUrl` | String/null | ✅ | ✅ | Main thumbnail URL |
| `images` | Array | ✅ All | ✅ 1 | All image URLs |
| `imageCount` | Integer | ✅ | ✅ | Number of images |
| `breadcrumbs` | Array | ✅ | ❌ | Category path |
| `country` | String | ✅ | ✅ | Country code (sk/cz/at/pl) |
| `scrapedAt` | String | ✅ | ✅ | ISO timestamp |

***

### 🌍 Supported Categories

All 20 categories across all 4 country domains:

| Category | SK | CZ | AT | PL |
|---|---|---|---|---|
| Car | auto | auto | auto | auto |
| Kids | deti | deti | kinder | dzieci |
| Home & Garden | dom | dum | haus | dom |
| Electronics | elektro | elektro | elektro | elektro |
| Photo | foto | foto | foto | foto |
| Music | hudba | hudba | musik | muzyka |
| Books | knihy | knihy | buecher | ksiazki |
| Phones | mobil | mobil | handy | telefon |
| Motorcycles | motocykle | motorky | motorrad | motocykle |
| Furniture | nabytok | nabytek | moebel | meble |
| Clothing | oblecenie | obleceni | kleidung | odziez |
| PC | pc | pc | pc | komputer |
| Jobs | praca | prace | arbeit | praca |
| Real Estate | reality | reality | immobilien | nieruchomosci |
| Services | sluzby | sluzby | dienste | uslugi |
| Sports | sport | sport | sport | sport |
| Machinery | stroje | stroje | maschinen | maszyny |
| Tickets | vstupenky | vstupenky | tickets | bilety |
| Animals | zvierata | zvirata | tiere | zwierzeta |
| Other | ostatne | ostatni | sonstiges | inne |

***

### ❓ FAQ

**Q: Why are some prices showing as `null`?**
A: Listings with prices like "Dohodou" (negotiable), "V textu" (in description), or "Zdarma" (free) return `null` for price. Check `isNegotiable` and `isFree` flags, and `priceText` for the original text.

**Q: Why is `sellerPhone` partial?**
A: Bazos requires SMS verification to reveal full phone numbers. The scraper extracts the visible partial number (e.g., "090...").

**Q: How do I scrape multiple countries at once?**
A: Run separate actor calls for each country, or use URLS mode with URLs from different domains.

**Q: The scraper returns 0 results. What's wrong?**
A: Try enabling proxy (`useApifyProxy: true`). Bazos rate-limits IPs that make too many requests. Residential proxies work best for large volumes.

**Q: What's the difference between Fast and Detail mode?**
A: Fast mode (`scrapeDetails: false`) only reads listing pages — ~20x faster, costs less, but gives truncated descriptions, no GPS, no full images. Detail mode visits each listing's page for the complete data.

***

### 📜 License

ISC

# Actor input Schema

## `mode` (type: `string`):

SEARCH: Search by keyword across categories. CATEGORY: Browse a specific category. URLS: Scrape specific listing or category URLs directly.

## `country` (type: `string`):

Which Bazos country domain to scrape.

## `searchQuery` (type: `string`):

Search keyword (e.g. 'iphone 15', 'skoda octavia'). Used only in SEARCH mode.

## `strictTitleMatch` (type: `boolean`):

If enabled, only listings where the title contains your search query will be scraped. This filters out irrelevant results like accessories or trade offers that only mention your query in the description.

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

Category to browse or search within. Leave empty to search all categories.

## `subcategory` (type: `string`):

Optional subcategory slug (e.g. 'notebook' for PC, 'apple' for Mobily, 'skoda' for Auto). Check bazos.sk for available subcategories.

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

Direct listing or category page URLs to scrape. Used only in URLS mode.

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

Postal code or city name for location-based filtering (e.g. '84101', 'Bratislava').

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

Search radius in kilometers from the specified location. Only works when Location is set.

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

Minimum price filter. Leave empty for no minimum.

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

Maximum price filter. Leave empty for no maximum.

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

How to sort the results.

## `maxResults` (type: `integer`):

Maximum number of listings to scrape. Set 0 for unlimited.

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

Maximum number of listing pages to paginate through. 0 = unlimited.

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

If true, visits each listing's detail page to extract full description, all images, seller info, and GPS coordinates. Slower but much richer data. If false, only extracts data visible on listing pages (fast mode).

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

Proxy settings for avoiding IP blocks. Recommended for large scrapes.

## Actor input object example

```json
{
  "mode": "SEARCH",
  "country": "sk",
  "searchQuery": "iphone",
  "strictTitleMatch": false,
  "category": "",
  "subcategory": "",
  "startUrls": [
    {
      "url": "https://pc.bazos.sk/notebook/"
    }
  ],
  "location": "",
  "radiusKm": 25,
  "sortBy": "date",
  "maxResults": 50,
  "maxPages": 0,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

The scraped Bazos listings in JSON, CSV, or Excel format.

# 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 = {
    "searchQuery": "iphone",
    "startUrls": [
        {
            "url": "https://pc.bazos.sk/notebook/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("maxai/bazos-mega-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 = {
    "searchQuery": "iphone",
    "startUrls": [{ "url": "https://pc.bazos.sk/notebook/" }],
}

# Run the Actor and wait for it to finish
run = client.actor("maxai/bazos-mega-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 '{
  "searchQuery": "iphone",
  "startUrls": [
    {
      "url": "https://pc.bazos.sk/notebook/"
    }
  ]
}' |
apify call maxai/bazos-mega-scraper --silent --output-dataset

```

## MCP server setup

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