{
  "openapi": "3.0.1",
  "info": {
    "title": "Croatia Webshop Prices by EAN (NN 132/2026)",
    "description": "Compare prices of the same product (EAN) across Croatian webshops - KomKom, ADM, Mikronis, Links, Svijet medija, CyberShop, Bazzar, Ronis - from their official price lists. Cheapest shop, spread %, my-shop position, price changes.",
    "version": "0.1",
    "x-build-id": "XZJLcPz9nW7SMLYmc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/woolly_neon_noz~hr-webshop-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-woolly_neon_noz-hr-webshop-prices",
        "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/woolly_neon_noz~hr-webshop-prices/runs": {
      "post": {
        "operationId": "runs-sync-woolly_neon_noz-hr-webshop-prices",
        "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/woolly_neon_noz~hr-webshop-prices/run-sync": {
      "post": {
        "operationId": "run-sync-woolly_neon_noz-hr-webshop-prices",
        "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": {
          "shops": {
            "title": "Shops",
            "type": "array",
            "description": "Webshops whose official price lists (NN 132/2026) are compared. Default: the 8 shops whose files were readable from the Apify cloud on 2026-11-23.",
            "items": {
              "type": "string",
              "enum": [
                "komkom",
                "cybershop",
                "adm",
                "mikronis",
                "links",
                "svijetmedija",
                "bazzar",
                "ronis",
                "instar",
                "hgspot",
                "protis",
                "chipoteka",
                "elipso"
              ],
              "enumTitles": [
                "KomKom",
                "CyberShop",
                "ADM",
                "Mikronis",
                "Links",
                "Svijet medija",
                "Bazzar",
                "Ronis",
                "Instar Informatika (often unreachable from cloud IPs)",
                "HGSPOT (slow: 120 s Crawl-delay)",
                "Protis (blocks some IP ranges)",
                "Chipoteka (file link currently 404)",
                "Elipso (robots.txt disallows the download)"
              ]
            },
            "default": [
              "komkom",
              "cybershop",
              "adm",
              "mikronis",
              "links",
              "svijetmedija",
              "bazzar",
              "ronis"
            ]
          },
          "eans": {
            "title": "EAN / GTIN codes",
            "type": "array",
            "description": "Only these barcodes (8-14 digits; leading zeros do not matter). Leave empty to compare everything that matches the other filters.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep products whose name or brand contains ANY of these phrases (case and diacritics ignored), e.g. 'ryzen 7', 'rtx 5060'.",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Keep products of ANY of these brands, e.g. Samsung, Logitech.",
            "items": {
              "type": "string"
            }
          },
          "myShop": {
            "title": "My shop (price position mode)",
            "type": "string",
            "description": "Shop id from the list above (e.g. 'adm') or the name of one of your custom sources. Rows then show your price, your rank, the cheapest competitor and the difference in %. Only EANs you sell are returned."
          },
          "onlyMoreExpensive": {
            "title": "Only where my shop is not the cheapest",
            "type": "boolean",
            "description": "With 'My shop': return only EANs where at least one competitor is cheaper.",
            "default": false
          },
          "trackChanges": {
            "title": "Track price changes",
            "type": "boolean",
            "description": "Remember prices under the state key and mark each row NEW, PRICE_CHANGED or UNCHANGED, with the old and new price per shop.",
            "default": false
          },
          "onlyChanged": {
            "title": "Only changed prices",
            "type": "boolean",
            "description": "Return only PRICE_CHANGED rows (turns on price tracking). The first run saves the baseline and returns nothing. Ideal for a daily schedule.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the price memory. Use one key per watchlist (letters, digits, - _ .).",
            "default": "default"
          },
          "minShops": {
            "title": "Minimum shops per EAN",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Only EANs sold by at least this many of the read shops. Use 1 to list single-shop products too.",
            "default": 2
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "number",
            "description": "Filter on the cheapest price of the EAN."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "number",
            "description": "Filter on the cheapest price of the EAN."
          },
          "outlierRatio": {
            "title": "Outlier ratio",
            "minimum": 1,
            "type": "number",
            "description": "Rows where highest / cheapest price is above this ratio get suspectedOutlier = true (often a data error or a different bundle). They are sorted last.",
            "default": 1.35
          },
          "excludeOutliers": {
            "title": "Exclude outliers",
            "type": "boolean",
            "description": "Drop rows flagged as suspected outliers.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "spread",
              "shopCount",
              "difference",
              "price",
              "name"
            ],
            "type": "string",
            "description": "Default: spread (or difference in My shop mode). Changed rows always come first when tracking changes."
          },
          "includeOffers": {
            "title": "Include per-shop offer details",
            "type": "boolean",
            "description": "Adds an 'offers' array per row: price, special offer flag and name, anchor price, 30-day lowest price, availability, the shop's product code and name, price-list date.",
            "default": true
          },
          "maxFileAgeDays": {
            "title": "Maximum price-list age (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Price lists older than this are skipped and reported as STALE.",
            "default": 7
          },
          "customSources": {
            "title": "Custom price-list URLs",
            "type": "array",
            "description": "Other retailers' NN 132/2026 CSV files: [{\"name\": \"My shop\", \"url\": \"https://example.hr/cjenik.csv\"}]. The file must be a CSV with a barcode and a price column. robots.txt is respected."
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows written (and charged). 0 = no limit (an unfiltered comparison of all shops has about 19,000 EANs).",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}