# E.Leclerc Scraper: Prices, Promotions & Ratings (`bovi/e-scraper`) Actor

Scrape E.Leclerc France (e.leclerc) products by keyword, category link, product link or EAN. Returns price, unit price, genuine promotions, Ticket E.Leclerc cashback, seller, rating, reviews, images, description, category and stock.

- **URL**: https://apify.com/bovi/e-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 e.leclerc scraper: prices, promotions & ratings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## E.Leclerc Scraper: Prices, Promotions & Ratings

Scrape products from **E.Leclerc France** (`www.e.leclerc`) – groceries, drugstore and parapharmacy, household, books and general retail. Search by keyword, paste category links, product links or bare EAN barcodes, and get one flat record per product: title, brand, price, unit price, genuine promotions, "Ticket E.Leclerc" loyalty cashback, seller, rating, review count, images, description, category breadcrumb and online stock status. No login, no cookies, no browser.

### What it collects

| Field | Description |
| --- | --- |
| `ean` | EAN-13 barcode |
| `offerId` | Storefront offer id from listing cards (`s-` E.Leclerc, `o-` partner offer) |
| `title`, `brand` | Product title and brand (author for books) |
| `url`, `imageUrl`, `images` | Product page, main image, all images |
| `price`, `currency` | Current price in EUR |
| `unitPriceDisplay`, `unitPrice`, `unitPriceUnit` | Price per litre / kilo / unit |
| `onPromotion`, `wasPrice`, `discountAmount`, `discountPercent`, `promotionLabel` | Genuine price cuts only (prior price shown struck through) |
| `loyaltyCashbackPercent`, `loyaltyCashbackLabel` | "Ticket E.Leclerc" cashback credited to the loyalty card – never counted as a promotion |
| `storePickupDiscountPercent`, `storePickupPrice` | Extra discount for in-store pickup (books, culture) |
| `otherOffersFromPrice` | Lowest price among other marketplace sellers |
| `clickAndCollectOnly` | Product only offered via a store availability check |
| `inStock` | Online offer in stock (product page) |
| `seller` | E.Leclerc, E.Leclerc Parapharmacie or a marketplace partner |
| `rating`, `reviewCount` | Average rating out of 5 and number of reviews |
| `description`, `categoryPath` | Plain-text description and category breadcrumb (product page) |
| `source`, `sourceUrl`, `scrapedAt` | Page type the record came from, the page URL and the UTC scrape time |

A field is omitted from a record when the storefront does not show it for that product (for example `wasPrice` when there is no price cut). Fields marked "product page" are added when **Include product details** is on, or when you paste a product link / EAN.

### Input

| Name | Type | Description | Default |
| --- | --- | --- | --- |
| `queries` | array of strings | Keywords searched on e.leclerc, e.g. `lait`, `lessive`. Every result page is walked. | — |
| `startUrls` | array of strings | Product links (`/fp/...`), category links (`/cat/...`), search links (`/recherche?q=...`) or bare EANs | — |
| `maxResults` | integer | Maximum number of products returned in total | 50 |
| `includeDetails` | boolean | Open each product page for description, images, category and stock | true |
| `proxyConfiguration` | object | Optional Apify proxy or your own proxies | none |

Example input:

```json
{
  "queries": ["lait"],
  "startUrls": ["https://www.e.leclerc/cat/lessives-marque-repere", "3661434004704"],
  "maxResults": 100,
  "includeDetails": true
}
```

### Example output

```json
{
  "ean": "3661434004704",
  "title": "Uriage Lait velouté hydratant 500ml",
  "brand": "Uriage",
  "url": "https://www.e.leclerc/fp/uriage-lait-veloute-hydratant-500ml-3661434004704",
  "imageUrl": "https://media.e.leclerc/3661434004704_1",
  "categoryPath": "Parapharmacie > Marques Parapharmacie > Boutique Uriage > Promo Uriage > Promo Bariésun",
  "price": 9.17,
  "currency": "EUR",
  "wasPrice": 12.23,
  "discountAmount": 3.06,
  "discountPercent": 25.0,
  "promotionLabel": "Avantage immédiat avec la carte",
  "onPromotion": true,
  "inStock": true,
  "seller": "E.Leclerc Parapharmacie",
  "rating": 4.9,
  "reviewCount": 13,
  "source": "product",
  "scrapedAt": "2026-10-13T05:52:36Z"
}
```

### Use cases

- **Grocery and drugstore price monitoring** – schedule runs over a keyword list or category links and track price, unit price and promotions.
- **Promotion tracking** – separate genuine price cuts from "Ticket E.Leclerc" loyalty cashback.
- **Assortment and brand research** – pull a whole category with brands, ratings and review counts.
- **Catalogue enrichment** – feed a list of EANs and get titles, descriptions, images and category breadcrumbs.

### Price per result

Pay per result: you are charged only for products saved to the dataset – **$0.002 per product ($2 per 1,000 products)**, plus the standard Apify platform usage. Product details are included at no extra charge.

### Notes

- Prices are the national online prices shown on www.e.leclerc.
- Datacenter proxy or no proxy usually works; switch to residential proxy if you get blocked.

# Actor input Schema

## `queries` (type: `array`):

One or more keywords searched on e.leclerc, e.g. 'lait' (milk) or 'lessive' (laundry detergent). Each keyword is walked across its result pages.

## `startUrls` (type: `array`):

Optional. Product pages (/fp/<slug>-<ean>), category pages (/cat/<slug>), search-result pages (/recherche?q=...) or bare EAN barcodes such as 3700281702286. Each entry is routed automatically.

## `maxResults` (type: `integer`):

Maximum number of products to return across all keywords and links. You pay per returned product.

## `includeDetails` (type: `boolean`):

Open each product page to add description, all images, category breadcrumb and online stock status. Slower, same price per result.

## `proxyConfiguration` (type: `object`):

Optional proxy. Datacenter proxies usually work; switch to residential if you see blocks.

## Actor input object example

```json
{
  "queries": [
    "lait"
  ],
  "startUrls": [
    "https://www.e.leclerc/cat/lessives-marque-repere"
  ],
  "maxResults": 50,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped products.

# 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 = {
    "queries": [
        "lait"
    ],
    "startUrls": [
        "https://www.e.leclerc/cat/lessives-marque-repere"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/e-scraper").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 = {
    "queries": ["lait"],
    "startUrls": ["https://www.e.leclerc/cat/lessives-marque-repere"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/e-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "queries": [
    "lait"
  ],
  "startUrls": [
    "https://www.e.leclerc/cat/lessives-marque-repere"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/e-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/e-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Dv15WOl2t1IckE1XI/builds/EaRwC5KfeczlpLbTB/openapi.json
