# E.Leclerc Scraper (`mrdoe/leclerc-scraper`) Actor

Searches E.Leclerc's online grocery catalog and returns product name, price, brand, ingredients, nutrition facts, and image for each result - anonymously, no login or proxy required.

- **URL**: https://apify.com/mrdoe/leclerc-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 product returneds

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 search results - the real page this Actor reads product data from](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--site.png)

![E.Leclerc Product Scraper - search any term and get name, price, brand, ingredients and nutrition facts for every result](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--hero.png)

### What does E.Leclerc Product Scraper do?

E.Leclerc Product Scraper searches E.Leclerc's online catalog (groceries, parapharmacy, electronics and more) and returns one clean row per product: name, price, price per unit, seller, image and link, plus - when you ask for it - brand, full ingredients list, and the complete nutrition/product-info table read straight from each product's own page. Give it one or more search terms, a list of direct product URLs, or both.

### Why use E.Leclerc Product Scraper?

- Search any term and get every real product E.Leclerc lists for it.
- Full ingredients and nutrition facts for food products - not just a price.
- No account, cookies or login required.
- No proxy required from most regions.
- Mix search terms and direct product URLs in the same run.

### What makes this different

Most grocery-site scrapers stop at name and price. This one also reads each product's own info table - ingredients, allergens, nutrition values per 100g/ml, net weight, country of origin and more when E.Leclerc publishes them - turning a simple price list into a dataset useful for nutrition research, price comparison and catalog building alike.

### How it works

![E.Leclerc Product Scraper workflow: your input, catalog engine, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--how-it-works.png)

1. **Your input** - one or more search terms and/or direct product URLs.
2. **The Actor searches and reads** - results are read directly from E.Leclerc's own search page; when enabled, each product's own page is then visited for the richer fields.
3. **Your output** - one row per product with price, brand, ingredients and nutrition facts.

### What data can you extract?

| Field         | Type             | Description                                                              |
| ------------- | ---------------- | ------------------------------------------------------------------------- |
| `name`        | string           | Product title.                                                            |
| `price`       | number           | Current price in euros.                                                   |
| `currency`    | string           | Always `EUR`.                                                             |
| `pricePerUnit`| string           | Unit price as E.Leclerc publishes it, e.g. `"21,24 € / kg"`.              |
| `brand`       | string           | Brand name, read from the product's own info table.                       |
| `seller`      | string           | Who fulfills this specific offer (E.Leclerc direct or a marketplace seller). |
| `ean`         | string           | The product barcode (EAN-13).                                             |
| `offerId`     | string           | E.Leclerc's internal offer ID for this listing.                           |
| `image`       | string           | Product photo URL.                                                        |
| `url`         | string           | Product page link.                                                        |
| `ingredients` | string           | Full ingredients list, when published (food products).                   |
| `nutrition`   | array            | Every row of the product's info table: `[{label, value}, ...]` - nutrition values, allergens, net weight, origin, and more. |
| `query`       | string           | The search term this result came from, or `null` for a direct URL lookup. |
| `scrapedAt`   | string           | When this row was collected (ISO 8601 UTC).                               |

### How to use E.Leclerc Product Scraper

![E.Leclerc Product Scraper input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--input.png)

1. Open the Actor and go to the **Input** tab.
2. Add one or more **Search queries**, e.g. `lait`, and/or **Product URLs**.
3. Optionally set **Max results** and toggle **Fetch product detail pages**.
4. Click **Start**. A default run finishes in well under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter            | Type    | Required | Default                   | Description                                                                                          |
| --------------------- | ------- | -------- | -------------------------- | ------------------------------------------------------------------------------------------------------ |
| `searchQueries`        | array   | No       | `["lait"]`                 | Search terms to look up on E.Leclerc.                                                                 |
| `productUrls`          | array   | No       | `[]`                       | Direct E.Leclerc product page URLs to look up instead of (or in addition to) search queries.          |
| `maxItems`             | integer | No       | `20`                       | Maximum number of products to return across all queries/URLs. Set `0` for every product found.       |
| `fetchDetails`         | boolean | No       | `true`                     | Visit each product's own page for brand, ingredients and nutrition facts. Turn off for a faster, lighter run. |
| `proxyConfiguration`   | object  | No       | `{"useApifyProxy": false}` | Optional. This Actor works without a proxy - enable one only if runs start failing in your region.    |

At least one search query or product URL is required.

### Output Data

![E.Leclerc Product Scraper dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--output.png)

![E.Leclerc Product Scraper field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/leclerc-scraper--fields.png)

A real dataset item (trimmed):

```json
{
    "currency": "EUR",
    "ean": "3518646124167",
    "offerId": "3518646124167",
    "name": "Physiolac lait infantile bio 1er âge 800g",
    "url": "https://www.e.leclerc/fp/physiolac-lait-infantile-bio-1er-age-800g-3518646124167",
    "image": "https://media.e.leclerc/3518646124167_1?fit=fit...",
    "price": 16.99,
    "pricePerUnit": "21,24 € / kg",
    "seller": "E.Leclerc Parapharmacie",
    "query": "lait",
    "brand": "Physiolac",
    "ingredients": "LAIT écrémé** ; lactosérum déminéralisé en poudre** ; ...",
    "nutrition": [
        { "label": "Type de lait", "value": "Laits 1er âge - De 0 à 6 mois" },
        { "label": "Energie (kJoules) / (kcalories)", "value": "2114 Kj / 506 kcal" },
        { "label": "Protéines", "value": "10,1 g" }
    ],
    "scrapedAt": "2026-11-12T16:29:32.153Z"
}
```

### Usage Examples

#### Search a few grocery terms

```json
{
    "searchQueries": ["lait", "cafe moulu", "yaourt bio"]
}
```

#### Look up specific product pages directly

```json
{
    "productUrls": ["https://www.e.leclerc/fp/hipp-lait-1-combiotic-flm-bio-boite-800g-jusqu-a-6-mois-4062300456648"]
}
```

#### Fast run without ingredients/nutrition

```json
{
    "searchQueries": ["cafetiere"],
    "maxItems": 50,
    "fetchDetails": false
}
```

### Tips for Best Results

- French search terms work best, e.g. `lait`, `cafe moulu`, `yaourt bio`.
- Turn off **Fetch product detail pages** for a much faster run when you only need name, price and seller.
- `ingredients` and full `nutrition` rows are only published for food/parapharmacy products - non-food items (appliances, homeware) return `null` for ingredients, which is expected.
- Mix search terms and direct product URLs freely in the same run.

### Known Limitations

- Only data E.Leclerc publishes on its site is returned.
- Prices reflect E.Leclerc's default national catalog; a specific local store's price or stock may differ slightly.
- Non-food products naturally have no `ingredients` value.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### How do I scrape E.Leclerc prices?

Add a search term or product URL to the input and run the Actor. You get back price, brand, ingredients and nutrition facts in one row per product.

#### Does it include ingredients and nutrition facts?

Yes, for food and parapharmacy products, when **Fetch product detail pages** is on.

#### Do I need a proxy?

No, not from most regions. Add one only if your runs start failing.

#### Do I need an account or login?

No. The Actor reads public E.Leclerc pages and needs no account, cookies or API key.

#### Can I look up many products at once?

Yes. Add as many search terms or product URLs as you need and raise Max results.

#### How fresh is the data?

It is read live from E.Leclerc on every run.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console - useful for grocery price tracking.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the collected data in line with E.Leclerc's terms and applicable law. The Actor is not affiliated with E.Leclerc.

# Actor input Schema

## `searchQueries` (type: `array`):

One or more search terms to look up on E.Leclerc's online grocery catalog, e.g. <code>lait</code>, <code>cafe moulu</code>, <code>papier toilette</code>.

## `productUrls` (type: `array`):

Specific E.Leclerc product page URLs to look up directly, instead of (or in addition to) search queries - use this when you already know exactly which products you want.

## `maxItems` (type: `integer`):

Stop after this many products in total, across every search query and URL. Set 0 to return every product found.

## `fetchDetails` (type: `boolean`):

Visit each product's own page for richer fields - brand, full ingredients list, and the complete nutrition-facts table. Turn off for a faster, lighter run that only returns what the search results page itself shows (name, price, image).

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

This Actor works without a proxy by default - turn one on only if runs start failing.

## Actor input object example

```json
{
  "searchQueries": [
    "lait"
  ],
  "productUrls": [],
  "maxItems": 20,
  "fetchDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "searchQueries": [
        "lait"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/leclerc-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 = {
    "searchQueries": ["lait"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/leclerc-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 '{
  "searchQueries": [
    "lait"
  ],
  "maxItems": 20
}' |
apify call mrdoe/leclerc-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/leclerc-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/AjL8yAuwRLedwQaUf/builds/HIJ54C94lKbTGn89q/openapi.json
