---
title: "bol.com API: Autocomplete | Perceptlayer"
description: "Autocomplete from bol.com as JSON. 3 credits per successful call."
url: https://perceptlayer.com/apis/bol/autocomplete
---

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

# bol.com: Autocomplete

Autocomplete from bol.com as JSON. 3 credits per successful call.

GET `/v1/bol/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 100 characters |
| `country` | string | Optional | nl, be |
| `language` | string | Optional | nl, fr |

## Example request

bol.com

GET /v1/bol/autocomplete?q=lapt 

```
{
  "success": true,
  "query": "lapt",
  "locale": "nl/nl",
  "total": 12,
  "suggestions": [
    {
      "type": "category",
      "label": "laptops",
      "category_id": "4770",
      "tag": "Computer"
    },
    {
      "type": "query",
      "label": "laptop",
      "search_term": "laptop"
    },
    {
      "type": "query",
      "label": "laptoptas",
      "search_term": "laptoptas"
    }
  ],
  "meta": {
    "endpoint_family": "autocomplete",
    "attempts": 1,
    "request_id": "req_2d86f6f004df4879b1c8ef171494632a",
    "credits_charged": 3,
    "credits_remaining": 1967
  }
}
```

200 OK JSON X-Credits-Used: 3

Recorded from our API and shortened.

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