Skip to content
Scrappa Get API key
Loblaws API 1 credit / request

Loblaws Stores API Documentation

GET https://scrappa.co/api/loblaws/stores

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.

Loblaws Stores API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/loblaws/stores
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "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"
                },
...

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.

banner string Optional

loblaw or nofrills (default loblaw).

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "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.

422

Validation Error

A value is invalid. This response is not billable.

{
    "errors": {
        "banner": [
            "The banner is loblaw or nofrills."
        ]
    },
    "message": "The request validation failed"
}
503

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.