{
  "openapi": "3.0.1",
  "info": {
    "title": "ALDI Australia Scraper: Grocery Prices & ALDI Special Buys",
    "description": "Scrape ALDI Australia products by search words, category, Special Buys date, product id or the whole catalogue: name, brand, size, price, unit price, Special Buys date and theme, availability, images, category, ingredients and allergens. At your store. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "fi4m13RJTEWqLQk9W"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~aldi-australia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-aldi-australia-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/hyperbach~aldi-australia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-aldi-australia-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/hyperbach~aldi-australia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-aldi-australia-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": {
          "searchTerms": {
            "title": "Search words",
            "maxItems": 1000,
            "type": "array",
            "description": "Words to search ALDI Australia for, one search a line (milk, coffee, nappies). ALDI matches each word on its own: 'frozen pizza' lists every product with 'frozen' OR 'pizza' (184), while 'pizza' lists 27 pizzas, so one word a line gives the cleanest list.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "ALDI links",
            "maxItems": 1000,
            "type": "array",
            "description": "Links from aldi.com.au: a search (https://www.aldi.com.au/results?q=milk&sort=price_asc, its brand, theme and category filters kept), a category (https://www.aldi.com.au/products/dairy-eggs-fridge/milk/k/1111111160), a Special Buys date (https://www.aldi.com.au/special-buys/2026-11-07?theme=Christmas%20Lighting) or a product (https://www.aldi.com.au/product/farmdale-light-milk-2l-000000000000398691).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "maxItems": 200,
            "type": "array",
            "description": "ALDI categories by id (1111111160) or by name or path (Milk, Pantry, dairy-eggs-fridge/milk); a name is read from ALDI's category tree.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product ids",
            "maxItems": 5000,
            "type": "array",
            "description": "ALDI product ids: the 18-digit id (000000000000398691), its short form (398691) or the product's slug ending in the id. One row each; an id ALDI does not know, or a product the store does not range, is a free row that says so.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "specials": {
            "title": "Special Buys",
            "maxItems": 50,
            "type": "array",
            "description": "Special Buys events by date (2026-11-07), or current (every event on sale today), upcoming (every event announced for later) or all (every event in ALDI's calendar). Each event is read theme by theme, so every row names its theme.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "wholeCatalogue": {
            "title": "The whole catalogue",
            "type": "boolean",
            "description": "Read every product ALDI lists online (about 3,300; ALDI's list serves 4 fewer than its own count, and the input's row says both figures). Set maxItemsPerQuery to 0 to read it all.",
            "default": false
          },
          "store": {
            "title": "Store",
            "type": "string",
            "description": "The ALDI store to read the range at: a store id (G452) or a 4-digit postcode (2000: its nearest store). ALDI's price is the same in every store; the range differs by state. Empty: G452 (Glenmore Park NSW), the site's own default. Every row says the store it was read at.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "relevance",
              "name_asc",
              "name_desc",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "The order of each list, as ALDI sorts it.",
            "default": "relevance"
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Only these brands (FARMDALE, Choceur), matched to the brands ALDI lists for each search or category whatever the case. A brand the list does not have is named on the input's row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "themes": {
            "title": "Themes",
            "type": "array",
            "description": "Only these Special Buys themes (Christmas Lighting), matched to the themes ALDI lists for each list whatever the case.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (AUD)",
            "minimum": 0,
            "type": "number",
            "description": "Only products at this shelf price or more. A product left out is not charged."
          },
          "maxPrice": {
            "title": "Max price (AUD)",
            "minimum": 0,
            "type": "number",
            "description": "Only products at this shelf price or less. A product left out is not charged."
          },
          "onlySpecials": {
            "title": "Only Special Buys",
            "type": "boolean",
            "description": "Only products that carry a Special Buys date (on sale now while stocks last, or on sale from a later date).",
            "default": false
          },
          "includeDetails": {
            "title": "Product details",
            "type": "boolean",
            "description": "Read each product's own record for the description, ingredients, allergens, the 'may contain' text, the storage and usage texts and the variant ids (one more call a product; about 0.8 s, read in parallel). Off: the list's fields only, faster.",
            "default": true
          },
          "includeStoreStock": {
            "title": "Special Buys stock",
            "type": "boolean",
            "description": "For Special Buys, ALDI's stock level at the store (Stock available, Medium stock, Low/no stock) and at the stores within 50 km. ALDI publishes no stock for its everyday range.",
            "default": false
          },
          "includePriceLabels": {
            "title": "Price labels",
            "type": "boolean",
            "description": "Say which of ALDI's price lists (New Low Price, Super Savers, Limited Time Only) list each product. Reads those three lists once a run (about 13 calls).",
            "default": false
          },
          "maxItemsPerQuery": {
            "title": "Max products per input",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "The most product rows for each search, link, category or Special Buys entry; 0 = every product the list serves. A product id is one row whatever this says.",
            "default": 100
          },
          "maxItems": {
            "title": "Max products (whole run)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "The most product rows of the whole run; 0 = no cap beyond your charge limit. The free rows per input do not count.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}