# Woolworths Product Scraper (`distinct_readjustment/woolworths-product-scraper`) Actor

Scrape Woolworths Australia products by search term or category URL: name, brand, size, price, was price, unit price, specials, availability, barcode, image and category. One result per product.

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

## Pricing

from $1.20 / 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.
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 Product Scraper

Scrape products and prices from [Woolworths](https://www.woolworths.com.au) (Australia) by search term or category URL. One result per product: name, brand, size, price, was price, unit price, specials, availability, barcode, image and category. $1.50 per 1,000 products on the Free plan, less on paid plans. No browser, so runs are fast and cheap.

### What you get

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Woolworths stockcode (product ID). |
| `name` | string | Product name as shown by Woolworths, including pack size. |
| `brand` | string or null | Brand name. |
| `description` | string or null | Short description as shown by Woolworths. |
| `size` | string or null | Pack size, for example 3L or 500g. |
| `url` | string | Product page URL. |
| `price` | number | Current price in AUD. |
| `was_price` | number or null | Previous price in AUD when discounted, otherwise null. |
| `unit_price` | string or null | Comparable unit price, for example $2.25 / 100G. |
| `on_special` | boolean | True when the product has a promotion or a was price. |
| `available` | boolean or null | Whether Woolworths lists the product as available online. |
| `barcode` | string or null | Product barcode (EAN/GTIN). |
| `image_url` | string or null | Product image URL. |
| `category` | string or null | Category: the category page name for category URLs, otherwise department > category, for example Groceries > Biscuits. |
| `scraped_at` | string | UTC time the product was scraped, ISO 8601. |

### Input

- `searchTerms`: keywords to search on Woolworths, one per line.
- `categoryUrls`: Woolworths category pages copied from the browser address bar, for example `https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk`. Sub-categories work too.

Give at least one search term or one category URL. A product found by several searches is saved once.

- `maxItems`: stop after this many products in total. Default 100.
- `proxyConfiguration`: fallback proxy, Apify datacenter by default. Each request is tried directly first.

```json
{
  "searchTerms": ["tim tam", "oat milk"],
  "categoryUrls": ["https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"],
  "maxItems": 500
}
```

### Example output

````json
{
  "id": "6073909",
  "name": "Full+ On The Go Meal Replacement Chocolate 480mL",
  "brand": "Full+",
  "description": "Full+ On The Go Meal Replacement... 480mL",
  "size": "480mL",
  "url": "https://www.woolworths.com.au/shop/productdetails/6073909/full-on-the-go-meal-replacement-chocolate",
  "price": 5.95,
  "was_price": null,
  "unit_price": "$12.40 / 1L",
  "on_special": false,
  "available": true,
  "barcode": "9300662892908",
  "image_url": "https://cdn1.woolworths.media/content/wowproductimages/large/6073909.jpg",
  "category": "Fresh Convenience > Dairy - Milk",
  "scraped_at": "2026-10-16T12:29:25+00:00"
}
```json
{ "searchTerms": ["milk"], "maxItems": 20 }
````

Each dataset item is one product with the fields listed under "What you get". `price` and `was_price` are numbers in AUD.

# Actor input Schema

## `categoryUrls` (type: `array`):

Woolworths category pages to scrape, copied from the browser address bar. Sub-categories work too. Example: https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk

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

Keywords to search on Woolworths, one per line. Example: tim tam

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

Stop after this many products in total, across all category URLs and search terms. Example: 20.

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

Fallback proxy. Each request is first tried directly; if that fails twice, 2 more attempts go through this proxy, each from a different IP.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Woolworths products with prices and specials.

# 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 = {
    "categoryUrls": [
        "https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("distinct_readjustment/woolworths-product-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 = {
    "categoryUrls": ["https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("distinct_readjustment/woolworths-product-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 '{
  "categoryUrls": [
    "https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call distinct_readjustment/woolworths-product-scraper --silent --output-dataset

```

## MCP server setup

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