# Woolworths Scraper: Australian Grocery Prices & Specials API (`rel8ble/woolworths-scraper`) Actor

Woolworths scraper and API: woolworths.com.au grocery prices by keyword, category, specials list, stock code or URL. One row per product: name, brand, size, price, was price, unit price, special, barcode, stock, category, ingredients. $0.19 per 1,000, no start fee. Daily price monitoring.

- **URL**: https://apify.com/rel8ble/woolworths-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.19 / 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 Scraper - Woolworths Australia Prices API & Specials Scraper

**Woolworths scraper** and unofficial **Woolworths Australia prices API**: scrape woolworths.com.au product prices, was prices, unit prices, half-price specials, barcodes (GTIN), stock, categories, ingredients, allergens and nutrition. Search by keyword, scrape whole categories or the weekly Woolworths specials lists, look up products by stock code, and export Australian grocery prices to JSON, CSV or Excel.

**$0.19 per 1,000 products, no start fee**, with ingredients, allergens and nutrition in the same row (see Why this one for rival prices, re-checked 23 Nov 2026).

This scraper reads the same JSON data the Woolworths website loads, over plain HTTP with **no headless browser**, and saves a page of 36 products per request. In a cloud test on 12 Oct 2026 (1 GB memory, datacenter proxies) it saved 11,051 products (the full Pantry and Bakery departments plus every half-price special) in 263 seconds with 314 requests and none failed. Unofficial: not affiliated with or endorsed by Woolworths.

### Sample output

Three rows from a real run, taken from `sample-output.json`:

| Product | Size | Price (AUD) | Was | Unit price | On special |
|---|---|---|---|---|---|
| Arnott's Tim Tam Original Family Pack Chocolate Biscuits 365g | 365g | 6.4 | 8 | $1.75 / 100G | true |
| Golden Crumpets Round 6 pack | 6 pack | 2.4 | 4.8 | $0.40 / 1EA | true |
| Dairy Farmers Full Cream Milk 2L | 2L | 4.7 | none | $2.35 / 1L | false |

The full row has 57 fields (barcode, stock, category, ingredients, allergens, nutrition); one is shown in JSON under Output example below.

### How to use

1. Enter what to scrape: keywords (`milk`, `tim tam`), categories (`bakery`, `dairy-eggs-fridge/milk`, or `all` for every department), a specials list (`halfprice`, `onlineonly`...), stock codes, or any woolworths.com.au search, category or product URL.
2. Click **Start**. The Woolworths price scraper saves one row per product as it goes.
3. Download the results as JSON, CSV or Excel, or call the actor through the Apify API and schedule it daily or weekly.

### What you get

- **Prices**: current price, was price, dollar and percent saving, unit price (`$1.75 / 100G`) with its number and measure split out, the in-store price next to the online price, and whether the product is sold each or by the kilo.
- **Specials**: on-special, half-price and online-only flags, promotion type (`Special`, `LowPrice`, `LowerShelfPrice`...), the label on the ticket (`Save $1.60`), the roundel badge (`Half Price`, `20% Off`) and any promo note (`Was $3.30 - 25/08/2026`).
- **Identity**: Woolworths stock code, barcode (EAN/GTIN), brand, pack size, product URL and image.
- **Stock**: available, in stock and purchasable flags, plus the per-order supply limit.
- **Category**: department, category and subcategory. Products listed in several departments keep the full lists too.
- **Product facts, in the same row at no extra cost**: description, ingredients, allergens (contains / may contain), dietary claims (vegan, gluten free...), health star rating and storage instructions.
- **Nutrition panel** (with `includeNutrition`): per 100 g/mL and per serve, with serving size and servings per pack.
- **Marketplace flag**: products from third-party sellers on Everyday Market are flagged, and you can leave them out.

### Use cases

- Grocery price monitoring and price-history databases (schedule it daily or weekly)
- Half-price and weekly specials trackers, deal sites and alerts
- Competitor pricing for FMCG brands, retailers and category managers
- Product, ingredient and nutrition databases keyed by barcode
- Coles vs Woolworths price comparison (pair it with a Coles scraper and match on barcode)
- Market research: range, pack sizes and price per unit by category
- Feeding live Woolworths prices to AI agents and shopping assistants via the Apify MCP server

### FAQ

**Does it need a Woolworths account or a browser?**
No. It reads public product data over HTTPS, the same data the Woolworths website loads for any visitor.

**How do I find a category path?**
Open the category on woolworths.com.au and copy the part of the URL after `/shop/browse/`, for example `dairy-eggs-fridge/milk`. You can also paste the whole URL.

**How do I scrape the whole catalogue?**
Set `categories` to `["all"]` and `maxItems` to `0`. That walks every supermarket department and saves each product once. Our largest test so far is two departments plus the half-price list (11,051 products); the full catalogue has not been timed yet. Everyday Market is left out of `all`; add `"everyday-market"` as its own category if you want it.

**How do I re-check prices of products I already know?**
Put their stock codes (the number in the product URL) in `products`. Each lookup is one small request. A barcode in `searchQueries` works too.

**How often do specials change?**
Woolworths' weekly specials start on Wednesday. Schedule the actor for Wednesday morning (AEST) to capture each week's list.

**Is it legal to scrape Woolworths?**
This actor collects only publicly available product and price information, not personal data. You're responsible for using the data in line with Woolworths' terms of service and applicable law. This isn't legal advice; if you're unsure, check with a lawyer.

**How does it avoid blocks?**
It sends normal browser-like requests through Apify Proxy. Each proxy session keeps its own cookies and is reused for at most 40 requests. When Woolworths answers 403/429, returns a block page or drops the connection, that session is retired and the request is retried on a new session with a new IP, up to 8 retries by default (`maxRequestRetries`). In our cloud tests on datacenter proxies no request needed a retry. If that changes, switch `proxyConfiguration` to the Residential group with country AU.

**How fast is it?**
In cloud tests on 12 Oct 2026 at 1 GB memory: the prefilled input (40 products) finished in 7.3 seconds, and 11,051 products in 263 seconds. Most of the platform cost is dataset writes, about $0.008 per 1,000 products in that run; the $0.19 price covers it.

**What happens if I run it with no input?**
It does a demo search for "milk" (20 products) instead of failing.

### Input example

Use any mix of the five ways in. Each keyword, category, specials list or URL is scraped separately, up to `maxItems` products each.

| Field | Default | Description |
|---|---|---|
| `searchQueries` | - | Keywords as typed into the Woolworths search box: `"milk"`, `"tim tam"`. A barcode works too. |
| `categories` | - | Category paths (the part after `/shop/browse/`) or category URLs: `"bakery"`, `"dairy-eggs-fridge/milk"`. Use `"all"` for every supermarket department, deduplicated. |
| `specials` | `none` | `all`, `halfprice`, `onlineonly`, `lowershelfprice`, `everydaylowprice`, `seasonalprice` or `buymoresavemore`. |
| `products` | - | Stock codes or product URLs to look up one by one: `"88436"`. Lookups also return country of origin. |
| `startUrls` | - | Any woolworths.com.au search, category or product URL. |
| `maxItems` | 100 | Products per source. `0` = everything Woolworths lists. |
| `sort` | `relevance` | `priceAsc`, `priceDesc`, `unitPriceAsc`, `unitPriceDesc`, `nameAsc`, `nameDesc`. |
| `specialsOnly` | false | Keyword searches return only products on special. |
| `includeNutrition` | false | Adds the nutrition panel. No extra requests. |
| `excludeMarketplace` | false | Skip Everyday Market (third-party seller) products. |
| `includeSponsored` | true | Keep the promoted products Woolworths mixes into each page, flagged `isSponsored`. |
| `proxyConfiguration` | Apify datacenter | Leave as is unless Woolworths starts blocking, then switch to Residential, country AU. |

Example: every half-price special, the whole bakery department and one keyword search, with nutrition:

```json
{
    "specials": "halfprice",
    "categories": ["bakery"],
    "searchQueries": ["tim tam"],
    "maxItems": 0,
    "includeNutrition": true,
    "excludeMarketplace": true
}
```

The 10 cheapest coffees per 100 g that are on special right now:

```json
{
    "searchQueries": ["coffee"],
    "specialsOnly": true,
    "sort": "unitPriceAsc",
    "maxItems": 10,
    "excludeMarketplace": true
}
```

### Output example

One dataset item per product. This one is from a real run on 12 Oct 2026, search "tim tam" with `includeNutrition: true` (description shortened):

```json
{
    "stockcode": "84628",
    "name": "Arnott's Tim Tam Original Family Pack Chocolate Biscuits 365g",
    "brand": "Arnott's",
    "packageSize": "365g",
    "url": "https://www.woolworths.com.au/shop/productdetails/84628/arnott-s-tim-tam-original-family-pack-chocolate-biscuits",
    "imageUrl": "https://cdn1.woolworths.media/content/wowproductimages/large/084628.jpg",
    "barcode": "9310072010816",
    "price": 6.4,
    "wasPrice": 8,
    "saveAmount": 1.6,
    "discountPercent": 20,
    "unitPrice": 1.75,
    "unitPriceMeasure": "100G",
    "unitPriceText": "$1.75 / 100G",
    "soldBy": "Each",
    "currency": "AUD",
    "isOnSpecial": true,
    "isHalfPrice": false,
    "isOnlineOnly": false,
    "isNew": false,
    "promotionType": "Special",
    "promotionLabel": "Save $1.60",
    "promotionNote": null,
    "badge": "20% Off",
    "inStorePrice": 6.4,
    "inStoreWasPrice": 8,
    "inStoreIsOnSpecial": true,
    "isAvailable": true,
    "isInStock": true,
    "isPurchasable": true,
    "supplyLimit": 27,
    "ageRestricted": false,
    "department": "Snacks & Confectionery",
    "category": "Biscuits & Crackers",
    "subcategory": "Biscuits & Cookies",
    "departments": ["Snacks & Confectionery"],
    "categories": ["Biscuits & Crackers"],
    "subcategories": ["Biscuits & Cookies"],
    "variety": "Chocolate Biscuits",
    "isMarketplace": false,
    "vendor": null,
    "description": "Arnott's Tim Tam Original Chocolate Biscuit Large Pack is made with irresistible real chocolate. ...",
    "ingredients": "Milk Chocolate (38%) Sugar, Milk Solids, Cocoa Butter, Cocoa Mass, Vegetable Oil (Contains Soy), Emulsifiers (Soy Lecithin, E476), Flavour, Wheat Flour, Sugar, Vegetable Oil Antioxidant (E307b From Soy), Golden Syrup, Food Colours (Caramel III, Beet Red, Cochineal), Starch (Wheat), Cocoa Powder, Salt, Raising Agent (E500), Emulsifier (Soy Lecithin), Flavour.",
    "allergensContain": ["Milk", "Gluten", "Soy", "Wheat"],
    "allergensMayContain": ["Egg", "Tree Nuts", "Peanuts", "Sesame"],
    "allergyStatement": ["Fish Free"],
    "dietaryClaims": [],
    "healthStarRating": 0.5,
    "storageInstructions": "Store in a cool, dry place in an airtight, lightproof container.",
    "images": ["https://cdn1.woolworths.media/content/wowproductimages/large/084628.jpg"],
    "nutrition": {
        "servingSize": "18.3 G",
        "servingsPerPack": "20.0",
        "per100": { "Carbohydrate": "65.6g", "Dietary Fibre": "1.6g", "Energy": "2200.0kJ", "Fat Saturated": "15.1g", "Fat Total": "26.9g", "Protein": "4.4g", "Sodium": "129.0mg", "Sugars": "45.9g" },
        "perServing": { "Carbohydrate": "12.0g", "Dietary Fibre": "0.3g", "Energy": "403.0kJ", "Fat Saturated": "2.8g", "Fat Total": "5.0g", "Protein": "0.9g", "Sodium": "24.0mg", "Sugars": "8.4g" }
    },
    "isSponsored": false,
    "source": "search",
    "sourceQuery": "tim tam",
    "page": 1,
    "positionOnPage": 4,
    "scrapedAt": "2026-10-12T17:44:05.339Z"
}
```

A half-price row from the specials list (same run, most fields left out here):

```json
{ "stockcode": "49622", "name": "Golden Crumpets Round 6 pack", "brand": "Golden", "barcode": "9310043003014", "price": 2.4, "wasPrice": 4.8, "saveAmount": 2.4, "discountPercent": 50, "unitPriceText": "$0.40 / 1EA", "isHalfPrice": true, "promotionLabel": "Save $2.40", "badge": "Half Price", "isAvailable": true, "department": "Bakery", "category": "Packaged Bread & Bakery", "subcategory": "Crumpets & Pancakes", "source": "specials", "sourceQuery": "specials/half-price" }
```

Product lookups (`products`) return the same row plus `countryOfOrigin` (`"Australia"`) and `countryOfOriginStatement` (`"Product of Australia"`), and all product images.

The dataset comes with three ready-made views: **Overview**, **Specials** and **Barcode, ingredients & nutrition**. A `RUN_SUMMARY` record in the key-value store lists, for each source, how many products were saved, how many Woolworths reports in total, and why scraping stopped.

#### Field fill rates (real test run)

887 supermarket products: the whole Bakery department, the Milk category and a "tim tam" search, with Everyday Market excluded.

| Field | Fill rate |
|---|---|
| stockcode, name, brand, packageSize, url, image, barcode, department, category, subcategory, description | 100% |
| price, unit price, stock flags | 98% (products that are currently unavailable have no price) |
| wasPrice, saveAmount, discountPercent | 20% (the products that were on special) |
| ingredients | 95% |
| allergensContain | 91% |
| dietaryClaims | 87% |
| storageInstructions | 68% |
| healthStarRating | 62% |

Everyday Market products (third-party sellers) are thinner: in a "coffee" specials search, 69% of rows were marketplace products and only 31% of all rows had a barcode. Use `excludeMarketplace` when you only want the supermarket range.

### Pricing

**Pay per result: $0.19 per 1,000 results.** You pay per product saved to the dataset. Ingredients, allergens and the nutrition panel are included at no extra charge, and there is no start fee.

- The prefilled input (milk + coffee, 20 each, 40 products) = about $0.008
- 1,000 results = $0.19
- 10,000 results = $1.90
- Every half-price special (about 2,000 products) = about $0.38

You're never charged for failed requests, blocked retries, duplicates, products that no longer exist, or products skipped by `excludeMarketplace`. If you set a maximum cost per run, the scraper stops cleanly when it reaches it. Apify's free plan includes $5 of monthly credit, which covers about 26,000 results at this price.

### Why this one

Prices below are the Store's FREE-tier prices per 1,000 products, read in a live Apify Store search on 11 Nov 2026. Ours is $0.19 with no start fee, and ingredients, allergens and nutrition are included. On 11 Nov that was the lowest per-product price among the paid Woolworths scrapers we found. Re-checked 23 Nov 2026 (119 of 140 "woolworths" rows readable): it no longer is. zaiq's Woolworths AU actor lists $0.075 per 1,000 search results + $0.00005 start and architekture's $0.12 (2 users each). The most-used now: dromb (342 users) $0.60 + $0.008 start, scrapesage (274) $2.00, seemuapps (262) $1.20, easyapi (170) $2.99 + $0.09 start. On 11 Nov the three most-used: dromb (223 users in 30 days) $0.60 + $0.008 per run; scrapesage (211) $2.00; lergassy's Coles, Woolworths and ALDI actor (42) $1.50. seemuapps ($1.20 + $5.00 per 1,000 searches) has 7. The cheapest others we found: topapi $0.27 (+ details, reviews and store events), dami_studio $0.28 + $0.00025 per run, serenido $0.30 + $0.00005 per run, s_actors $0.49 + $0.001 per run. Rivals' prices can change; check the Store page before you rely on this.

### Integrations

- **Make, Zapier and n8n**: trigger runs and pass Woolworths prices into any workflow.
- **Google Sheets**: send each run's dataset straight into a spreadsheet.
- **Apify API**: start runs and fetch results over REST, or with the JavaScript and Python API clients.
- **Webhooks**: get notified when a run finishes, then pull the new data.
- **MCP for AI agents**: the Apify MCP server (https://mcp.apify.com) lets Claude, ChatGPT, Cursor and other agents call this actor and read Woolworths prices directly. Typical agent call: `{"searchQueries": ["oat milk"], "maxItems": 10}`, about $0.002.
- **Schedules**: run it every Wednesday morning (AEST) to capture each week's specials.

### Limits

- **Prices are Woolworths' default online prices.** Choosing a specific store or delivery address is not supported in this version. Each row also carries the `inStorePrice` Woolworths reports next to the online price.
- **Woolworths' totals are approximate.** A list that says 2,013 products returned 2,002 to 2,004 in our runs, because Woolworths re-ranks items between pages. Duplicates are removed, so every product appears once per source.
- **A search returns at most 10,000 products**, which is Woolworths' own cap. The Everyday Market department is capped the same way.
- **Promoted products** are mixed into every page by Woolworths. They are kept by default (flagged `isSponsored`) because some products of a category only appear in those slots.
- **Country of origin** comes only with product lookups (`products`), not with search, category or specials rows.
- **Customer reviews** are not included.

### How it works (for developers)

woolworths.com.au is an Angular app backed by JSON endpoints under `/apis/ui/`. Keyword searches are GET requests to `Search/products`; category and specials pages are POST requests to `browse/category` with a node id taken from the site's category tree (`PiesCategoriesWithSpecials`); product lookups use `product/detail/<stockcode>`. Category and lookup requests are only answered for a session that already holds the site's cookies, so each new session first makes one small search request. Pages hold up to 36 products, some of them promoted, so the scraper keeps requesting pages until one comes back with no organic products.

```bash
npm install
npm test                                   # parser tests on saved fixtures
APIFY_LOCAL_STORAGE_DIR=./storage node src/main.js   # input in storage/key_value_stores/default/INPUT.json
```

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `searchQueries` (type: `array`):

Optional. List of keywords typed into the Woolworths search box, e.g. \["milk", "tim tam"]. A barcode (EAN/GTIN, e.g. "9310199012717") also works and returns that one product. Each keyword returns up to maxItems products. Give at least one of searchQueries, categories, specials, products or startUrls.

## `categories` (type: `array`):

Optional. List of Woolworths category paths (the part after /shop/browse/ in a category URL) or full category URLs, e.g. \["bakery", "dairy-eggs-fridge/milk", "https://www.woolworths.com.au/shop/browse/pantry"]. "all" = every supermarket department, each product saved once (tens of thousands of products). One department is roughly 500-9,000 products.

## `specials` (type: `string`):

Optional. Woolworths specials list to scrape. One of: "none" (default, skip), "all" (every list below, each product saved once), "halfprice" (about 2,000 products), "onlineonly", "lowershelfprice", "everydaylowprice", "seasonalprice", "buymoresavemore". Woolworths starts new specials each Wednesday.

## `products` (type: `array`):

Optional. List of Woolworths stock codes or product page URLs to look up one by one, e.g. \["88436", "https://www.woolworths.com.au/shop/productdetails/888140/woolworths-full-cream-milk"]. Use this to re-check prices of known products. Lookups also return country of origin. A product that no longer exists is skipped and not charged.

## `startUrls` (type: `array`):

Optional. List of woolworths.com.au URLs as objects, e.g. \[{"url": "https://www.woolworths.com.au/shop/search/specials?searchTerm=coffee"}]. Accepts search pages (/shop/search/products, /shop/search/specials), category pages (/shop/browse/...) and product pages (/shop/productdetails/...). A sortBy in the URL is kept; other URL filters are ignored.

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

Optional. Maximum products per keyword, category, specials list or URL, integer >= 0. Default 100; 0 = everything Woolworths lists. Two keywords with 100 = up to 200 results. You pay per product saved, so use 10-20 for a quick answer.

## `sort` (type: `string`):

Optional. Order of search and category results. One of: "relevance" (default, Woolworths' own order), "priceAsc", "priceDesc", "unitPriceAsc" (cheapest per litre/kg first), "unitPriceDesc", "nameAsc", "nameDesc". Combine with a small maxItems to get, for example, the 10 cheapest products for a keyword.

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

Optional boolean. true = each keyword in searchQueries returns only products that are on special right now. Default false (all products). Does not affect categories; use the specials field for whole specials lists.

## `includeNutrition` (type: `boolean`):

Optional boolean. true = add a nutrition object (per 100 g/mL and per serve: energy, protein, fat, carbohydrate, sugars, sodium...) to food products that have one. No extra requests and no extra cost. Default false to keep rows small.

## `excludeMarketplace` (type: `boolean`):

Optional boolean. true = skip products sold by third-party sellers on Woolworths' Everyday Market (flagged isMarketplace), keeping only the supermarket range. Skipped products are not charged. Default false. Useful for keywords like "coffee" where marketplace appliances crowd the results.

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

Optional boolean. Woolworths fills some slots on each page with promoted (paid) products, flagged isSponsored: true. Default true, because some products of a category only show up in those slots; every product is still saved once. false = organic results only.

## `maxConcurrency` (type: `integer`):

Optional, advanced. Number of parallel requests, integer 1-20. Default 5. Leave unset unless the run is very large.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. Retries per failed or blocked request, integer 0-20; each retry uses a new proxy session. Default 8. Leave unset.

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

Optional, advanced. Apify Proxy settings object. Default {"useApifyProxy": true} (datacenter proxies, the cheapest; they worked for every request in our tests). If Woolworths starts blocking, switch to {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"], "apifyProxyCountry": "AU"}. Leave unset.

## Actor input object example

```json
{
  "searchQueries": [
    "milk",
    "coffee"
  ],
  "specials": "none",
  "maxItems": 20,
  "sort": "relevance",
  "specialsOnly": false,
  "includeNutrition": false,
  "excludeMarketplace": false,
  "includeSponsored": true,
  "maxConcurrency": 5,
  "maxRequestRetries": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

All products found, with prices, specials, unit prices, barcode, stock, category and ingredients (plus nutrition when asked for).

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

Per-source counts, Woolworths totals, stop reasons and any failed requests.

# 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 = {
    "searchQueries": [
        "milk",
        "coffee"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/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 = {
    "searchQueries": [
        "milk",
        "coffee",
    ],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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