# Best Buy Canada Locations API Documentation

<p><strong>Best Buy Canada Locations API Documentation</strong> List public stores near a Canadian postal code with name, address, coordinates, region, postal code, hours and the store id used by availability. A postal code is required; a province alone returns no stores. One locations request costs 1 credit. Failed requests are not billed. Not affiliated with Best Buy.</p>

- **Documentation:** [https://scrappa.co/docs/bestbuy-ca-api/bestbuy_ca_locations](https://scrappa.co/docs/bestbuy-ca-api/bestbuy_ca_locations)
- **API group:** Best Buy Canada API
- **Endpoint:** `GET https://scrappa.co/api/bestbuy-ca/locations`

## 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 |
| --- | --- | --- | --- |
| `postalCode` | string | Yes | Canadian postal code like M5G2C3. |
| `lang` | string | No | en-CA or fr-CA. |

## Example response

```json
{
    "data": {
        "total": 1,
        "locations": [
            {
                "lat": 43.65,
                "lng": -79.38,
                "name": "Toronto Downtown",
                "address": {
                    "city": "Toronto",
                    "line1": "1 Queen St",
                    "region": "ON",
                    "postalCode": "M5G2C3"
                },
                "locationId": "977"
            }
        ],
        "postalCode": "M5G2C3",
        "locationIds": [
            "977"
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "locations"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |
| 502 | Upstream Unavailable | Best Buy Canada did not answer or sent unreadable data. 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)
