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

[APIs](https://perceptlayer.com/apis) / [Walgreens](https://perceptlayer.com/apis/walgreens) / Autocomplete

# Walgreens: Autocomplete

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

GET `/v1/walgreens/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 200 characters |

## Example request

Walgreens

GET /v1/walgreens/autocomplete?query=ibupro 

```
{
  "success": true,
  "data": {
    "query": "ibupro",
    "results": [
      {
        "value": "ibuprofen",
        "type": "product",
        "id": "ibuprofen"
      },
      {
        "value": "ibuprofen 200 mg",
        "type": "product",
        "id": "ibuprofen 200 mg"
      },
      {
        "value": "ibuprofen liquid ibuprofen",
        "type": "product",
        "id": "ibuprofen liquid ibuprofen"
      }
    ]
  },
  "meta": {
    "endpoint_family": "autocomplete",
    "duration_ms": 706
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

Each item in `data.results` has these 3 fields, read from a recorded call that returned 7 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `value` | string |
| `type` | string |
| `id` | string |
