---
title: "Albert Heijn API: Search | Perceptlayer"
description: "Search from Albert Heijn as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/albert-heijn/search
---

[APIs](https://perceptlayer.com/apis) / [Albert Heijn](https://perceptlayer.com/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`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 120 characters |
| `taxonomyId` | string | Optional | Any |
| `page` | integer | Optional | Any |
| `size` | integer | Optional | Any |
| `sortOn` | string | Optional | RELEVANCE, PRICELOWHIGH, PRICEHIGHLOW, TAXONOMY, NUTRISCORE |
| `bonus` | boolean | Optional | Any |
| `brand` | string | Optional | Up to 120 characters |
| `dieet` | string | Optional | Up 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 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/albert-heijn?try=search#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.

| Field | Type |
| --- | --- |
| `position` | integer |
| `id` | string |
| `webshop_id` | string |
| `hq_id` | string |
| `name` | string |
| `brand` | string |
| `image` | url |
| `sales_unit_size` | string |
| `main_category` | string |
| `sub_category` | string |
| `is_bonus` | boolean |
| `bonus_mechanism` | string |
| `bonus_start_date` | string |
| `bonus_end_date` | string |
| `available_online` | boolean |
| `is_orderable` | boolean |
| `price` | number |
| `regular_price` | number |
| `discount` | number |
| `currency` | string |
| `unit_price` | string |
| `nutriscore` | string |
