# Irish Price Comparison Actor (`m3web/irish-price-comparison-actor`) Actor

Scrape prices by GTINs (EAN‑13/EAN‑8) for the Irish market. Get up‑to‑date lowest prices and merchant offers from leading retailers such as Brown Thomas, Arnotts, Amazon, Very, SHEIN, JD Sports, ASOS, eBay... Exports two formats: product summaries and merchant rows for developers and BI teams.

- **URL**: https://apify.com/m3web/irish-price-comparison-actor.md
- **Developed by:** [M3Web](https://apify.com/m3web) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Irish Price Comparison Actor

### Overview
Track product and shop prices in the Irish market using GTINs (EAN‑13/EAN‑8), covering major retailers such as Brown Thomas, Arnotts, Amazon, Very, SHEIN, JD Sports, ASOS, eBay, Space NK...  
Built for eCommerce teams, marketers, and analysts who need clear, reliable price data.  
No coding required — this Actor is designed to be **no‑code friendly**, so anyone can run it and export results without technical setup.

---

### ✨ Features
- Input: List of GTINs (8 or 13 digits, usually EAN‑13 or EAN‑8).  
- Tracks the **lowest price** and saves product details with a timestamp for each item.  
- Optionally collects **all available merchant offers** for competitor comparison.  
- Produces:
  - **Default dataset** → product summary with `shop` dictionary of merchant prices.  
  - **Offers CSV file** → one row per merchant, ready for Excel or BI analysis (download link is logged after the run).

---

### ⚙️ How it works
1. **Enter GTINs (EAN‑13/EAN‑8 numbers)**  
   Paste one or more 8‑ or 13‑digit codes. Each GTIN (EAN) identifies a product you want to track.

2. **Include all shop offers**  
   Switch ON to collect **all available merchant prices**.  
   Switch OFF to save only the lowest price for each product.

3. **Generate Offers CSV file**  
   Switch ON the *Generate Offers CSV file* input.  
   After scraping, the Actor logs a direct download link at the bottom of **Log**:  
   `📂 Offers CSV file created. Download here: https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/offers-dataset.csv`  
   Click the link to get the file — it contains **merchant‑level rows for Excel/BI analysis**, structured differently than the Default dataset.

4. **Run the Actor**  
   It gathers product details and prices, then saves results into the default dataset and (optionally) the offers CSV file.

---

### 📊 Example Outputs

**Default dataset (JSON):** → product summary with `shop` dictionary of merchant prices. 
```json
{
   "ean": "4062061443031",
   "category": "Shoes",
   "productId": "5180383",
   "name": "adidas Samba OG - Cloud White/Core Black/Clear Granite",
   "lowestPrice": 57.64,
   "currency": "EUR",
   "outOfStock": false,
   "images": "https://owp.klarna.com/product/3217819271/adidas-Samba-OG-Cloud-White-Core-Black-Clear-Granite.jpg",
   "productUrl": "https://www.klarna.com/ie/shopping/pl/cl337/5180383/Shoes/Adidas-Samba-OG-Cloud-White-Core-Black-Clear-Granite/",
   "scrapedAt": "2026-05-29T15:31:31.117Z",
   "shop": {
      "ASOS": 99.99,
      "Adidas": 120,
      "Amazon": 57.64,
      "Arnotts": 120,
      "Brown_Thomas": 120
   }
}
````

**Offers dataset (CSV):** → merchant rows for Excel or BI analysis, created only if the checkbox is ON (direct download link is logged after the run).

| ean           | productId | name            | category | merchant     | price | scrapedAt  |
|---------------|-----------|-----------------|----------|--------------|-------|------------|
| 4062061443031 | 5180383   | adidas Samba OG | Shoes    | ASOS         | 99.99 | 2026-05-29 |
| 4062061443031 | 5180383   | adidas Samba OG | Shoes    | Adidas       | 120   | 2026-05-29 |
| 4062061443031 | 5180383   | adidas Samba OG | Shoes    | Amazon       | 57.64 | 2026-05-29 |
| 4062061443031 | 5180383   | adidas Samba OG | Shoes    | Arnotts      | 120   | 2026-05-29 |
| 4062061443031 | 5180383   | adidas Samba OG | Shoes    | Brown\_Thomas | 120   | 2026-05-29 |

***

### 💡 Use Cases

- Monitor prices for your product catalog.
- Compare competitors’ pricing.
- Feed BI dashboards with shop‑level data.
- Support affiliate or SEO content with verified prices.

***

### 📌 Notes

- This Actor is **GTIN‑based (EAN‑13/EAN‑8)** and built for the **Irish market**.
- Data is sourced from [klarna.com/ie/shopping/](https://www.klarna.com/ie/shopping/).
- Designed to respect the [klarna.com robots.txt](https://www.klarna.com/robots.txt) file as of 29.05.2026.

# Actor input Schema

## `startEANs` (type: `array`):

Each GTIN (commonly called an EAN code) is a numeric product identifier. Paste multiple codes to track several products at once. Both 13‑digit GTINs (EAN‑13 standard) and 8‑digit GTINs (EAN‑8 for small items) are supported.

## `shop` (type: `boolean`):

When ON, the Actor saves detailed rows for each shop’s price. When OFF, only product summaries with the lowest price are saved.

## `offersXlsx` (type: `boolean`):

Switch ON to export merchant offers into a separate CSV file after scraping. A download link will be shown in the log.

## Actor input object example

```json
{
  "startEANs": [
    "4062061443031"
  ],
  "shop": true,
  "offersXlsx": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startEANs": [
        "4062061443031"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("m3web/irish-price-comparison-actor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startEANs": ["4062061443031"] }

# Run the Actor and wait for it to finish
run = client.actor("m3web/irish-price-comparison-actor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startEANs": [
    "4062061443031"
  ]
}' |
apify call m3web/irish-price-comparison-actor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=m3web/irish-price-comparison-actor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Irish Price Comparison Actor",
        "description": "Scrape prices by GTINs (EAN‑13/EAN‑8) for the Irish market. Get up‑to‑date lowest prices and merchant offers from leading retailers such as Brown Thomas, Arnotts, Amazon, Very, SHEIN, JD Sports, ASOS, eBay... Exports two formats: product summaries and merchant rows for developers and BI teams.",
        "version": "0.0",
        "x-build-id": "emfTldtjuIkpiTfvx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/m3web~irish-price-comparison-actor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-m3web-irish-price-comparison-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/m3web~irish-price-comparison-actor/runs": {
            "post": {
                "operationId": "runs-sync-m3web-irish-price-comparison-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/m3web~irish-price-comparison-actor/run-sync": {
            "post": {
                "operationId": "run-sync-m3web-irish-price-comparison-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startEANs": {
                        "title": "Enter product identifiers (GTIN/EAN‑13 or EAN‑8)",
                        "type": "array",
                        "description": "Each GTIN (commonly called an EAN code) is a numeric product identifier. Paste multiple codes to track several products at once. Both 13‑digit GTINs (EAN‑13 standard) and 8‑digit GTINs (EAN‑8 for small items) are supported.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "shop": {
                        "title": "Include all shop offers — switch ON to collect every merchant’s price, OFF for just the lowest price on the Irish market",
                        "type": "boolean",
                        "description": "When ON, the Actor saves detailed rows for each shop’s price. When OFF, only product summaries with the lowest price are saved.",
                        "default": true
                    },
                    "offersXlsx": {
                        "title": "Generate Offers CSV file",
                        "type": "boolean",
                        "description": "Switch ON to export merchant offers into a separate CSV file after scraping. A download link will be shown in the log.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
