{
  "openapi": "3.0.1",
  "info": {
    "title": "Aldi Scraper | 15 Countries, Aldi Nord & Sud, Hofer Prices",
    "description": "Scrape Aldi and Hofer across Europe, Germany's Aldi Nord and Aldi Süd included: prices, old prices, offer dates, price per kg or litre where the shop shows one, brand, pack size and categories, as JSON. Whole catalogue, categories or search. No login, no proxy.",
    "version": "0.1",
    "x-build-id": "27guYXuAn62RQ3y7t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ratatoskr~aldi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ratatoskr-aldi-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/ratatoskr~aldi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ratatoskr-aldi-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/ratatoskr~aldi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ratatoskr-aldi-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": {
          "shops": {
            "title": "Shops",
            "type": "array",
            "description": "Which Aldi shops to read. Germany has two separate companies, Aldi Nord and Aldi Süd, with their own ranges and prices. Pick several to compare them in one run. Category pages below name their own shop.",
            "items": {
              "type": "string",
              "enum": [
                "be-nl",
                "be-fr",
                "fr",
                "de-nord",
                "de-sued",
                "nl",
                "lu",
                "es",
                "pt",
                "pl",
                "at",
                "ch",
                "gb",
                "ie",
                "it",
                "hu",
                "si"
              ],
              "enumTitles": [
                "Belgium (Dutch)",
                "Belgium (French)",
                "France",
                "Germany, Aldi Nord",
                "Germany, Aldi Süd",
                "Netherlands",
                "Luxembourg",
                "Spain",
                "Portugal",
                "Poland",
                "Austria (Hofer)",
                "Switzerland (Aldi Suisse)",
                "United Kingdom",
                "Ireland",
                "Italy",
                "Hungary",
                "Slovenia (Hofer)"
              ]
            },
            "default": [
              "be-nl"
            ]
          },
          "categories": {
            "title": "Category pages (optional)",
            "type": "array",
            "description": "Category page URLs from any Aldi or Hofer shop, such as https://www.aldi.be/producten/aardappelen-groenten-fruit/vers-fruit.html. Leave empty, with no search terms, for the whole catalogue.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms (optional)",
            "type": "array",
            "description": "In the shop's language (e.g. koffie, or café for France). Belgium (be-nl, be-fr): each term goes through Aldi's own search, as on aldi.be, which also finds products through their shelf, description or a related word: ten everyday terms at 25 a term gave 203 products, 74 of them with the term in their name (2026-11-19). Those come first, then the rest in Aldi's order, up to Max products and at most 1,000 a term, and each row's nameMatch says which it is. Other shops, and Belgium when Aldi's search does not answer: only products whose name holds all these words (at Aldi Süd the brand counts too). A number matches whole, and 1,5 is one number.",
            "items": {
              "type": "string"
            }
          },
          "nameMatchOnly": {
            "title": "Only products whose name holds the term",
            "type": "boolean",
            "description": "With search terms: leave out each product whose name does not hold the term, before anything is charged; the status counts them. Off by default, because Aldi Belgium's own search also finds what a term names in other words: Belgium says boter, so no Belgian name holds roomboter, while its hits are butter, margarine and cream.",
            "default": false
          },
          "promotionsOnly": {
            "title": "Promotions only",
            "type": "boolean",
            "description": "Only products with an old price or a promotion label.",
            "default": false
          },
          "onSaleNowOnly": {
            "title": "On sale now only",
            "type": "boolean",
            "description": "Leave out prices that start on a later date: next week's offers, and weekly specials that are not in the shops yet (always, with a watch name). Off, you also get those, marked with upcoming: true.",
            "default": false
          },
          "includeUnpriced": {
            "title": "Include products without a price",
            "type": "boolean",
            "description": "Also return products Aldi lists with no price on its site, with price empty. Off, only priced products are returned.",
            "default": false
          },
          "maxItems": {
            "title": "Max products per shop and search term, or per category",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many products for each shop and search term pair, each category page, or each shop's whole catalogue: 2 shops and 10 terms at 25 can return up to 500. Default 100; enter a higher number such as 100000 for everything.",
            "default": 100
          },
          "watchName": {
            "title": "Watch name (change tracking)",
            "type": "string",
            "description": "Give the watch a name and schedule the run: every run after the first returns only what changed since the last one (a promotion that started or ended, a price drop or rise, a changed offer, a new product), each with the previous price and offer. The first run returns everything as the baseline. A watch follows today's prices: a price that starts later is left out until its first day. Different names keep separate memories in a key-value store on your own Apify account. Unchanged products are not output, and you pay only for the rows that are."
          },
          "onlyChanges": {
            "title": "Only changes",
            "type": "boolean",
            "description": "With a watch name: output only products that changed. Off: every one, each marked with its change (or unchanged), charged as a row.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}