APIs / Albert Heijn / Search

Albert Heijn: Search

Search from Albert Heijn as JSON. 1 credit per successful call.

GET /v1/albert-heijn/search

Parameters

Send parameters in the query string.

Required Send query or taxonomyId.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 120 characters
taxonomyIdstringOptionalAny
pageintegerOptionalAny
sizeintegerOptionalAny
sortOnstringOptionalRELEVANCE, PRICELOWHIGH, PRICEHIGHLOW, TAXONOMY, NUTRISCORE
bonusbooleanOptionalAny
brandstringOptionalUp to 120 characters
dieetstringOptionalUp to 120 characters

Example request

Albert Heijn
GET/v1/albert-heijn/search?query=melk&page=0&size=5&sortOn=RELEVANCE
{
  "success": true,
  "data": {
    "query": "melk",
    "page": 0,
    "size": 5,
    "sort": "RELEVANCE",
    "total_elements": 956,
    "total_pages": 192,
    "has_next_page": true,
    "count": 5,
    "items": [
      {
        "position": 1,
        "id": "582865",
        "webshop_id": "582865",
        "hq_id": "0",
        "name": "Arla Biologisch halfvolle melk 3-pack",
        "brand": "Arla",
        "image": "https://static.ah.nl/dam/product/AHI_4649746361317a775370437a44354e58573837772d77?revLabel=1&rendition=1000x1000_WEBP&fileType=binary",
        "sales_unit_size": "3 stuks",
        "main_category": "Zuivel, eieren",
        "sub_category": "Halfvolle melk",
        "is_bonus": true,
        "bonus_mechanism": "5% volume voordeel",
        "bonus_start_date": "2026-11-30T00:00:00+01:00",
        "bonus_end_date": "2999-12-31T00:00:00+01:00",
        "available_online": true,
        "is_orderable": true,
        "price": 5.39,
        "regular_price": 5.67,
        "discount": 0.28,
        "currency": "EUR"
      },
      {
        "position": 2,
        "id": "582868",
        "webshop_id": "582868",
        "hq_id": "0",
        "name": "Arla Biologisch volle melk 1L 3-pack",
        "brand": "Arla",
        "image": "https://static.ah.nl/dam/product/AHI_363462526a657854546f6569536d696f4c6e4c2d6551?revLabel=1&rendition=1000x1000_WEBP&fileType=binary",
        "sales_unit_size": "3 stuks",
        "main_category": "Zuivel, eieren",
        "sub_category": "Volle melk",
        "is_bonus": true,
        "bonus_mechanism": "5% volume voordeel",
        "bonus_start_date": "2026-11-30T00:00:00+01:00",
        "bonus_end_date": "2999-12-31T00:00:00+01:00",
        "available_online": true,
        "is_orderable": true,
        "price": 6.24,
        "regular_price": 6.57,
        "discount": 0.33,
        "currency": "EUR"
      },
      {
        "position": 3,
        "id": "183173",
        "webshop_id": "183173",
        "hq_id": "752381",
        "name": "AH Opschuimmelk",
        "brand": "AH",
        "image": "https://static.ah.nl/dam/product/AHI_4a755134694f67495431694e45677a6e4d7868737777?revLabel=1&rendition=1000x1000_WEBP&fileType=binary",
        "unit_price": "prijs per liter €1.99",
        "sales_unit_size": "1 l",
        "main_category": "Zuivel, eieren",
        "sub_category": "Houdbare melk",
        "nutriscore": "C",
        "is_bonus": false,
        "available_online": true,
        "is_orderable": true,
        "price": 1.99,
        "currency": "EUR"
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_c951f782b4104f6d860d68338d2b1e8a",
    "credits_charged": 1,
    "credits_remaining": 4996
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 22 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
positioninteger
idstring
webshop_idstring
hq_idstring
namestring
brandstring
imageurl
sales_unit_sizestring
main_categorystring
sub_categorystring
is_bonusboolean
bonus_mechanismstring
bonus_start_datestring
bonus_end_datestring
available_onlineboolean
is_orderableboolean
pricenumber
regular_pricenumber
discountnumber
currencystring
unit_pricestring
nutriscorestring