# Portál Dražeb Czech Public Auctions (`bakos_bence/portal-drazeb`) Actor

Scrape Czech Portál Dražeb public auctions via JSON — CZK prices, dates, city/district, category, listing URLs. No browser. Unofficial — not affiliated with Portál Dražeb.

- **URL**: https://apify.com/bakos\_bence/portal-drazeb.md
- **Developed by:** [Bakos Bence](https://apify.com/bakos_bence) (community)
- **Categories:** Real estate, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 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

### What does Portál Dražeb Czech Public Auctions do?

**Example:** Portál Dražeb Czech Public Auctions · pripravovane

| Field | What you get |
|---|---|
| `auctionNumber` | 121EX2795/17-158 |
| `title` | pozemky pod garážemi v k.ú. Moravská Ostrava |
| `status` | upcoming |
| `category` | Pozemek |
| `city` | Ostrava |
| `district` | Ostrava-město |
| `estimatedPriceCzk` | 16700 |
| `itemPriceCzk` | 11134 |
| `minimalBidCzk` | 2000 |
| `currentPriceCzk` | — |
| `currency` | CZK |
| `startAt` | 2026-09-08T11:00:00.000+00:00 |
| `endAt` | 2026-09-08T11:30:00.000+00:00 |
| `online` | true |
| `url` | https://www.portaldrazeb.cz/drazba/121ex2795-17-158-xypxk |
| `hash` | XYPxK |
| `auctionType` | execution |
| `categoryPath` | /Nemovitosti/Pozemek |
| `county` | Moravskoslezský kraj |
| `cautionDepositCzk` | 5000 |
| `electronic` | true |
| `voluntary` | false |
| `imageCount` | 3 |
| `documentCount` | 2 |
| `scrapedAt` | 2026-09-08T09:00:00+00:00 |

Press **Start**. The example is already filled in.

**Scrape Czech Portál Dražeb public auctions** from the official JSON lists (`pripravovane`, `probihajici`, `ukoncene`, `online`) — **CZK prices with currency, start/end dates, city, district, county, category, online/electronic flags, and listing URLs**. Click **Start** on the prefilled smoke (`status=pripravovane`, `maxItems` 5). **No browser.**

**Unofficial.** This Actor is **not affiliated with, endorsed by, or maintained by Portál Dražeb**. Natural-person fields (`responsible_person`, auctioneer office names / emails / phones / addresses) are **never written** to the dataset.

#### Why use this Portál Dražeb scraper?

- 🇨🇿 Official public JSON endpoints (fast, no Playwright)
- 💶 CZK prices kept **with currency**
- 📍 City / district / county + category path
- 🔒 No auctioneer or responsible-person PII
- ⚡ Prefill smoke finishes in seconds

#### How to fill the form (first run)

1. Click **Start** — **Which auction list** is **Upcoming (pripravovane)**; **Maximum auction rows** is **5**.
2. Switch to **Ongoing**, **Finished**, or **Online-only** if that matches your research.
3. Export CZK prices, dates, location fields, and listing URLs from the dataset. Runs are **direct HTTP** — any proxy widget is ignored.

#### How to scrape Portál Dražeb auctions

1. Open this Actor in [Apify Console](https://console.apify.com/).
2. Click **Start** on the prefilled input (`status` = pripravovane, `maxItems` 5).
3. Optionally switch to `probihajici`, `ukoncene`, or `online`.
4. Export the dataset or pull via API.

```json
{
  "status": "pripravovane",
  "maxItems": 5
}
```

#### How much does it cost?

**Pay per event (PPE):** Actor start + each auction **result**. On Free, results are about **$1.20 / 1,000**; paid plans are lower (see the Pricing tab). Platform usage is included.

#### Input

| Field | Description |
|-------|-------------|
| `status` | `pripravovane` · `probihajici` · `ukoncene` · `online` (prefill upcoming) |
| `maxItems` | Listing cap (prefill 5) |

#### Sample output

```json
{
  "auctionNumber": "121EX2795/17-158",
  "hash": "XYPxK",
  "title": "pozemky pod garážemi v k.ú. Moravská Ostrava",
  "url": "https://www.portaldrazeb.cz/drazba/121ex2795-17-158-xypxk",
  "status": "upcoming",
  "auctionType": "execution",
  "category": "Pozemek",
  "categoryPath": "/Nemovitosti/Pozemek",
  "city": "Ostrava",
  "district": "Ostrava-město",
  "county": "Moravskoslezský kraj",
  "estimatedPriceCzk": 16700,
  "itemPriceCzk": 11134,
  "minimalBidCzk": 2000,
  "currentPriceCzk": null,
  "cautionDepositCzk": 5000,
  "currency": "CZK",
  "startAt": "2026-09-08T11:00:00.000+00:00",
  "endAt": "2026-09-08T11:30:00.000+00:00",
  "online": true,
  "electronic": true,
  "voluntary": false,
  "imageCount": 3,
  "documentCount": 2,
  "scrapedAt": "2026-09-08T09:00:00+00:00"
}
```

#### Tips

- Prefer `status=pripravovane` for the cheapest smoke — always has upcoming inventory.
- `ukoncene` / `online` are also single-file JSON lists; raise `maxItems` for fuller dumps.
- The Actor always uses direct egress to the public JSON API; proxy settings in input are not applied.

#### FAQ

##### Do I need a browser or Unblocker?

No. The Actor fetches `https://www.portaldrazeb.cz/drazby/{status}.json` with HTTP TLS impersonation.

##### Are auctioneer names or emails included?

No. `responsible_person` and auctioneer office person fields are stripped entirely.

##### Which statuses are supported?

`pripravovane` (upcoming), `probihajici` (ongoing), `ukoncene` (finished), `online`.

#### Related Actors

| Actor | Use together when… |
|-------|-------------------|
| [Portál Dražeb Czech Public Auctions](https://apify.com/bakos_bence/portal-drazeb) | *(this Actor)* — CZ Portál Dražeb public auctions |
| [Otodom Poland Property Listings](https://apify.com/bakos_bence/otodom-listings) | You also need Polish property asking prices |
| [Ingatlan.com HU Property Listings](https://apify.com/bakos_bence/ingatlan-com) | You also need Hungarian property asking prices |

Profile: [bakos\_bence on Apify](https://apify.com/bakos_bence)

**Actor ID:** `bakos_bence/portal-drazeb`

**Dashboards:** connect **Power BI**, **Tableau**, **Looker Studio**, or **Qlik** to the dataset API — see *Export to Power BI, Tableau, Looker Studio & Qlik* near the end. **AI agents:** paste this Actor’s Store page URL into an Apify-capable agent (MCP / Claude / Cursor with Apify), create an Apify account and API token once, and the agent can run the Actor and wire up the output.

#### Export to Power BI, Tableau, Looker Studio & Qlik

After a run, rows live in an Apify **dataset**. You can download JSON/CSV/Excel from the Dataset tab, or point BI tools at a **CSV URL** that refreshes when you scrape again.

**Prefer the token in the URL** (`token=`) — most tools only need “open this link as CSV”, with no custom headers.

##### Build a refreshable CSV URL

1. In Apify Console, open **Settings → Integrations** and copy an API token.
2. Save this Actor as a **Task** (optional but best for dashboards), run or **schedule** it once so there is a successful run.
3. Use the **latest successful task run** URL (replace `TASK_ID` and `YOUR_TOKEN`):

```text
https://api.apify.com/v2/actor-tasks/TASK_ID/runs/last/dataset/items?format=csv&clean=true&status=SUCCEEDED&token=YOUR_TOKEN
```

Or, from any finished run, open the **Dataset** tab, copy the dataset ID, and use:

```text
https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&clean=true&token=YOUR_TOKEN
```

Anyone with that URL can read the data — treat it like a password. For recurring dashboards, prefer the `actor-tasks/…/runs/last/…` form so refresh always hits the newest successful scrape.

##### Power BI

1. Open Power BI Desktop → **Home** → **Get data** → **Web**.
2. Paste the CSV URL (including `token=`).
3. When asked how to sign in, choose **Anonymous** → **Connect**.
4. Confirm the preview is a table (CSV). **Load** or **Transform data** as needed.
5. Publish / schedule refresh in the Power BI service using the same URL (task `runs/last` keeps it current after each scrape).

`401`: token missing/wrong, or you did not pick **Anonymous**.

##### Tableau

1. Install Tableau’s **REST API** connector from Tableau Exchange (Desktop **2023.3+**).
2. **Connect** → **To a Server** → **REST API**.
3. Paste the CSV URL (including `token=`). Set response format to **CSV**.
4. If the connector asks for auth and the token is already in the URL, leave credentials empty / anonymous; otherwise paste the same token as a Bearer access token.
5. Create an **extract**. Refresh the extract after scheduled Task runs (or point at `runs/last` so each refresh loads the latest success).

##### Looker Studio

Looker Studio has no strong built-in “private CSV API” connector. Use Google Sheets as the bridge:

1. Create a Google Sheet. In **A1** enter:

```text
=IMPORTDATA("https://api.apify.com/v2/actor-tasks/TASK_ID/runs/last/dataset/items?format=csv&clean=true&status=SUCCEEDED&token=YOUR_TOKEN")
```

2. Wait until columns fill (Sheets refreshes IMPORTDATA periodically).
3. In Looker Studio → **Create** → **Report** → **Google Sheets** → select that spreadsheet / tab.
4. Build the report. After each Actor/Task run, refresh the Sheet (or wait for IMPORTDATA) then refresh the Looker data source.

##### Qlik

**REST connector** (refreshable):

1. In Qlik Cloud / Qlik Sense → **Add data** → **REST** (or create a REST connection in the Data load editor).
2. URL = the CSV URL including `token=`. Method **GET**.
3. Set the expected response type to **CSV** (or use `format=json` and JSON mode).
4. **Test connection**, pick the table, **Add** / **Load**.
5. **Reload** the app after scheduled scrapes; with `runs/last`, each reload pulls the latest successful dataset.

# Actor input Schema

## `status` (type: `string`):

Official JSON list on portaldrazeb.cz. Most buyers start with <b>Upcoming</b> for inventory you can still bid on.

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

Stop after this many listings. Prefill <b>5</b> keeps the first run fast and low-cost.

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

Managed by the Actor; leave default.

## Actor input object example

```json
{
  "status": "pripravovane",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset items

# 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 = {
    "status": "pripravovane",
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bakos_bence/portal-drazeb").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 = {
    "status": "pripravovane",
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("bakos_bence/portal-drazeb").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 '{
  "status": "pripravovane",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call bakos_bence/portal-drazeb --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bakos_bence/portal-drazeb"
        }
    }
}
```

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/ZRYh2Ixbi278YGHx9/builds/ZMH0fweh4eWTwCRj1/openapi.json
