Albert Heijn Product Search Scraper avatar

Albert Heijn Product Search Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Albert Heijn Product Search Scraper

Albert Heijn Product Search Scraper

Scrape Albert Heijn (ah.nl) product listings, including prices, discounts, Nutri-Score, brands, and availability, by URL or keyword search. Ideal for price monitoring, grocery market research, and e-commerce analytics.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Stealth mode

Stealth mode

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 days ago

Last modified

Categories

Features

Limited permissions

Share

Albert Heijn Product Search Scraper: Extract Grocery Data from ah.nl


What Is Albert Heijn (ah.nl)?

Albert Heijn is the largest supermarket chain in the Netherlands, and its website ah.nl is the online channel where shoppers browse, search and order groceries across categories such as bakery, dairy, beverages and household goods. Each category page lists dozens of products with prices, promotions and availability information. For anyone who needs to track this data over time, copying it by hand is slow and error-prone. The Albert Heijn Product Search Scraper automates collection from product listing pages and returns structured records that are ready for analysis.


Overview

The scraper reads product search and category listing pages on ah.nl and converts each product card into a structured record. It is designed for:

  • Price analysts monitoring weekly price changes and promotions
  • Retail researchers comparing assortments across categories
  • Nutrition and health researchers analyzing Nutri-Score distributions
  • E-commerce developers building comparison tools or product feeds

The main strengths are flexible input (direct category URLs or keyword search), control over the number of items per page, optional proxy support for stable collection, and the option to keep raw source data for auditing.


Input Format

The scraper accepts a JSON configuration with two possible modes. You can use either mode, but do not combine them in the same run. When urls is filled, the search filters are disabled.

Mode 1: Scrape by URLs

{
"urls": [
"https://www.ah.nl/producten/1355/bakkerij"
],
"ignore_url_failures": true,
"max_items_per_url": 20
}

Mode 2: Scrape by Search Filters

{
"keyword": "ah",
"sort_by": "price",
"page": 1,
"max_items_per_url": 200
}

Field Reference

FieldDescription
urlsList of Albert Heijn product listing URLs. Leave empty when using keyword search.
keywordSearch term used to find products, such as "melk" or "brood"
sort_bySort order: "" (relevance), "price" (low to high), "-price" (high to low), or "nutriscore"
pagePage number to start scraping from (default is usually 1)
max_items_per_urlMaximum number of products collected per URL or search. Prefilled at 20.
ignore_url_failuresIf true, the run continues when some URLs fail. Prefilled as true.
include_raw_dataIf true, adds unprocessed website data to the output. Default is false.

Tip: Use max_items_per_url to control run cost and time. Start with a small value like 20 to test your setup before scaling up.


Output Format

Each product returns one record. The fields below are grouped by purpose.

Identification

FieldMeaning
idUnique Albert Heijn product identifier
titleProduct name as displayed on the listing
brandBrand name, if shown
product_urlDirect link to the product page
sales_unit_sizePackage size or quantity (e.g., 500 g, 6 stuks)
shop_typeShop channel type for the product

Pricing

FieldMeaning
priceCurrent selling price (numeric)
was_pricePrevious price before the current offer, if any
currencyCurrency code, typically EUR
list_priceStandard list price
discountDiscount details as an object (amount, type, validity)
promotion_labelsArray of promotion badges shown on the product (e.g., "2 for 3")

Nutrition & Quality

FieldMeaning
nutri_scoreNutri-Score grade (A to E) indicating nutritional quality
highlightHighlighted attribute or marketing label shown on the product

Availability

FieldMeaning
available_in_storeWhether the product is available in physical stores
is_orderableWhether the product can be ordered online
max_unitsMaximum quantity per order
availability_labelHuman-readable availability status

Product Classification

FieldMeaning
is_sponsoredWhether the placement is paid or sponsored
is_sampleWhether the item is a sample product
is_medicineWhether the product is classified as medicine
is_medical_deviceWhether the product is classified as a medical device
taxonomy_idsCategory identifiers linking the product to the site taxonomy
external_shopDetails if the product is sold through an external shop

Variants & Media

FieldMeaning
has_variantsWhether the product has multiple variants
variantDetails of the selected variant
variantsList of all available variants
image_countNumber of product images
image_urlsArray of product image URLs

Raw Data

FieldMeaning
raw_dataUnprocessed source data (only included when include_raw_data is true)

Sample Output (annotated)

{
"id": 440336,
"title": "AH Roasted ham",
"brand": "AH",
"product_url": "https://www.ah.nl//producten/product/wi440336/ah-roasted-ham",
"sales_unit_size": "ca. 110 g",
"shop_type": "AH",
"price": 3.49,
"was_price": 3.49,
"currency": "EUR",
"list_price": null,
"discount": null,
"promotion_labels": [],
"nutri_score": "D",
"available_in_store": true,
"is_orderable": true,
"max_units": null,
"availability_label": null,
"is_sponsored": false,
"is_sample": false,
"is_medicine": false,
"is_medical_device": false,
"highlight": null,
"external_shop": null,
"taxonomy_ids": [
5481,
19914,
19915
],
"has_variants": true,
"variant": {
"label": "los",
"type": "PRIMARY",
"__typename": "ProductVariant"
},
"variants": [],
"image_count": 2,
"image_urls": [
"https://static.ah.nl/dam/product/AHI_43545239393233353337?revLabel=1&rendition=200x200_WEBP&fileType=binary",
"https://static.ah.nl/dam/product/AHI_547a347461346c4454662d784a69345f49354c733351?revLabel=1&rendition=200x200_WEBP&fileType=binary"
],
"raw_data": null,
"from_url": "https://www.ah.nl/zoeken?query=ah"
}

Note: Field values depend on what ah.nl displays at the time of scraping. Some fields may be empty for certain products.


How to Use

  1. Find a listing URL — Open a category page on ah.nl (for example, the bakery section) and copy the URL from the browser address bar.
  2. Configure the input — Add the URL to the urls array and set max_items_per_url to control volume.
  3. Enable proxy (optional) — Use a RESIDENTIAL proxy with country NL if you encounter blocking or incomplete results.
  4. Run the scraper — Start the run and check the log for failed URLs.
  5. Export results — Download the dataset as JSON, CSV or Excel.

Tips and best practices:

  • Use sort_by: "price" or "-price" when you need a price-ordered sample.
  • Run scheduled collections at consistent times of day, since promotions on ah.nl typically change weekly.
  • Keep include_raw_data disabled unless you need to audit the source data, as it increases output size.

Common issues:

  • Empty results: Confirm the URL is a product listing page and not a single product page or a homepage.
  • Missing prices or discounts: Some products show no promotion; treat empty fields as "not offered" rather than as errors.
  • Partial runs: Keep ignore_url_failures enabled so one failing URL does not stop the whole run.

Use Cases & Business Value

  • Price monitoring: Track how Albert Heijn prices in a category change over time
  • Promotion analysis: Measure how often products carry discounts and which promotion labels are common
  • Assortment research: Compare product ranges across categories such as bakery, dairy or snacks
  • Health research: Study the distribution of Nutri-Score grades across grocery categories
  • Competitive benchmarking: Compare Albert Heijn prices against other Dutch retailers

Automating collection saves hours of manual work and produces consistent, machine-readable data that fits directly into spreadsheets, databases or BI dashboards.


Conclusion

The Albert Heijn Product Search Scraper gives analysts, researchers and developers a practical way to collect structured grocery data from ah.nl. With price, promotion, nutrition and availability fields in a single record, it supports everything from weekly price tracking to academic studies. Start with one category URL, verify the output, and then scale to more listings.

Legal note: Make sure your use of scraped data complies with the ah.nl Terms of Use and applicable EU data protection rules, including the GDPR where personal data is involved. Product and price data should be used responsibly and at a reasonable request rate.