{
  "openapi": "3.0.1",
  "info": {
    "title": "ALDI Australia Scraper — $0.32/1K · Products & Prices",
    "description": "Scrape ALDI Australia products, prices and Special Buys. Batch search, URL/SKU details, saved price history and change-only filters with AUD, percentage and unit-price movements. $0.32/1K rows + $0.004/start; platform usage extra.",
    "version": "0.3",
    "x-build-id": "lVkWFnwE7RXy55HzT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~aldi-australia-products-price-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-aldi-australia-products-price-monitor",
        "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/apivault_labs~aldi-australia-products-price-monitor/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-aldi-australia-products-price-monitor",
        "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/apivault_labs~aldi-australia-products-price-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-aldi-australia-products-price-monitor",
        "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": {
          "operation": {
            "title": "What to collect",
            "enum": [
              "search",
              "category",
              "item",
              "categories",
              "search_filters",
              "special_events",
              "specials"
            ],
            "type": "string",
            "description": "Choose product search, category, exact item, discovery, filters or Special Buys.",
            "default": "search"
          },
          "query": {
            "title": "Search phrase",
            "type": "string",
            "description": "For search. Prefer a specific word; relevance follows ALDI."
          },
          "queries": {
            "title": "Additional search phrases",
            "type": "array",
            "description": "Up to 20 phrases; one global result cap across inputs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category URLs",
            "type": "array",
            "description": "ALDI Australia category links. Use categories to discover URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryUrl": {
            "title": "Category URL",
            "type": "string",
            "description": "Optional single category URL, alternative to categoryUrls."
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Numeric ID from categories, kept as a string."
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "Public ALDI Australia product URLs, maximum 20.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Exact SKU IDs",
            "type": "array",
            "description": "Keep leading zeros. Example: 000000000000261610.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eventDate": {
            "title": "Special Buys date",
            "type": "string",
            "description": "YYYY-MM-DD date currently advertised in special_events."
          },
          "theme": {
            "title": "Special Buys theme",
            "type": "string",
            "description": "Optional exact theme returned by special_events."
          },
          "maxResults": {
            "title": "Maximum rows for the whole run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Global delivered-row cap, not per query. Watches require enough room for a complete scope.",
            "default": 25
          },
          "sort": {
            "title": "Sort within each input",
            "enum": [
              "relevance",
              "name_asc",
              "name_desc",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Sort within each input.",
            "default": "relevance"
          },
          "page": {
            "title": "Starting page",
            "minimum": 1,
            "maximum": 170,
            "type": "integer",
            "description": "Monitoring requires page 1. Later pages are partial-scope exploration.",
            "default": 1
          },
          "brand": {
            "title": "Exact brand",
            "type": "string",
            "description": "Source brand filter and case-insensitive exact validation."
          },
          "minPrice": {
            "title": "Minimum price AUD",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Minimum observed product price in AUD."
          },
          "maxPrice": {
            "title": "Maximum price AUD",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Maximum observed product price in AUD."
          },
          "specialsOnly": {
            "title": "Only advertised limited/sale-date items",
            "type": "boolean",
            "description": "Availability labels/dates do not prove a discount.",
            "default": false
          },
          "details": {
            "title": "Open product pages for richer details",
            "type": "boolean",
            "description": "Adds requests; source may leave label fields null. Exact items always include details.",
            "default": false
          },
          "monitor": {
            "title": "Save complete observations for monitoring",
            "type": "boolean",
            "description": "Runs must be sequential; partial snapshots never replace the baseline.",
            "default": false
          },
          "historyKey": {
            "title": "Your private watch name",
            "type": "string",
            "description": "Required for monitoring. 1–80 letters, digits, underscores or hyphens. Same inputs on later runs."
          },
          "changesOnly": {
            "title": "Deliver only changed products",
            "type": "boolean",
            "description": "Implies monitoring. Requires historyKey and complete collection.",
            "default": false
          },
          "deliverBaseline": {
            "title": "Deliver products on first watch run",
            "type": "boolean",
            "description": "Deliver current products on the first successful complete watch run.",
            "default": true
          },
          "historyLimit": {
            "title": "Stored successful observations",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Keep this many successful complete observations, from 1 to 90.",
            "default": 30
          },
          "changeFilter": {
            "title": "Which observed changes to deliver",
            "enum": [
              "all",
              "price_drop",
              "price_rise",
              "unit_price_increase",
              "pack_size_change"
            ],
            "type": "string",
            "description": "Requires changesOnly=true for a non-default filter. Baseline delivery is controlled separately; all events remain in CHANGES.",
            "default": "all"
          },
          "minChangePercent": {
            "title": "Minimum absolute observed price change %",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Requires changesOnly=true. Inclusive threshold versus previous complete observation; unit price for unit_price_increase, product price otherwise. Filtered observations still advance baseline.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}