{
  "openapi": "3.0.1",
  "info": {
    "title": "Heureka Scraper ($1.94/1K): Prices, Shop Offers, CZ+SK",
    "description": "Scrape Heureka.cz and Heureka.sk: products with lowest price, every shop's offer with position, delivery and stock, the cheapest shop, Heureka's price history, reviews and shop ratings. Search by keyword, EAN or URL; monitor price drops with alerts. Hlídač cen Heureka.",
    "version": "0.0",
    "x-build-id": "FEKSA8lyldebtrcTu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tsutseisoftware~heureka-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tsutseisoftware-heureka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/tsutseisoftware~heureka-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tsutseisoftware-heureka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/tsutseisoftware~heureka-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tsutseisoftware-heureka-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Heureka URLs",
            "type": "array",
            "description": "Heureka.cz or Heureka.sk pages: categories (also with the website's filters, sorting and page in the URL), searches, product pages, product reviews (a product URL ending with #recenze) and shop reviews, e.g. https://mobilni-telefony.heureka.cz/, https://www.heureka.cz/?h%5Bfraze%5D=kavovar, https://mobilni-telefony.heureka.cz/apple-iphone-16-128gb-black/ or https://obchody.heureka.cz/alza-cz/recenze/. Mix the two countries freely.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search words or EAN codes",
            "type": "array",
            "description": "Search Heureka like its search box: product names, brands, kinds of products. An EAN (barcode, 8 or 12–14 digits) finds the product with that barcode. Each is searched in every country of \"Countries\".",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Heureka websites for \"Search words or EAN codes\" (URLs carry their own country). Choose both to compare Czechia and Slovakia in one run.",
            "items": {
              "type": "string",
              "enum": [
                "cz",
                "sk"
              ],
              "enumTitles": [
                "Czechia (heureka.cz)",
                "Slovakia (heureka.sk)"
              ]
            },
            "default": [
              "cz"
            ]
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "The most product rows to save (0 = no limit); reviews have their own limits below. In monitoring: the first N products of each listing are watched.",
            "default": 100
          },
          "includeOffers": {
            "title": "Add all shop offers and product details",
            "type": "boolean",
            "description": "Every shop's offer of each product: shop, price, delivery price, price with delivery, availability, Heureka Košík, shop rating, the offer's position on Heureka and by price, discount code and a link; plus the cheapest shop (also with delivery and in stock), the price spread, all product parameters, description, images, category path, rating counts and Heureka's review summary. Charged as \"Shop offers and product details\" per product.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "relevance",
              "price_asc",
              "price_desc",
              "review_count"
            ],
            "type": "string",
            "description": "Order of the listings and searches.",
            "default": ""
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "In the currency of the website (CZK on heureka.cz, EUR on heureka.sk)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "In the currency of the website."
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Keep only products of these brands (manufacturer as on Heureka, e.g. Samsung, DeLonghi).",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Name must not contain",
            "type": "array",
            "description": "Leave out products whose name contains one of these words (e.g. kryt, obal).",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Min rating (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only products rated at least this much (Heureka rates in percent, e.g. 90)."
          },
          "minReviewCount": {
            "title": "Min number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Only products with at least this many reviews."
          },
          "onlyWithPriceDrop": {
            "title": "Only products with a price drop",
            "type": "boolean",
            "description": "Only products Heureka marks with a price drop (Cenopád).",
            "default": false
          },
          "includeSponsored": {
            "title": "Include sponsored products",
            "type": "boolean",
            "description": "Keep the paid positions of listings and searches (marked isSponsored). Off: leave them out.",
            "default": true
          },
          "includeStandaloneOffers": {
            "title": "Include shop offers listed on their own",
            "type": "boolean",
            "description": "Searches also show single shop offers that Heureka has not grouped into a product; they are saved as rows with rowType \"offer\" (shop, price, link).",
            "default": true
          },
          "exactEanOnly": {
            "title": "Only exact EAN matches",
            "type": "boolean",
            "description": "For an EAN code, save nothing when Heureka finds only similar products instead of the product with that barcode.",
            "default": true
          },
          "maxResultsPerEan": {
            "title": "Results per EAN code",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many of the best matches to save for each EAN code (1 = the product with that barcode).",
            "default": 1
          },
          "maxItemsPerUrl": {
            "title": "Max products per URL or search",
            "minimum": 0,
            "type": "integer",
            "description": "Limit for each URL or search (0 or empty = only \"Max products\")."
          },
          "maxPagesPerUrl": {
            "title": "Max pages per URL or search",
            "minimum": 0,
            "type": "integer",
            "description": "Read at most this many pages (24 products each) of each listing or search (empty = all)."
          },
          "offset": {
            "title": "Skip the first N results",
            "minimum": 0,
            "type": "integer",
            "description": "Start each listing or search after its first N results, e.g. to continue where an earlier run stopped (it saved N products)."
          },
          "maxOffersPerProduct": {
            "title": "Max offers per product",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "With \"Add all shop offers\": the most offers per product, in Heureka's order (empty = all)."
          },
          "offersOnlyInStock": {
            "title": "Offers: only in stock",
            "type": "boolean",
            "description": "With \"Add all shop offers\": keep only offers available now.",
            "default": false
          },
          "includePriceHistory": {
            "title": "Add Heureka's price history",
            "type": "boolean",
            "description": "The product's lowest and average price on Heureka week by week since the product appeared, the lowest price of the last 30, 90 and 365 days, the all-time low and how the price compares with the 90-day low. Charged as \"Price history\" per product.",
            "default": false
          },
          "includeReviews": {
            "title": "Add product reviews",
            "type": "boolean",
            "description": "Reviews of each saved product as their own rows (rowType \"review\"): rating, recommends, pros, cons, text, date, verified purchase, the shop it was bought in, the shop's reply, photos; expert and video reviews too. Each review is a row.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The most reviews per product.",
            "default": 20
          },
          "reviewsFilter": {
            "title": "Reviews: which",
            "enum": [
              "all",
              "verified",
              "positive",
              "negative"
            ],
            "type": "string",
            "description": "Which product and shop reviews to read (a shop URL with /overene, /pozitivni or /negativni keeps its own choice).",
            "default": "all"
          },
          "maxReviewsPerShop": {
            "title": "Max reviews per shop",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "For shop URLs: the most shop reviews per shop (0 = none, only the shop details).",
            "default": 20
          },
          "includeShopDetails": {
            "title": "Add shop details (shop URLs)",
            "type": "boolean",
            "description": "For shop URLs: a row with the shop's rating (customers recommending it in the last 90 days, satisfaction, delivery time, deliveries on time), review counts, certificate and awards, payment methods, description, top categories and what customers mention most. Charged as \"Shop details\" per shop.",
            "default": false
          },
          "includeRawData": {
            "title": "Add raw data",
            "type": "boolean",
            "description": "The listing card or product exactly as the website's data has it (field raw), for your own processing.",
            "default": false
          },
          "onlyNewOrChanged": {
            "title": "Monitoring: only new or changed products",
            "type": "boolean",
            "description": "Save only products that are new or whose lowest price changed since the previous run with the same Monitoring key; with \"Add all shop offers\" also products with a new cheapest shop. Reviews: only new ones. Every listing page read is charged as \"Monitoring page\".",
            "default": false
          },
          "monitoringKey": {
            "title": "Monitoring key",
            "type": "string",
            "description": "Name of the remembered state (any text). Use a different key for each watched input. Also keeps the shelf report history."
          },
          "onlyPriceDrops": {
            "title": "Monitoring: only price drops",
            "type": "boolean",
            "description": "Of the changed products save only those that got cheaper or got a new cheapest shop (new products still come).",
            "default": false
          },
          "includeUnchanged": {
            "title": "Monitoring: include unchanged products",
            "type": "boolean",
            "description": "Save unchanged products too (changeType unchanged).",
            "default": false
          },
          "minPriceChangePercent": {
            "title": "Monitoring: min price change (%)",
            "minimum": 0,
            "type": "number",
            "description": "Ignore smaller price changes (e.g. 3 = at least 3 %). The new price becomes the base anyway."
          },
          "resetMonitoring": {
            "title": "Monitoring: start again",
            "type": "boolean",
            "description": "Forget the remembered state of this Monitoring key and start again.",
            "default": false
          },
          "shelfReport": {
            "title": "Shelf report (brands at the top of listings)",
            "type": "boolean",
            "description": "Which brands hold the top positions of each listing or search: share of shelf, best and average position, sponsored positions, average price, change since the previous run (SHELF_REPORT and SHELF_REPORT_CSV). Charged per listing.",
            "default": false
          },
          "shelfTopN": {
            "title": "Shelf report: top positions",
            "minimum": 1,
            "maximum": 240,
            "type": "integer",
            "description": "How many top positions of each listing the report counts.",
            "default": 24
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Token of your bot from @BotFather."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Chat to send to."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Incoming webhook (https://hooks.slack.com/...)."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Webhook of your Discord channel (https://discord.com/api/webhooks/...). In Discord: channel settings → Integrations → Webhooks → Copy Webhook URL. Stored encrypted."
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Any HTTPS URL (Zapier, Make, n8n, your server): receives the products as JSON."
          },
          "whatsappAccessToken": {
            "title": "WhatsApp access token",
            "type": "string",
            "description": "Access token of the WhatsApp Cloud API of your Meta business account, used with \"WhatsApp phone number ID\" and \"WhatsApp recipient number\" (step by step in the README, section \"WhatsApp notifications: setup\"). For scheduled runs use a permanent token of a system user: Business settings → System users → Generate token, with the permissions whatsapp_business_messaging and whatsapp_business_management; the token of WhatsApp → API Setup expires within hours. Stored encrypted."
          },
          "whatsappPhoneNumberId": {
            "title": "WhatsApp phone number ID",
            "type": "string",
            "description": "ID of your WhatsApp business number that sends the message (not the number itself), e.g. 106540352242922. In your Meta app: WhatsApp → API Setup → Phone number ID."
          },
          "whatsappTo": {
            "title": "WhatsApp recipient number",
            "type": "string",
            "description": "Phone number that gets the message, in international format with the country code (e.g. +420601234567); up to 5 numbers separated by commas or new lines, each gets its own message and the notification is charged once per run. A test number of Meta sends only to numbers you added and confirmed under API Setup → To. Stored encrypted."
          },
          "whatsappTemplateName": {
            "title": "WhatsApp template name",
            "type": "string",
            "description": "Name of your approved message template (WhatsApp Manager → Message templates, e.g. apify_results), recommended: WhatsApp delivers a template message at any time. Its body gets the run summary with the first results in {{1}} and the dataset link in {{2}} (a template with only {{1}} gets both in {{1}}). Empty: a plain text message, which WhatsApp delivers only when the recipient wrote to your business number in the last 24 hours, so a scheduled run usually needs a template. Meta charges your business account for template messages (step by step in the README, section \"WhatsApp notifications: setup\")."
          },
          "whatsappTemplateLanguage": {
            "title": "WhatsApp template language",
            "type": "string",
            "description": "Language code of the template exactly as WhatsApp Manager → Message templates shows it next to the template, e.g. en_US, en_GB, cs, sk, pl or de. Used only with \"WhatsApp template name\".",
            "default": "en_US"
          },
          "notificationLimit": {
            "title": "Max products per notification",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many products the message lists.",
            "default": 10
          },
          "notifyOnlyChanges": {
            "title": "Notify only when something was found",
            "type": "boolean",
            "description": "No message after a run that saved nothing.",
            "default": true
          },
          "exportFormats": {
            "title": "Extra export formats",
            "type": "array",
            "description": "Off by default. Printable HTML report: the results as a clean, branded table with the main columns, made for printing, saving as PDF or sending to someone; for working with the data use Excel or CSV, which have every field. Markdown table: the same columns as text for AI tools, docs or GitHub. The Output tab links the files. Each file has the overview columns of every saved row and nothing is left out, so a run with tens of thousands of rows makes a file of tens of MB that can be slow to open; for big runs use the dataset or its Excel export. Excel (XLSX), CSV and JSON are always in the Output tab and under Export, at no extra cost.",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown"
              ],
              "enumTitles": [
                "Printable HTML report",
                "Markdown table"
              ]
            },
            "default": []
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Heureka refuses data center addresses, so the default is Apify's residential proxy (the country of each website is chosen automatically). Its cost is included in the price.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "sendErrorReports": {
            "title": "Send error reports",
            "type": "boolean",
            "description": "When a run fails, send the developer a short error report: the error and your input with secrets left out (tokens, webhooks and e-mails are hidden). Your results are never sent. Reports are deleted after at most 120 hours. Turn off to send nothing.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}