# Loblaws Stores API Documentation

<p><strong>Loblaws Stores API</strong> lists public store ids, names, banners and addresses. Pass an id from this list unchanged as <code>store_id</code> in search, product and autocomplete.</p><p>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.</p>

- **Documentation:** [https://scrappa.co/docs/loblaws-api/loblaws_stores](https://scrappa.co/docs/loblaws-api/loblaws_stores)
- **API group:** Loblaws API
- **Endpoint:** `GET https://scrappa.co/api/loblaws/stores`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `banner` | string | No | loblaw or nofrills (default loblaw). |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A value is invalid. This response is not billable. |
| 503 | Upstream Unavailable | Loblaws could not be reached. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
