Albert Heijn Search API searches public products by query or by a taxonomyId from the Categories route. One of the two is required. Pages are 0-based and the requested page and size are honoured. Results are deduplicated on product id.
Prices are numbers with EUR, with the previous price and discount where published. Images use a larger rendition. Supported filters are bonus, brand and dieet. An unsupported filter returns 422. Filters cannot be combined with taxonomyId or a non-default sort. Filtered answers have no total counts; has_next_page reflects a full page. Costs 1 credit per successful page; failed and empty answers are free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
8 optional filters available.
string
Optional
Search words, for example melk. Required unless taxonomyId is sent
coffee shops
string
Optional
Category id from the Categories route. Required unless query is sent
example
integer
Optional
0-based page number, default 0
1
integer
Optional
Page size from 1 to 100, default 20
10
string
Optional
RELEVANCE, PRICELOWHIGH, PRICEHIGHLOW, TAXONOMY or NUTRISCORE
example
boolean
Optional
Only bonus products; false is the same as no filter
true
string
Optional
Brand slug filter, for example ah
example
string
Optional
Diet property filter, for example biologisch
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"page": 0,
"size": 5,
"count": 5,
"items": [
{
"id": "582865",
"name": "Halfvolle melk",
"price": 1.19,
"currency": "EUR",
"discount": 0.2,
"position": 1,
"unit_price": "EUR 0.79 per liter",
"regular_price": 1.39
}
],
"query": "melk",
"total_pages": 187
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Unsupported filter
The requested filter cannot be honoured. Not billed.
Data unavailable
The source could not be reached. Not billed.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.