# Carrefour France Scraper: Grocery Prices (`reventadata/carrefour-scraper`) Actor

Search carrefour.fr or read its category pages. Get name, brand, EAN, price, price per kg or litre, promotion with dates and struck price, availability, image, category path, rating and Nutri-Score.

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

## Pricing

from $1.50 / 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/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

## Carrefour France Scraper

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Carrefour. "Carrefour" is a trademark of its respective owner
> and is used here only to describe what this tool reads. It reads the same public pages a
> browser does, without logging in.

Carrefour France Scraper turns the public product listings of carrefour.fr into a clean dataset: name, brand, EAN, price, price per kg or litre, promotion with dates and struck-through price, availability, images, category path, rating and Nutri-Score.

Made by reventadata.

### What does it do?

For each search term you give, and for each category page you give, it reads the product listing page by page and saves one row per product. You can keep only products on promotion, drop marketplace sellers, and bound the price. Prices are in euros as the site shows them to a visitor who has not chosen a store.

### Why use it?

- **Prices you can compare:** the price of one unit, the price per kg or litre as a number and as written, and the struck-through price when the site shows one.
- **Promotions as fields:** label, start and end date, the units to buy for a multi-unit offer ("Le 2eme a -50%") with the price for them, and a flag for loyalty-card offers.
- **EAN on every row:** the barcode identifies the same product across shops and datasets.
- **Search or category:** type a keyword, or paste a category link such as `https://www.carrefour.fr/r/cremerie/laits`, filters in the link included.
- **Marketplace aware:** products sold by outside sellers carry the seller name; one switch leaves them out.
- **Light:** reads public pages directly, no browser needed; the proxy is handled for you.
- **Public data only:** names, prices and the text and images the site publishes are in the rows; nothing from behind a login.

### How to use it

1. Put one or more keywords in `searchQueries`, for example `lait demi-ecreme`, and/or category links in `categoryUrls`.
2. Optionally set the sort order, `onlyPromotions`, `includeMarketplace` and a price range.
3. Set `maxItems`, the total number of products to save, and `maxPagesPerListing`, the pages of 30 to read per keyword or category.
4. Run it and download the dataset as JSON, CSV, Excel or other formats.

#### Limits worth knowing

- The site serves at most 99 pages (2,970 products) of one search or category. A bigger listing logs a warning; narrow it with a more specific keyword or a sub-category.
- A search term of one letter is refused by the site; the run says so. Use a longer term.
- A category link the site does not know ends the run with a message; copy the address from a category page.
- `onlyPromotions`, `includeMarketplace`, `minPrice` and `maxPrice` are applied after the pages are read, so a strict filter reads more pages for the same number of products. `maxPagesPerListing` bounds that.
- A product found under two keywords is saved once. The same product offered by two sellers is two rows (`offerId` tells them apart).
- Only France (carrefour.fr) is available now.

#### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | Keywords, one search each. Give keywords, category links, or both. |
| `categoryUrls` | array | Category links or paths such as `cremerie/laits`. |
| `sort` | string | `relevance` (default), `priceAsc`, `priceDesc`, `unitPriceAsc`, `unitPriceDesc` or `ratingDesc`. |
| `onlyPromotions` | boolean | Keep only products with a promotion or a struck-through price (default off). |
| `includeMarketplace` | boolean | Include outside sellers (default on). |
| `minPrice`, `maxPrice` | number | Price bounds in euros, optional. |
| `maxItems` | integer | Stop after this many products in total (default 100). |
| `maxPagesPerListing` | integer | Pages of 30 products per keyword or category, 1 to 99 (default 99). |
| `proxyConfiguration` | object | Proxy settings; handled for you by default, no setup needed. |

#### Sample input

```json
{
    "searchQueries": ["lait demi-ecreme"],
    "categoryUrls": ["https://www.carrefour.fr/r/cremerie/laits"],
    "onlyPromotions": true,
    "maxItems": 50
}
```

#### Output

| Field | Type | Description |
|---|---|---|
| `id`, `ean` | string / null | EAN barcode (`id` falls back to the site's product id). |
| `name`, `brand` | string / null | Product name and brand as listed. |
| `url` | string / null | Product page link. |
| `price`, `currency` | number / null, string | Price of one unit in euros (the reduced price when a struck-through price is shown). |
| `originalPrice` | number / null | Struck-through price before the reduction. |
| `unitPrice`, `unitOfMeasure`, `unitPriceText` | number / string / null | Price per kg, litre or unit, its unit (`KG`, `L`, `U`) and the text as written. |
| `promotionLabel` | string / null | Promotion text, for example `Le 2eme a -50%`. |
| `promotionStartsAt`, `promotionEndsAt` | string / null | Promotion dates, ISO 8601. |
| `promotionMinQuantity`, `promotionPriceForQuantity` | integer / number / null | Units to buy for a multi-unit offer and their total price. |
| `promotionIsLoyalty` | boolean / null | True for a loyalty-card offer. |
| `available`, `lowStock` | boolean / null | Whether the site lets the product be ordered, and its low-quantity flag. |
| `packaging`, `format` | string / null | Packaging text and pack size as listed. |
| `imageUrl`, `imageUrls` | string / array | Product images, 540 x 540 pixels. |
| `categoryPath`, `categoryUrl` | array / string | Category names from the department down, and the category link. |
| `rating`, `reviewCount`, `nutriscore` | number / integer / string / null | Customer rating out of 5, number of ratings, Nutri-Score letter. |
| `isMarketplace`, `seller`, `sellerId` | boolean / string / null | Outside seller details; null for Carrefour's own range. |
| `isSponsored`, `isNew` | boolean | Labels the site shows. |
| `offerId` | string / null | Offer id on the site. |
| `source`, `sourceValue`, `page` | string / string / integer | How the product was found, the keyword or category, and the page. |
| `scrapedAt` | string | ISO 8601 timestamp. |

#### Sample output

One row built with the Actor's own row builder from a real listing page of a search for `lait` (page 2), read from the site on 2026-11-20. `scrapedAt` is set to that read date; a live run stamps the time of the run.

```json
{
  "id": "3560070435272",
  "ean": "3560070435272",
  "name": "Lait Demi-Ecrémé UHT Bio CARREFOUR BIO",
  "brand": "CARREFOUR BIO",
  "url": "https://www.carrefour.fr/p/lait-demi-ecreme-uht-bio-carrefour-bio-3560070435272",
  "price": 0.95,
  "currency": "EUR",
  "originalPrice": null,
  "unitPrice": 1.9,
  "unitOfMeasure": "L",
  "unitPriceText": "1.90 € / L",
  "promotionLabel": "-10% Club",
  "promotionStartsAt": "2025-01-01T00:00:00+0100",
  "promotionEndsAt": "2026-12-31T23:59:00+0100",
  "promotionMinQuantity": null,
  "promotionPriceForQuantity": null,
  "promotionIsLoyalty": true,
  "available": true,
  "lowStock": false,
  "packaging": "la bouteille 50cL",
  "format": "50cl",
  "imageUrl": "https://media.carrefour.fr/medias/eb154fcd5b2739f28851367c62958dcd/p_540x540/3560070435272-photosite-20161005-083216-0.jpg",
  "imageUrls": [
    "https://media.carrefour.fr/medias/eb154fcd5b2739f28851367c62958dcd/p_540x540/3560070435272-photosite-20161005-083216-0.jpg",
    "https://media.carrefour.fr/medias/868e11a277ca3ed599706ebbdd3832f6/p_540x540/3560070435272-photosite-20161005-083216-1.jpg",
    "https://media.carrefour.fr/medias/5cc0687f0b943ff79cedd08c92344f0d/p_540x540/3560070435272-photosite-20161005-083216-2.jpg",
    "https://media.carrefour.fr/medias/823406b8c7a83de69528a79835ea1f77/p_540x540/3560070435272-photosite-20161005-083216-8.jpg",
    "https://media.carrefour.fr/medias/5fa557eacc274ca29da12a931152174e/p_540x540/visuel_e-commerce_benefices_bio_vdef.jpg"
  ],
  "categoryPath": [
    "Crèmerie et Produits laitiers",
    "Laits et Boissons végétales",
    "Lait demi-écrémé"
  ],
  "categoryUrl": "https://www.carrefour.fr/r/cremerie/laits/lait-demi-ecreme",
  "rating": 4.9,
  "reviewCount": 58,
  "nutriscore": null,
  "isMarketplace": false,
  "seller": null,
  "sellerId": null,
  "isSponsored": false,
  "isNew": false,
  "offerId": "0261-150-6",
  "source": "search",
  "sourceValue": "lait",
  "page": 2,
  "scrapedAt": "2026-11-20T00:00:00+00:00"
}
```

### Pricing

The current price is on the Actor's Pricing tab.

### Privacy & Compliance

This Actor reads only publicly accessible pages and returns the public data they show. It sends no login. Check the target site's terms and the data-protection rules that apply to you before using the data commercially.

# Actor input Schema

## `country` (type: `string`):

Which Carrefour site to read. Only France (carrefour.fr) is available now.

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

Product searches, one per entry, as typed in the site's search box (for example lait demi-écrémé, café, télévision). Give search terms, category links, or both.

## `categoryUrls` (type: `array`):

Category pages to read, one per entry: a carrefour.fr link such as https://www.carrefour.fr/r/cremerie/laits, or just the path cremerie/laits. A link with a brand or other filter in it (https://www.carrefour.fr/r/jeux-jouets+licence,bluey) works too.

## `sort` (type: `string`):

Order in which the site lists the results. Relevance is the site's own default order.

## `onlyPromotions` (type: `boolean`):

Keep only products that show a promotion or a struck-through price.

## `includeMarketplace` (type: `boolean`):

Include products sold by outside sellers on the Carrefour marketplace (shown with the seller name). Turn off to keep Carrefour's own range.

## `minPrice` (type: `number`):

Keep only products priced at or above this amount, in euros. Leave empty for no minimum.

## `maxPrice` (type: `number`):

Keep only products priced at or below this amount, in euros. Leave empty for no maximum.

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

Stop after this many products have been saved, across all search terms and categories.

## `maxPagesPerListing` (type: `integer`):

Pages of 30 products read per search term or category. The site serves at most 99 pages (2,970 products) of one listing.

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

Proxy settings. Handled for you by default.

## Actor input object example

```json
{
  "country": "fr",
  "searchQueries": [
    "lait demi-écrémé"
  ],
  "categoryUrls": [],
  "sort": "relevance",
  "onlyPromotions": false,
  "includeMarketplace": true,
  "maxItems": 20,
  "maxPagesPerListing": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# 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 demi-écrémé"
    ],
    "categoryUrls": [],
    "maxItems": 20,
    "maxPagesPerListing": 1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/carrefour-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 demi-écrémé"],
    "categoryUrls": [],
    "maxItems": 20,
    "maxPagesPerListing": 1,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/carrefour-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 demi-écrémé"
  ],
  "categoryUrls": [],
  "maxItems": 20,
  "maxPagesPerListing": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call reventadata/carrefour-scraper --silent --output-dataset

```

## MCP server setup

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