# Loblaws & PC Express Grocery Prices (Canada) (`aitorsm/pcexpress-product-scraper`) Actor

Live product data for Loblaws, No Frills, Maxi, Provigo, Zehrs, Fortinos, Superstore and every PC Express grocery banner in Canada. Get prices, per-unit prices, member prices, live deals, availability, images and barcodes by store — for price monitoring and competitor research.

- **URL**: https://apify.com/aitorsm/pcexpress-product-scraper.md
- **Developed by:** [Aitor Sanchez-Mansilla](https://apify.com/aitorsm) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Full permissions
- **Stats:** 61 total users, 2 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 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.
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

## Loblaws & PC Express Grocery Prices (Canada)

[![Loblaws & PC Express Grocery Prices](https://apify.com/actor-badge?actor=aitorsm/pcexpress-product-scraper)](https://apify.com/aitorsm/pcexpress-product-scraper)

Get **live product and price data** for Canada's largest grocery network — **Loblaws, No Frills, Maxi, Provigo, Zehrs, Fortinos, Real Canadian Superstore, Atlantic Superstore, Your Independent Grocer, Dominion** and every other **PC Express** banner. Pick any store, any category, or any search term and get clean, structured JSON ready for **price monitoring, competitor analysis, and market research**.

Pick a store, point it at a category or search, and get back every product with its price, **normalized per-unit price**, **PC Optimum member price**, **live deals & promotions**, availability, and image — for the exact store you chose.

### What you get

Each product returns:

| Field | Description |
|-------|-------------|
| `name` | Product name |
| `price` | Current price at the selected store |
| `price_old` | Previous / regular price when the item is on sale |
| `price_per_unit` | Normalized unit price (e.g. `$0.03/1ea`) — compare across pack sizes |
| `member_price` | PC Optimum / member-only price when available |
| `package_size` | Pack size (e.g. `100 ea`) |
| `availability` | In-stock (`true`) or out-of-stock (`false`) |
| `rating` | Product rating & review count when available |
| `deal` | Active deal / promotion details when available |
| `image` | High-resolution product image URL |
| `brand_text` | Brand name |
| `description` | Product description |
| `product_id` | Store product code |
| `barcode` | Product barcode / article number |
| `url` | Direct link to the product page |
| `timestamp` | When the record was captured |

Prices, sales, and stock are **store-specific** — the same product can differ between a Toronto Loblaws and a Winnipeg Superstore, and this Actor returns the price *for the store you select*.

### Input

Choose a **banner** (chain), a **store address** from the dropdown, and one or more **category or search URLs**.

```json
{
  "bannerId": "loblaw",
  "address": "Loblaws 7700 Markham Rd Markham L3S 3K5",
  "startUrls": [
    { "url": "https://www.loblaws.ca/home-and-living/household-cleaning-products/food-wrap-bags/c/28180" }
  ]
}
```

- **bannerId** — the chain (`loblaw`, `nofrills`, `maxi`, `provigo`, `zehrs`, `fortinos`, `superstore`, `rass`, `independent`, `independentcitymarket`, `dominion`).
- **address** — the specific store, chosen from the built-in dropdown of 1,200+ locations. The store must belong to the selected banner.
- **startUrls** — category pages (`.../c/12345`) or a search URL (`...?search-bar=milk`). Add as many as you like.

#### Supported chains

| Chain | bannerId |
|---|---|
| Loblaws | `loblaw` |
| No Frills | `nofrills` |
| Maxi | `maxi` |
| Provigo | `provigo` |
| Zehrs | `zehrs` |
| Fortinos | `fortinos` |
| Real Canadian Superstore | `superstore` |
| Atlantic Superstore | `rass` |
| Your Independent Grocer | `independent` |
| Independent City Market | `independentcitymarket` |
| Dominion | `dominion` |

### Use cases

- **Grocery price monitoring** — track price changes across banners and regions over time.
- **Per-unit price comparison** — compare `$/100g` or `$/ea` across pack sizes and brands, not just sticker price.
- **Deal & promotion tracking** — capture live `SAVE $X`, multi-buy, and PC Optimum offers with expiry dates.
- **Competitor & market research** — compare Loblaws vs No Frills vs Superstore pricing on the same basket.
- **Availability / out-of-stock monitoring** — watch stock levels for specific products by store.
- **Price databases & dashboards** — feed a BI tool, a price-comparison site, or an ML model with fresh grocery data.
- **Regional price analysis** — measure how the same product is priced across Canadian provinces.

### FAQ

**Which stores and chains are supported?**
All PC Express / Loblaw Companies banners in Canada: Loblaws, No Frills, Maxi, Provigo, Zehrs, Fortinos, Real Canadian Superstore, Atlantic Superstore, Your Independent Grocer, Independent City Market, and Dominion — 1,200+ individual store locations.

**Is the price the real in-store price for that location?**
The data reflects the online PC Express price for the specific store you select. Grocery pricing is store-specific, so always pick the store you actually care about.

**Can I get products by category and by keyword search?**
Yes. Use a category URL (containing `/c/`) to get a whole department, or a search URL (containing `search-bar=`) to get results for a keyword like "milk" or "coffee".

**How do I get prices for a specific store?**
Select the store from the `address` dropdown and set the matching `bannerId`. The Actor resolves your choice to that store and returns its prices.

**How many products can it return?**
It returns every product in the categories or searches you provide — from a single department to a full catalogue sweep.

**How do I track prices over time?**
Schedule the actor to run on a recurring basis (daily/weekly). Each run is timestamped, so you can build a price history and detect changes.

**Does it capture sales, deals, and per-unit prices?**
Yes. Every product includes a normalized per-unit price (e.g. `$1.97/100g`) so you can compare across pack sizes, plus any live deal (`SAVE $5.00`, multi-buy offers, PC Optimum member prices) with its expiry date — ideal for promotion tracking and true price comparison.

**Does it need a login or account?**
No. You only provide a store, a banner, and the category or search URLs.

**What format is the output?**
Structured JSON (also exportable to CSV, Excel, or via API) with one row per product — ready for spreadsheets, databases, and dashboards.

### Pricing

This actor uses **pay-per-result** pricing — you pay only for the products you receive, with volume discounts as your usage grows. Platform/compute costs are included, so your total is predictable.

Example: a 500-product category costs roughly the price of 500 results — no surprises, no infrastructure to manage.

### Support & custom work

Built and maintained by **[aitorsm](https://apify.com/aitorsm)**.

- **Custom fields, chains, or bulk data:** business@aitorsm.com
- Need **store locations** (IDs, addresses, postal codes) for these banners? See the companion **[Loblaws & PC Express Store Locations](https://apify.com/aitorsm/pcexpress-store-locations)**.

# Actor input Schema

## `bannerId` (type: `string`):

PC Express banner. The store address below must belong to this banner.

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

Category URLs (containing /c/<id>) or search URLs (containing ?search-bar=<term>) from the selected banner website, e.g. loblaws.ca or nofrills.ca. All products of each URL are returned. Other URLs are ignored.

## `address` (type: `string`):

Store whose prices you want. It must belong to the selected banner, otherwise the store cannot be resolved.

## Actor input object example

```json
{
  "bannerId": "loblaw",
  "startUrls": [
    {
      "url": "https://www.loblaws.ca/home-and-living/household-cleaning-products/food-wrap-bags/c/28180?navid=flyout-L2-Food-Wrap-and-Bags"
    }
  ],
  "address": "Loblaws 7700 Markham Rd Markham L3S 3K5"
}
```

# Actor output Schema

## `results` (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 = {
    "bannerId": "loblaw",
    "startUrls": [
        {
            "url": "https://www.loblaws.ca/home-and-living/household-cleaning-products/food-wrap-bags/c/28180?navid=flyout-L2-Food-Wrap-and-Bags"
        }
    ],
    "address": "Loblaws 7700 Markham Rd Markham L3S 3K5"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aitorsm/pcexpress-product-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 = {
    "bannerId": "loblaw",
    "startUrls": [{ "url": "https://www.loblaws.ca/home-and-living/household-cleaning-products/food-wrap-bags/c/28180?navid=flyout-L2-Food-Wrap-and-Bags" }],
    "address": "Loblaws 7700 Markham Rd Markham L3S 3K5",
}

# Run the Actor and wait for it to finish
run = client.actor("aitorsm/pcexpress-product-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 '{
  "bannerId": "loblaw",
  "startUrls": [
    {
      "url": "https://www.loblaws.ca/home-and-living/household-cleaning-products/food-wrap-bags/c/28180?navid=flyout-L2-Food-Wrap-and-Bags"
    }
  ],
  "address": "Loblaws 7700 Markham Rd Markham L3S 3K5"
}' |
apify call aitorsm/pcexpress-product-scraper --silent --output-dataset

```

## MCP server setup

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