Loblaws Grocery Scraper
Pricing
from $0.75 / 1,000 results
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
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
8 days ago
Last modified
Categories
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.
| Field | Type | Required | Description |
|---|---|---|---|
banner | string | โ | Store banner: superstore or nofrills |
categoryUrl | string | โ | Full URL of the category page to scrape |
locationId | string | โ | 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
- Go to realcanadiansuperstore.ca or nofrills.ca
- Navigate to any category (e.g., Food โ Fruits & Vegetables โ Fresh Vegetables)
- Copy the URL from your browser - it should contain
/c/followed by a category ID
Common location IDs
Real Canadian Superstore (Vancouver):
| ID | Location |
|---|---|
1517 | Marine Drive |
1520 | Grandview Highway |
No Frills (Vancouver):
| ID | Location |
|---|---|
3641 | Denman Street |
3410 | Fraser Street |
3671 | Alma Street |
9532 | Hastings 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
| Field | Description |
|---|---|
store | Store name (Real Canadian Superstore or No Frills) |
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 |
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 |
๐ช Supported stores
| Banner | Store Name | API Handler |
|---|---|---|
superstore | Real Canadian Superstore | Loblaws API |
nofrills | No Frills | Loblaws 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.
Is it legal to scrape Loblaws?
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.