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

[APIs](https://perceptlayer.com/apis) / [Wish](https://perceptlayer.com/apis/wish) / Autocomplete

# Wish: Autocomplete

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

GET `/v1/wish/autocomplete`

## Parameters

Send parameters in the query string.

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

## Example request

Wish

GET /v1/wish/autocomplete?query=phone 

```
{
  "success": true,
  "data": {
    "query": "phone",
    "suggestions": [
      "mobile phone",
      "phone case",
      "phone holder"
    ]
  },
  "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/wish?try=autocomplete#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `suggestions` | string\[\] |
