# Woolworths Scraper (`datahamster/woolworths-scraper`) Actor

Woolworths scraper: search woolworths.com.au by keyword or paste any category, specials or product URL, and get price, was price, unit price, specials and multi-buy, barcode, stock and category. Same columns as our Coles Scraper. Monitor mode alerts on price changes.

- **URL**: https://apify.com/datahamster/woolworths-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (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.80 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper

Search Woolworths (woolworths.com.au) by keyword, or paste any category, specials or product URL, and get one flat row per product: name, brand, size, shelf price, was price, unit price ("$2.10 / 1L" plus the number and the unit), special and multi-buy text, availability, barcode, image and category. No account and no cookies. Monitor mode turns the same input into a price tracker that returns only products whose price, special or stock changed since the last run.

**Try it:** the prefilled example returns 20 rows in about 7 seconds and costs about $0.02. Results cost $1.00 per 1,000.

Coverage: Woolworths' online prices for its default store, the prices woolworths.com.au shows a visitor who has not picked a store. A Woolworths page holds 26 to 36 organic products plus about 8 paid placements (2026-11-05 test pages); the paid ones are left out unless you ask for them.

### Why this one

- **Many searches and shelves in one run, every page.** Put several keywords, category URLs, specials URLs and product URLs into one run; the actor pages through each list up to `maxPagesPerSource` and removes duplicates across them. The most-used Woolworths actor takes one keyword, one category id or one product per run and returns one page per run (its `page` field), and a category needs its internal NodeId from a separate `categories` run. Here you paste the shelf URL you see in the browser. Test run 2026-11-05: two keywords, the Milk shelf, the half-price specials and two product URLs in one input gave 174 deduplicated products in 33 seconds.
- **Price-change alerts (monitor mode).** Saved as a scheduled task, each run returns only products that are new on the list or whose price, was price, special text, unit price or availability changed, with `changedFields` and the `previous` values. Neither of the two most-used Woolworths actors has a monitor mode. Test 2026-11-05: the baseline run stored 97 products from 3 pages of the Milk shelf; the next run re-read all 97 and returned nothing because nothing had changed.
- **Same columns as our Coles Scraper.** The rows have exactly the fields of [Coles Scraper](https://apify.com/datahamster/coles-scraper) (`retailer` tells them apart), so a Woolworths dataset and a Coles dataset stack into one table for a Coles vs Woolworths price comparison without remapping.
- **Price.** $0.001 per product and no start fee. The most-used Woolworths actor charges $0.0006 per product on the free plan ($0.0003 to $0.0005 on paid plans) plus $0.008 per run start for each GB of memory (1,024 MB by default, $0.005 to $0.007 on paid plans), checked 2026-11-05. For the 20-row example both cost about $0.020; on runs of more than about 20 rows (free plan) that actor is cheaper per run.
- **Also: specials-only filter and organic ranking.** `onlySpecials: true` keeps only products on special (was price, half price or multi-buy), as some other Woolworths actors also offer. Paid placements are dropped by default and `rank` is the organic position, so a paid slot never pushes products down your list.

### What you get

Real rows from the example dataset (prefilled input `queries: ["milk"]`, 20 organic rows):

| name / brand | size | price | was | unit price | barcode | category | rank |
|---|---|---|---|---|---|---|---|
| Woolworths Full Cream Milk / Woolworths | 3L | 4.95 |  | $1.65 / 1L | 9300633556150 | Milk | 1 |
| Woolworths Full Cream Milk / Woolworths | 2L | 3.40 |  | $1.70 / 1L | 9300633556143 | Milk | 2 |
| Dairy Farmers Full Cream Milk / Dairy Farmers | 1L | 3.00 |  | $3.00 / 1L | 9310199014452 | Milk | 4 |
| a2 Milk Full Cream / a2 | 1L | 4.10 |  | $4.10 / 1L | 9335390000011 | Milk | 12 |
| Norco Full Cream Milk / Norco | 500mL | 1.95 |  | $3.90 / 1L | 9310272007135 | Milk | 20 |

One full row (a half-price special, from a run with the specials URL):

```json
{
  "id": "215125",
  "url": "https://www.woolworths.com.au/shop/productdetails/215125/vanish-gold-stain-remover-powder-remover-powder",
  "scrapedAt": "2026-11-05T17:14:10.753399Z",
  "retailer": "woolworths",
  "productId": "215125",
  "name": "Vanish Gold Stain Remover Powder",
  "brand": "Vanish",
  "description": null,
  "size": "2kg",
  "price": 17,
  "wasPrice": 36,
  "saveAmount": 19,
  "currency": "AUD",
  "unitPriceText": "$8.50 / 1KG",
  "unitPrice": 8.5,
  "unitQuantity": 1,
  "unitMeasure": "kg",
  "onSpecial": true,
  "promotionType": "SPECIAL",
  "specialType": "HALF_PRICE",
  "promoText": "Save $19.00",
  "multiBuyQuantity": null,
  "multiBuyUnitPriceText": null,
  "onlineSpecial": false,
  "available": true,
  "availabilityType": "InStock",
  "image": "https://cdn1.woolworths.media/content/wowproductimages/large/215125.jpg",
  "department": "Cleaning & Maintenance",
  "category": "Laundry",
  "aisle": "Stain Removal",
  "categoryPath": "Cleaning & Maintenance > Laundry > Stain Removal",
  "sponsored": false,
  "barcode": "9300701124410",
  "countryOfOrigin": null,
  "source": "specials",
  "query": null,
  "sourceUrl": "https://www.woolworths.com.au/shop/browse/specials/half-price",
  "page": 1,
  "rank": 1
}
```

`id` is the Woolworths stockcode, so a product found by two keywords or shelves is one row and monitor mode tracks it across runs. `onSpecial` is true when Woolworths marks the product as a special, when it has a was price, or a multi-buy offer ("2 for $8.00" in `promoText`, with `multiBuyQuantity` and `multiBuyUnitPriceText`). `specialType` is `HALF_PRICE` or `MULTI_SAVE` when it applies. `barcode` (EAN) is on every row. `includeSponsored: true` adds the paid tiles: they are real products with real prices, marked `sponsored: true` with `rank: null`. Product URLs add `countryOfOrigin` and `description`.

### Use cases

- **Price tracker.** A saved task with product URLs or a shelf in monitor mode, scheduled daily. Each run returns only what changed.
- **Specials feed.** `urls: ["https://www.woolworths.com.au/shop/browse/specials/half-price"]` lists this week's half-price specials (1,409 products on 2026-11-05).
- **Coles vs Woolworths.** Run this actor and Coles Scraper with the same keywords and stack the datasets; compare `unitPrice` per `unitMeasure`.

### Try it

Hit **Start**: the prefilled input searches `milk` and returns 20 products. Add keywords such as `tim tam` or paste shelf URLs such as `https://www.woolworths.com.au/shop/browse/pantry/tea-coffee`. Raise `maxPagesPerSource` to read deeper (26 to 36 organic products a page).

**Monitor mode.** Save the input as a task and set:

```json
{
  "mode": "monitor",
  "monitorStateId": "woolworths-coffee-daily",
  "urls": ["https://www.woolworths.com.au/shop/browse/pantry/tea-coffee"],
  "maxPagesPerSource": 10,
  "maxItems": 1000,
  "webhookUrl": "https://your-endpoint.example.com/hook"
}
```

Put the task on a schedule (Apify, Schedules, cron `0 7 * * *` for daily). The first run reads the list and stores it as the baseline without returning or charging rows; later runs return only products that are new on the list or whose price, was price, special, unit price or availability changed. Every run reads the whole depth you set, so a price change on page 8 is found. Rank changes do not alert, and paid placements are left out of monitor runs.

### Input

| Field | Meaning | Default |
|---|---|---|
| `queries` | Search keywords, one per line | empty |
| `urls` | Category or specials URLs (`/shop/browse/...`), search URLs, product URLs (`/shop/productdetails/<id>`) or bare stockcodes | empty |
| `maxPagesPerSource` | Pages per keyword or URL (26 to 36 organic products each) | `5` |
| `includeSponsored` | Also keep paid placements (marked `sponsored: true`, never in monitor mode) | `false` |
| `onlySpecials` | Push only products on special | `false` |
| `maxItems` | Stop the whole run after this many rows | `100` |
| `mode` | `scrape`, or `monitor` for changes only | `scrape` |
| `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor-mode state key and alert targets | empty |

### Pricing

| Event | Price |
|---|---|
| result | $0.001 per product ($1.00 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.001 per new or changed product in monitor mode |

Apify Store discounts: SILVER -10%, GOLD and higher -20% on every event. You pay only for rows that are pushed; a search that finds nothing charges no result events. Apify platform usage is billed by Apify on top; the example run used about $0.0003 of it, and a 174-product run over two keywords, a category, the half-price specials and two product URLs about $0.002.

**Found it useful?** A short review on the Store page helps other people find this actor. If a search misbehaves, open an issue on the actor page.

### Related actors

- [Coles Scraper](https://apify.com/datahamster/coles-scraper) for the same rows from coles.com.au.
- [Amazon Price Tracker: Product Scraper by ASIN, Buy Box, Stock](https://apify.com/datahamster/amazon-product-monitor) for the same price-tracking workflow on Amazon.
- [Walmart Product Scraper & Price Monitor](https://apify.com/datahamster/walmart-product-monitor) for Walmart prices and stock.
- [Shopify Store Products Scraper](https://apify.com/datahamster/shopify-store-products) for prices of any Shopify shop.

### Limits

- Prices are Woolworths' online prices for its default store. Prices for a chosen store or suburb are not read.
- Out-of-stock products come without a price (`price: null`, `available: false`).
- Woolworths files many products under several categories; `category` and `aisle` are the most specific ones it lists, `department` is the product's main department.
- `onlySpecials` in monitor mode watches only products that are on special at the time of each run: a product that drops off special is no longer read, so it does not send a "special ended" alert. To catch specials ending, monitor without `onlySpecials` (the `onSpecial`, `wasPrice` and `promoText` changes are reported).
- Keyword search is broad (`milk` matches 2,801 products), so keep `maxPagesPerSource` low for quick checks.
- When every proxy tier is refused for a keyword or URL, that source is skipped with a warning and the run keeps the rest; a run where nothing could be read ends as `blocked`.

### FAQ

**Do I need a Woolworths account or cookies?** No. The actor reads the same public data woolworths.com.au shows a visitor who is not signed in.

**Why did my keyword return nothing?** Woolworths has no product for it. The `RUN_SUMMARY` record in the run's key-value store has `emptyReason`, and `WOOLWORTHS_STATS` lists `emptySources`, `notFound`, `walledSources` and the product total Woolworths reported for each source (`perSource`).

### Changelog

- 0.1: initial release with keyword search, category, specials and product URLs, unit price as numbers, special, half-price and multi-buy fields, barcode on every row, organic results by default with paid placements as an option (never in monitor mode), and monitor mode for price changes.

# Actor input Schema

## `maxItems` (type: `integer`):

Stop the whole run after this many products (you are charged only for pushed products). Example: 20.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## `queries` (type: `array`):

Woolworths search keywords, one per line, e.g. "milk", "tim tam", "coffee pods". Each keyword is a separate woolworths.com.au search, up to 36 products per page.

## `urls` (type: `array`):

Category or specials pages as you see them in the browser (https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk, https://www.woolworths.com.au/shop/browse/specials/half-price), search result URLs, or product pages (https://www.woolworths.com.au/shop/productdetails/88436/dairy-farmers-full-cream-milk or just the stockcode 88436). Product pages add country of origin and description.

## `maxPagesPerSource` (type: `integer`):

Stop each keyword or shelf after this many pages (26 to 36 organic products each, plus paid placements that are skipped by default). Example: 5.

## `includeSponsored` (type: `boolean`):

false = organic results only, ranked as Woolworths lists them. true = also keep the paid placements Woolworths mixes into every page (real products with real prices, marked sponsored: true, rank null). Monitor mode always skips them.

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

true = push only products on special (was price, half price, multi-buy or a special ticket). You are charged only for pushed rows. In monitor mode a product that leaves specials is simply no longer read, so no alert is sent for it; monitor without this filter to see specials end.

## Actor input object example

```json
{
  "maxItems": 20,
  "mode": "scrape",
  "queries": [
    "milk"
  ],
  "urls": [],
  "maxPagesPerSource": 5,
  "includeSponsored": false,
  "onlySpecials": false
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# 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 = {
    "maxItems": 20,
    "queries": [
        "milk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/woolworths-scraper").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 = {
    "maxItems": 20,
    "queries": ["milk"],
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/woolworths-scraper").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 '{
  "maxItems": 20,
  "queries": [
    "milk"
  ]
}' |
apify call datahamster/woolworths-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datahamster/woolworths-scraper"
        }
    }
}
```

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/1T0aeMpFsGukZCo75/builds/BasQ1Z9UrWpOTHRfn/openapi.json
