Loblaws Stores API lists public store ids, names, banners and addresses. Pass an id from this list unchanged as store_id in search, product and autocomplete.
Prices and stock are store-scoped, so this is the id source for the other routes. The list is cached for a day and refreshed on a cache miss. Costs 1 credit per successful request. Failed requests are free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
1 optional filter available.
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
success
{
"data": {
"banner": "loblaw",
"stores": [
{
"id": "1099",
"name": "Loblaws Toronto Dundas W",
"address": {
"city": "Toronto",
"street": "60 Dundas St W",
"country": "CA",
"province": "ON",
"postal_code": "M5G 1C3"
},
"visible": true,
"latitude": 43.6532,
"banner_id": "loblaw",
"longitude": -79.3832
}
]
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A value is invalid. This response is not billable.
{
"errors": {
"banner": [
"The banner is loblaw or nofrills."
]
},
"message": "The request validation failed"
}Upstream Unavailable
Loblaws could not be reached. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "stores"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Loblaws could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.