{
  "openapi": "3.0.1",
  "info": {
    "title": "Geizhals DACH Hardware Price Comparison Extractor",
    "description": "Search, browse or fetch Geizhals electronics and hardware price comparisons across Austria, Germany, Poland and the UK, with lowest price and offer count per product.",
    "version": "1.0",
    "x-build-id": "f5hfgSe4jbwXfnCxC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~geizhals-dach-hardware-price-comparison-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-geizhals-dach-hardware-price-comparison-extractor",
        "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/dataspryva~geizhals-dach-hardware-price-comparison-extractor/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-geizhals-dach-hardware-price-comparison-extractor",
        "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/dataspryva~geizhals-dach-hardware-price-comparison-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-geizhals-dach-hardware-price-comparison-extractor",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "categoryBrowse",
              "productDetails",
              "deals",
              "productPrices"
            ],
            "type": "string",
            "description": "What to scrape: keyword search, category browse, product lookup, or current deals.",
            "default": "search"
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Free-text product search (search mode) or a filter inside the chosen category (categoryBrowse mode). Not used by productDetails or deals.",
            "default": "rtx 4070"
          },
          "searchCategory": {
            "title": "Search category",
            "enum": [
              "all",
              "gra16_512",
              "cpuamdam4",
              "mainboards",
              "ramddr3",
              "hdssd",
              "hde7s",
              "monlcd19wide",
              "kb",
              "mouse",
              "sphd",
              "cam",
              "gehps",
              "gehatx",
              "cpucooler",
              "nb",
              "nbtabl",
              "sysdiv",
              "prl",
              "pri",
              "dr3d",
              "sm_usb"
            ],
            "type": "string",
            "description": "Restrict keyword search to one hardware category, or search the whole catalogue.",
            "default": "all"
          },
          "category": {
            "title": "Category to browse",
            "enum": [
              "gra16_512",
              "cpuamdam4",
              "mainboards",
              "ramddr3",
              "hdssd",
              "hde7s",
              "monlcd19wide",
              "kb",
              "mouse",
              "sphd",
              "cam",
              "gehps",
              "gehatx",
              "cpucooler",
              "nb",
              "nbtabl",
              "sysdiv",
              "prl",
              "pri",
              "dr3d",
              "sm_usb",
              "cpu",
              "gra",
              "ram",
              "hd",
              "monitor",
              "keyboard",
              "printer",
              "usb"
            ],
            "type": "string",
            "description": "Hardware category used by categoryBrowse mode.",
            "default": "gra16_512"
          },
          "manufacturer": {
            "title": "Manufacturer / brand",
            "type": "string",
            "description": "Optional brand filter for search and categoryBrowse (e.g. ASUS, MSI, Samsung). A numeric Geizhals manufacturer id also works in search mode."
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "number",
            "description": "Optional lowest acceptable price. Used by search and categoryBrowse."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "number",
            "description": "Optional highest acceptable price. Used by search, categoryBrowse and deals."
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "newest",
              "bestRated"
            ],
            "type": "string",
            "description": "Search and categoryBrowse sorting. Newest and best rated apply to categoryBrowse; search falls back to relevance.",
            "default": "relevance"
          },
          "market": {
            "title": "Market",
            "enum": [
              "de",
              "at"
            ],
            "type": "string",
            "description": "Country site and pricing market. Austria and Germany are fully supported.",
            "default": "de"
          },
          "productIds": {
            "title": "Product ids or URLs",
            "type": "array",
            "description": "Geizhals product ids (e.g. 3103639) or product page URLs (e.g. https://geizhals.de/...-a3103639.html). Used by productDetails mode.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum records to return.",
            "default": 20
          },
          "maxOffers": {
            "title": "Offers per product",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many shop offers to include per product in productDetails mode (cheapest first).",
            "default": 5
          },
          "includeSpecifications": {
            "title": "Include specifications",
            "type": "boolean",
            "description": "Add the product specification table to each record when the source provides it.",
            "default": true
          },
          "includePriceHistory": {
            "title": "Include price history",
            "type": "boolean",
            "description": "Add a price-history summary and change series to productDetails records (one extra request per product).",
            "default": false
          },
          "priceHistoryDays": {
            "title": "Price history window",
            "enum": [
              "31",
              "91",
              "183",
              "365"
            ],
            "type": "string",
            "description": "Days of price history for productDetails when includePriceHistory is on.",
            "default": "31"
          },
          "dealSort": {
            "title": "Deals sort order",
            "enum": [
              "percent",
              "price",
              "latest",
              "popularity",
              "top"
            ],
            "type": "string",
            "description": "Ordering for deals mode.",
            "default": "percent"
          },
          "minDiscountPercent": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 99,
            "type": "number",
            "description": "Deals mode: keep only price drops of at least this percentage."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}