---
title: "Albert Heijn API: Dutch grocery search, prices as JSON"
description: "Albert Heijn API for Dutch grocery search, prices, bonus offers, weekly deals, product details and categories as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/albert-heijn
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Albert Heijn

1 credit per call 4 endpoints 20 datapoints 

# Albert Heijn API

Albert Heijn API for Dutch grocery search, prices, bonus offers, weekly deals, product details and categories as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | 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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | 582865 | 582865 | 0 | Arla Biologisch halfvolle melk 3-pack | Arla | https://static.ah.nl/dam/product/AHI\_4649746361317a775370437a44354e58573837772d77?revLabel=1&rendition=1000x1000\_WEBP&fileType=binary | 3 stuks | Zuivel, eieren | Halfvolle melk | true | 5% volume voordeel | 2026-11-30T00:00:00+01:00 | 2999-12-31T00:00:00+01:00 | true | true | 5.39 | 5.67 | 0.28 | EUR |
| 2 | 2 | 582868 | 582868 | 0 | Arla Biologisch volle melk 1L 3-pack | Arla | https://static.ah.nl/dam/product/AHI\_363462526a657854546f6569536d696f4c6e4c2d6551?revLabel=1&rendition=1000x1000\_WEBP&fileType=binary | 3 stuks | Zuivel, eieren | Volle melk | true | 5% volume voordeel | 2026-11-30T00:00:00+01:00 | 2999-12-31T00:00:00+01:00 | true | true | 6.24 | 6.57 | 0.33 | EUR |
| 3 | 3 | 183173 | 183173 | 752381 | AH Opschuimmelk | AH | https://static.ah.nl/dam/product/AHI\_4a755134694f67495431694e45677a6e4d7868737777?revLabel=1&rendition=1000x1000\_WEBP&fileType=binary | 1 l | Zuivel, eieren | Houdbare melk | false | — | — | — | true | true | 1.99 | — | — | EUR |

Recorded from our API · 3 items shown · 20 datapoints per item GET /v1/albert-heijn/search?query=melk&page=0&size=5&sortOn=RELEVANCE

20 datapoints

### Identity

-   id string
-   webshop\_id string
-   hq\_id string
-   name string
-   brand string
-   main\_category string
-   sub\_category string

### Reputation

-   image url
-   bonus\_start\_date string

### Price

-   price number
-   regular\_price number
-   discount number
-   currency string

### Other

-   position integer
-   sales\_unit\_size string
-   is\_bonus boolean
-   bonus\_mechanism string
-   bonus\_end\_date string
-   available\_online boolean
-   is\_orderable boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/albert-heijn/search?query=melk&page=0&size=5&sortOn=RELEVANCE" \
  -H "X-API-Key: $API_KEY"
```

Albert Heijn · 4 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/albert-heijn/categories`](https://perceptlayer.com/apis/albert-heijn/categories) | `query` | `id` `name` | 1 credit |
| [GET `/v1/albert-heijn/offers`](https://perceptlayer.com/apis/albert-heijn/offers) | none +2 optional | `type` `category` `available_categories` `period_start` `groups` `partial` | 1 credit |
| [GET `/v1/albert-heijn/product`](https://perceptlayer.com/apis/albert-heijn/product) | `id` | `product` | 1 credit |
| [GET `/v1/albert-heijn/search`](https://perceptlayer.com/apis/albert-heijn/search) | none +8 optional | `position` `id` `webshop_id` `hq_id` `name` `brand` +16 more | 1 credit |

Overview

## About the Albert Heijn API

## What you can get

The Albert Heijn API returns Albert Heijn grocery data from the Netherlands as JSON through 4 endpoints. Prices are in EUR.

-   **Search:** `search` takes a `query` or a `taxonomyId`, with `page` (from 0), `size`, `sortOn` ( `RELEVANCE`, `PRICELOWHIGH`, `PRICEHIGHLOW`, `TAXONOMY` or `NUTRISCORE`), `bonus`, `brand` and `dieet`.
-   **Products:** `product` takes an `id`.
-   **Offers:** `offers` takes an optional `type` ( `weekly` or `spotlight`) and `category`, and returns the current bonus offers.
-   **Categories:** `categories` takes a `query` and returns matching category ids and names.

The recorded `search` for "melk" returns `items`, each with `id`, `name`, `brand`, `image`, `sales_unit_size`, `main_category`, `sub_category`, `is_bonus`, `bonus_mechanism`, `bonus_start_date`, `bonus_end_date`, `available_online`, `is_orderable`, `price`, `regular_price`, `discount` and `currency`. It reported `total_elements` of 956 over 192 pages of 5. The first result, Arla Biologisch halfvolle melk 3-pack, was 5.39 EUR on a bonus, down from 5.67.

## How a call works

Search, then look up: `GET /v1/albert-heijn/search?query=melk&page=0&size=5&sortOn=RELEVANCE` with your key in the `X-API-Key` header returns each product's `id`; `product` takes that `id` and adds a `description`. Pages start at 0; check `has_next_page` before asking for the next one. `offers` without parameters returned the weekly offers for the week starting 2026-11-30, in one category at a time, with the other categories listed in `available_categories`; pass one of those as `category`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo) [Apotea](https://perceptlayer.com/apis/apotea)

Use cases

### Track Albert Heijn shelf prices and bonus discounts for a basket of products

`Use the Albert Heijn API to track Albert Heijn shelf prices and bonus discounts for a basket of products` 

### Collect each week's bonus offers by category, with start and end dates

`Use the Albert Heijn API to collect each week's bonus offers by category, with start and end dates` 

### Rank products in a search by price or Nutri-Score with \`sortOn\`

`` Use the Albert Heijn API to rank products in a search by price or Nutri-Score with `sortOn` `` 

### List only products on a bonus with \`bonus\`

`` Use the Albert Heijn API to list only products on a bonus with `bonus` `` 

FAQ

## Questions

**How much does the Albert Heijn API cost?**

Each successful call costs one credit, whichever endpoint you call, and each search page is one call. Failed calls cost nothing.

**What does offers return?**

Each offer group has an \`offer\_id\`, a \`title\`, a \`description\` with the deal (for example "2 VOOR 3.99"), its \`category\`, \`start\_date\`, \`end\_date\` and \`images\`. The recorded groups were marked \`partial\`, so they describe the deal rather than list every product in it; use \`search\` with \`bonus\` for product prices.

**Which market is covered?**

The Netherlands. Product names and categories come back in Dutch, and prices in EUR.

**Do I need an Albert Heijn account?**

No. You call this Albert Heijn API with your Perceptlayer key in the \`X-API-Key\` header, with no Albert Heijn login.

**Is this the official Albert Heijn API?**

No. Perceptlayer is an independent service and is not affiliated with Albert Heijn. It returns Albert Heijn data as JSON with a Perceptlayer key, so there is no Albert Heijn developer account, app review or partner approval to get first. It only reads data: if Albert Heijn has an official API and you need to act on your own Albert Heijn account, such as posting, managing orders or reading private data, use that one.

**Should I build an Albert Heijn scraper instead?**

You can, but an Albert Heijn scraper is code you maintain: page changes break it, requests get blocked, and Albert Heijn's terms govern how you collect data. The Albert Heijn API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Albert Heijn API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
