# Carrefour Scraper (Pay Per Result) (`123webdata/carrefour-scraper`) Actor

A scraper for Carrefour to extract product and pricing information from supermarket category and item pages. Useful for analytics, AI model training, and inventory tracking. Pricing: $0.005/result. 10 results on free trial.

- **URL**: https://apify.com/123webdata/carrefour-scraper.md
- **Developed by:** [123 Webdata](https://apify.com/123webdata) (community)
- **Categories:** E-commerce, AI
- **Features:** Limited permissions
- **Stats:** 105 total users, 4 monthly users, 99.4% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$5.00 / 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.

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.com Scraper

This actor scrapes product data from [Carrefour.com](https://www.carrefour.com/), a major international hypermarket and supermarket chain.

### Issues and feature requests

If you encounter any issue, or you'd like us to change or add anything, please open an issue in the actor page or write to us directly at hello@123webdata.com

For custom requirements, you can also reach out to us by [filling this form](https://www.123webdata.com/scrape_carrefour_com/#contact).

### Output Example (simplified)

The actor provides a convenient overview mode that displays the most important product information in a tabular format. Here's an example of how the data looks in the overview mode:

| Image | Product URL | Product Name | Current Price | Regular Price | Currency | Description | Scraped At |
|-------|-------|-------|-------|-------|-------|-------|-------|
| <img src="https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_1500x1500/05900130030630_H1N1_s10.png" style="max-width: 100px; max-height: 100px; object-fit: contain;"> | https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104 | Glaces caramel salé & macad... | 99.00 | 0 | EUR | Découvrez NUII, une aventur... | 2025-07-21 |
| <img src="https://media.carrefour.fr/medias/385648f475144255b323f34cff538808/p_1500x1500/08711327373105_C1N1_s09.jpeg" style="max-width: 100px; max-height: 100px; object-fit: contain;"> | https://www.carrefour.fr/p/glace-cookie-dough-ben-jerry-s-8711327373105?t=2104 | Glace Cookie Dough BEN & JE... | 55.00 | 0 | EUR | La délicieuse crème glacée ... | 2025-07-21 |
| <img src="https://media.carrefour.fr/medias/45a6be9f28613ab9a1374615b8837ffe/p_1500x1500/05027324001839-a1r1-s01.jpg" style="max-width: 100px; max-height: 100px; object-fit: contain;"> | https://www.carrefour.fr/p/glace-mochis-fruit-de-la-passion-mangue-little-moons-5027324001839?t=2104 | Glace mochis fruit de la pa... | 28.91 | 0 | EUR | Laissez-vous emporter par c... | 2025-07-21 |

### Features

- Scrapes detailed product information from Carrefour.com product pages
- Extracts data from both individual product URLs and category pages
- Follows pagination links on category pages (optional)
- Supports various product categories with specific fields like brand, price, and category

### Input

The actor accepts the following input parameters:

| Field | Type | Description |
|-------|------|-------------|
| `productUrls` | array | List of Carrefour.com product URLs to scrape |
| `categoryUrls` | array | List of Carrefour.com category URLs to scrape |
| `maxResultsPerScrape` | integer | Maximum number of results to extract (default: 1000) |
| `usePagination` | boolean | Whether to follow pagination links on category pages (default: true) |

### Output Example (full)

The actor outputs data in the following structure:

```json
{
	"url": "https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104",
	"name": "Glaces caramel salé & macadamia d'Australie NUII",
	"price": 99,
	"regular_price": 0,
	"currency": "EUR",
	"in_stock": null,
	"sku": "5900130030630",
	"mpn": null,
	"gtin": "5900130030630",
	"brand": "NUII",
	"breadcrumbs": [
		"Accueil",
		"Rayons",
		"Surgelés",
		null,
		"Glaces et Sorbets",
		"Glaces caramel salé & macadamia d'Australie NUII"
	],
	"main_image": "https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_1500x1500/05900130030630_H1N1_s10.png",
	"images": [
		"https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_1500x1500/05900130030630_H1N1_s10.png",
		"https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_43x43/05900130030630_H1N1_s10.png",
		"https://media.carrefour.fr/medias/aa1ce7b4409b4faba21ec3b2087b28c1/p_43x43/05900130030630_A2N1_s05.png",
		"https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_540x540/05900130030630_H1N1_s10.png",
		"https://media.carrefour.fr/medias/bb17d8a9ac454c94ba002076c4dd7b57/p_43x43/05900130030630_A3N1_s06.png",
		"https://media.carrefour.fr/medias/b7801616fa5f416a9a3908c62523f26b/p_43x43/05900130030630_A7N1_s07.png",
		"https://www.carrefour.fr/images/logo-consotrust.svg",
		"https://media.carrefour.fr/medias/2f66e1eb1e91454ab43180f2239965fe/p_200x200/05900130030630_H1N1_s10.png",
		"https://www.carrefour.fr/images/logo-allergobox.svg",
		"https://www.carrefour.fr/images/loader-dots.svg"
	],
	"description": "Découvrez NUII, une aventure gourmande, empreinte d'évasion. Communément appelée la « reine des noix » en Australie, la noix de Macadamia est réputée pour sa saveur délicatement beurrée et sa texture croquante. Ses éclats légèrement torréfiés se mélangent à un enrobage de délicieux chocolat au lait qui renferme une onctueuse crème glacée à la vanille marbrée d'une généreuse sauce au caramel salée. Une saveur irrésistible à explorer ! Chocolat certifié Rainforest Alliance. Recette sans gluten.",
	"color": null,
	"size": null,
	"weight": "0.19 gram",
	"material": null,
	"style": null,
	"features": [],
	"attributes": {
		"raison sociale": "FRONERI France SAS",
		"adresse": "KERGAMET PLOUEDERN CS 20809 29208 LANDERNEAU CEDEX",
		"e-mail": "service.consommateur@fr.froneri.com",
		"téléphone": "05 57 55 39 00",
		"marque": "NUII"
	},
	"rating_value": 5,
	"review_count": 1,
	"canonical_url": "https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630",
	"scraped_at": "2025-07-21T11:42:38.103Z"
}
```

### Use Cases

- Monitoring grocery and retail product prices
- Analyzing product availability and trends
- Tracking price changes over time
- Market research and competitive analysis in the retail industry

### You might also like

- [Our other e-commerce scrapers](https://www.123webdata.com/categories/ecommerce/)
- [Our other grocery store scrapers](https://www.123webdata.com/categories/grocery/)
- [ALDI Scraper](https://apify.com/123webdata/aldi-scraper)
- [Waitrose Scraper](https://apify.com/123webdata/waitrose-scraper)
- [Lidl US Scraper](https://apify.com/123webdata/lidl-us-scraper)

# Actor input Schema

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

List of Carrefour.com product URLs to scrape.

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

List of Carrefour.com category URLs to scrape. The scraper will extract all product URLs from these pages.

## `maxResultsPerScrape` (type: `integer`):

Maximum number of results to extract. Default is 20.

## `usePagination` (type: `boolean`):

Whether to follow pagination links on category pages.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104"
  ],
  "categoryUrls": [
    "https://www.carrefour.fr/r/surgeles/glaces-et-sorbets?filters%5Bfacet_promotions%5D%5B0%5D=Toutes+les+promotions&noRedirect=1"
  ],
  "maxResultsPerScrape": 20,
  "usePagination": true
}
```

# 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 = {
    "productUrls": [
        "https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104"
    ],
    "categoryUrls": [
        "https://www.carrefour.fr/r/surgeles/glaces-et-sorbets?filters%5Bfacet_promotions%5D%5B0%5D=Toutes+les+promotions&noRedirect=1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("123webdata/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 = {
    "productUrls": ["https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104"],
    "categoryUrls": ["https://www.carrefour.fr/r/surgeles/glaces-et-sorbets?filters%5Bfacet_promotions%5D%5B0%5D=Toutes+les+promotions&noRedirect=1"],
}

# Run the Actor and wait for it to finish
run = client.actor("123webdata/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 '{
  "productUrls": [
    "https://www.carrefour.fr/p/glaces-caramel-sale-macadamia-d-australie-nuii-5900130030630?t=2104"
  ],
  "categoryUrls": [
    "https://www.carrefour.fr/r/surgeles/glaces-et-sorbets?filters%5Bfacet_promotions%5D%5B0%5D=Toutes+les+promotions&noRedirect=1"
  ]
}' |
apify call 123webdata/carrefour-scraper --silent --output-dataset

```

## MCP server setup

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