Loblaws Grocery Scraper avatar
Loblaws Grocery Scraper

Pricing

from $0.75 / 1,000 results

Go to Apify Store
Loblaws Grocery Scraper

Loblaws Grocery Scraper

Extract product data from Loblaws grocery stores (Real Canadian Superstore, No Frills), including prices, images, package sizes, normalized unit pricing & more. Export data in JSON/CSV, run via API, or schedule regular price monitoring.

Pricing

from $0.75 / 1,000 results

Rating

0.0

(0)

Developer

JChaw

JChaw

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

8 days ago

Last modified

Share

๐Ÿ›’ What is Loblaws Grocery Scraper?

Loblaws Grocery Scraper lets you extract product and pricing data from Canadian grocery stores, helping you track prices, compare deals, and build grocery price databases with just a few clicks.

  • Track grocery prices: Extract product names, prices, unit prices, and images to monitor price changes over time
  • Compare across stores: Scrape Real Canadian Superstore and No Frills to find the best deals
  • Build price databases: Automate data collection for grocery price comparison apps or research
  • Analyze unit pricing: Get normalized $/100g or $/100ml pricing for apples-to-apples comparison
  • Location-aware pricing: Different store locations may have different prices - scrape any specific store

The scraper uses the internal Loblaws API directly, bypassing the need for slow browser automation and providing fast, reliable data extraction.

What data does Loblaws Grocery Scraper extract?

๐Ÿท๏ธ Product name๐Ÿ’ฒ 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)

For maximum usefulness, Loblaws Grocery Scraper has the following abilities:

  • Extract anything: names, prices, unit prices, images, package sizes, and product URLs
  • Flexible store selection: scrape Real Canadian Superstore or No Frills with a single toggle
  • Location-aware: specify any store location ID for location-specific pricing
  • Automatic pagination: handles multi-page categories automatically
  • Normalized pricing: calculates comparable unit prices ($/100g or $/100ml) for easy comparison

โฌ‡๏ธ Input

The input for Loblaws Grocery Scraper requires a store banner and category URL. You can optionally specify a location ID for store-specific pricing.

FieldTypeRequiredDescription
bannerstringโœ…Store banner: superstore or nofrills
categoryUrlstringโœ…Full URL of the category page to scrape
locationIdstringโŒOptional store location ID for pricing

Example input

{
"banner": "superstore",
"categoryUrl": "https://www.realcanadiansuperstore.ca/en/food/fruits-vegetables/fresh-vegetables/c/28195",
"locationId": "1517"
}

Finding category URLs

  1. Go to realcanadiansuperstore.ca or nofrills.ca
  2. Navigate to any category (e.g., Food โ†’ Fruits & Vegetables โ†’ Fresh Vegetables)
  3. Copy the URL from your browser - it should contain /c/ followed by a category ID

Common location IDs

Real Canadian Superstore (Vancouver):

IDLocation
1517Marine Drive
1520Grandview Highway

No Frills (Vancouver):

IDLocation
3641Denman Street
3410Fraser Street
3671Alma Street
9532Hastings East

โฌ†๏ธ Output

The results will be wrapped into a dataset which you can find in the Output or Storage tab. You can view results as a table or JSON, and export in various formats (JSON, CSV, Excel).

JSON output example

Here's an example of a single scraped product:

{
"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",
"category": "unknown",
"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
}

Output fields explained

FieldDescription
storeStore name (Real Canadian Superstore or No Frills)
nameProduct display name
priceCurrent price (without $ symbol)
unit_priceRaw unit price string from store (e.g., "454 g, $0.15/100g")
product_urlDirect link to product page
selling_typeby_weight or by_unit - how the product is priced
package_sizePackage size as string (e.g., "500g", "2l")
parsed_unit_priceStructured unit price with value, quantity, and unit
comparable_unit_priceNormalized price per 100g or 100ml for comparison

๐Ÿช Supported stores

BannerStore NameAPI Handler
superstoreReal Canadian SuperstoreLoblaws API
nofrillsNo FrillsLoblaws API

Both stores use the same underlying Loblaws API, so the scraper works identically for both.

โ“ FAQ

How does Loblaws Grocery Scraper work?

It calls the internal Loblaws API directly (the same API their website uses), which is much faster and more reliable than browser-based scraping. The scraper handles pagination automatically, requesting each page until all products are collected.

Can I scrape multiple categories at once?

Currently, each run scrapes one category. To scrape multiple categories, you can run the actor multiple times with different category URLs, or use Apify's scheduling feature to automate regular scrapes.

How do I find the location ID for my store?

Location IDs are internal store identifiers. Common Vancouver locations are listed above. For other locations, you can find them by inspecting network requests on the Loblaws website, or contact us for help.

Web scraping of publicly available data is generally legal. Product prices displayed on public websites are not personal data. However, you should review Loblaws' Terms of Service and ensure your use case complies with applicable laws.

Can I integrate this with other tools?

Yes! You can use Apify integrations to connect with Zapier, Make, Google Sheets, and more. You can also use webhooks to trigger actions when scraping completes.

๐Ÿ“ Your feedback

We're always working on improving the performance of our Actors. If you've got any technical feedback for Loblaws Grocery Scraper or found a bug, please create an issue on the Actor's Issues tab.