# Coles, Woolworths & ALDI Price Scraper (Australia) (`moonweil/au-grocery-prices`) Actor

Search Coles, Woolworths and ALDI Australia in one run and get one clean table: price, was-price, specials, unit price, stock, barcode, product URL and image. Track price drops and new specials between runs. No start fee: pay only per product row.

- **URL**: https://apify.com/moonweil/au-grocery-prices.md
- **Developed by:** [Aleksandr Jelohhin](https://apify.com/moonweil) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 products

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

## Coles, Woolworths & ALDI Price Scraper (Australia)

Search **Coles, Woolworths and ALDI Australia in one run** and get one clean table: price, was-price, special flag, savings, unit price, size, stock, barcode, category, product link and image. You can also schedule it as a **price monitor** that reports only what changed since the last run.

- **Three supermarkets, one schema.** The fields are the same for every retailer, so you can compare products side by side without writing three parsers.
- **No start fee.** You pay per product row. Empty or failed searches cost nothing.
- **Built-in price monitor.** Each row gets a `priceChange` status: `new`, `price_down`, `price_up`, `special_started`, `special_ended` or `unchanged`. Turn on *Only return changes* and you pay only for movements.
- **Stays up when the sites push back.** It uses a Chrome-like HTTP client with session rotation. A retailer that keeps blocking moves to Australian residential proxies on its own.

### What you can use it for

- **Weekly specials tracking.** Get every discounted item for a list of products, with its was-price and savings.
- **Price comparison.** Compare the same basket (milk, bread, nappies…) across the three chains, using unit prices to make it fair.
- **Brand & category monitoring.** See how your products and your competitors' products are priced and promoted.
- **Price alerts.** Schedule it daily with a monitor name and pipe the `changes` view into Slack, a sheet or a webhook.
- **Datasets for apps and research.** Feed grocery price trackers, inflation research or budgeting apps.

### Input

| Field | What it does |
|---|---|
| `searchTerms` | Products to search, typed as you would in the supermarket's search box (`"milk 2l"`, `"tim tams"`, `"nappies"`). Every term runs at every selected retailer. |
| `retailers` | `woolworths`, `coles`, `aldi`. All three by default. |
| `maxItemsPerSearch` | Cap per term per retailer, in the retailer's own relevance order (default 50, max 1000). It also caps your cost. |
| `onlySpecials` | Return only discounted products. |
| `monitorName` | Turns on price monitoring. Use the same name on every scheduled run. |
| `onlyChanges` | With a monitor: return (and charge for) only products whose price or special status changed. |
| `maxConcurrency`, `proxyConfiguration` | Advanced. The defaults work. |

```json
{
  "searchTerms": ["milk", "tim tams", "nappies"],
  "retailers": ["woolworths", "coles", "aldi"],
  "maxItemsPerSearch": 20,
  "onlySpecials": false
}
```

### Output

Real rows from a run on 7 November 2026 (search "milk"):

| Retailer | Product | Size | Price | Was | Unit price |
|---|---|---|---:|---:|---|
| Woolworths | Dairy Farmers Full Cream Milk | 2L | $4.20 | $4.70 | $2.10 / 1L |
| Woolworths | MILKLAB Lactose Free Dairy Long Life Milk | 1L | $3.50 | | $3.50 / 1L |
| Coles | Coles Full Cream Milk | 3L | $4.95 | | $1.65 / 1L |
| Coles | Rokeby Fitmilk Lactose Free Light Milk | 1L | $3.20 | | $3.20 / 1L |
| ALDI | Light Milk 2L | 2 l | $3.39 | | $1.70 per 1 L |

A full row looks like this:

```json
{
  "retailer": "woolworths",
  "retailerName": "Woolworths",
  "searchTerm": "milk",
  "position": 6,
  "productId": "88436",
  "name": "Dairy Farmers Full Cream Milk",
  "brand": "Dairy Farmers",
  "size": "2L",
  "price": 4.2,
  "wasPrice": 4.7,
  "isOnSpecial": true,
  "savings": 0.5,
  "unitPrice": 2.1,
  "unitPriceMeasure": "1L",
  "unitPriceText": "$2.10 / 1L",
  "inStock": true,
  "category": "Milk",
  "barcode": "9310199012717",
  "url": "https://www.woolworths.com.au/shop/productdetails/88436/dairy-farmers-full-cream-milk-full-cream-milk",
  "imageUrl": "https://cdn1.woolworths.media/content/wowproductimages/medium/088436.jpg",
  "scrapedAt": "2026-11-07T12:28:37.825Z",
  "priceChange": { "status": "price_down", "previousPrice": 4.7, "change": -0.5, "changePercent": -10.64, "lastSeenAt": "2026-11-06T12:28:31.000Z" }
}
```

`priceChange` is present only when `monitorName` is set. The `priceChange` values in this example are illustrative. Some fields aren't published by every retailer: ALDI doesn't expose barcodes or stock, and Coles doesn't expose stock in search. Those fields are `null` rather than guessed.

The dataset has two views:

- **Prices:** image, retailer, product, size, price, was-price, special, unit price, stock and link.
- **Price changes:** previous price, change in $ and %, and status.

The run's `SUMMARY` record holds per-retailer counts, any empty or failed searches, and proxy statistics.

### Price monitoring

1. Set `monitorName` (for example `weekly-basket`) and save the run as a task.
2. Schedule the task daily or weekly.
3. Run 1 is the **baseline**: every product comes back as `new`.
4. From then on, each run compares the same top-N products per search against the previous run. Turn on `onlyChanges` to get, and pay for, only `price_down`, `price_up`, `special_started`, `special_ended` and genuinely new products.

The history lives in a key-value store named `au-grocery-<monitorName>` on your own account. Products not seen for 90 days are dropped.

> **Tip:** use specific search terms ("dairy farmers milk 2l" rather than "milk"). Supermarkets reshuffle relevance rankings, and with broad terms a product can drop out of your top-N and later reappear as `new`.

### Pricing

**$0.001 per product row** (pay per event). There is no start fee and no monthly rental.

| Job | Rows | Cost |
|---|---:|---:|
| 10 products × 3 retailers × 10 results | 300 | $0.30 |
| 30-product basket × 3 retailers × 50 results | 4,500 | $4.50 |
| Daily monitor of that basket with *Only return changes* (typically a few % change per day) | ~100–300 | ~$0.10–0.30 / day |

Platform usage is billed separately by Apify, and it is small. A 4,668-row run took 91 seconds in 512 MB.

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/moonweil~au-grocery-prices/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms":["tim tams"],"maxItemsPerSearch":10,"onlySpecials":true}'
```

```js
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("moonweil/au-grocery-prices").call({ searchTerms: ["milk 2l", "bread"], maxItemsPerSearch: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### FAQ

**Which stores and prices does it return?**
The online prices each retailer shows to a visitor without a selected store, which is their national/default online pricing. In-store prices can differ by location.

**How fresh is the data?**
It's live. Every run queries the retailers' own search at run time.

**What if a retailer blocks the run?**
The Actor retries on new sessions. If blocks keep coming, it switches that retailer to Australian residential proxies. A search that still fails is listed in the `SUMMARY` record and is not charged. The other retailers keep going.

**Does it need a login or cookies?**
No. It reads only public product listings. It doesn't collect personal data.

**Why does "Only products on special" return nothing from ALDI?**
ALDI's online range lists a single everyday price with no was-price, so there is nothing to flag as a special. Woolworths and Coles specials come through with their was-price and savings.

**Can I get every product in a category?**
Use a broad term (for example "chocolate") with a high `maxItemsPerSearch`. Each search pages through up to 30 result pages.

**Something is missing or broken?**
Open an issue on the Actor's Issues tab with the run ID. Fixes usually ship within a few days.

# Actor input Schema

## `searchTerms` (type: `array`):

Products to search for, as you would type them in the supermarket search box (e.g. "milk 2l", "tim tams", "nappies"). Each term is searched at every selected retailer.

## `retailers` (type: `array`):

Which supermarkets to search. All three by default.

## `maxItemsPerSearch` (type: `integer`):

Upper limit of products returned for each search term at each retailer, in the retailer's own relevance order. You pay per product row, so this also caps the cost.

## `onlySpecials` (type: `boolean`):

Return only products that are currently discounted (with their was-price and savings).

## `monitorName` (type: `string`):

Set a name and schedule this Actor (e.g. daily) to track prices. Every row then gets a priceChange field: new, price_down, price_up, special_started, special_ended or unchanged, with the previous price. Use the same name on each run; the history is kept in a key-value store on your account.

## `onlyChanges` (type: `boolean`):

With a price monitor name: return (and pay for) only products whose price or special status changed since the last run. The first run returns everything as the baseline.

## `maxConcurrency` (type: `integer`):

How many searches run at the same time at each retailer. Higher is faster but more likely to be rate limited.

## `proxyConfiguration` (type: `object`):

The default Apify proxy works for most runs. If a supermarket keeps blocking requests, the Actor switches that retailer to Australian residential proxies by itself.

## Actor input object example

```json
{
  "searchTerms": [
    "milk",
    "tim tams"
  ],
  "retailers": [
    "woolworths",
    "coles",
    "aldi"
  ],
  "maxItemsPerSearch": 10,
  "onlySpecials": false,
  "onlyChanges": false,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product per search: retailer, name, brand, size, price, was-price, special, unit price, stock, barcode, URL and image.

## `changes` (type: `string`):

With a price monitor name: previous price, change and status for each product.

## `summary` (type: `string`):

Products per retailer, searches that were empty or failed, charged events and proxy statistics.

# 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 = {
    "searchTerms": [
        "milk",
        "tim tams"
    ],
    "retailers": [
        "woolworths",
        "coles",
        "aldi"
    ],
    "maxItemsPerSearch": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moonweil/au-grocery-prices").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 = {
    "searchTerms": [
        "milk",
        "tim tams",
    ],
    "retailers": [
        "woolworths",
        "coles",
        "aldi",
    ],
    "maxItemsPerSearch": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("moonweil/au-grocery-prices").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 '{
  "searchTerms": [
    "milk",
    "tim tams"
  ],
  "retailers": [
    "woolworths",
    "coles",
    "aldi"
  ],
  "maxItemsPerSearch": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call moonweil/au-grocery-prices --silent --output-dataset

```

## MCP server setup

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

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/bgvooiXJxEZ6H7PAR/builds/Y3mFVcgto1sw58fOt/openapi.json
