# Bazar.sk Scraper — Slovak Classified Ads, Prices & Places (`yugenox/bazar-sk-scraper`) Actor

Scrape Bazar.sk classified ads by keyword, category and place: title, price in EUR, ad type, category, town and district, the ad text (contacts removed), photo, promoted flag. Optional posted date, condition and attributes. Price, sort, new/used and seller-type filters. No login.

- **URL**: https://apify.com/yugenox/bazar-sk-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 ads

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/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

## Bazar.sk Scraper: Slovak classified ads, prices and places

Scrape **Bazar.sk**, one of Slovakia's largest classified-ads sites, by keyword, category and place. Every ad comes with the **title, price in EUR, ad type (for sale, wanted, free), category, town and city district, the full ad text, a photo and whether it is a promoted "TOP" ad**. Optionally add the **date it was posted, the item condition (new / used), parameters such as brand, year or mileage, the photo count and a large photo**. Filter by price, condition, ad type and seller type, and sort by date or price. No login, no cookies, no Bazar.sk account.

Phone numbers, e-mail addresses and messenger links that sellers type into their ads are removed, and so are names written next to them ("volajte Jana Nováková …"). Seller names, profiles and contact details are never collected.

### What you get

| | |
|---|---|
| **Ad** | Ad number, title, link, promoted (TOP) flag, results position |
| **Price** | The price as a number in EUR, plus the price as shown (e.g. "dohodou" = by agreement) |
| **Type** | For sale (Predaj), wanted (Kúpa), free (Darujem), in Slovak and English |
| **Category** | The category (e.g. "Notebooky", "Apple iPhone", "Byty") and its Bazar.sk section (e.g. Počítače, Reality, Auto) |
| **Place** | Town, city district (e.g. Bratislava › Rača) and the Bazar.sk place code |
| **Text and photo** | The full ad text (contacts removed) and the main photo |
| **Ad page details** (optional) | Date posted, condition (new / used), parameters (brand, year, mileage, …), photo count, large photo |

### How to use it

1. Enter one or more **keywords**, e.g. `bicykel`, `iphone 15`, `kočík`, `notebook lenovo`. Leave them empty to list every ad of a category or a place.
2. Optionally enter a **place**: a town or city district such as `Bratislava`, `Košice`, `Žilina` or `Petržalka` (accents are optional). Bratislava and Košice include all their districts. Leave it empty to search all of Slovakia.
3. Optionally pick a **category**, set **Max ads**, filters and sort order, then run.

Each keyword is searched in each place and category. **Max ads** is the total for the run, shared fairly between your searches.

#### Input examples

Used bikes in Bratislava, cheapest first:

```json
{
  "keywords": ["bicykel"],
  "location": "Bratislava",
  "condition": "used",
  "sort": "priceAsc",
  "maxItems": 100
}
```

Lenovo laptops for sale between €50 and €400 anywhere in Slovakia, with the posted date and condition:

```json
{
  "keywords": ["lenovo"],
  "category": "pocitace",
  "adType": "sale",
  "minPrice": 50,
  "maxPrice": 400,
  "includeDetails": true,
  "maxItems": 50
}
```

Everything in a subcategory or a results page you set up on bazar.sk (the filters in the URL are kept), plus single ads:

```json
{
  "startUrls": [
    { "url": "https://pocitace.bazar.sk/notebooky/" },
    { "url": "https://auto.bazar.sk/?p[location]=t81" },
    { "url": "https://pocitace.bazar.sk/39723045-lenovo-l480-intelr-corei5-16gb-ram-ssd/" }
  ],
  "maxItems": 200
}
```

### Output example

```json
{
  "listingId": "39723045",
  "url": "https://pocitace.bazar.sk/39723045-lenovo-l480-intelr-corei5-16gb-ram-ssd/",
  "title": "Lenovo L480 ,Intel(R) Core™i5 , 16gb ram , ssd",
  "price": 230,
  "priceText": "230 €",
  "currency": "EUR",
  "adType": "Predaj",
  "adTypeEn": "sale",
  "category": "Notebooky",
  "categoryUrl": "https://pocitace.bazar.sk/notebooky/",
  "mainCategory": "pocitace",
  "mainCategoryName": "Počítače",
  "location": "Košice III - Dargovských Hrdinov",
  "city": "Košice",
  "district": "Dargovských Hrdinov",
  "locationCode": "t47",
  "description": "predám ultrabook Lenovo Thinkpad L480 , plnefunkčný , malé kozmetické nedostatky sú zohľadnené v cene …",
  "photoUrl": "https://img.unitedclassifieds.sk/foto/…",
  "isPromoted": false,
  "postedDate": "2026-10-01",
  "condition": "používané",
  "conditionEn": "used",
  "attributes": { "Značka": "Lenovo" },
  "photoCount": 10,
  "imageUrlLarge": "https://img.unitedclassifieds.sk/foto/…",
  "searchKeyword": "lenovo",
  "searchLocation": null,
  "searchUrl": "https://pocitace.bazar.sk/predaj/?p%5Bkeyword%5D=lenovo",
  "position": 1,
  "detailsFetched": true,
  "scrapedAt": "2026-10-01T23:20:11.000Z"
}
```

`postedDate`, `condition`, `attributes`, `photoCount` and `imageUrlLarge` are filled when **Include ad page details** is on. Every row has the same columns; a value the ad doesn't state is `null`.

### Use cases

- **Price research**: see what used phones, laptops, bikes, cars or furniture really sell for in Slovakia, by town.
- **Resellers and flippers**: track new ads in a category every day, sorted by newest or cheapest.
- **Market intelligence**: count supply by category, place, condition and price band over time.
- **Real estate and cars**: follow listings in a city or district, with parameters such as year and mileage from the ad pages.
- **Lead lists for businesses**: filter by seller type to see what companies offer in your category.

### FAQ

**Do I need a Bazar.sk account, cookies or a login?** No. The scraper reads the same public results and ad pages any visitor sees. It never logs in and needs nothing from you except a search.

**How do places work?** Bazar.sk filters by its own place codes, not by free text. The scraper knows the codes of the main towns and districts and looks up others from the ads it reads (and remembers them). If it can't find a place, it skips that search, doesn't charge for it, and says so in the run's status message — it never returns ads from the whole country instead. You can always pick a place on bazar.sk and paste that results page's URL, or enter a place code such as `t81` (Nitra).

**How fast is it?** A results page holds 32 ads and takes about 2–3 seconds, so 1,000 ads take under 2 minutes. **Include ad page details** opens every ad page, which adds roughly one second per ad. When Bazar.sk only lets a run through on residential proxies (common on Apify, see the proxy question below), a run with ad page details can stop early, at around 60 ads, because reading every ad page that way costs more than the details pay for. The status message says so, and only the ads saved are charged.

**How many ads can I get?** As many as Bazar.sk shows for your search. Set **Max ads** to 0 to get everything your searches find (up to 50,000 per run). One exception: with **Include ad page details** on, a run that Bazar.sk only lets through on residential proxies can stop early, at around 60 ads (see "How fast is it?"); the status message says so.

**Why do some ads have no price?** Sellers can write "dohodou" (by agreement) or leave the price out. `price` is then `null` and `priceText` shows what the ad says.

**Which proxy should I use?** Keep the default (Apify Proxy). Bazar.sk turns away most datacenter IPs, so after a few refused ones the run switches to residential proxies by itself when your Apify account has them, and it tries a datacenter IP that worked again in your next runs (within a day). Without residential proxies, a run can end with 0 ads when every datacenter IP it tries is turned away; the status message then says so, and no searches or ads are charged.

**What does a run cost?** You pay per ad saved, per search, and a small fee per run; ad page details are a separate, optional charge. See the Pricing tab. Ads that are skipped or filtered out are never charged, and neither are searches skipped because a place wasn't found.

**Is it legal to scrape Bazar.sk?** This Actor only collects publicly available data: classified ads that anyone can see on Bazar.sk without an account, such as the title, price, category, place, ad text and photo. Collecting publicly available data is generally legal, but you're responsible for how you use it. Many ads on Bazar.sk are written by private individuals, so the scraper never collects seller names, profiles or contact details, and removes phone numbers, e-mail addresses and messenger links that sellers type into their titles and ad texts, together with names written next to them. You must follow privacy laws such as GDPR, as well as Bazar.sk's terms. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?** No. Everything comes from pages Bazar.sk shows to any visitor without logging in. It never uses a login, never opens seller profiles or contact forms, and follows the site's robots.txt.

**Is this an official Bazar.sk product?** No. This Actor is not affiliated with, endorsed by or sponsored by Bazar.sk or its operator. "Bazar.sk" is a trademark of its owner, used here only to describe the data the Actor works with.

# Actor input Schema

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

What to search on Bazar.sk, e.g. "bicykel", "iphone 15", "kočík", "notebook lenovo". Each keyword is searched separately (and in each place and category). Leave empty to list all ads of a category or place.

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

A Slovak town or city district, e.g. "Bratislava", "Košice", "Žilina", "Petržalka" (accents optional), or a Bazar.sk place code such as "t81". Bratislava and Košice include all their districts. Leave empty to search all of Slovakia. A place Bazar.sk doesn't know is skipped (and not charged) instead of returning ads from everywhere.

## `locations` (type: `array`):

Run the same search in several places, e.g. "Nitra", "Trnava".

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

Search inside one Bazar.sk section only. For a subcategory (e.g. Notebooky), open it on bazar.sk and paste its URL under Bazar.sk URLs instead.

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

Maximum number of ads for the whole run, shared fairly between your searches (a search that finds fewer leaves its share to the others). 0 = everything (up to 50,000).

## `includeDetails` (type: `boolean`):

Also open every ad page for the date it was posted, the item condition (new / used), other parameters (brand, etc.), the photo count and a large photo. The results page already has the title, price, place, category, full ad text and a photo. Adds about one small request per ad and a small per-ad charge. When Bazar.sk only answers through residential proxies, a run with details can stop early (around 60 ads) to stay within what the details pay for; the status message says so.

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

Optional: any Bazar.sk results page — a category or subcategory (https://pocitace.bazar.sk/notebooky/), a search, or a page with filters you set on the site (the filters in the URL are kept) — or single ad URLs (https://pocitace.bazar.sk/39723045-…/).

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

Only ads priced at least this much.

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

Only ads priced at most this much.

## `adType` (type: `string`):

For sale, wanted (people looking to buy) or giveaway. "Any" = all.

## `condition` (type: `string`):

New or used items. "Any" = all.

## `sellerType` (type: `string`):

Ads from private individuals or from companies. "Any" = all. (Seller names and contacts are never collected.)

## `sort` (type: `string`):

Order of the results (and so which ads you get first when Max ads is lower than the number found).

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

Apify Proxy is the default and comes with every Apify plan. Bazar.sk turns away most datacenter IPs, so after a few refused ones the run switches to residential proxies by itself when your account has them, and tries a datacenter IP that worked again in your next runs.

## `maxConcurrency` (type: `integer`):

How many ad pages to read at once with "Include ad page details" (1–4). Results pages are always read one after another.

## Actor input object example

```json
{
  "keywords": [
    "bicykel"
  ],
  "location": "Bratislava",
  "category": "all",
  "maxItems": 20,
  "includeDetails": false,
  "adType": "any",
  "condition": "any",
  "sellerType": "any",
  "sort": "newest",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 2
}
```

# Actor output Schema

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

All scraped ads.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts, requests and proxy use.

# 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": [
        "bicykel"
    ],
    "location": "Bratislava",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/bazar-sk-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": ["bicykel"],
    "location": "Bratislava",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/bazar-sk-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": [
    "bicykel"
  ],
  "location": "Bratislava",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/bazar-sk-scraper --silent --output-dataset

```

## MCP server setup

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