# Woolworths Scraper - Grocery Products, Prices & Specials (`seemuapps/woolworths-scraper`) Actor

Search Woolworths Australia and scrape product prices, specials, unit prices, stock status, nutrition, ingredients and allergens for any search term.

- **URL**: https://apify.com/seemuapps/woolworths-scraper.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 product 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 Scraper - Grocery Products, Prices & Specials

Search Woolworths Australia (woolworths.com.au) and extract every matching product with its current price, was-price, savings, specials flags, unit price, stock status, images, categories, ingredients, allergens, dietary claims, health star rating and full nutrition panel. One dataset row per product.

### What you get

- **Pricing**: `price`, `wasPrice`, `savings`, `onSale`, `isHalfPrice`, `promotionType`, `promotionLabel`, multibuy quantity and price, `isMemberPrice`
- **Unit pricing**: `cupPrice`, `cupMeasure`, `unitPriceLabel` (e.g. `$2.25 / 1L`), `packageSize`, `unit`
- **Availability**: `inStock`, `isAvailable`, `isPurchasable`, `stockRemaining`, `purchaseLimit`, `isOnlineOnly`, `isNew`
- **Identity**: `stockcode`, `barcode` (GTIN/EAN), `name`, `displayName`, `brand`, `url`, `imageUrl`, `images`, `description`
- **Categories**: `departments`, `category`, `subcategory`, `subcategories`
- **Nutrition and dietary**: `ingredients`, `allergenContains`, `allergenMayContain`, `freeFromClaims`, `dietaryClaims`, `healthStarRating`, `servingSize`, `servingsPerPack`, `nutritionPer100g`, `nutritionPerServe`
- **Extras**: `countryOfOrigin`, `storageInstructions`, `isSponsored`, marketplace seller, ratings and review counts, `searchResultsTotal`

Export to JSON, CSV, Excel or Google Sheets from the Apify console, or pull the dataset via API.

### Use cases

- **Price monitoring** - schedule daily runs to track price changes and specials on the products you care about
- **Grocery price comparison** - pair with the Coles Scraper to compare the two big Australian supermarkets side by side
- **Catalogue and specials tracking** - pull everything currently on special for a category or brand
- **Product data enrichment** - barcodes, ingredients, allergens and nutrition for food apps, diet trackers and retail analytics
- **Market research** - brand share, price positioning and unit price analysis across a category

### How to use

1. Enter one or more **Search terms** (e.g. `milk`, `coffee beans`, `nappies`).
2. Optionally set **Sort by** (relevance, price, unit price, name), tick **Specials only** or **In stock only**.
3. Set **Max products per search term** (default 100; `0` fetches every matching product).
4. Leave the **Proxy configuration** on the default Australian residential proxy - Woolworths only serves Australian traffic reliably.
5. Run the actor. Results appear in the **Dataset** tab.

### Output example

```json
{
  "searchTerm": "milk",
  "stockcode": "44528",
  "barcode": "9322042000048",
  "name": "Norco Full Cream Milk",
  "displayName": "Norco Full Cream Milk 2L",
  "brand": "Norco",
  "url": "https://www.woolworths.com.au/shop/productdetails/44528/norco-full-cream-milk",
  "imageUrl": "https://cdn0.woolworths.media/content/wowproductimages/large/044528.jpg",
  "price": 4.5,
  "wasPrice": 5.05,
  "savings": 0.55,
  "onSale": true,
  "isHalfPrice": false,
  "packageSize": "2L",
  "cupPrice": 2.25,
  "unitPriceLabel": "$2.25 / 1L",
  "inStock": true,
  "departments": ["Dairy, Eggs & Fridge"],
  "category": "DAIRY - MILK",
  "ingredients": "Pasteurised homogenised Milk",
  "allergenContains": ["Milk"],
  "freeFromClaims": ["Egg Free", "Gluten Free", "Soy Free"],
  "healthStarRating": 4.5,
  "nutritionPer100g": { "Energy": "272.0kJ", "Protein": "3.4g", "Fat, Total": "3.6g", "Sugars": "4.9g" },
  "ratingAverage": 4.7,
  "ratingCount": 312
}
```

### Pricing

Pay per event: a small fee per search term plus a fee per product returned. Free-plan users are capped at 50 products per run; upgrade to any paid Apify plan to remove the cap.

### FAQ

**Are prices store-specific?** Prices are the standard online prices for Woolworths' default delivery area (metro NSW). Woolworths does not publish per-store pricing publicly.

**Does it include specials and half-price items?** Yes - `onSale`, `isHalfPrice`, `savings` and `promotionLabel` are populated for every product, and **Specials only** restricts results to discounted items.

**Can I scrape a whole category?** Search for the category name (e.g. `yoghurt`, `laundry`) with **Max products** set to `0`; the actor pages through every result.

**Why do I need a proxy?** Woolworths blocks most non-Australian and datacenter traffic. The default Apify residential proxy in Australia is the reliable option and is what the actor is tested against.

**What about Coles?** See the companion Coles Scraper for the same output format on coles.com.au.

# Actor input Schema

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

Product searches to run on woolworths.com.au, one per line (e.g. 'milk', 'coffee beans', 'nappies'). Each term is searched separately.

## `sortBy` (type: `string`):

Order of results within each search.

## `specialsOnly` (type: `boolean`):

Only return products currently on special (discounted, half price, member price).

## `inStockOnly` (type: `boolean`):

Skip products that are currently out of stock online.

## `maxResultsPerTerm` (type: `integer`):

Cap on products returned for each search term. Set 0 for all matching products (the actor pages through the full result set).

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

Woolworths only serves Australian traffic reliably. Leave the default (Apify residential proxy, Australia) unless you have your own AU proxies.

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "sortBy": "relevance",
  "specialsOnly": false,
  "inStockOnly": false,
  "maxResultsPerTerm": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}
```

# Actor output Schema

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

One record per product: stockcode, barcode, name, brand, url, imageUrl, price, wasPrice, savings, onSale, isHalfPrice, promotionLabel, packageSize, cupPrice, unitPriceLabel, inStock, departments, category, ingredients, allergens, dietary claims, healthStarRating, nutritionPer100g, nutritionPerServe, ratings.

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "AU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/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 = {
    "searchTerms": ["milk"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "AU",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/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 '{
  "searchTerms": [
    "milk"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}' |
apify call seemuapps/woolworths-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/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/UUp0R3aeUtuCFsyan/builds/t2q9hJWLKRmIfJNc6/openapi.json
