# Compare a grocery basket across the 3 nearest IGA stores

**Use case:** 

Prices one shopping list at the three IGA stores nearest a postal code, so you can see which store is cheapest for your basket. Each row is one product at one store: price, regular price, sale end date, multi-buy offer, stock, barcode and pack size. Products a store doesn't price itself are skipped and not charged, and the OUTCOMES record says which. Swap in your own products and postal code.

## Input

```json
{
  "banners": [
    "foodland",
    "thriftyfoods",
    "iga",
    "freshco"
  ],
  "keywords": [
    "milk"
  ],
  "productUrls": [
    "https://www.iga.ca/products/qu%C3%A9bon-2--milk-2-l",
    "https://www.iga.ca/products/lactantia-butter-salted-454-g",
    "https://www.iga.ca/products/pom-white-sliced-bread-ultra-moist-675-g",
    "https://www.iga.ca/products/kraft-peanut-butter-smooth-1-kg",
    "https://www.iga.ca/products/cheerios-cereal-original-whole-grains-family-size-570-g",
    "https://www.iga.ca/products/kraft-dinner-macaroni-and-cheese-original-200-g",
    "https://www.iga.ca/products/barilla-pasta-spaghetti-410-g",
    "https://www.iga.ca/products/heinz-tomato-ketchup-750-ml",
    "https://www.iga.ca/products/lantic-granulated-white-sugar-2-kg",
    "https://www.iga.ca/products/tropicana-orange-juice-lower-sugar-some-pulp-1%252E36-l",
    "https://www.iga.ca/products/tim-hortons-ground-coffee-columbian-fine-grind-640-g",
    "https://www.iga.ca/products/dr-pepper-zero-sugar-soft-drink-12-x-355-ml-(cans)"
  ],
  "postalCode": "H3C 2M2",
  "storesNearby": 3,
  "storeIds": [],
  "maxProducts": 36,
  "includeNutrition": false,
  "inStockOnly": false,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "banner": {
    "label": "Banner",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "brand": {
    "label": "Brand",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "regularPrice": {
    "label": "Regular",
    "format": "number"
  },
  "onSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "priceValidUntil": {
    "label": "Promo ends",
    "format": "text"
  },
  "multiBuyQuantity": {
    "label": "Multi-buy qty",
    "format": "number"
  },
  "multiBuyPrice": {
    "label": "Multi-buy price",
    "format": "number"
  },
  "availability": {
    "label": "Stock",
    "format": "text"
  },
  "storeId": {
    "label": "Store ID",
    "format": "text"
  },
  "storeName": {
    "label": "Store",
    "format": "text"
  },
  "storeDistanceKm": {
    "label": "Km away",
    "format": "number"
  },
  "category": {
    "label": "Category",
    "format": "text"
  },
  "sku": {
    "label": "SKU",
    "format": "text"
  },
  "upc": {
    "label": "UPC",
    "format": "text"
  },
  "unit": {
    "label": "Unit",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Foodland, Thrifty Foods, IGA & FreshCo Scraper — Canada Actor is ready to run with the inputs already set for "Compare a grocery basket across the 3 nearest IGA stores". [Sign up or log in](https://console.apify.com/create-task-from-example/s48mprPZ8JCCxJNjy) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare a grocery basket across the 3 nearest IGA stores" task

The Foodland, Thrifty Foods, IGA & FreshCo Scraper — Canada Actor will start running based on the input automatically. You can also change all the input fields, like banners, search terms, and more, to match your specific use case.

### 3. Receive the "Compare a grocery basket across the 3 nearest IGA stores" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as banner, name, brand, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare a grocery basket across the 3 nearest IGA stores" task via API](https://apify.com/alduinxx/foodland-thrifty-foods-iga-freshco-scraper.md).

## FAQ

### How long does the IGA basket comparison take?

The IGA basket comparison reads the product pages directly, so 12 products at 3 stores take about 25 seconds. Set the timeout to at least 2 minutes: a run stopped by its timeout keeps the rows it wrote but loses the rest.

### What does the IGA basket comparison cost?

$0.75 per 1,000 rows plus a $0.01 start fee. This basket is 12 products at 3 stores, at most 36 rows: about $0.04. A product a store doesn't price itself is skipped and not charged. A maximum cost per run counts the start fee too.

### How do I compare my own shopping list?

Copy each product's page address from iga.ca (English or French) into Product URLs, and set Maximum products to at least the number of products times the number of stores.

### Can I pick the stores instead of the nearest three?

Put up to 10 store numbers in Store numbers, for example 8093 for IGA Duke in Montréal; they take priority over the postal code. Every run saves the full store list, with numbers, as STORES under Storage.

### Why is a product missing at one of the stores?

That store has no price of its own for it. iga.ca then shows another store's price, and this task never passes that off as your store's. OUTCOMES under Storage lists each product and store, and which store priced it instead.

### What do OutOfStock and InStoreOnly mean?

Both come from IGA's own stock data for that store: InStoreOnly means in stock at the store, OutOfStock means not. Turn on In stock only to skip out-of-stock products; they are then not charged.

### Why does one SKU appear twice?

IGA gives a single item and its case the same SKU, for example a 355 mL can and its 12-pack. Each is its own row, told apart by unit (EA or CS), itemsInPack and upc.

### Does this work for Foodland, Thrifty Foods or FreshCo?

The same Actor covers Foodland, Thrifty Foods and FreshCo. Paste their product URLs and a postal code in their area; each page is priced at the nearest stores of its own banner.

## About this Actor

This example demonstrates how to use [Foodland, Thrifty Foods, IGA & FreshCo Scraper — Canada](https://apify.com/alduinxx/foodland-thrifty-foods-iga-freshco-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alduinxx/foodland-thrifty-foods-iga-freshco-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/alduinxx/foodland-thrifty-foods-iga-freshco-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`).
