Discover/ah.nl API
live

ah.nl APIah.nl

Access Albert Heijn supermarket data via API: search products, fetch nutritional details, browse weekly bonus offers, explore categories, and retrieve supplier info.

Endpoints
5
Updated
10d ago
Try it
Page number (0-based)
Number of results per page (max 50)
Search query (e.g., 'melk', 'pasta', 'bier')
Sort order (e.g., 'price', 'bonus')
Filter to only show bonus/discount products
Filter by taxonomy/category ID
api.parse.bot/scraper/43420567-6847-4f31-98a5-fc8877e481b0/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/43420567-6847-4f31-98a5-fc8877e481b0/search_products' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "page": 0,
  "size": "3",
  "query": "pasta"
}'
All endpoints · 5 totalclick to expand

Search for products in the Albert Heijn supermarket. Returns product listings with prices, images, categories, descriptions, bonus/discount status, and more. Supports pagination and filtering for bonus products only.

Input
ParamTypeDescription
pageintegerPage number (0-based)
sizeintegerNumber of results per page (max 50)
queryrequiredstringSearch query (e.g., 'melk', 'pasta', 'bier')
sort_bystringSort order (e.g., 'price', 'bonus')
bonus_onlybooleanFilter to only show bonus/discount products
category_idstringFilter by taxonomy/category ID
Response
{
  "type": "object",
  "fields": {
    "filters": "array of available filter options",
    "products": "array of product objects with id, title, brand, prices, bonus info, images",
    "pagination": "object with page, size, total_elements, total_pages",
    "taxonomy_nodes": "array of category nodes"
  },
  "sample": {
    "data": {
      "filters": [
        {
          "id": "brand",
          "type": "BRAND",
          "label": "Merk",
          "options": [
            {
              "id": "AH",
              "count": 89,
              "label": "AH"
            }
          ]
        }
      ],
      "products": [
        {
          "id": 187167,
          "brand": "Iglo",
          "hq_id": 787832,
          "nix18": false,
          "price": 6.99,
          "title": "Iglo Roerbak sensatie pasta kipfilet",
          "images": [
            "https://static.ah.nl/dam/product/AHI_367557346e644d6453336145676256705f5171424851?revLabel=1&rendition=800x800_JPG_Q90&fileType=binary"
          ],
          "is_bonus": false,
          "shop_type": "AH",
          "nutriscore": "C",
          "is_orderable": true,
          "is_sponsored": true,
          "sub_category": "Italiaanse diepvries maaltijd",
          "current_price": null,
          "main_category": "Diepvries",
          "bonus_end_date": null,
          "property_icons": [
            "diepvries"
          ],
          "bonus_mechanism": null,
          "discount_labels": [],
          "is_stapel_bonus": false,
          "sales_unit_size": "450 g",
          "available_online": true,
          "bonus_start_date": null,
          "description_full": "...",
          "is_infinite_bonus": false,
          "availability_status": "IN_ASSORTMENT",
          "min_best_before_days": null,
          "description_highlights": "<p>...</p>",
          "unit_price_description": "prijs per kg €15.53",
          "bonus_period_description": null,
          "bonus_segment_description": null
        }
      ],
      "pagination": {
        "page": 0,
        "size": 3,
        "total_pages": 97,
        "total_elements": 289
      },
      "taxonomy_nodes": [
        {
          "id": 6885,
          "name": "Verse pasta",
          "images": []
        }
      ]
    },
    "status": "success"
  }
}

About the ah.nl API

The Albert Heijn API gives developers structured access to the ah.nl supermarket catalog across 5 endpoints, covering product search, detailed nutritional and allergen data, current bonus promotions, category taxonomy, and supplier contact information. The get_product_details endpoint alone returns over a dozen fields including allergens, packaging recyclability, net weight, and dietary properties alongside live pricing.

Product Search and Bonus Promotions

The search_products endpoint accepts a required query string (Dutch or brand name, e.g. 'melk', 'pasta') and returns an array of product objects with fields including id, title, brand, prices, bonus status, and image URLs. Pagination is 0-based via page and size (up to 50 per page), and results can be sorted by price or bonus. Set bonus_only: true to restrict results to currently discounted items, or pass a category_id to scope the search to a specific taxonomy node. The get_bonus_products endpoint provides a dedicated view of active promotions, returning original and discounted prices alongside promotion periods and discount details for every item currently on offer.

Product Details and Nutritional Data

get_product_details takes a single product_id (e.g. '4164') and returns a full data record including allergens (structured array), packaging (materials and recyclability flags), measurements (net content and weight), and a properties object covering dietary and lifestyle attributes such as vegan or lactose-free status. This makes it suitable for building nutrition trackers, label-compliance tools, or shopping assistants that need to surface ingredient transparency data.

Categories and Suppliers

get_categories returns the full top-level category tree with each entry's id, name, slug, image, and nix18 flag (indicating age-restricted categories like alcohol). Passing a category_id switches the response to show filters, nested taxonomy_nodes, and a total_products count for that node — useful for building browsable category pages.

get_suppliers is queried either by passing comma-separated product_ids or a free-text query. It returns unique supplier objects with name, address, gln (Global Location Number), communication_channels, and a products list showing which items each supplier is linked to, plus a product_supplier_mapping array that pairs every product back to its supplier.

Common use cases
  • Build a price-tracking tool that monitors ah.nl bonus promotions using get_bonus_products and alerts users when specific items go on discount.
  • Populate a nutrition database with allergen arrays, net weight, and dietary properties from get_product_details for meal-planning or label-compliance apps.
  • Create a grocery comparison widget that fetches live prices and bonus status via search_products with bonus_only filtering.
  • Index the full Albert Heijn category taxonomy with get_categories to power a browsable grocery directory with age-restriction (nix18) flags.
  • Identify and contact product manufacturers by resolving supplier gln codes and communication_channels from get_suppliers for B2B procurement workflows.
  • Filter packaging recyclability data from get_product_details to help consumers or retailers find products with sustainable packaging.
  • Aggregate brand-level product counts across categories by combining search_products with category_id filtering and the brand field on each product.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Albert Heijn have an official public developer API?+
Albert Heijn does not publish a public developer API for external use. No official API portal or documented developer program is available to third parties as of mid-2025.
What does get_product_details return beyond basic price and title?+
Beyond price and title, the endpoint returns structured allergens, a packaging object with material types and recyclability flags, a measurements object (net content and weight), a properties object covering dietary attributes (e.g. vegan, lactose-free), images, and the is_bonus flag with full discount information when applicable.
Does the API cover product reviews or customer ratings?+
Not currently. The API covers product data, nutritional/allergen details, bonus promotions, category taxonomy, and supplier records — but customer reviews and star ratings are not part of any endpoint's response fields. You can fork this API on Parse and revise it to add an endpoint targeting review data.
How does pagination work across endpoints, and are there size limits?+
search_products and get_bonus_products both use 0-based page indexing and accept a size parameter capped at 50 results per page. Each response includes a pagination object with total_elements and total_pages so callers can iterate the full result set. get_suppliers has a size limit of 20 when using query-based lookup.
Can I retrieve store-specific inventory or stock levels?+
Not currently. The API returns catalog-level product and pricing data; per-store stock availability is not exposed in any endpoint response. You can fork this API on Parse and revise it to add an endpoint targeting store-level availability data.
Page content last updated . Spec covers 5 endpoints from ah.nl.
Related APIs in Food DiningSee all →
publix.com API
Access Publix grocery store data including product search, pricing, promotions, weekly ad deals, store locations, and category browsing.
pedidosya.com.ar API
Browse restaurants and menus available in Argentine cities through PedidosYa, search for specific restaurants by name or food category, and retrieve complete menu offerings including items, prices, and available options.
thefork.it API
Search and discover Italian restaurants by cuisine, location, or ratings, then access detailed information like menus, reviews, and availability across major cities in Italy. Find top-rated dining options and compare restaurant details to plan your perfect meal.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
deliveroo.co.uk API
Search for restaurants and retrieve menus from Deliveroo UK. Look up restaurants by keyword and postcode, or fetch full menu details for any Deliveroo restaurant by URL.
Albert Heijn API – ah.nl Product & Bonus Data · Parse