# Bazos Scraper - Bazos.cz, .sk, .pl, .at Listings & Prices (`rel8ble/bazos-scraper`) Actor

Bazos scraper for bazos.cz, bazos.sk, bazos.pl and bazos.at: newest second-hand listings by section or sub-category, filtered by keywords, price, place and date. One row per ad: title, price, condition, place, postcode, date, views, photos, URL. Scheduled new-ad alerts. No login. $0.30 per 1,000.

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

## Pricing

$0.30 / 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.

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 - Bazos.cz, .sk, .pl, .at Listings & Prices

**Bazos scraper** and unofficial **Bazos API**: export the newest second-hand listings from **bazos.cz**, **bazos.sk**, **bazos.pl** and **bazos.at** by section and sub-category, filter them by keywords, price, place, postcode and date, and download them as JSON, CSV or Excel. Use it as a **Bazos price tracker**, for **used-goods prices in Czechia and Slovakia**, resale and flipping research, and new-listing alerts.

- **What goes in:** Bazos sites (cz, sk, pl, at), sections or sub-categories (`elektro`, `mobil/apple`, `auto/skoda`, `reality/prodam/byt`), optional keywords, excluded words, price range, places or postcodes, "posted within N days", or Bazos URLs.
- **What comes out:** one row per ad: title, price, currency, price type (fixed / negotiable / free / in text), condition read from the ad text, offer or wanted, private or business (read from the ad text), section, sub-category, town, postcode, date, TOP flag, view count, photo and URL. Optional: full description, all photo URLs, approximate map position.
- **Typical cost:** $0.30 per 1,000 ads, no start fee; details are included at the same price. A 20-ad check costs $0.006.
- **When to use it:** pricing a used phone, car part or appliance before you buy or sell in Czechia or Slovakia, catching underpriced listings, tracking supply and asking prices by region, feeding Central European second-hand prices to an AI agent.

It reads the public listing pages over plain HTTP, **no browser and no login**, 40 ads per request. Unofficial: not affiliated with or endorsed by Bazoš.

### Sample output

Real rows from a run of the prefilled input (bazos.cz, Mobily > Apple, 20 ads, 15 Nov 2026):

| title | priceText | condition | place | posted | seller |
|---|---|---|---|---|---|
| Apple iPhone 17 Pro 256 GB – NOVÝ, NEPOUŽÍVANÝ | 24 900 Kč | new | Praha - západ 252 03 | 2026-11-15 | private |
| iPhone 15 Pro White Titanium BATERIE 100% TOP | 14 490 Kč | like_new | Ostrava 702 00 | 2026-11-15 | private |
| iPad mini 6, 256 GB Wi-Fi + originální Apple Smart Folio | 7 500 Kč | used | Praha 9 190 00 | 2026-11-15 | private |
| Apple iPhone 16 Pro 256GB Black Titanium | 16 999 Kč | like_new | Praha 4 143 00 | 2026-11-15 | private |
| iPhone Duo - okamžitě k odběru - odpočet DPH | 7 999 Kč | - | Praha 1 110 00 | 2026-11-15 | business |
| Apple iPhone SE 2020 64GB (PRODUCT)RED – CZ distribuce | 3 333 Kč | - | Ostrava 702 00 | 2026-11-15 | private |

Every row also carries the numeric `price`, `currency`, `priceType`, section and sub-category, view count, TOP flag, photo links and the ad URL.

### Use cases

- **Price research**: see what a model really sells for second-hand in Czechia, Slovakia or Poland before you buy or sell.
- **Resale and flipping**: catch underpriced ads with a scheduled run, `postedWithinDays: 1` and a price ceiling.
- **New-listing alerts**: daily or hourly runs into Telegram, Slack or e-mail through Make, Zapier or n8n.
- **Market research**: supply, asking prices and condition mix by category, town and postcode.
- **Car, machinery and real-estate leads**: the Auto, Stroje and Reality sections, with dealer-looking ads marked `business`.
- **AI agents**: "used iPhones under 15,000 CZK in Brno posted this week" maps straight onto the input fields.

### Pricing

**$0.30 per 1,000 ads** (pay per result; you pay only for ads saved to the dataset). Ad details are included at the same price; Apify platform usage and proxies are included too.

| You scrape | You pay |
|---|---|
| 100 ads | $0.03 |
| 1,000 ads | $0.30 |
| 10,000 ads | $3.00 |
| 100,000 ads | $30.00 |

No start fee. Pages that are read but filtered out (keywords, price, place) are free. You're never charged for failed requests, retries, duplicates, or ad URLs that no longer exist. If you set a maximum cost per run, the scraper stops cleanly when it reaches it.

Other Bazos scrapers on the Store (live Apify Store search, 17 Nov 2026, free-plan prices): the most-used, santamaria-automations (9 users in 30 days), charges $3.00 per 1,000 listings, $5.00 per 1,000 with details, plus $0.001 per run; ivladimir $2.00 (2 users); about 25 more with 0-2 users charge $0.80 to $10.00 per 1,000 (aurenic $1.00, or $0.80 for .at / .pl; wholesome_spring $0.99 + start; datahamster $1.00; babyman $1.20; stone_jadex $1.50; appealing_jingle $5.00). This one is $0.30 per 1,000 with no start fee and details at the same price: the lowest we found.

### FAQ

**How do keywords work?**
Bazos' own search pages (`search.php`, `?hledat=`) are barred by its robots.txt, so this actor never calls them. Instead it reads the newest listings of the sections you choose (40 per page) and keeps the ads whose title or description start contain all words of one of your keyword lines, ignoring accents and case. For good coverage pick a narrow sub-category (`mobil/apple`, not the whole site) and raise `maxPagesPerSource` if needed. Pages read are free; only saved ads are charged.

**Where do I find section and sub-category names?**
Open the category on Bazos. The section is the sub-domain (`elektro` in `elektro.bazos.cz`) and the sub-category is the path (`kavovary` in `elektro.bazos.cz/kavovary/`), so you write `elektro/kavovary`. Names work too (`Kávovary`). Each country names its sections in its own language: `mobil` on bazos.cz / .sk, `telefon` on bazos.pl, `handy` on bazos.at. The input form lists every section per site.

**How is the condition known? Bazos has no condition field.**
It is read from the seller's own words in the title and description start (description with `includeDetails`), in Czech, Slovak, Polish and German: `new` (nerozbalený, nepoužitý, nieużywany, originalverpackt), `like_new` (jako nový, TOP stav, jak nowy, wie neu), `used` (použitý, używany, gebraucht), `defective` (na díly, nefunkční, niesprawny). When the text says nothing, `condition` is null. In the 626-ad test below, 57% of ads stated a condition.

**What does sellerType mean?**
Bazos does not label sellers. `business` means the ad text shows a company form (s.r.o., sp. z o.o., GmbH), a company or VAT id (IČO, DIČ, NIP, UID), VAT wording (odpočet DPH, cena bez DPH, faktura VAT) or dealer wording (autobazar, naše prodejna, financování); everything else is `private`. No seller names, user ids or phone numbers are collected.

**How do I get only new ads since the last run?**
Set `postedWithinDays` (0 = today, 1 = today and yesterday). Bazos lists newest first after the paid TOP ads, so reading stops at the first older ad. Deduplicate on `country` + `id` between runs.

**Are prices in euros?**
In the site currency: CZK on bazos.cz, EUR on bazos.sk and bazos.at, PLN on bazos.pl. `currency` is on every row, and price filters use the same currency.

**What about personal data?**
The actor collects no seller names, user ids, phone numbers or e-mail addresses. Phone numbers and e-mails that sellers type into titles and descriptions are replaced with `[phone removed]` / `[email removed]`. Map positions are rounded to about 1 km.

**Is it legal to scrape Bazos?**
This actor reads publicly available listing pages without logging in and respects Bazos' robots.txt (no search pages, no phone or e-mail endpoints). You're responsible for using the data in line with Bazos' terms and applicable law (including GDPR). This isn't legal advice.

**What happens if I run it with no input?**
It returns the 20 newest ads in bazos.cz Mobily > Apple instead of failing.

### How to use

1. Pick the **Bazos sites** (`cz`, `sk`, `pl`, `at`) and type **sections** (`elektro`, `auto/skoda`, `mobil/apple`).
2. Optionally add **keywords**, a **price range**, **places or postcodes** and **posted within N days**.
3. Or paste **Bazos URLs**: a section, sub-category, later page, place page (`/inzeraty/brno-25/62500/`) or single ad.
4. Click **Start**. Ads are saved as they come in; download them as JSON, CSV or Excel, or read them through the Apify API.
5. For alerts or a price tracker, schedule it (for example daily with `postedWithinDays: 1`).

### Input

All fields are optional. An empty input returns the 20 newest ads in bazos.cz Mobily > Apple.

| Field | Default | What it does |
|---|---|---|
| `countries` | `["cz"]` | Bazos sites: `cz`, `sk`, `pl`, `at`. |
| `sections` | - | Sections or `section/sub-category`: `elektro`, `elektro/kavovary`, `auto/skoda`, `reality/prodam/byt`. Empty with keywords = every section. |
| `keywords` | - | Keep ads matching all words of any line (accents ignored). |
| `excludeKeywords` | - | Drop ads matching any line (`kryt`, `na dily`). |
| `priceMin`, `priceMax` | - | Price range in the site currency. |
| `places` | - | Town names or postcode starts (`Brno`, `602`, `Bratislava`, `31-`). |
| `postedWithinDays` | - | Only ads dated within N days; stops reading at the first older ad. |
| `adType` | `offer` | `offer`, `wanted` (Koupím / Sháním / Kupię / Suche ...) or `any`. |
| `skipPromoted` | false | Leave out paid TOP ads. |
| `startUrls` | - | Bazos section, sub-category, place or ad URLs. Search URLs are skipped (robots.txt). |
| `maxItems` | 100 | Ads saved per source (site x section, or URL). `0` = all within the page limit. |
| `maxPagesPerSource` | 50 | Listing pages read per source (40 ads each). |
| `includeDetails` | false | Opens each ad: full description, all photos, map area. Same price, slower. |

Example: used iPhone 13 / 14 offers in Brno and Prague under 12,000 CZK, posted in the last 3 days:

```json
{
    "countries": ["cz"],
    "sections": ["mobil/apple"],
    "keywords": ["iphone 13", "iphone 14"],
    "excludeKeywords": ["kryt", "sklo"],
    "places": ["Brno", "Praha"],
    "priceMax": 12000,
    "postedWithinDays": 3,
    "maxItems": 0
}
```

The same phones on all four sites with full details:

```json
{
    "countries": ["cz", "sk", "pl", "at"],
    "sections": ["mobil/apple", "telefon/apple", "handy/apple"],
    "keywords": ["iphone 15"],
    "includeDetails": true,
    "maxItems": 50
}
```

(Each site only knows its own section names; the others are skipped with a warning.)

### Output

One dataset item per ad. This one is from a real local run on 15 Nov 2026 (bazos.pl, Telefony > Apple, `includeDetails: true`; description and photos shortened):

```json
{
    "id": "755846",
    "url": "https://telefon.bazos.pl/ogloszenia/755846/iphone-14-pro-max-deep-purple-bateria-100-top.php",
    "title": "iPhone 14 Pro Max Deep Purple BATERIA 100% TOP",
    "price": 2250,
    "priceText": "2 250 zł",
    "priceType": "fixed",
    "currency": "PLN",
    "condition": "like_new",
    "adType": "offer",
    "sellerType": "private",
    "category": "Apple",
    "categorySlug": "apple",
    "section": "Telefony",
    "sectionSlug": "telefon",
    "country": "pl",
    "site": "bazos.pl",
    "city": "Wodzisławski",
    "postalCode": "44-286",
    "postedDate": "2026-11-14",
    "isPromoted": false,
    "views": 70,
    "imageUrl": "https://www.bazos.pl/img/1/846/755846.jpg",
    "imageUrls": ["https://www.bazos.pl/img/1/846/755846.jpg", "https://www.bazos.pl/img/2/846/755846.jpg", "..."],
    "thumbnailUrl": "https://www.bazos.pl/img/1t/846/755846.jpg",
    "descriptionSnippet": "Oferuję na sprzedaż ten piękny iPhone 14 Pro Max 128 GB w kolorze fioletowym, w stanie idealnym – jak nowy! ...",
    "source": "bazos.pl telefon/apple",
    "position": 1,
    "scrapedAt": "2026-11-15T02:48:57.219Z",
    "imageCount": 6,
    "description": "Oferuję na sprzedaż ten piękny iPhone 14 Pro Max 128 GB w kolorze fioletowym, w stanie idealnym – jak nowy! ...",
    "latitude": 50.01,
    "longitude": 18.46,
    "detailsError": null
}
```

The dataset has two views, **Overview** (with photo thumbnails) and **Details**. A `RUN_SUMMARY` record in the key-value store lists, per source, the ads saved, the total the site shows, pages read, listings scanned and filtered out, and why it stopped.

#### Field fill rates (local test, 15 Nov 2026)

626 ads from bazos.cz Mobily > Apple, `postedWithinDays: 1`, 16 pages in 40 s: id, url, title, priceText, currency, city, postalCode, postedDate, views, imageUrl, descriptionSnippet, sellerType 100%; price 98% (the rest are "Dohodou" / "V textu"); condition 57% (only when the seller states it). With `includeDetails` (10 bazos.pl ads): description, imageUrls (5-10 photos each), latitude / longitude 100%.

### API example

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("rel8ble/bazos-scraper").call(run_input={"countries": ["cz"], "sections": ["mobil/apple"], "keywords": ["iphone 15"], "maxItems": 100})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], "|", item["priceText"], "|", item["city"])
```

One HTTP call that runs the actor and returns the rows (curl):

```bash
curl -X POST "https://api.apify.com/v2/acts/rel8ble~bazos-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"countries": ["sk"], "sections": ["auto/skoda"], "postedWithinDays": 1, "maxItems": 200}'
```

### Integrations

- **Make, Zapier and n8n**: trigger runs and pass new Bazos ads into any workflow (Telegram, Slack or e-mail alerts under a price).
- **Google Sheets**: send each run's dataset into a spreadsheet to track prices over time.
- **Apify API**: start runs and fetch results over REST, or with the JavaScript and Python clients.
- **Webhooks**: get notified when a run finishes, then pull the new data.
- **MCP for AI agents**: the Apify MCP server (https://mcp.apify.com) lets Claude, ChatGPT, Cursor and other agents call this actor. Typical agent call: `{"sections": ["mobil/apple"], "keywords": ["iphone 13"], "maxItems": 20}`, under 1 cent.
- **Schedules**: run it daily with `postedWithinDays: 1` to catch new ads.

### Limits

- **No site search.** Keywords filter the newest listings of the chosen sections (see FAQ), because Bazos' robots.txt bars its search pages. Older ads deep in a big section need more pages (`maxPagesPerSource`, up to 500 = 20,000 ads per source).
- **Paid TOP ads come first.** Big sections start with a few hundred TOP ads (dated by their last promotion), then the newest regular ads. `skipPromoted` leaves them out; `isPromoted` marks them.
- **Condition and seller type are read from text**, not from site fields, so they can miss or misread unusual wording.
- **No attributes.** Bazos ads have no structured attributes (brand, size, mileage); they are in the title and description.
- **bazos.at and bazos.pl are small** (dozens to a few thousand ads per section); bazos.cz and bazos.sk are large.
- **Not included:** seller names, phone numbers, e-mails, ratings, and anything behind a login.

### How it works (for developers)

Bazos is a server-rendered PHP site. Sections are sub-domains (`elektro.bazos.cz`), sub-categories are paths (`/kavovary/`), and paging is an offset path segment (`/kavovary/40/`, 40 ads per page). Each listing card carries the title, price, town and postcode, date, TOP flag, view count and thumbnail; ad pages add the full description, photo carousel and an approximate map point. `src/categories.json` maps every section and sub-category on the four sites (1,827 sub-categories, built by `scripts/make-categories.mjs`).

```bash
npm install
npm test                                   # parser tests on saved real pages
APIFY_LOCAL_STORAGE_DIR=./storage node src/main.js   # input in storage/key_value_stores/default/INPUT.json
```

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `countries` (type: `array`):

Optional. Which Bazos country sites to read: "cz" (bazos.cz, prices in CZK), "sk" (bazos.sk, EUR), "pl" (bazos.pl, PLN), "at" (bazos.at, EUR). Several = each section is read on each site. Default \["cz"].

## `sections` (type: `array`):

Optional. Bazos sections (the sub-domain, e.g. "elektro" for elektro.bazos.cz) or "section/sub-category" (the URL path, e.g. "elektro/kavovary", "mobil/apple", "auto/skoda"), one per line. Names also work ("Kávovary"). Sections on bazos.cz: zvirata, deti, reality, prace, auto, motorky, stroje, dum, pc, mobil, foto, elektro, sport, hudba, vstupenky, knihy, nabytek, obleceni, sluzby, ostatni. bazos.sk: zvierata, deti, reality, praca, auto, motocykle, stroje, dom, pc, mobil, foto, elektro, sport, hudba, vstupenky, knihy, nabytok, oblecenie, sluzby, ostatne. bazos.pl: zwierzeta, dzieci, nieruchomosci, praca, auto, motocykle, maszyny, dom, komputer, telefon, foto, elektro, sport, muzyka, bilety, ksiazki, meble, moda, uslugi, pozostale. bazos.at: tiere, kinder, immobilien, jobs, auto, motorrader, maschinen, haus, pc, handy, foto, elektro, sport, musik, eintrittskarten, bucher, mobel, kleidung, dienstleistungen, sonstige. Empty with keywords = every section of each site (slower).

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

Optional. Keep only ads whose title or description start contains every word of at least one line ("iphone 13", "franke", "kolo 29"). Accents and case are ignored. Note: Bazos' own search pages are barred by its robots.txt, so keywords filter the newest listings of the sections you choose instead of calling the site search. Pick a narrow sub-category for best coverage.

## `excludeKeywords` (type: `array`):

Optional. Drop ads whose title or description start contains every word of any of these lines, e.g. "kryt", "na dily", "koupim".

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

Optional. Lowest price in the site currency (CZK on bazos.cz, EUR on bazos.sk / bazos.at, PLN on bazos.pl). Ads without a number ("Dohodou", "V textu") are left out by any price filter.

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

Optional. Highest price in the site currency. Empty = no maximum.

## `places` (type: `array`):

Optional. Keep only ads from these places: a town or district as shown on Bazos ("Praha", "Brno", "Bratislava", "Kraków") or the start of a postcode ("1", "60", "602 00", "31-"). Several = any of them.

## `postedWithinDays` (type: `integer`):

Optional. Only ads dated within this many days (0 = today). Reading stops at the first older ad, so this is also the fastest way to fetch "everything new since yesterday". Promoted (TOP) ads carry the date they were last promoted.

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

Optional. "offer" (default), "wanted" (titles starting with Koupím, Sháním, Kúpim, Hľadám, Kupię, Szukam, Suche, Kaufe) or "any".

## `skipPromoted` (type: `boolean`):

Optional boolean, default false. true = leave out paid "TOP" ads, which Bazos pins above the newest ones.

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

Optional. URLs copied from bazos.cz / .sk / .pl / .at, one per line: a section ("https://elektro.bazos.cz/"), a sub-category ("https://elektro.bazos.cz/kavovary/"), a later page ("https://elektro.bazos.cz/kavovary/40/"), a place page ("https://auto.bazos.cz/inzeraty/brno-25/62500/") or an ad ("https://elektro.bazos.cz/inzerat/225985295/....php", saved with full details). Search URLs (search.php, ?hledat=) are skipped because Bazos' robots.txt bars them.

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

Optional. Maximum ads saved per source (one site x section, or one URL), integer >= 0. Default 100; 0 = every matching ad within maxPagesPerSource. You pay per ad saved ($0.0003 each), so 1,000 ads = $0.30. Use 10-20 for a quick answer.

## `maxPagesPerSource` (type: `integer`):

Optional. How many listing pages (40 ads each) to read per source before stopping, integer 1-500. Default 50 = the newest 2,000 ads. Raise it when keywords or filters match few ads in a big section. Pages read are free; only saved ads are charged.

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

Optional boolean. false (default) = data from the listing pages: title, price, place, postcode, date, views, first photo, description start. true = also open each ad for the full description (phone numbers and e-mails masked), all photo URLs, approximate map position, the sub-category of section-wide results, and a better condition / seller-type reading. Same price per ad, 1 extra request per ad.

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

Optional, advanced. Parallel requests, integer 1-10. Default 3; requests are also paced to stay polite. Leave unset.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. Retries per failed request, integer 0-15; each retry uses a new session. Default 6. Leave unset.

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

Optional, advanced. Apify Proxy settings object. Default {"useApifyProxy": true} (datacenter proxy). Leave unset.

## Actor input object example

```json
{
  "countries": [
    "cz"
  ],
  "sections": [
    "mobil/apple"
  ],
  "adType": "offer",
  "skipPromoted": false,
  "maxItems": 20,
  "maxPagesPerSource": 50,
  "includeDetails": false,
  "maxConcurrency": 3,
  "maxRequestRetries": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `ads` (type: `string`):

All ads found: title, price, currency, price type, condition hint, offer / wanted, seller type, section, sub-category, place, postcode, date, TOP flag, views, photos and URL (plus full description, all photos and map position when includeDetails is on).

## `summary` (type: `string`):

Per-source counts: ads saved, listings the site shows, pages read, listings scanned and filtered out, stop reason, warnings and failures.

# 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 = {
    "countries": [
        "cz"
    ],
    "sections": [
        "mobil/apple"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/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 = {
    "countries": ["cz"],
    "sections": ["mobil/apple"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/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 '{
  "countries": [
    "cz"
  ],
  "sections": [
    "mobil/apple"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rel8ble/bazos-scraper --silent --output-dataset

```

## MCP server setup

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