# Aldi AU - Product prices (`scrapingbuddy/aldi-au-products`) Actor

Scrapes products and prices from ALDI Australia (aldi.com.au) by search term or category, for any store.

- **URL**: https://apify.com/scrapingbuddy/aldi-au-products.md
- **Developed by:** [Giacomo Pigani](https://apify.com/scrapingbuddy) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Aldi Australia Scraper

Scrapes products and prices from [ALDI Australia](https://www.aldi.com.au). You can search the
same way as on the website, download every product in a category, or both: a search limited to
a category. Prices and range come from the Aldi store you choose.

### Input

Set a search term, a category, or both. Without a store, prices come from the store the website
shows a new visitor, Glenmore Park (NSW).

| Parameter | Options | Description |
|---|---|---|
| `searchTerm` | (optional) Text to search for | One search, like the search box on the website. Returns the same products, in the same order, as the website. Like the website, Aldi matches each word on its own, so `frozen pizza` also returns products that match only `frozen`. |
| `category` | (optional) Category ID, e.g. `950000000`, or a category page URL | Every product in this category or subcategory. With a search term, keeps only the results in it, like the website's Category filter. In a URL only the ID after `/k/` matters, so `https://www.aldi.com.au/products/fruits-vegetables/k/950000000` and `https://www.aldi.com.au/anything/k/950000000` are the same category. |
| `store` | (optional) Suburb or postcode of an Aldi store, e.g. `Cannington` or `6107` | Uses this store's prices and range. Must be a suburb or postcode that has an Aldi store, as in the [store finder](https://www.aldi.com.au/storelocator). In a postcode with several stores, the first one Aldi lists is used. If no store matches, the run fails and lists the store finder's suggestions. |

Example using a search query:

```json
{
  "searchTerm": "cheese"
}
```

Example using a category (a pasted category URL works too):

```json
{
  "category": "https://www.aldi.com.au/products/dairy-eggs-fridge/cheese/k/1111111163"
}
```

Example searching within a category, at a store in Perth:

```json
{
  "searchTerm": "cheese",
  "category": "960000000",
  "store": "Cannington"
}
```

#### Categories

The top-level categories and their IDs. A subcategory's ID is the one after `/k/` in its URL on
the website, e.g. `1111111163` in `/products/dairy-eggs-fridge/cheese/k/1111111163`. Seasonal
categories come and go.

| ID | Category |
|----|----------|
| 1588161408332092 | Front of Store |
| 1588161427774115 | Higher Protein Food and Drink |
| 1588161408332087 | Snacks & Confectionery |
| 1010000000 | Liquor |
| 1020000000 | Pets |
| 1050000000 | Cleaning & Household |
| 1030000000 | Baby |
| 1040000000 | Health & Beauty |
| 1000000000 | Drinks |
| 980000000 | Freezer |
| 920000000 | Bakery |
| 970000000 | Pantry |
| 960000000 | Dairy, Eggs & Fridge |
| 930000000 | Deli & Chilled Meats |
| 940000000 | Meat & Seafood |
| 950000000 | Fruits & Vegetables |
| 1588161420755352 | Limited Time Only |
| 1588161426952145 | Super Savers |
| 1588161425841179 | Lower Prices |
| 1588161420755355 | Christmas (seasonal) |

### Output

- **Dataset**: one item per product, as Aldi returns it, plus the product page `url` and the
  main `image`. Image links are filled in at their largest size. Search results also carry
  `search_term`.
- **`STORE`** (key-value store): what was requested and which store served the data, e.g.
  `{"requested": "Cannington", "id": "G063", "name": "1383 Albany Highway", "city": "Cannington", "postcode": "6107", "state": "WA"}`.
- **`FAILED_REQUESTS`** (key-value store, only when some requests failed): the URL and error
  of each failed page. If any page failed, the run fails rather than returning an incomplete
  dataset as a success.

#### Product fields

Values come as Aldi sends them. **Amounts are in cents** (`499` is $4.99); the `…Display`
fields hold the text the website shows. Fields inside an object are written with a dot, e.g.
`price.amountRelevant`.

| Field | Description |
|---|---|
| `sku` | Product code (18 digits, with leading zeros), as at the end of the product page URL. |
| `name` | Name with size, e.g. *Smoked Cheese 200g*. |
| `brandName` | Brand. Missing for loose produce. |
| `sellingSize` | Pack size, e.g. *200 g*. |
| `url`, `image` | Product page and main image. |
| `price.amountRelevant`, `price.amountRelevantDisplay` | The price the website shows, in cents and as text, e.g. *$4.99*. For packs of variable weight (weight type `1`, e.g. *approx. 1.157 kg per package*) it's the estimated price of a pack. |
| `price.amount` | Base price in cents: the same as `amountRelevant`, except for packs of variable weight, where it's the price per kg. |
| `price.comparison`, `price.comparisonDisplay` | Unit price in cents, and as shown, e.g. *$24.95 per 1 kg*. Aldi gives none for alcohol. |
| `price.perUnitDisplay` | Products sold by weight: the unit the price is for, e.g. *1 kg*. |
| `price.wasPriceDisplay`, `price.savingsDisplay` | Price before a reduction and the saving, when Aldi shows them. |
| `price.bottleDeposit` | Container deposit in cents. |
| `categories` | Category and subcategory: `id`, `name`, `urlSlugText`. |
| `assets` | All images: `url`, `maxWidth`, `maxHeight`, `assetType`. |
| `onSaleDate`, `onSaleDateDisplay` | Limited-time products: the on-sale date and the note on the product card, e.g. *While Stocks Last*. |
| `ageRestriction`, `alcohol` | Minimum age to buy (18 for alcohol) and alcohol content, e.g. *14.5 %*. |
| `discontinued` | Discontinued product. |
| `quantityUnit`, `weightType` | How the product is sold. Weight type `0`: by the unit (`ea`, `pac`, `bt`, …); `1`: packs of variable weight, priced per kg; `3`: loose, by the kg. |
| `search_term` | Search rows only: the search that returned the product. |

Aldi also sends a few fields that are empty for its stores, such as `badges`, `energyClass`
and `notForSale` (always true: Aldi Australia only sells in stores).

# Actor input Schema

## `searchTerm` (type: `string`):

One search, like the search box on the Aldi website, e.g. "cheese". Returns the same products, in the same order, as the website. Like the website, Aldi matches each word on its own, so "frozen pizza" also returns products that match only "frozen". Combine with a category to keep only the results in it.

## `category` (type: `string`):

An Aldi category or subcategory: its ID, e.g. 950000000 (Fruits & Vegetables), or a category page URL from the website, e.g. https://www.aldi.com.au/products/fruits-vegetables/k/950000000. Only the ID after /k/ matters. Without a search term, scrapes every product in it.

## `store` (type: `string`):

The suburb or postcode of an Aldi store, e.g. "Cannington" or "6107", as in Aldi's store finder. Prices and range depend on the store. Leave empty for the store the website shows a new visitor (Glenmore Park, NSW).

## Actor input object example

```json
{
  "searchTerm": "cheese"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerm": "cheese"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingbuddy/aldi-au-products").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchTerm": "cheese" }

# Run the Actor and wait for it to finish
run = client.actor("scrapingbuddy/aldi-au-products").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerm": "cheese"
}' |
apify call scrapingbuddy/aldi-au-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingbuddy/aldi-au-products"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/85jd5mFd8uXy9AkyZ/builds/f9En0nw6f1WPCIhTg/openapi.json
