---
title: "Loblaws API: Autocomplete | Perceptlayer"
description: "Autocomplete from Loblaws as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/loblaws/autocomplete
---

[APIs](https://perceptlayer.com/apis) / [Loblaws](https://perceptlayer.com/apis/loblaws) / Autocomplete

# Loblaws: Autocomplete

Autocomplete from Loblaws as JSON. 1 credit per successful call.

GET `/v1/loblaws/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 120 characters |
| `store_id` | string | Required | Any |
| `banner` | string | Optional | loblaw, nofrills |
| `language` | string | Optional | en, fr |

## Example request

Loblaws

GET /v1/loblaws/autocomplete?query=milk&store\_id=1099 

```
{
  "success": true,
  "data": {
    "term": "milk",
    "store_id": "1099",
    "banner": "loblaw",
    "language": "en",
    "items": [
      {
        "suggestion": "Milk"
      },
      {
        "suggestion": "2% Milk"
      },
      {
        "suggestion": "1% Milk"
      }
    ]
  },
  "meta": {
    "endpoint_family": "autocomplete"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/loblaws?try=autocomplete#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `term` | string |
| `store_id` | string |
| `banner` | string |
| `language` | string |
| `items` | object\[\] |
