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 OKJSONX-Credits-Used: 3
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 3 credits per successful call; failed calls are free.