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

[APIs](https://perceptlayer.com/apis) / [Lyko](https://perceptlayer.com/apis/lyko) / Autocomplete

# Lyko: Autocomplete

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

GET `/v1/lyko/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 100 characters |
| `locale` | string | Optional | sv, no, fi, da, pl, nl, en, de |

## Example request

Lyko

GET /v1/lyko/autocomplete?query=olaplex 

```
{
  "success": true,
  "data": {
    "suggestions": [
      {
        "text": "olaplex",
        "url": "/sok?q=olaplex"
      },
      {
        "text": "olaplex schampo",
        "url": "/sok?q=olaplex%20schampo"
      },
      {
        "text": "olaplex no 6",
        "url": "/sok?q=olaplex%20no%206"
      }
    ]
  },
  "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/lyko?try=autocomplete#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `text` | string |
| `url` | string |
