# Compare milk prices at Coles and Woolworths

**Use case:** 

Compare shelf and unit prices for milk at Coles and Woolworths in one table, with specials flags. Change the search terms to compare any product.

## Input

```json
{
  "chains": [
    "coles",
    "woolworths"
  ],
  "searchQueries": [
    "milk"
  ],
  "specials": "none",
  "categoryUrls": [
    "https://www.coles.com.au/browse/dairy-eggs-fridge/milk",
    "https://www.woolworths.com.au/shop/browse/dairy-eggs-fridge/milk"
  ],
  "productUrls": [
    "https://www.coles.com.au/product/coles-full-cream-milk-3l-8150288",
    "https://www.woolworths.com.au/shop/productdetails/62636/pura-full-cream-milk"
  ],
  "maxItemsPerSource": 15,
  "maxItems": 0,
  "includeDetails": false,
  "monitorPriceChanges": false,
  "monitorKey": "default",
  "outputUnchanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "chain": {
    "label": "Chain",
    "format": "string"
  },
  "name": {
    "label": "Product",
    "format": "string"
  },
  "size": {
    "label": "Size",
    "format": "string"
  },
  "price": {
    "label": "Price (AUD)",
    "format": "number"
  },
  "wasPrice": {
    "label": "Was (AUD)",
    "format": "number"
  },
  "unitPrice": {
    "label": "Unit price",
    "format": "number"
  },
  "unitPriceUnit": {
    "label": "per",
    "format": "string"
  },
  "promoText": {
    "label": "Promotion",
    "format": "string"
  },
  "inStock": {
    "label": "In stock",
    "format": "boolean"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "barcode": {
    "label": "Barcode",
    "format": "string"
  },
  "storeId": {
    "label": "Store",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Coles & Woolworths Grocery Price Scraper](https://apify.com/cylindrical_lighthouse/au-grocery-prices.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cylindrical_lighthouse/au-grocery-prices.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cylindrical_lighthouse/au-grocery-prices.md

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`).
