# Supermarket Discount Tracker

**Use case:** 

Track live supermarket markdowns across Woolworths (Australia) and Sainsbury's (UK). Enter the products you care about and get every current discount with its previous price, discount percentage, unit price and end date — including a flag for loyalty-card-only prices, so you can tell a real saving from a Nectar-only one. Schedule it daily to catch promotions as they start. No login required!

## Input

```json
{
  "searchTerms": [
    "chocolate",
    "biscuits",
    "coffee",
    "cheese",
    "wine"
  ],
  "retailers": [
    "woolworths-au",
    "sainsburys-uk"
  ],
  "maxProductsPerTerm": 100,
  "onlyOnSale": true,
  "minDiscountPct": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "retailerName": {
    "label": "Retailer",
    "format": "text"
  },
  "name": {
    "label": "Product",
    "format": "text"
  },
  "brand": {
    "label": "Brand",
    "format": "text"
  },
  "price": {
    "label": "Now",
    "format": "number"
  },
  "wasPrice": {
    "label": "Was",
    "format": "number"
  },
  "discountPct": {
    "label": "Discount %",
    "format": "number"
  },
  "promotion": {
    "label": "Offer",
    "format": "text"
  },
  "loyaltyPriceOnly": {
    "label": "Loyalty only",
    "format": "boolean"
  },
  "promotionEndsAt": {
    "label": "Ends",
    "format": "date"
  },
  "unitPrice": {
    "label": "Unit price",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Supermarket Price Scraper - Woolworths & Sainsbury's](https://apify.com/abdullahbilal-y/grocery-price-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/abdullahbilal-y/grocery-price-scraper.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/abdullahbilal-y/grocery-price-scraper.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`).
