# Heureka.cz Scraper (Czech Prices) (`reventadata/heureka-scraper`) Actor

Extract products from Heureka.cz by keyword: name, lowest and highest price in CZK, offer and shop counts, category, review rating and count, top badge and a sponsored flag. Optional per-shop offers with shop name, price, delivery, availability and shop rating.

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

## Pricing

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

## Heureka.cz Scraper (DRAFT)

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to heureka.cz or Heureka Group a.s. "Heureka" is a trademark of its
> respective owner and is used here only to describe what this tool reads. It reads the same
> public pages a browser does.

Heureka.cz Scraper by reventadata extracts structured product listings and merchant offers from heureka.cz, the leading Czech price-comparison marketplace.

### What does it do?

Searches heureka.cz by keyword across categories and returns structured tabular product data: product title, min and max merchant price, featured price, currency (CZK), number of merchant offers and shops, category, customer review rating (0-100) and review count, top badge status, description, and canonical URL.

With **Fetch product offers** enabled (`includeOffers: true`), each product's page is fetched to extract merchant offers (shop name, price, delivery price, availability status, shop rating and customer review count, verification status, and whether the offer is a top or bidding placement) along with producer and additional image links.

### Why use it?

- **Structured columns:** Every attribute is parsed into its own column, ready for analysis in CSV, Excel, or JSON.
- **Merchant comparison:** Track competitive pricing, availability, and merchant delivery terms across shops.
- **Deduplication:** Listings repeated across pages or keywords are cleanly deduplicated by product ID.
- **Sponsored rows flagged:** Sponsored placements are marked with `isAd: true`.
- **Public data only:** Only public product metadata and shop offers the site shows to anyone are extracted; no private data.

### How to use it

1. Enter one or more keywords in **Search queries** (`searchQueries`), for example `iphone` or `ponozky`.
2. Set **Maximum items** (`maxItems`) and **Maximum pages per query** (`maxPages`).
3. Optionally enable **Fetch product offers** (`includeOffers`) for shop-level offers.
4. Run the Actor and download the dataset as JSON, CSV, Excel, or NDJSON.

#### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | List of search keywords to scrape (e.g. `["iphone"]`). |
| `maxItems` | integer | Hard cap on total product rows returned. Default 100. |
| `maxPages` | integer | Maximum pages per keyword (1 to 835; 24-29 items per page). Default 5. |
| `includeOffers` | boolean | Open each product page to fetch merchant offers. Default false. Each product page used in a returned row is charged as a separate `detail-page` event; a product page that cannot be read is not charged. |

#### Sample input

```json
{
    "searchQueries": ["ponozky"],
    "maxItems": 10,
    "maxPages": 1,
    "includeOffers": false
}
```

#### Output

| Field | Type | Description |
|---|---|---|
| `id`, `url` | string | Product ID and canonical Heureka product URL. |
| `name`, `slug` | string | Product title and URL slug. |
| `minPrice`, `maxPrice`, `price` | number | Minimum, maximum, and featured asking prices in CZK. |
| `currency` | string | Currency code (`CZK`). |
| `offerCount`, `shopCount` | integer | Total offer count and distinct merchant count. |
| `categoryId`, `categorySlug`, `categoryName` | string | Product category metadata. |
| `reviewRating`, `reviewCount` | integer | Review score (0-100) and number of customer reviews. |
| `topBadge` | string / null | Text badge when the listing carries one; null on every row sampled (2026-11-08 fixture). |
| `description`, `imageUrl` | string | Listing summary description and primary image URL. |
| `isAd` | boolean | True for sponsored/promoted card placements. |
| `producer`, `fullDescription`, `images` | string / array | Product detail fields (when `includeOffers` is true). |
| `offers` | array | List of merchant offers (when `includeOffers` is true). |
| `searchQuery`, `page`, `searchUrl`, `scrapedAt` | string / integer | Query context and scrape timestamp. |

#### Sample output

A real row from heureka.cz (search `ponozky`, detail offers off):

```json
{
    "id": "816573405",
    "name": "GymBeam ponožky Socks 3Pack Black",
    "slug": "gymbeam-ponozky-socks-3pack-black",
    "url": "https://panske-ponozky.heureka.cz/gymbeam-ponozky-socks-3pack-black/",
    "minPrice": 99,
    "maxPrice": 149,
    "price": 99,
    "currency": "CZK",
    "offerCount": 3,
    "shopCount": 2,
    "categoryId": "2463",
    "categorySlug": "panske-ponozky",
    "categoryName": "Pánské ponožky",
    "reviewRating": 96,
    "reviewCount": 118,
    "topBadge": null,
    "description": "Bavlněné ponožky Socks 3Pack Black v černém provedení jsou nízké sportovní ponožky vhodné pro celodenní nošení i na trénink.",
    "imageUrl": "https://img-cdn.heureka.group/v1/p/9f7e8ecf-62cb-50e5-b049-cfdb816e8aa3.jpg?width=400&height=400",
    "isAd": false,
    "producer": null,
    "fullDescription": null,
    "images": null,
    "offers": null,
    "searchQuery": "ponozky",
    "page": 1,
    "searchUrl": "https://www.heureka.cz/?h%5Bfraze%5D=ponozky&f=1",
    "scrapedAt": "2026-11-08T09:00:00.000Z"
}
```

### Notes and limits

- The site serves at most 835 pages per search (about 20,000 products); pagination past that returns error pages.
- Product page offers include topOffer, bidding placements, and regular offers (up to ~14 offers).
- Outbound merchant redirect links are omitted.

### Pricing

See the Apify Store page for current pricing.

### Privacy & Compliance

This Actor reads only publicly accessible pages and returns the public product and merchant data they show. It sends no login credentials and accesses no private user data.

# Actor input Schema

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

One or more search keywords, as typed in the heureka.cz search box, for example "iphone" or "ponozky". Each keyword is searched across all categories and listings found across multiple keywords or pages are deduplicated.

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

Maximum number of product records to push to the dataset.

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

Maximum number of search result pages to fetch per query (up to 835 pages; 24-29 items per page).

## `includeOffers` (type: `boolean`):

Open each product page to fetch shop offers (shop name, price, delivery price, availability, shop rating) and full description. Slower: one extra request per product. Each product page used in a returned row is charged as a separate pay-per-event "detail-page" event (see the Store page for what it costs); a product page that cannot be read is not charged.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone"
  ],
  "maxItems": 10,
  "maxPages": 1,
  "includeOffers": false
}
```

# Actor output Schema

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

Items scraped from the target website.

# 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 = {
    "searchQueries": [
        "iphone"
    ],
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/heureka-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 = {
    "searchQueries": ["iphone"],
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/heureka-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 '{
  "searchQueries": [
    "iphone"
  ],
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/heureka-scraper --silent --output-dataset

```

## MCP server setup

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