{
  "openapi": "3.0.1",
  "info": {
    "title": "ALDI Australia Scraper - Prices, Special Buys & Catalog",
    "description": "ALDI Australia (aldi.com.au) products and prices: keyword search, categories, Lower Prices / Limited Time Only / Super Savers, weekly Special Buys and the whole catalog. Price, unit price, pack size, images, ingredients, allergens; price monitoring with alerts.",
    "version": "1.0",
    "x-build-id": "gJaCb9h8Q7fph4uPk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~aldi-au-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-aldi-au-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/trev0n~aldi-au-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-aldi-au-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/trev0n~aldi-au-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-aldi-au-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 keywords",
            "type": "array",
            "description": "Products to look for, e.g. \"coffee\", \"olive oil\", \"nappies\". One search per keyword, same results as the search box on aldi.com.au.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "🗂️ Categories & deal lists",
            "type": "array",
            "description": "Whole aisles (Pantry, Freezer, Liquor…) or ALDI's always-on deal lists (Lower Prices, Limited Time Only, Super Savers).",
            "items": {
              "type": "string",
              "enum": [
                "fruits-vegetables",
                "meat-seafood",
                "deli-chilled-meats",
                "dairy-eggs-fridge",
                "pantry",
                "bakery",
                "freezer",
                "drinks",
                "snacks-confectionery",
                "health-beauty",
                "baby",
                "cleaning-household",
                "pets",
                "liquor",
                "higher-protein-food-and-drink",
                "front-of-store",
                "the-peoples-picks",
                "christmas",
                "lower-prices",
                "limited-time-only",
                "super-savers"
              ],
              "enumTitles": [
                "Fruits & Vegetables",
                "Meat & Seafood",
                "Deli & Chilled Meats",
                "Dairy, Eggs & Fridge",
                "Pantry",
                "Bakery",
                "Freezer",
                "Drinks",
                "Snacks & Confectionery",
                "Health & Beauty",
                "Baby",
                "Cleaning & Household",
                "Pets",
                "Liquor",
                "Higher Protein Food and Drink",
                "Front of Store",
                "The People's Picks",
                "Christmas",
                "🏷️ Deal list: Lower Prices",
                "🏷️ Deal list: Limited Time Only",
                "🏷️ Deal list: Super Savers"
              ]
            }
          },
          "customCategories": {
            "title": "🧭 Sub-categories",
            "type": "array",
            "description": "Any category by name or path, e.g. \"Coffee\", \"Drinks > Tea, Coffee & Hot Chocolate\", \"Dogs & Puppy\".",
            "items": {
              "type": "string"
            }
          },
          "specialBuys": {
            "title": "🛍️ Special Buys",
            "enum": [
              "none",
              "current",
              "upcoming",
              "currentAndUpcoming",
              "all"
            ],
            "type": "string",
            "description": "ALDI's weekly limited Special Buys (on sale Wednesdays and Saturdays). Pick which weeks to collect.",
            "default": "none"
          },
          "allProducts": {
            "title": "📚 Whole catalog",
            "type": "boolean",
            "description": "Collect every product ALDI Australia lists online (about 3,300).",
            "default": false
          },
          "startUrls": {
            "title": "🔗 Start URLs",
            "type": "array",
            "description": "Optional aldi.com.au links: a category (/products/pantry/k/970000000), a search (/products?q=coffee), a Special Buys week (/special-buys/2026-10-28) or a product page (/product/…).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "brands": {
            "title": "🏷️ Brands",
            "type": "array",
            "description": "Keep only these brands, e.g. \"BARISTA'S CHOICE\", \"MAMIA\". Alone: every product of the brand.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "💲 Min price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products cheaper than this (0 = no limit).",
            "default": 0
          },
          "maxPrice": {
            "title": "💰 Max price (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products dearer than this (0 = no limit).",
            "default": 0
          },
          "sort": {
            "title": "↕️ Sort",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "name_asc",
              "name_desc"
            ],
            "type": "string",
            "description": "Order in which products are collected (matters when Max items cuts the list).",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "🧾 Product details",
            "type": "boolean",
            "description": "Also open every product page for the description, ingredients, allergens and storage instructions (one extra page per product).",
            "default": false
          },
          "markDeals": {
            "title": "🏷️ Tag deals",
            "type": "boolean",
            "description": "Mark every product that is currently in Lower Prices, Limited Time Only or Super Savers (about 20 extra pages per run).",
            "default": false
          },
          "maxItems": {
            "title": "🔢 Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum products per run (0 = unlimited).",
            "default": 100
          },
          "compact": {
            "title": "🗜️ Compact output",
            "type": "boolean",
            "description": "Only the key fields: name, brand, price, unit price, pack size, category, deals, link.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "🧹 Drop empty fields",
            "type": "boolean",
            "description": "Leave out fields without a value.",
            "default": false
          },
          "incrementalMode": {
            "title": "🔁 Price monitoring (only changes since last run)",
            "type": "boolean",
            "description": "Remember what earlier runs returned and output only new products, price or pack changes, and products that are back. Every change carries the previous price. Ideal for scheduled runs.",
            "default": false
          },
          "stateKey": {
            "title": "🔑 Memory key",
            "type": "string",
            "description": "Name of the monitoring memory. Leave empty to derive it from the search settings."
          },
          "emitUnchanged": {
            "title": "Output unchanged products too",
            "type": "boolean",
            "description": "In monitoring mode, also output products that did not change.",
            "default": false
          },
          "emitExpired": {
            "title": "Output products that disappeared",
            "type": "boolean",
            "description": "In monitoring mode, also output a record for every product no longer listed.",
            "default": false
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "POST a JSON summary of the changes here after each run."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Send changes to Telegram (together with chat ID)."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Chat that receives the Telegram message."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Send changes to a Discord channel."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Send changes to a Slack channel."
          },
          "notifyOnlyChanges": {
            "title": "Notify only when something changed",
            "type": "boolean",
            "description": "Skip the message when the run found nothing new.",
            "default": true
          },
          "notificationLimit": {
            "title": "Products per message",
            "minimum": 1,
            "type": "integer",
            "description": "How many products to list in one message.",
            "default": 10
          },
          "includeRunSummary": {
            "title": "Run summary in webhook",
            "type": "boolean",
            "description": "Add the run's counters to the webhook payload.",
            "default": true
          },
          "maxConcurrency": {
            "title": "⚡ Parallel requests",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Pages loaded at the same time.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy",
            "type": "object",
            "description": "Not needed — aldi.com.au answers without a proxy. Turn on Apify Proxy only if you see blocked requests.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}