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

[APIs](https://perceptlayer.com/apis) / [Worten](https://perceptlayer.com/apis/worten) / Autocomplete

# Worten: Autocomplete

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

GET `/v1/worten/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 120 characters |
| `max` | integer | Optional | Any |

## Example request

Worten

GET /v1/worten/autocomplete?q=iphone 

```
{
  "success": true,
  "site": "pt",
  "suggestions": [
    {
      "text": "iphone",
      "categories": [
        {
          "filter": "_cc2",
          "value": "CMS-01G2Z3083T2F388W2SQ68DSC5P",
          "lbl": "iPhone"
        }
      ]
    },
    {
      "text": "iphone 17"
    },
    {
      "text": "iphone 18 pro max"
    }
  ],
  "meta": {
    "endpoint_family": "worten-autocomplete",
    "attempts": 1
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `text` | string |
| `categories` | object\[\] |
