{
  "openapi": "3.0.1",
  "info": {
    "title": "ALDI Scraper: Prices & Special Buys in AU, UK, US & Germany",
    "description": "Scrape ALDI grocery prices in Australia, the UK, the US and Germany: search, categories, Special Buys, Weekly Ad, ALDI Finds and Angebote. Price, was-price, unit price, pack size, brand, categories, stock and optional ingredients, allergens and nutrition.",
    "version": "0.0",
    "x-build-id": "rtH8na3v7xBRSv5gd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~aldi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-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/memo23~aldi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-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/memo23~aldi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-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": {
          "country": {
            "title": "Country",
            "enum": [
              "au",
              "uk",
              "us",
              "de"
            ],
            "type": "string",
            "description": "For search terms. Links and offer lists carry their own country.",
            "default": "au"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Products to search for, one search each. One word gives the cleanest results: ALDI matches each word on its own.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "ALDI links",
            "type": "array",
            "description": "Category, Special Buys / Angebote date, search and product pages from aldi.com.au and aldi-sued.de; product, Specialbuys date and search pages from aldi.co.uk; product, collection and search pages from aldi.us.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "offerLists": {
            "title": "Offer lists",
            "type": "array",
            "description": "Weekly deals, Special Buys and price drops, by country. \"Every current date\" reads each Special Buys / Angebote date ALDI shows now, including upcoming ones.",
            "items": {
              "type": "string",
              "enum": [
                "au:special_buys",
                "au:lower_prices",
                "au:super_savers",
                "au:limited_time",
                "uk:special_buys",
                "us:weekly_ad",
                "us:aldi_finds",
                "us:upcoming_aldi_finds",
                "us:price_drops",
                "de:angebote",
                "de:weekly",
                "de:weekly_fresh",
                "de:permanent_low",
                "de:under_1_eur",
                "de:new"
              ],
              "enumTitles": [
                "Australia: Special Buys (every current date)",
                "Australia: Lower Prices",
                "Australia: Super Savers",
                "Australia: Limited Time Only",
                "UK: Specialbuys (every current date)",
                "US: Weekly Ad",
                "US: ALDI Finds this week",
                "US: ALDI Finds next week",
                "US: Price Drops",
                "Germany: Angebote (every current date)",
                "Germany: Wochenangebote",
                "Germany: Frischeprodukte im Angebot",
                "Germany: Dauerhaft günstig",
                "Germany: Produkte unter 1 €",
                "Germany: Neuheiten"
              ]
            }
          },
          "sortBy": {
            "title": "Order (Australia, UK, Germany)",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "name_asc",
              "name_desc"
            ],
            "type": "string",
            "description": "ALDI's own sort orders.",
            "default": "relevance"
          },
          "usZipCode": {
            "title": "US ZIP code",
            "type": "string",
            "description": "ALDI US prices and range differ by store: the store nearest this ZIP code prices the results. Default: a store near Chicago."
          },
          "usStoreId": {
            "title": "US store id",
            "type": "string",
            "description": "A specific ALDI US store id (wins over the ZIP code). Every US row carries its storeId."
          },
          "usPriceType": {
            "title": "US price list",
            "enum": [
              "delivery",
              "in_store",
              "pickup"
            ],
            "type": "string",
            "description": "Which of the store's price lists. In-store prices are often lower than delivery.",
            "default": "delivery"
          },
          "maxProductsPerInput": {
            "title": "Max products per input",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Each search term, link or offer list (each Special Buys date) stops here.",
            "default": 100
          },
          "includeDetails": {
            "title": "Full product details",
            "type": "boolean",
            "description": "Adds each product's page: description, ingredients, allergens, nutrition, storage and usage (Australia, UK, Germany), or ingredients, directions, warnings and rating (US). Charged as a separate event per product. Product links always include details.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}