# Woolworths Product Scraper | Prices & Nutrition (`datascraperes/woolworths-products-scraper`) Actor

Extract Woolworths Australia products by keyword, URL, product code or category. Get prices, specials, ingredients, nutrition, ratings and store availability. Add weekly catalogue products or the store directory when needed.

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

## Pricing

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

Collect Woolworths Australia online product data by search term, product URL, product code or category, with real brand, allergen, dietary and health-star filters. **Every product record can include current prices, store-specific availability, ingredients, nutrition, allergens, images and ratings**, plus an optional weekly flyer catalogue and national store directory.

### What this Actor does

This Actor collects public Woolworths product data from the online catalogue. Start with a search term or paste product, search and category URLs, then narrow the result with the same filters the storefront exposes: brands, allergens, dietary statements, health-star ratings, availability, specials and sort order.

Each product row can include the current price, was price, unit price, online and in-store availability, barcode, package size, multiple images, ingredients, allergen and dietary statements, nutrition rows, storage instructions, warnings, country of origin and rating summary. A store name or suburb search adds that store's price and availability context; existing integrations can also supply a store number. The optional weekly flyer mode and the national store directory remain available for existing workflows.

No login, account or browser session is required. The Actor uses the public product pages and public catalogue routes as an anonymous visitor.

### Use cases

- Monitor online grocery prices for a list of search terms, categories or specials.
- Build a structured grocery product catalogue with nutrition and allergen data.
- Compare a product's price and availability across selected Woolworths stores.
- Track half-price and everyday-low-price ranges without scanning every department.
- Filter a category to vegan, gluten-free, high-protein or health-star products.
- Keep using the weekly flyer catalogue and national store directory in the same Actor.

### How to use

1. Open the Actor in Apify Console.
2. Use this small input to collect five milk products with details and ratings.
3. Click **Start** and open the default Dataset when the run finishes.

If an input needs correction, the Actor explains the issue in its progress log and saves an `invalid_input` status in `SUMMARY`, then stops without collecting or charging products. Correct the indicated field and start a new run. Unknown input field names are reported with a suggested correction when available; they are not silently ignored. If every supplied link is invalid, no products are collected or charged. A list containing valid and invalid links keeps the valid results and reports partial completion with a warning. Apify may reject values that do not match the input schema before a run starts.

```json
{
  "source": "online",
  "searchTerms": [
    "milk"
  ],
  "maxProducts": 5,
  "includeProductDetails": true,
  "includeRatings": true
}
```

### Input

The main controls are **Search terms**, **URLs or product codes**, **Maximum products**, **Product details** and **Postcode**. Other filters, store selection and weekly catalogue options are grouped separately. Existing input names remain supported.

`source` selects the online catalogue (default) or the weekly flyer catalogue. In online mode, provide at least one of `searchTerms`, `urls`, `categoryPaths`, `specials` or `includeStoreDirectory`. In weekly mode, select at least one state or enable the directory.

- `searchTerms`: in online mode, each term is sent to the Woolworths online search. In weekly mode, the same list filters flyer product names and stockcodes.
- `urls`: public Woolworths product, search or category URLs, or numeric product codes. Product links always retrieve their details. Equivalent product codes and URLs are combined. Search URLs support `searchTerm`; set filters using the Actor fields rather than URL parameters.
- `postcode`: optional four-digit Australian postcode for nearby stock. The location is estimated from matching Woolworths stores, not an official postcode centre. It enables product details and nearby stock; it does not select a pricing store. If no store matches the postcode, products remain available and the run reports partial completion.
- `categoryPaths`: public category URLs or `/shop/browse/...` paths. Each path is resolved against the public category index before collection.
- `specials`: choose `Half price` or `Everyday low price`. Existing integrations can keep `half-price` and `everyday-low-price`.
- `brands`, `allergens`, `lifestyle`, `healthStar`: filter terms. Multiple values inside one field are OR; different fields are AND.
- `maxProducts`: maximum rows per search term, search/category URL, category path or specials group. A direct product link returns one product. The Actor paginates automatically up to this per-source limit.
- `includeUnavailable`: include products that are currently unavailable in the anonymous context. Default `false`.
- `includeMarketplace`: include Everyday Market partner products. Default `false` to keep supermarket products and avoid marketplace price outliers.
- `sortBy`: `relevance`, `price_asc`, `price_desc`, `unit_price_asc` or `unit_price_desc`.
- `storeNo`: a Woolworths store number for store-specific price and availability. It is validated against the public store directory and automatically enables product details.
- `storeQuery`: a store name, suburb or postcode. An exact store name takes priority. If several stores match, use a suggested full store name, suburb and postcode, or the advanced store number.
- `includeProductDetails`: add the rich detail fields. Default `true`.
- `includeRatings`: add the rating summary. Requires product details and one extra request per product.
- `includeNearbyStores`: add nearby stores with distance and in-store availability. Uses a postcode or explicit latitude and longitude, plus product details. Do not combine postcode with explicit coordinates.
- `states`, `maxProductsPerRegion`: weekly mode only. Select states by their full names in the form: New South Wales, Victoria, Queensland, Western Australia or South Australia. API inputs accept the same full names; existing `NSW`, `VIC`, `QLD`, `WA` and `SA` values remain compatible. `includeStoreDirectory` works in both modes.

The complete input contract is below. It contains every public input field.

```json
{
  "searchTerms": [
    "milk"
  ],
  "urls": [],
  "maxProducts": 10,
  "includeProductDetails": true,
  "postcode": "",
  "brands": [
    "Dairy Farmers"
  ],
  "allergens": [
    "Gluten Free"
  ],
  "lifestyle": [
    "Vegetarian"
  ],
  "healthStar": [
    "4"
  ],
  "sortBy": "relevance",
  "includeUnavailable": false,
  "includeMarketplace": false,
  "includeRatings": true,
  "storeNo": "1211",
  "storeQuery": "",
  "includeNearbyStores": false,
  "latitude": -33.8697,
  "longitude": 151.2099,
  "source": "online",
  "states": [],
  "maxProductsPerRegion": 300,
  "includeStoreDirectory": false,
  "categoryPaths": [
    "/shop/browse/fruit-veg/fruit"
  ],
  "specials": [
    "Half price"
  ]
}
```

### Output

The Dataset contains `product` records and, when requested, `store` records. One product record represents one product at one source (search term, category or specials group). The same stockcode can appear under two different sources; the `sourceKind`, `query` and `categoryPath` fields explain why. Within one source, products are deduplicated by `stockcode`.

Key fields include `stockcode`, `barcode`, `name`, `brand`, `price`, `wasPrice`, `cupString`, `isOnSpecial`, `isInStock`, `storeNo`, `ratingAverage`, `ingredients`, `allergenStatement`, `lifestyleStatement`, `healthStarRating`, `nutrition`, `countryOfOrigin`, `imageUrls` and `productURL`. `productDetailsRetrieved` and `ratingRetrieved` show which optional enrichments succeeded.

`allergens`, `mayContain`, `freeFrom` and `dietary` separate the statements supplied by Woolworths. They are source claims, not independently verified dietary advice. `multiBuy` contains quantity, total price and price per item when an offer is available. `promotionLabels`, `isRewardsSpecial` and `sponsored` preserve available promotion and placement information. Missing optional values remain empty or null.

`departments`, `departmentNames`, `categoryNames` and `subcategoryNames` preserve the available catalogue classifications; the lists do not imply parent-child relationships. `classification` contains additional department, category, subcategory and segment labels. `purchaseLimit` is the configured per-product purchase cap, while `supplyLimit` is the source's current supply limit; neither is a stock count. `minimumQuantity` and `supplyLimitSource` provide the available quantity context.

`rating` includes the supplied percentages for each star level alongside the existing counts. `servingSize` and `servingsPerPack` summarize consistent nutrition rows. `savingsPercent` is calculated from positive current and comparison prices; invalid or missing comparisons remain null. `promotionType` and `isNew` retain the available product labels.

For Everyday Market products, `seller` contains the available seller identifier and name; `delivery` contains delivery-day estimates and free-shipping, bulky-item, oversized-item and PO-box indicators. These are source estimates, not delivery guarantees. Marketplace remains off by default. Customer review text, offer dates and exact inventory quantities are not included.

This is the complete first item from the five-product quick-start run:

```json
{
  "allergens": [
    "Milk"
  ],
  "mayContain": [],
  "freeFrom": [
    "Egg Free",
    "Fish Free",
    "Gluten Free",
    "Soy Free",
    "Wheat Free"
  ],
  "dietary": [
    "Gluten Free",
    "High Fibre",
    "High Protein",
    "Low Salt",
    "Source of Fibre",
    "Source of Protein",
    "Vegetarian"
  ],
  "promotionLabels": [],
  "multiBuy": null,
  "isRewardsSpecial": false,
  "sponsored": true,
  "departments": [
    {
      "id": "1_6E4F4E4",
      "name": "Dairy, Eggs & Fridge"
    },
    {
      "id": "1_9E92C35",
      "name": "Lunch Box"
    },
    {
      "id": "1_8AD6702",
      "name": "Dinner"
    }
  ],
  "departmentNames": [
    "Dairy, Eggs & Fridge",
    "Lunch Box",
    "Dinner"
  ],
  "categoryNames": [
    "High Protein",
    "Milk",
    "Drinks"
  ],
  "subcategoryNames": [
    "Protein Drinks",
    "Flavoured Milk",
    "Flavoured Milk & Drinks"
  ],
  "classification": {
    "department": "FRESH CONVENIENCE",
    "category": "DAIRY - MILK",
    "subcategory": "MILK - FLAVOURED",
    "segment": "MILK FLAVOURED 999ML & UNDER"
  },
  "purchaseLimit": 36,
  "minimumQuantity": 1,
  "supplyLimitSource": "StockQuantity",
  "isNew": false,
  "savingsPercent": 0.0,
  "promotionType": null,
  "seller": {
    "id": null,
    "name": null
  },
  "delivery": {
    "minDays": null,
    "maxDays": null,
    "freeShipping": null,
    "isBulky": null,
    "isOversized": null,
    "poBoxDeliverable": null
  },
  "type": "product",
  "source": "online",
  "sourceKind": "search",
  "query": "milk",
  "categoryPath": null,
  "categoryId": null,
  "position": 1,
  "storeNo": null,
  "storeName": null,
  "priceContext": "anonymous_default",
  "stockcode": "6073909",
  "barcode": "9300662892908",
  "name": "Full+ On The Go Meal Replacement Chocolate",
  "displayName": "Full+ On The Go Meal Replacement Chocolate 480mL",
  "description": "Full+ On The Go Meal Replacement... 480mL",
  "richDescription": "Full+ is the next generation of fast food - nutritionally complete, purposefully formulated, and ready when you are. Packing 35g protein, 18 vitamins and minerals, 5.8g Fibre, and no refined sugar added. On-the-go meals have never tasted this good. 1 Drink = 1 Meal. It’s nutrition without the life admin. For our full range of products & more, follow us on TikTok and Instagram @fullplusnutrition, and visit our website www.full.plus",
  "brand": "Full+",
  "packageSize": "480mL",
  "unit": "Each",
  "price": 5.95,
  "wasPrice": 5.95,
  "savingsAmount": 0.0,
  "cupPrice": 12.4,
  "cupString": "$12.40 / 1L",
  "isOnSpecial": false,
  "isHalfPrice": false,
  "isAvailable": true,
  "isInStock": true,
  "isPurchasable": true,
  "instorePrice": 5.95,
  "instoreWasPrice": 5.95,
  "instoreCupString": "$12.40 / 1L",
  "instoreIsAvailable": true,
  "instoreIsPurchasable": true,
  "isOnlineOnly": false,
  "isForCollection": true,
  "isForDelivery": true,
  "isForExpress": true,
  "isMarketProduct": false,
  "vendor": null,
  "supplyLimit": 15,
  "nextAvailabilityDate": "2026-11-01T00:00:00.0000000Z",
  "imageUrl": "https://cdn0.woolworths.media/content/wowproductimages/medium/6073909.jpg",
  "imageUrls": [
    "https://cdn0.woolworths.media/content/wowproductimages/large/6073909.jpg",
    "https://cdn0.woolworths.media/content/wowproductimages/large/6073909_2.jpg",
    "https://cdn0.woolworths.media/content/wowproductimages/large/6073909_4.jpg"
  ],
  "productURL": "https://www.woolworths.com.au/shop/productdetails/6073909/full-on-the-go-meal-replacement-chocolate",
  "offerId": null,
  "detailsRetrieved": true,
  "productDetailsRetrieved": true,
  "rating": {
    "average": null,
    "reviewCount": null,
    "ratingCount": null,
    "fiveStarCount": null
  },
  "ratingAverage": null,
  "ratingCount": null,
  "reviewCount": null,
  "fiveStarCount": null,
  "ratingRetrieved": true,
  "nearbyStores": [],
  "maxProductsReached": true,
  "fetchedAt": "2026-10-30T10:16:39.875139+00:00",
  "ingredients": "Skim Milk, Milk Protein Concentrate, Medium Chain Triglyceride, Milk Solids, Cocoa Powder (1%), Vitamins and Minerals (Phosphorus, Calcium, Magnesium, Biotin, Vitamin C, Iodine, Iron, Vitamin E, Zinc, Riboflavin, Vitamin K, Niacin, Vitamin A, Vitamin D, Thiamin, Vitamin B12, Vitamin B6, Folate), Inulin, Natural Flavours, Stabiliser (Microcrystalline Cellulose, Sodium Carboxymethyl Cellulose, Carrageenan), Emulsifier (Sunflower Lecithin), Sweeteners (Acesulfame Potassium, Sucralose).",
  "allergenStatement": "Egg Free,Fish Free,Gluten Free,Soy Free,Wheat Free",
  "lifestyleStatement": "Gluten Free,High Fibre,High Protein,Low Salt,Source of Fibre,Source of Protein,Vegetarian",
  "healthStarRating": null,
  "nutrition": [
    {
      "name": "Energy",
      "perServing": "1550.0kJ",
      "per100g": "323.0kJ",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "Protein",
      "perServing": "35.0g",
      "per100g": "7.3g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "Fat, Total",
      "perServing": "12.0g",
      "per100g": "2.5g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "– Saturated",
      "perServing": "11.0g",
      "per100g": "2.4g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "Carbohydrate",
      "perServing": "28.8g",
      "per100g": "6.0g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "– Sugars",
      "perServing": "24.0g",
      "per100g": "5.0g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "Dietary Fibre",
      "perServing": "5.8g",
      "per100g": "1.2g",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    },
    {
      "name": "Sodium",
      "perServing": "230.0mg",
      "per100g": "48.0mg",
      "servingSize": "480.0 ML",
      "servingsPerPack": "1.0"
    }
  ],
  "servingSize": "480.0 ML",
  "servingsPerPack": "1.0",
  "storageInstructions": null,
  "productWarnings": null,
  "directions": null,
  "suitableFor": null,
  "countryOfOrigin": "Australia",
  "ingredientPercentage": "88",
  "countryOfOriginText": "Made in Australia from at least 88% Australian ingredients",
  "primaryCategory": {
    "department": "dairy",
    "aisle": "flavoured milk",
    "visualShoppingAisleId": 2
  }
}
```

### Pricing

Pay per product saved to the Dataset. Product details are included in the same price. Store-directory records, summaries and diagnostic records are not charged. There is no Actor-start charge.

| Apify tier | Price per product | Equivalent per 1,000 products |
|---|---:|---:|
| Free | $0.001 | $1.00 |
| Bronze | $0.0009 | $0.90 |
| Silver | $0.0008 | $0.80 |
| Gold | $0.00075 | $0.75 |
| Platinum | $0.00075 | $0.75 |
| Diamond | $0.00075 | $0.75 |

Prices are in USD. Each product record represents its source context: the same product collected from different searches or categories can produce separate billable records. Empty searches produce no product charge. A product with unavailable optional fields is still a product record. Set a maximum spending limit to bound the run; collection may stop before reaching the requested product count.

### Related Actors

| Actor | Best for |
|---|---|
| [Shopify Products Scraper | Prices & Variants](https://apify.com/datascraperes/shopify-products-scraper) | Complete public Shopify product catalogs with prices, variants, SKUs and images. |
| [OLX Brazil Scraper | Listings, Prices & Photos](https://apify.com/datascraperes/olx-brazil-listings-scraper) | Marketplace listings with BRL prices, locations and photos. |
| [Craigslist Scraper | Listings, Prices & Details](https://apify.com/datascraperes/craigslist-scraper) | Classified listings with prices, images and category attributes. |

### Limits and data quality

- An exceptionally large product record may exceed the export size limit. It is skipped without a product charge and the run reports partial completion; other products remain available.

- If a source remains unavailable, independent sources continue and confirmed products are retained. Check `SUMMARY.status` and `SUMMARY.errors`: `Partial`, `time_limit` and `budget_limit` mean the requested collection is incomplete, even when the run finishes without an execution error. Invalid input and unresolved delivery integrity remain errors.

- If pagination is interrupted, products already collected are saved with a partial summary. A requested product limit is distinct from an unexpected pagination stop.

- The online catalogue is public and anonymous. Prices and availability are contextual; use `storeNo` for a selected store instead of assuming the default context.

- Products that are out of stock can have a null price. `includeUnavailable` controls whether those rows are included.

- The category index is a navigation aid. Its product counts are snapshots, so use the live route total and the delivered rows.

- A category path is not the whole department tree. Supply each category you want, or use search terms and specials for broader coverage.

- `maxProducts` is applied per source, not across the whole run. Products are deduplicated within each source.

- Ratings are absent for some products. A null rating is a valid no-rating result, not a zero score.

- Nearby store lists are source-defined; their length is not fixed.

- Product details, ratings and nearby stores are optional. A failure in one enrichment keeps the base product row and marks the run partial.

- The weekly flyer mode depends on the current SaleFinder catalogue window and may return no active catalogue between sale periods.

- Marketplace products are excluded by default because their prices and fulfilment differ from supermarket products.

### Frequently asked questions

#### Does this Actor require a Woolworths login?

No. It uses public product and catalogue pages as an anonymous visitor.

#### How do I collect a whole category?

Add the category URL or path to `categoryPaths` and raise `maxProducts` up to 1,000. Pagination continues until the category total or your limit is reached. The Actor does not automatically walk every child category.

#### Why is a price different from the Woolworths website?

The default anonymous context may not match your selected store. Set `storeNo` or `storeQuery` to get that store's online and in-store price and availability. Prices and availability can also change between runs.

#### Why is a price null?

The product may be unavailable or out of stock. Set `includeUnavailable` to `true` to keep those rows; null prices are not zero.

#### Are ratings always available?

No. Some products have no rating. The `rating` object may contain null values, and `ratingRetrieved` still shows that the rating request succeeded.

#### Can I collect the weekly flyer instead of the online catalogue?

Yes. Set `source` to `weekly` and select one or more state catalogues.

#### Are marketplace products included?

Not by default. Set `includeMarketplace` to `true` to include Everyday Market partner products.

### Responsible use

You are responsible for using the Actor lawfully and in line with applicable terms, privacy rules and regulations. Use reasonable request volumes, do not attempt to access private or account-only data, and do not present public prices or availability as a guarantee.

### Support

Open an issue in the Actor's **Issues** tab with the input used and the run ID. Include the status shown in the run summary so the collection can be reproduced.

[Python, JavaScript and CSV integration examples on GitHub](https://github.com/datacrawler-edu/woolworths-product-data-api)

# Actor input Schema

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

Up to 20 terms sent to the Woolworths online search. In weekly mode these are case-insensitive filters over flyer product names and stockcodes instead.

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

Paste product, search, category or specials URLs, or numeric product codes, one per line. Online mode only. Use plain URLs; configure filters below.

## `maxProducts` (type: `integer`):

Maximum unique products returned for each search term, category path or specials group. The limit applies separately to each source.

## `includeProductDetails` (type: `boolean`):

Add ingredients, nutrition, allergens, origin, images and other available details. Automatically enabled for a specific store or postcode. Direct product URLs always include details.

## `postcode` (type: `string`):

Four-digit Australian postcode for nearby store stock. The location is estimated from public stores in that postcode. Enables product details and nearby-stock lookup. Prices remain online prices unless you select a specific store under Advanced location. Leave empty to skip.

## `brands` (type: `array`):

Optional brand terms. Multiple brands are matched as OR. Use the brand names shown on Woolworths product pages.

## `allergens` (type: `array`):

Optional allergen terms such as Gluten Free or Dairy Free. Multiple terms are matched as OR.

## `lifestyle` (type: `array`):

Optional lifestyle or dietary terms such as Vegan, Vegetarian or High Protein. Multiple terms are matched as OR.

## `healthStar` (type: `array`):

Optional health star values such as 4, 4.5 or 5. Multiple values are matched as OR.

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

Product order within each source.

## `includeUnavailable` (type: `boolean`):

Include products that are currently unavailable in the anonymous default context. Leave false to keep only available products.

## `includeMarketplace` (type: `boolean`):

Include Woolworths Everyday Market partner products. Leave false for a supermarket-only dataset; marketplace products can dominate price sorts.

## `includeRatings` (type: `boolean`):

Fetch the public rating summary, review count and star distribution for each product. This adds one request per product.

## `storeQuery` (type: `string`):

Optional store selection for store-specific prices. Enter a full store name, suburb or postcode; if several stores match, use one of the suggested full names and locations. Leave empty for the default online price context.

## `storeNo` (type: `string`):

Optional alternative for integrations that already know a Woolworths store number. For normal use, search by store name, suburb or postcode above. Do not combine with store search.

## `includeNearbyStores` (type: `boolean`):

For each product, add nearby stores with distance and in-store availability. Requires latitude and longitude and adds one request per product.

## `latitude` (type: `number`):

Latitude used for nearby store availability, for example -33.8697 for Sydney.

## `longitude` (type: `number`):

Longitude used for nearby store availability, for example 151.2099 for Sydney.

## `source` (type: `string`):

Choose Online products for keywords and product links. Choose Weekly catalogue to collect products from the weekly flyer for the states selected below.

## `states` (type: `array`):

For Weekly catalogue only. Choose states by their full names. Existing integrations may still send state abbreviations. Leave empty for online searches or the store directory.

## `maxProductsPerRegion` (type: `integer`):

Maximum flyer product records from each selected state catalogue.

## `includeStoreDirectory` (type: `boolean`):

Add the public Woolworths Australia supermarket directory, including addresses, coordinates, facilities and trading hours.

## `categoryPaths` (type: `array`):

Up to 20 public Woolworths category URLs or /shop/browse/... paths, for example /shop/browse/fruit-veg/fruit. Each path is resolved against the public category index. Existing integrations can keep this field; new users can paste links into Woolworths URLs instead.

## `specials` (type: `array`):

Choose Half price or Everyday low price. Existing integrations may still use the original group identifiers.

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "urls": [],
  "maxProducts": 5,
  "includeProductDetails": true,
  "postcode": "",
  "brands": [],
  "allergens": [],
  "lifestyle": [],
  "healthStar": [],
  "sortBy": "relevance",
  "includeUnavailable": false,
  "includeMarketplace": false,
  "includeRatings": true,
  "storeQuery": "",
  "storeNo": "",
  "includeNearbyStores": false,
  "source": "online",
  "states": [],
  "maxProductsPerRegion": 1,
  "includeStoreDirectory": false,
  "categoryPaths": [],
  "specials": []
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

No description

# 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"
    ],
    "urls": [],
    "maxProducts": 5,
    "includeProductDetails": true,
    "postcode": "",
    "brands": [],
    "allergens": [],
    "lifestyle": [],
    "healthStar": [],
    "sortBy": "relevance",
    "includeUnavailable": false,
    "includeMarketplace": false,
    "includeRatings": true,
    "storeQuery": "",
    "storeNo": "",
    "includeNearbyStores": false,
    "source": "online",
    "states": [],
    "maxProductsPerRegion": 1,
    "includeStoreDirectory": false,
    "categoryPaths": [],
    "specials": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/woolworths-products-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"],
    "urls": [],
    "maxProducts": 5,
    "includeProductDetails": True,
    "postcode": "",
    "brands": [],
    "allergens": [],
    "lifestyle": [],
    "healthStar": [],
    "sortBy": "relevance",
    "includeUnavailable": False,
    "includeMarketplace": False,
    "includeRatings": True,
    "storeQuery": "",
    "storeNo": "",
    "includeNearbyStores": False,
    "source": "online",
    "states": [],
    "maxProductsPerRegion": 1,
    "includeStoreDirectory": False,
    "categoryPaths": [],
    "specials": [],
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/woolworths-products-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"
  ],
  "urls": [],
  "maxProducts": 5,
  "includeProductDetails": true,
  "postcode": "",
  "brands": [],
  "allergens": [],
  "lifestyle": [],
  "healthStar": [],
  "sortBy": "relevance",
  "includeUnavailable": false,
  "includeMarketplace": false,
  "includeRatings": true,
  "storeQuery": "",
  "storeNo": "",
  "includeNearbyStores": false,
  "source": "online",
  "states": [],
  "maxProductsPerRegion": 1,
  "includeStoreDirectory": false,
  "categoryPaths": [],
  "specials": []
}' |
apify call datascraperes/woolworths-products-scraper --silent --output-dataset

```

## MCP server setup

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