Loblaws, No Frills, Superstore & Maxi Scraper API - Canada
Pricing
from $0.75 / 1,000 results
Loblaws, No Frills, Superstore & Maxi Scraper API - Canada
Scrape grocery prices from 12 Canadian chains: Loblaws, Real Canadian Superstore, No Frills, Zehrs, Fortinos, Valu-mart, Your Independent Grocer, City Market, Provigo, Maxi, Wholesale Club and Atlantic Superstore. Store-level pricing by postal code. JSON, CSV or Excel.
Pricing
from $0.75 / 1,000 results
Rating
5.0
(1)
Developer
JChaw
Maintained by CommunityActor stats
4
Bookmarked
105
Total users
16
Monthly active users
5.8 hours
Issues response
an hour ago
Last modified
Categories
Share
Canadian Grocery Price Scraper API β Loblaws, Superstore, No Frills, Maxi, Provigo, Zehrs & More
Extract grocery prices and product data from 12 Canadian supermarket chains β Loblaws, Real Canadian Superstore, No Frills, Zehrs, Fortinos, Valu-mart, Your Independent Grocer, Independent City Market, Provigo, Maxi, Wholesale Club and Atlantic Superstore β including product names, current prices, sale prices, unit prices, package sizes, product images, product URLs, PC Optimum offers, and multi-buy deals.
Coverage spans every province: BC, Alberta, Saskatchewan, Manitoba, Ontario, Quebec, New Brunswick, Nova Scotia, PEI, Newfoundland, plus Yukon and the Northwest Territories. Prices are resolved per store, so a Maxi in MontrΓ©al and a Zehrs in Kitchener return their own shelf prices, not a national average.
This Actor is built for Canadian grocery price monitoring, retail analytics, grocery price comparison apps, food inflation research, and automated grocery data pipelines.
Use it to search products, scrape categories, monitor prices by postal code or store location, and export structured grocery data as JSON, CSV, Excel, or through the Apify API.
β‘ Quick start
Search Real Canadian Superstore for a few common items near Vancouver β paste this input and run:
{"banner": "superstore","search_terms": ["eggs", "milk", "chicken breast"],"postal_code": "V5X 0C4"}
Run in the Apify console
- Click Try for free (or Run) on the actor page.
- In the Input tab, paste the JSON above β switch to the JSON view first if needed.
- Click Start. Results stream into the Output tab as they arrive.
- Download from Storage β Dataset as JSON, CSV, or Excel.
Run via the API
Get your API token from console.apify.com/settings/integrations, then:
curl -X POST \"https://api.apify.com/v2/acts/sunny_eternity~loblaws-grocery-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"banner": "superstore", "search_terms": ["eggs", "milk", "chicken breast"], "postal_code": "V5X 0C4"}'
This synchronous endpoint is best for small test runs. It can timeout on larger scrapes. For scheduled runs, large categories, or recurring monitoring, use the async /runs endpoint and fetch results later from the returned defaultDatasetId. Official JavaScript and Python clients are also available.
Want a larger scrape? Use categories instead of search_terms (e.g., ["fruits-vegetables", "dairy-eggs"]). Replace "V5X 0C4" with your own Canadian postal code. Switch "banner" to any of the 12 supported chains β "maxi" and "provigo" for Quebec, "zehrs", "fortinos" or "valumart" for Ontario, "rass" for Atlantic Canada.
π Related Actors
Need every Canadian banner in one call? Use the aggregate actor:
- Canadian Grocery Price Comparison β Query in, comparison out. One call, 16 chains, with match-confidence scoring and normalized unit prices.
Pair this with our other per-retailer scrapers for full coverage:
- Save-On-Foods, PriceSmart, Urban Fare & Quality Foods Scraper β Pattison Food Group banners across Western Canada.
- T&T Supermarket Scraper β Canada's largest Asian grocery chain, across BC, AB, ON, and QC.
- Costco Scraper β Warehouse prices and deals from costco.ca and costco.com.
Who is this for?
- Developers building grocery price comparison apps
- Retail analysts monitoring Canadian grocery prices
- CPG brands tracking competitor pricing and promotions
- Researchers studying food inflation and grocery affordability
- Data teams building product price databases
- Agencies and consultants creating retail dashboards
- Indie hackers building shopping, deal, or price alert tools
Features
- π Fast & reliable: No slow browser automation, no CAPTCHAs β get clean structured data in seconds
- π Twelve chains, one scraper: Superstore, No Frills, Loblaws, Zehrs, Fortinos, Valu-mart, Your Independent Grocer, City Market, Provigo, Maxi, Wholesale Club and Atlantic Superstore
- π Nationwide: Every province plus Yukon and the NWT β including Quebec (Maxi, Provigo) and Atlantic Canada (Atlantic Superstore)
- π Complete product data: Names, prices, unit prices, package sizes, images, URLs, and product IDs
- π° Sale & promo tracking: Capture was-prices, multi-buy deals, and PC Optimum points offers
- π Location-aware pricing: Auto-resolve the nearest store by Canadian postal code or specify a store ID
- βοΈ Normalized unit prices: Get comparable $/100g or $/100ml pricing across products
- π Multiple export formats: Download scraped data as JSON, CSV, or Excel
- π Integrations: Connect with Zapier, Make, Google Sheets, webhooks, and the Apify API
What data does the Canadian Grocery Scraper extract?
| π·οΈ Product name | π² Price & sale price |
|---|---|
| π¦ Package size (e.g., 500g) | π Unit price (e.g., $0.66/100g) |
| πΌοΈ Product image URL | π Product page URL |
| π Product ID | π Store location ID |
| βοΈ Selling type (by weight/by unit) | π Comparable unit price (normalized) |
| π·οΈ Multi-buy deals | π PC Optimum offers |
β¬οΈ Input
| Field | Type | Required | Description |
|---|---|---|---|
banner | string | β | Store banner β see Supported stores for all 12 |
categories | string[] | β | Departments or subcategories to scrape (multi-select dropdown) |
categoryUrls | string[] | β | Custom category URLs for subcategories not in the dropdown |
search_terms | string[] | β | Keyword search queries (e.g., "milk", "organic eggs"); when combined with categories, acts as a name filter instead of a separate search call |
postal_code | string | β | Canadian postal code to auto-resolve the nearest store |
locationId | string | β | Explicit store location ID (takes priority over postal_code) |
group_variants | boolean | β | Merge package-size variants of the same product into one row with a variants column (default: false) |
on_sale_only | boolean | β | Only output products with is_on_sale: true β a wasPrice, deal, promotion, or sale badge (default: false) |
At least one of
categories,categoryUrls, orsearch_termsmust be provided.
Category selection
The categories dropdown supports 130+ options organized by department:
- π Departments (e.g.,
fruits-vegetables,deli) β scrapes all subcategories within - β Subcategories (e.g.,
deli/deli-meat,bakery/bread) β scrapes a single subcategory allβ scrapes the entire store across all departments
When you select a department, the actor dynamically discovers all its subcategories via the store's API and queues each one for scraping.
Example inputs
Single subcategory:
{"banner": "superstore","categories": ["bakery/bread"]}
Entire department:
{"banner": "superstore","categories": ["deli", "bakery"]}
Mix of departments and subcategories:
{"banner": "superstore","categories": ["meat", "dairy-eggs/cheese", "frozen-food/frozen-pizza"]}
Full store scrape with location:
{"banner": "superstore","categories": ["all"],"postal_code": "V6M 2P8"}
Search terms only:
{"banner": "superstore","search_terms": ["organic eggs", "oat milk"]}
Category + keyword filter:
{"banner": "superstore","categories": ["dairy-eggs"],"search_terms": ["cheese", "yogurt"]}
Note: When
categories(orcategoryUrls) andsearch_termsare both provided, the search terms act as keyword filters on the category results rather than triggering separate search API calls. Only products whose names contain at least one of the specified terms are returned. Usesearch_termsalone (withoutcategories) for a dedicated search query.
Sale items only (whole store):
{"banner": "superstore","categories": ["all"],"on_sale_only": true}
Custom URL (for L4 subcategories not in dropdown):
{"banner": "superstore","categoryUrls": ["https://www.realcanadiansuperstore.ca/en/food/fruits-vegetables/fresh-vegetables/lettuce-leafy-vegetables/c/29612"]}
β¬οΈ Output
Results are stored in a dataset accessible from the Output or Storage tab. Export as JSON, CSV, or Excel.
JSON output example
{"store": "Real Canadian Superstore","name": "Bananas","price": "0.69","unit_price": "454 g, $0.15/100g","image_url": "https://assets.shop.loblaws.ca/products/...","product_url": "https://www.realcanadiansuperstore.ca/bananas/p/...","product_id": "21023456","location": "1517","location_name": "Real Canadian Superstore Marine Drive","location_postal_code": "V5X 0C4","location_coordinates": { "lat": 49.2088, "lng": -123.1076 },"category": "fresh-fruits","selling_type": "by_weight","package_size": "454g","parsed_package_size": {"size": 454,"unit": "g"},"normalized_package_size": {"size": 454,"unit": "g"},"parsed_unit_price": {"value": 0.15,"quantity": 100,"unit": "g","unit_type": "weight"},"comparable_unit_price": 0.15,"was_price": 0.89,"is_on_sale": true,"multi_buy_deal": "2 for $1.00","pc_optimum_offer": "1000 points"}
Output fields
| Field | Description |
|---|---|
store | Chain name (Real Canadian Superstore, Maxi, Zehrs, β¦) |
name | Product display name |
price | Current price (without $ symbol) |
unit_price | Raw unit price string from store (e.g., "454 g, $0.15/100g") |
product_url | Direct link to product page |
location | Store ID the prices came from |
location_name | Store name, when resolved from a postal code |
location_postal_code | Store postal code, when resolved from a postal code |
location_coordinates | Store latitude/longitude, when resolved from a postal code |
selling_type | by_weight or by_unit β how the product is priced |
package_size | Package size as string (e.g., "500g", "2l") |
parsed_unit_price | Structured unit price with value, quantity, and unit |
comparable_unit_price | Normalized price per 100g or 100ml for comparison |
was_price | Previous price before sale (null if not on sale) |
is_on_sale | Whether the product currently has a deal |
multi_buy_deal | Multi-buy promotion text (e.g., "2 for $5.00") |
pc_optimum_offer | PC Optimum loyalty points offer, if any |
πͺ Supported stores
| Banner | Store Name | Provinces |
|---|---|---|
superstore | Real Canadian Superstore | BC, AB, SK, MB, ON, YT |
nofrills | No Frills | BC, AB, SK, MB, ON, NB, NS, PE, NL |
loblaw | Loblaws | BC, AB, ON |
zehrs | Zehrs | ON |
fortinos | Fortinos | ON |
valumart | Valu-mart | ON, QC |
independent | Your Independent Grocer | BC, AB, SK, ON, NB, NS, PE, NL, YT, NT |
independentcitymarket | Independent City Market | ON |
provigo | Provigo | QC |
maxi | Maxi | QC, NB |
wholesaleclub | Wholesale Club | BC, AB, SK, MB, ON, QC, NB, NS, NL |
rass | Atlantic Superstore | NB, NS, PE |
The scraper works identically across all twelve banners: same input, same output fields, same categories. Each banner prices independently, so the same SKU can differ by a dollar or more between them.
rassis Atlantic Superstore's internal banner code ("Real Atlantic SuperStore"). The actor also accepts"atlantic"and"atlantic superstore"as aliases, along with common alternates for the other banners ("loblaws","rcss","no frills","valu-mart","yig").
π§ Environment variables
None. Postal-code resolution uses the retailers' own public store directory, so the actor needs no API keys or credentials of any kind.
β FAQ
Is there an official Loblaws API?
Loblaws does not offer a public API for product or pricing data. This actor gives you a reliable, structured alternative β fresh grocery data without the maintenance overhead of building your own scraper.
Can I compare the same product across banners?
Yes. Run the actor once per banner with the same search_terms and the same region, and compare on product_id β Loblaw banners share a product catalogue, so an identical product_id is genuinely the same SKU at a different chain. For a ready-made cross-chain comparison with match scoring, use the Canadian Grocery Price Comparison actor instead.
Is it legal to scrape Loblaws?
Scraping publicly available product and price information is generally legal, but you are responsible for complying with Loblaws' terms of service and any applicable laws in your jurisdiction. Use the data responsibly and avoid excessive request volume.
How much does it cost to run?
The actor runs on Apify's pay-per-usage model. Small scrapes (a few categories or search terms) typically fit within Apify's free tier credits. Larger full-store scrapes scale with the number of products and API calls.
Can I scrape multiple categories at once?
Yes! Select multiple departments or subcategories in the categories dropdown, or use "all" to scrape the entire store. You can also combine categories with search terms in a single run.
How does category selection work?
Selecting a department (e.g., "Deli") scrapes all of its subcategories automatically. The actor queues every subcategory under the chosen department, so you get the full department's products in one run.
How do I find the location ID for my store?
You usually don't need one β give the actor a postal_code and it resolves the nearest store of that banner from the retailer's own store directory, then reports the store's name, address and coordinates on every output row.
Pass locationId only when you want one specific store. A few examples:
Real Canadian Superstore: 1517 (Vancouver Marine Dr), 1520 (Vancouver Grandview Hwy)
No Frills: 3641 (Vancouver Denman), 3410 (Vancouver Fraser)
Loblaws: 1000 (Toronto Queen St)
Maxi: 7234 (MontrΓ©al Mt-Royal Ouest) Β· Provigo: 7907 (MontrΓ©al Parc)
Zehrs: 0560 (Kitchener Laurentian) Β· Fortinos: 2265 (Hamilton Dundurn)
Atlantic Superstore: 0315 (Oromocto NB)
Which banner should I pick for my region?
Quebec is Maxi and Provigo. Atlantic Canada is Atlantic Superstore (rass), No Frills and Your Independent Grocer. Ontario has the widest choice: Loblaws, Superstore, No Frills, Zehrs, Fortinos, Valu-mart, City Market and Your Independent Grocer. Western Canada is Superstore, No Frills, Your Independent Grocer and Wholesale Club.
If you ask for a postal code outside a banner's footprint, the actor tells you which provinces that banner actually operates in rather than silently returning a store from another province.
Can I integrate the Loblaws scraper with other tools?
Yes! Use Apify integrations to connect with Zapier, Make, Google Sheets, Airbyte, and more. You can also trigger runs via webhooks or the Apify API and export scraped data as JSON, CSV, or Excel.
Can I schedule recurring Loblaws scrapes?
Yes β use Apify's built-in scheduler to run the actor daily, weekly, or on any cron schedule. This is ideal for tracking grocery price history over time or monitoring sales and PC Optimum offers.
π Your feedback
We're always working on improving the performance of our Actors. If you've got any technical feedback for the Canadian Grocery Scraper or found a bug, please create an issue on the Actor's Issues tab.