APIs / Marketplaces / Albert Heijn
1 credit per call4 endpoints20 datapointsChecked working 6 Dec 2026
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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
[
{
"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"
}
]position,id,webshop_id,hq_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,currency 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,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,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 itemGET /v1/albert-heijn/search?query=melk&page=0&size=5&sortOn=RELEVANCE
20 datapoints
Identity
- idstring
- webshop_idstring
- hq_idstring
- namestring
- brandstring
- main_categorystring
- sub_categorystring
Reputation
- imageurl
- bonus_start_datestring
Price
- pricenumber
- regular_pricenumber
- discountnumber
- currencystring
Other
- positioninteger
- sales_unit_sizestring
- is_bonusboolean
- bonus_mechanismstring
- bonus_end_datestring
- available_onlineboolean
- is_orderableboolean
Playground
Run this API
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 | query | idname | 1 credit |
GET/v1/albert-heijn/offers | none+2 optional | typecategoryavailable_categoriesperiod_startgroupspartial | 1 credit |
GET/v1/albert-heijn/product | id | product | 1 credit |
GET/v1/albert-heijn/search | none+8 optional | positionidwebshop_idhq_idnamebrand+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:
searchtakes aqueryor ataxonomyId, withpage(from 0),size,sortOn(RELEVANCE,PRICELOWHIGH,PRICEHIGHLOW,TAXONOMYorNUTRISCORE),bonus,brandanddieet. - Products:
producttakes anid. - Offers:
offerstakes an optionaltype(weeklyorspotlight) andcategory, and returns the current bonus offers. - Categories:
categoriestakes aqueryand 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.
More marketplaces APIs
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 productsCollect 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 datesRank 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.