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

[APIs](https://perceptlayer.com/apis) / [Wehkamp](https://perceptlayer.com/apis/wehkamp) / Autocomplete

# Wehkamp: Autocomplete

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

GET `/v1/wehkamp/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 150 characters |
| `slug` | string | Optional | Up to 150 characters |

## Example request

Wehkamp

GET /v1/wehkamp/autocomplete?q=jas 

```
{
  "success": true,
  "text": "jas",
  "suggestions": [
    {
      "text": "jasje",
      "suggestion_type": "frequently_used_keyword",
      "product_count": 1,
      "score": 1
    },
    {
      "text": "dames jassen",
      "suggestion_type": "frequently_used_keyword",
      "product_count": 1,
      "score": 1
    },
    {
      "text": "airforce jas dames",
      "suggestion_type": "frequently_used_keyword",
      "product_count": 1,
      "score": 1
    }
  ],
  "meta": {
    "endpoint_family": "wehkamp-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/wehkamp?try=autocomplete#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `text` | string |
| `suggestion_type` | string |
| `product_count` | integer |
| `score` | integer |
