Albert Heijn Product Search Scraper
Pricing
from $1.50 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
19 days ago
Last modified
Categories
Features
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
| Field | Description |
|---|---|
urls | List of Albert Heijn product listing URLs. Leave empty when using keyword search. |
keyword | Search term used to find products, such as "melk" or "brood" |
sort_by | Sort order: "" (relevance), "price" (low to high), "-price" (high to low), or "nutriscore" |
page | Page number to start scraping from (default is usually 1) |
max_items_per_url | Maximum number of products collected per URL or search. Prefilled at 20. |
ignore_url_failures | If true, the run continues when some URLs fail. Prefilled as true. |
include_raw_data | If true, adds unprocessed website data to the output. Default is false. |
Tip: Use
max_items_per_urlto control run cost and time. Start with a small value like20to test your setup before scaling up.
Output Format
Each product returns one record. The fields below are grouped by purpose.
Identification
| Field | Meaning |
|---|---|
id | Unique Albert Heijn product identifier |
title | Product name as displayed on the listing |
brand | Brand name, if shown |
product_url | Direct link to the product page |
sales_unit_size | Package size or quantity (e.g., 500 g, 6 stuks) |
shop_type | Shop channel type for the product |
Pricing
| Field | Meaning |
|---|---|
price | Current selling price (numeric) |
was_price | Previous price before the current offer, if any |
currency | Currency code, typically EUR |
list_price | Standard list price |
discount | Discount details as an object (amount, type, validity) |
promotion_labels | Array of promotion badges shown on the product (e.g., "2 for 3") |
Nutrition & Quality
| Field | Meaning |
|---|---|
nutri_score | Nutri-Score grade (A to E) indicating nutritional quality |
highlight | Highlighted attribute or marketing label shown on the product |
Availability
| Field | Meaning |
|---|---|
available_in_store | Whether the product is available in physical stores |
is_orderable | Whether the product can be ordered online |
max_units | Maximum quantity per order |
availability_label | Human-readable availability status |
Product Classification
| Field | Meaning |
|---|---|
is_sponsored | Whether the placement is paid or sponsored |
is_sample | Whether the item is a sample product |
is_medicine | Whether the product is classified as medicine |
is_medical_device | Whether the product is classified as a medical device |
taxonomy_ids | Category identifiers linking the product to the site taxonomy |
external_shop | Details if the product is sold through an external shop |
Variants & Media
| Field | Meaning |
|---|---|
has_variants | Whether the product has multiple variants |
variant | Details of the selected variant |
variants | List of all available variants |
image_count | Number of product images |
image_urls | Array of product image URLs |
Raw Data
| Field | Meaning |
|---|---|
raw_data | Unprocessed 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
- 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.
- Configure the input — Add the URL to the
urlsarray and setmax_items_per_urlto control volume. - Enable proxy (optional) — Use a
RESIDENTIALproxy with countryNLif you encounter blocking or incomplete results. - Run the scraper — Start the run and check the log for failed URLs.
- 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_datadisabled 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_failuresenabled 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.