bol search suggestions

GET https://api.api.sh/bol/v1/autocomplete
1 credit / call e-commerce try it in the playground →

What bol suggests while typing: query completions, matching categories (with ids for /bol/v1/category) and featured products.

Every response includes credits_used: the credits this call cost.

Part of the bol API: 8 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
qrequired string The start of a search. Example: koff

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/bol/v1/autocomplete?q=koff" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"query": "koff","queries": ["koffiemachines","koffer","… 7 more"],"categories": [{"id": "18312","name": "koffiezetapparaten","department": "Elektronica","url": "https://www.bol.com/nl/nl/l/koffiezetapparaten/18312/"}],"products": [{"id": "9200000075792784","title": "Krups Nespresso Essenza Mini XN1108 - Koffiecupmachine - Zwart","url": "https://www.bol.com/nl/nl/p/krups-nespresso-essenza-mini-xn1108-koffiecupmachine-zwart/9200000075792784/","image": "https://media.s-bol.com/jp4l7vWQAZoB/Y7BAKMK/23x60.jpg"},{"id": "9200000026315841","title": "De'Longhi Nespresso Inissia EN80.B - Koffiecupmachine - Zwart","url": "https://www.bol.com/nl/nl/p/de-longhi-inissia-nespresso-en80b-koffiecupmachine-zwart/9200000026315841/","image": "https://media.s-bol.com/mzvg6Dv8q5pR/68jMPvn/36x60.jpg"}],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.