# Look up Albert Heijn products by EAN barcode

**Use case:** 

Albert Heijn EAN barcode lookup: give a list of barcodes and get each product's price, unit price, current Bonus deal, size and categories from ah.nl. The example looks up 3 barcodes (blueberries, peas, red cabbage) in about 1 second. The leading zero is optional; unknown barcodes are reported, not guessed. $0.001 per product found.

## Input

```json
{
  "keywords": [],
  "eans": [
    "8710400468431",
    "8718265188174",
    "8710400145967"
  ],
  "onlyBonus": false,
  "maxItems": 100000,
  "minItems": 1
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "sizeText": {
    "label": "Size",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "promoPrice": {
    "label": "Promo price",
    "format": "number"
  },
  "promoText": {
    "label": "Deal",
    "format": "string"
  },
  "unitPrice": {
    "label": "Unit price",
    "format": "number"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Albert Heijn Scraper Actor is ready to run with the inputs already set for "Look up Albert Heijn products by EAN barcode". [Sign up or log in](https://console.apify.com/create-task-from-example/RB5Iitmv6DGnRFLZD) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Look up Albert Heijn products by EAN barcode" task

The Albert Heijn Scraper Actor will start running based on the input automatically. You can also change all the input fields, like search keywords, barcodes (ean), and more, to match your specific use case.

### 3. Receive the "Look up Albert Heijn products by EAN barcode" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, name, brand, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Look up Albert Heijn products by EAN barcode" task via API](https://apify.com/sleepmodesystems/albert-heijn.md).

## FAQ

### Which barcodes does Look up Albert Heijn products by EAN barcode accept?

EAN-8, EAN-13 or GTIN-14: 8 to 14 digits. The leading zero is optional, so 8710400468431 and 08710400468431 return the same product.

### What happens when Look up Albert Heijn products by EAN barcode finds nothing?

No item is stored and nothing is charged for it. The run summary lists the barcode with expected: 0, so you can tell it apart from an error.

### How fast is Look up Albert Heijn products by EAN barcode?

The 3 example barcodes took about 1 second, all found.

### Does Look up Albert Heijn products by EAN barcode return older barcodes?

Yes. Each product's gtins field lists every barcode it has carried, which helps match it against your own data.

## About this Actor

This example demonstrates how to use [Albert Heijn Scraper](https://apify.com/sleepmodesystems/albert-heijn.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sleepmodesystems/albert-heijn.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sleepmodesystems/albert-heijn.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
