# Woolworths Australia Product, Category & Price Scraper (`shelfdata/woolworths-au-product-search-catalog`) Actor

Woolworths Australia products and prices: search, category shelves, single products with barcode, nutrition and ingredients, full category tree. Price monitoring mode returns only new products and price changes. No browser, fast and cheap.

- **URL**: https://apify.com/shelfdata/woolworths-au-product-search-catalog.md
- **Developed by:** [ShelfData](https://apify.com/shelfdata) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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

## Woolworths Australia Product, Category & Price Scraper

Scrape **Woolworths Australia (woolworths.com.au)**: keyword search results, category shelves, single products with
**barcode, nutrition panel and ingredients**, and the full category tree. Every product row carries the regular price,
the special price, the published unit price, stock state, brand, size, ingredients, allergens and images.

Built for grocery price monitoring, specials tracking, assortment and category snapshots, and product enrichment.
Unofficial; not affiliated with Woolworths.

### What you can collect

| Operation | Input | Output rows |
|---|---|---|
| `search` | `query`, optional `page` | products of that Woolworths search page (36 per page) |
| `category` | `categoryId` (a NodeId from `categories`, e.g. `1_6E4F4E4` Dairy, Eggs & Fridge), optional `page` | products of that shelf page |
| `item` | `productId` (e.g. `888140`) or a product `url` | one product with barcode, nutrition panel, ingredients, allergens and all images |
| `categories` | none | every department and category with its NodeId, browse URL, path and product count |

`page` reads one native Woolworths page per run; schedule one run per page (or per category) to cover more. `limit`
caps the rows returned.

#### Track price changes on a schedule

Turn on **Only new products and price changes** and schedule the actor (for example the same searches, categories or
specials every morning). It remembers each product's last regular and special price (in a key-value store named
`woolworths-price-state` in your own account) and returns only products that are new or whose price changed, each with `change`
(`new` or `price_changed`), `previousPrice` and `previousDiscountPrice`. You pay only for those rows. The first run is
the baseline; use a different **Monitor name** for each independent price watch.

### Output example (product row)

```json
{
  "id": "888140",
  "name": "Woolworths Full Cream Milk",
  "brand": "Woolworths",
  "size": "3L",
  "price": 4.95,
  "discount_price": null,
  "unit_price": "$1.65 / 1L",
  "unit": "1L",
  "stock_status": "in_stock",
  "is_available": true,
  "barcode": "9300633556150",
  "image": "https://cdn0.woolworths.media/content/wowproductimages/large/888140.jpg",
  "source_url": "https://www.woolworths.com.au/shop/productdetails/888140/woolworths-full-cream-milk",
  "ingredients": "Pasteurised and Homogenised Full Cream Milk.",
  "allergens": "Milk",
  "nutrition": [
    {"Name": "Energy", "Values": {"Quantity Per Serving": "660.0kJ", "Quantity Per 100g / 100mL": "264.0kJ"},
     "ServingSize": "250.0 ML", "ServingsPerPack": "12.0"}
  ]
}
```

`price` is the regular price; `discount_price` is filled only when Woolworths shows a lower current price (the saving,
half-price flag, numeric cup price and the product's departments are in `attributes`). Listing rows already include
ingredients, allergens and description; the nutrition panel comes with `item`. The run's `OUTPUT` record summarises
`success`, `total` and any problems.

### Reliability

No browser: the actor reads Woolworths' own storefront data with a browser-grade connection, which keeps runs fast and
cheap. The built-in datacenter proxy works; Residential and your own proxies are also supported. A refused proxy session
is retried once and then the next session is used.

### Not supported

Store-specific prices and stock (store or postcode selection) and the raw source payload (`includeRaw`).

### How much does it cost?

Pay per result: **$0.50 per 1,000 products ($0.0005 each) plus $0.005 per run**. The Apify platform usage is included, and runs need no browser, so there is nothing else to pay. Examples:

- a 36-product search page: about **$0.02**
- a daily price check of 10 category pages that returns only the ~30 changed products: about **$2 a month**

Apify's free plan includes monthly credit that covers many runs of this size, so you can try it without a subscription.

### Run it from your code, a schedule or another tool

- **API**: start a run and get the product rows in one call:

  ```bash
  curl -X POST "https://api.apify.com/v2/acts/shelfdata~woolworths-au-product-search-catalog/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"operation": "search", "query": "milk", "limit": 36}'
  ```

  The same works from the Apify Python and JavaScript clients.
- **Schedules**: run it daily or hourly from Apify Console > Schedules; the monitoring options above return only what is new.
- **Integrations**: send results to Google Sheets, Slack, email, Make, Zapier, n8n or a webhook from the actor's Integrations tab.
- **AI agents**: the actor is available as a tool through the Apify MCP server.

### FAQ

**Can I track only price changes?**
Yes: turn on **Only new products and price changes** and schedule the actor. Each run returns only products that are new or whose regular or special price changed, with the previous prices.

**Are the prices for my store?**
Prices are Woolworths' online prices without a selected store or postcode.

**Can I compare prices with the other Australian supermarkets?**
Yes: the [Coles](https://apify.com/shelfdata/coles-au-product-search-specials) and [ALDI](https://apify.com/shelfdata/aldi-au-product-search-catalog) scrapers return the same field names (`price`, `discount_price`, `unit_price`, `size`, `source_url`) and the same price monitoring mode.

**Is it legal to scrape this data?**
The actor reads only publicly available pages, the same data any visitor sees, and no data behind a login. Results can
include names published by the source (for example reviewers or employers); if you store them, handle them under the
privacy rules that apply to you (such as the GDPR).

**Something is missing or broken?**
Open an issue on the actor's Issues tab: requests and bug reports are answered there.

# Actor input Schema

## `operation` (type: `string`):

What to collect: `search` (keyword), `category` (one shelf page by NodeId), `item` (one product with nutrition) or `categories` (the full category tree with NodeIds).

## `query` (type: `string`):

Required for `search`. Start with a broad grocery keyword such as `milk`, then save separate tasks for each product family you monitor.

## `page` (type: `integer`):

Woolworths page for `search` and `category` (36 products per page). Defaults to 1.

## `categoryId` (type: `string`):

Required for `category`: a NodeId from a `categories` run, e.g. `1_6E4F4E4` (Dairy, Eggs & Fridge).

## `itemId` (type: `string`):

Optional for `item`. Alias for `productId`.

## `productId` (type: `string`):

Required for `item` unless you provide a Woolworths product URL.

## `url` (type: `string`):

Optional for `item`. Full Woolworths product URL alternative to `productId`.

## `limit` (type: `integer`):

Optional cap on dataset rows (you pay per row).

## `onlyPriceChanges` (type: `boolean`):

For scheduled price monitoring: remembers every product's last regular and special price (in a key-value store named `woolworths-price-state` in your account) and returns only products not seen before or whose price changed, with `change`, `previousPrice` and `previousDiscountPrice`. The first run is the baseline.

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

Keeps separate price memories for different monitoring tasks.

## `proxySource` (type: `string`):

Built-in works for Woolworths. Residential uses your own Apify Residential traffic.

## `apifyProxyCountry` (type: `string`):

Two-letter country for `My Apify Residential proxies`.

## `apifyProxySessions` (type: `integer`):

Sticky sessions (exits) to rotate over when one is refused.

## `customProxyUrls` (type: `string`):

For `My custom proxy list`: one http(s)://user:password@host:port per line (semicolons or a JSON array also work).

## Actor input object example

```json
{
  "operation": "search",
  "query": "milk",
  "page": 1,
  "onlyPriceChanges": false,
  "monitorName": "default",
  "proxySource": "owner",
  "apifyProxyCountry": "AU",
  "apifyProxySessions": 3
}
```

# Actor output Schema

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

Dataset rows: products (search, category, item) or categories.

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

OUTPUT record: source, operation, success, total rows, spending-limit stop and problems.

# 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 = {
    "query": "milk"
};

// Run the Actor and wait for it to finish
const run = await client.actor("shelfdata/woolworths-au-product-search-catalog").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 = { "query": "milk" }

# Run the Actor and wait for it to finish
run = client.actor("shelfdata/woolworths-au-product-search-catalog").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 '{
  "query": "milk"
}' |
apify call shelfdata/woolworths-au-product-search-catalog --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shelfdata/woolworths-au-product-search-catalog"
        }
    }
}
```

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/xgg8wSkyfEs1wnii2/builds/GtYNEkaWnsOH4e02t/openapi.json
