# Carrefour Product Scraper (`blackfalcondata/carrefour-scraper`) Actor

Scrape carrefour.fr for Carrefour France products with current prices, availability, GTINs, categories, unit pricing, ingredients, ratings, product URLs and shopping-basket totals. Supports keyword search, category/rayon filters, product URLs and incremental monitoring.

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

## Pricing

from $2.00 / 1,000 products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does Carrefour Product Scraper do?

Carrefour Scraper extracts structured product data from [carrefour.fr](https://carrefour.fr), including current prices, GTINs, categories, unit prices, availability, ingredients, ratings, review counts, product URLs, images, and basket line totals. It supports keyword search, category/rayon filters, product URLs, price filters, unit-price filters, ingredient filtering, sorting, controllable result limits, detail enrichment, incremental tracking, and notifications.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctaplain) and use the included $5 monthly platform credit to test this actor.

### Key features

<!-- KEY_FEATURES:START -->
- **🔍 Keyword search** — search Carrefour France products with `query`; pass a JSON array to run several product searches in one dataset.
- **🛍️ Shopping-basket monitor** — monitor a shopping basket by `productIds` or `productUrls` and optional `quantities`; output includes line totals for basket-level tracking.
- **💰 Current Carrefour prices** — each row includes current EUR price, availability and purchase limits when Carrefour exposes them.
- **⚖️ Per-unit comparison pricing** — returns `unitPrice` and `unitPriceUnit` for pack-size comparisons.
- **🛒 Category and rayon filters** — scope discovery with category URLs, `rayonIds` or category text filters.
- **🥗 Ingredients + structured nutrition** — detail mode can return ingredients, allergens, Nutri-Score, Eco-Score and nutrition tables when those fields are present in Carrefour product data; use `ingredientFilter` to keep only matching enriched rows.
- **🏷️ Product metadata** — Rows include GTIN, Carrefour base code, brand, packaging, category path, images, ratings and review counts when available.
- **🔢 EAN / UPC barcodes** — `gtin` supports stable matching across price monitors and catalog joins.
- **📦 Compact product output** — keep only core product, price, availability, basket and image fields.
- **🔔 Notifications** — Send product alerts to Telegram, Discord, Slack, WhatsApp or a generic webhook, with optional change-only notifications.
- **♻️ Incremental mode** — track a product search over time and emit `changeType` rows.
<!-- KEY_FEATURES:END -->

### What data can you extract from carrefour.fr?

Each result includes Core product fields (`url`, `name`, `brand`, `price`, `currency`, `unitPrice`, `unitPriceUnit`, and `in_stock`, and more) and detail fields when enrichment is enabled (`description`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions where the source provides them.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`productIds`** — Track a specific shopping list by GTIN/barcode or Carrefour product ID. Product URLs are also accepted here. Pair with quantities to compute per-line basket totals. (default: `[]`)
- **`productUrls`** — Carrefour product URLs to scrape directly, equivalent to the 123webdata productUrls input. (default: `[]`)
- **`categoryUrls`** — Carrefour category/search URLs. URLs with q/query/search become keyword searches; URLs with rayonId/filter=rayonId use Carrefour category filtering. (default: `[]`)
- **`startUrls`** — Paste Carrefour product, search or category URLs. Product URLs are scraped directly; search/category URLs build the matching query and supported Carrefour filters, including multi-select, range, delivery, category-path and boolean facets like filters[facet_promotions][0]=..., filters[facet_price][gte]=... and filters[product.categories...]=... (default: `[]`)
- **`query`** — Product search keywords. Use a single term like "lait" or paste a JSON array such as ["lait","pâtes"]. Ignored when productIds/productUrls are supplied. (default: `""`)
- **`categories`** — Local category filter after fetch. Use terms such as "Surgelés", "Lait", or "Crèmerie". (default: `[]`)
- **`rayonIds`** — Advanced Carrefour category IDs used as API filters, e.g. 29298 for a specific milk subcategory. (default: `[]`)
- **`quantities`** — Optional per-product quantities. Accepts an object map like {"3176571983008": 2} or array pairs like [{"gtin":"3176571983008","qty":2}]. (default: `{}`)
- **`maxResults`** — Maximum number of product rows to push. Use 0 only when you intentionally want all products for the selected query/category. (default: `50`)
- **`maxResultsPerScrape`** — Compatibility alias for 123webdata/carrefour-scraper. If maxResults is not set, this value is used.
- **`usePagination`** — Whether to fetch additional pages after the first page for query/category runs. (default: `true`)
- **`pageSize`** — Products requested per page. (default: `24`)
- ...and 30 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "lait",
  "maxResults": 50
}
````

**Incremental tracking** — Only emit products that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "lait",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "lait-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "lait",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured product records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example product record

```json
{
  "url": "https://www.carrefour.fr/p/lait-vitamine-viva-candia-3176571983008",
  "name": "Lait Vitaminé Viva CANDIA",
  "brand": "CANDIA",
  "price": 1.15,
  "currency": "EUR",
  "unitPrice": 1.15,
  "unitPriceUnit": "L",
  "in_stock": true,
  "gtin": "3176571983008",
  "sku": "3176571983008",
  "categoryName": "Lait demi-écrémé",
  "description": "Comme le lait demi-écrémé, Viva vous accompagne dès le petit déjeuner ! Source de 12 vitamines, Viva est le lait de la vitalité* pour toute la famille. Il contient les vitamines B1, B2, PP, B5, B6, B8...",
  "ingredients": "LAIT à 1,0% de matières grasses, lactase, vitamines : A, B1, B2, B5, B6, B8, B9, B12, E, PP, D et K",
  "nutriscore": "A",
  "quantity": 2,
  "linePrice": 2.3,
  "rating_value": 4.64,
  "review_count": 1257,
  "main_image": "https://media.carrefour.fr/media/referential/media/462baa4eba6a43cdb155645ffba966d1/p_1500x1500/03176571983008_H1L1_s13.jpeg",
  "scraped_at": "2026-07-01T17:32:07.206Z",
  "source": "carrefour.fr"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape carrefour.fr

1. Go to [Carrefour Product Scraper](https://apify.com/blackfalcondata/carrefour-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract product data from carrefour.fr for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed products on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

### How much does it cost to scrape carrefour.fr?

Carrefour Product Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.01 per run
- **Per result:** $0.002 per product record

Example costs:

- 10 results: **$0.03**
- 25 results: **$0.06**
- 100 results: **$0.21**
- 200 results: **$0.41**
- 500 results: **$1.01**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of products that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 200 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.41 | $0.03 | $0.38 (93%) | $0.90 |
| 15% — moderate broad query | $0.41 | $0.07 | $0.34 (83%) | $2.10 |
| 30% — high-volume aggregator | $0.41 | $0.13 | $0.28 (68%) | $3.90 |

Full re-scrape monthly cost at daily polling: $12.30. First month with incremental costs $1.28 / $2.44 / $4.18 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from carrefour.fr?

The number of results depends on the search query and available products on carrefour.fr. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Carrefour Product Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed products on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Carrefour Product Scraper with other apps?

Yes. Carrefour Product Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Carrefour Product Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Carrefour Product Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape carrefour.fr?

This actor extracts publicly available data from carrefour.fr. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/carrefour-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Bilka Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/bilka-scraper?fpr=1h3gvi) — Scrape Bilka (Salling Group), Denmark's largest hypermarket chain. Get the full product catalog.
- [Coop365 Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/coop365-scraper?fpr=1h3gvi) — Scrape current Coop365 leaflet rows from 365discount.coop.dk with structured names, prices, unit.
- [Føtex Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/foetex-scraper?fpr=1h3gvi) — Scrape Føtex (Salling Group), one of Denmark's largest supermarket chains. Get the full product.
- [Kvickly Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/kvickly-scraper?fpr=1h3gvi) — Scrape current Kvickly leaflet rows from www.kvickly.dk with structured names, prices, unit.
- [Lidl Scraper - European Grocery Products & Prices](https://apify.com/blackfalcondata/lidl-scraper?fpr=1h3gvi) — Scrape Lidl grocery products and prices across 28 European markets, each row tagged by country. Get.
- [Nemlig Scraper - Danish Online Grocery Products & Prices](https://apify.com/blackfalcondata/nemlig-scraper?fpr=1h3gvi) — Scrape Nemlig grocery products from nemlig.com as structured JSON with shelf prices, current.
- [Netto Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/netto-scraper?fpr=1h3gvi) — Scrape Netto (Salling Group), Denmark's largest discount-grocery chain. Get the full product.
- [REMA 1000 Scraper - Danish Grocery Products & Prices](https://apify.com/blackfalcondata/rema1000-scraper?fpr=1h3gvi) — Scrape rema1000.dk — Denmark's largest discount-grocery chain with 3900 SKUs. Search products by.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctaplain) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

## `productIds` (type: `array`):

Track a specific shopping list by GTIN/barcode or Carrefour product ID. Product URLs are also accepted here. Pair with quantities to compute per-line basket totals.

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

Carrefour product URLs to scrape directly, equivalent to the 123webdata productUrls input.

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

Carrefour category/search URLs. URLs with q/query/search become keyword searches; URLs with rayonId/filter=rayonId use Carrefour category filtering.

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

Paste Carrefour product, search or category URLs. Product URLs are scraped directly; search/category URLs build the matching query and supported Carrefour filters, including multi-select, range, delivery, category-path and boolean facets like filters\[facet\_promotions]\[0]=..., filters\[facet\_price]\[gte]=... and filters\[product.categories...]=...

## `query` (type: `string`):

Product search keywords. Use a single term like "lait" or paste a JSON array such as \["lait","pâtes"]. Ignored when productIds/productUrls are supplied.

## `categories` (type: `array`):

Local category filter after fetch. Use terms such as "Surgelés", "Lait", or "Crèmerie".

## `rayonIds` (type: `array`):

Advanced Carrefour category IDs used as API filters, e.g. 29298 for a specific milk subcategory.

## `quantities` (type: `object,string`):

Optional per-product quantities. Accepts an object map like {"3176571983008": 2} or array pairs like \[{"gtin":"3176571983008","qty":2}].

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

Maximum number of product rows to push. Use 0 only when you intentionally want all products for the selected query/category.

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

Compatibility alias for 123webdata/carrefour-scraper. If maxResults is not set, this value is used.

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

Whether to fetch additional pages after the first page for query/category runs.

## `pageSize` (type: `integer`):

Products requested per page.

## `priceMin` (type: `number`):

Only emit products with price greater than or equal to this value.

## `priceMax` (type: `number`):

Only emit products with price less than or equal to this value.

## `unitPriceMin` (type: `number`):

Only emit products with per-unit price greater than or equal to this value.

## `unitPriceMax` (type: `number`):

Only emit products with per-unit price less than or equal to this value.

## `inStockOnly` (type: `boolean`):

Drop products flagged as unavailable.

## `ingredientFilter` (type: `string`):

Case-insensitive substring filter on detailed ingredient text. Use a single term or JSON array of terms that all must match.

## `sortBy` (type: `string`):

Optional ordering before maxResults is applied.

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

Fetch detail fields such as description, ingredients, nutrition, allergens, rating, weight and contact attributes. Enabled by default to match product-page scrapers.

## `compact` (type: `boolean`):

Keep only the core product, price, availability, basket and image fields.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string and empty-array fields from each record before push.

## `descriptionFormat` (type: `string`):

Pick a single description representation.

## `descriptionMaxLength` (type: `integer`):

Truncate product description text after this many characters. Use 0 for no truncation.

## `incrementalMode` (type: `boolean`):

Compare against previous runs for the same scope and emit changeType for new, updated, unchanged or expired products.

## `stateKey` (type: `string`):

Optional stable ID for the tracked search/basket universe. Leave empty to auto-generate from search inputs.

## `emitUnchanged` (type: `boolean`):

Include products with no detected change in incremental output.

## `emitExpired` (type: `boolean`):

Include products that disappeared since the previous run for the same state key.

## `skipReposts` (type: `boolean`):

When incremental mode is enabled, skip products whose content matches a prior expired row.

## `notifyOnlyChanges` (type: `boolean`):

When incremental mode is enabled, only send notifications for changed products.

## `notificationLimit` (type: `integer`):

Maximum number of products included in each notification message.

## `telegramToken` (type: `string`):

Telegram bot token from @BotFather.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API access token.

## `whatsappPhoneNumberId` (type: `string`):

WhatsApp Business phone-number ID.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without +.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings -> API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "productIds": [],
  "productUrls": [],
  "categoryUrls": [],
  "startUrls": [],
  "query": "lait",
  "categories": [],
  "rayonIds": [],
  "quantities": {},
  "maxResults": 5,
  "usePagination": true,
  "pageSize": 24,
  "inStockOnly": false,
  "includeDetails": true,
  "compact": false,
  "excludeEmptyFields": false,
  "descriptionFormat": "all",
  "descriptionMaxLength": 0,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# 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 = {
    "query": "lait",
    "maxResults": 5,
    "excludeEmptyFields": false,
    "descriptionFormat": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/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 = {
    "query": "lait",
    "maxResults": 5,
    "excludeEmptyFields": False,
    "descriptionFormat": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/carrefour-scraper").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 '{
  "query": "lait",
  "maxResults": 5,
  "excludeEmptyFields": false,
  "descriptionFormat": "all"
}' |
apify call blackfalcondata/carrefour-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=blackfalcondata/carrefour-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Carrefour Product Scraper",
        "description": "Scrape carrefour.fr for Carrefour France products with current prices, availability, GTINs, categories, unit pricing, ingredients, ratings, product URLs and shopping-basket totals. Supports keyword search, category/rayon filters, product URLs and incremental monitoring.",
        "version": "0.1",
        "x-build-id": "oqWliRpJ4H8aSLjFA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~carrefour-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-carrefour-scraper",
                "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/blackfalcondata~carrefour-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-carrefour-scraper",
                "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/blackfalcondata~carrefour-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-carrefour-scraper",
                "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": {
                    "productIds": {
                        "title": "🛍️ Basket — GTINs / product IDs",
                        "type": "array",
                        "description": "Track a specific shopping list by GTIN/barcode or Carrefour product ID. Product URLs are also accepted here. Pair with quantities to compute per-line basket totals.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "productUrls": {
                        "title": "🔗 Product URLs",
                        "type": "array",
                        "description": "Carrefour product URLs to scrape directly, equivalent to the 123webdata productUrls input.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "categoryUrls": {
                        "title": "📂 Category URLs",
                        "type": "array",
                        "description": "Carrefour category/search URLs. URLs with q/query/search become keyword searches; URLs with rayonId/filter=rayonId use Carrefour category filtering.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "startUrls": {
                        "title": "🔗 Start URLs",
                        "type": "array",
                        "description": "Paste Carrefour product, search or category URLs. Product URLs are scraped directly; search/category URLs build the matching query and supported Carrefour filters, including multi-select, range, delivery, category-path and boolean facets like filters[facet_promotions][0]=..., filters[facet_price][gte]=... and filters[product.categories...]=...",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "query": {
                        "title": "🔍 Search term(s)",
                        "type": "string",
                        "description": "Product search keywords. Use a single term like \"lait\" or paste a JSON array such as [\"lait\",\"pâtes\"]. Ignored when productIds/productUrls are supplied.",
                        "default": ""
                    },
                    "categories": {
                        "title": "🗂️ Category terms",
                        "type": "array",
                        "description": "Local category filter after fetch. Use terms such as \"Surgelés\", \"Lait\", or \"Crèmerie\".",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "rayonIds": {
                        "title": "🏷️ Carrefour rayon IDs",
                        "type": "array",
                        "description": "Advanced Carrefour category IDs used as API filters, e.g. 29298 for a specific milk subcategory.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "quantities": {
                        "title": "🔢 Basket quantities",
                        "description": "Optional per-product quantities. Accepts an object map like {\"3176571983008\": 2} or array pairs like [{\"gtin\":\"3176571983008\",\"qty\":2}].",
                        "default": {}
                    },
                    "maxResults": {
                        "title": "💯 Max results",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of product rows to push. Use 0 only when you intentionally want all products for the selected query/category.",
                        "default": 50
                    },
                    "maxResultsPerScrape": {
                        "title": "💯 Max results per scrape",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Compatibility alias for 123webdata/carrefour-scraper. If maxResults is not set, this value is used."
                    },
                    "usePagination": {
                        "title": "➡️ Use pagination",
                        "type": "boolean",
                        "description": "Whether to fetch additional pages after the first page for query/category runs.",
                        "default": true
                    },
                    "pageSize": {
                        "title": "📄 Page size",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Products requested per page.",
                        "default": 24
                    },
                    "priceMin": {
                        "title": "💰 € Min price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only emit products with price greater than or equal to this value."
                    },
                    "priceMax": {
                        "title": "💰 € Max price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only emit products with price less than or equal to this value."
                    },
                    "unitPriceMin": {
                        "title": "⚖️ Min unit price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only emit products with per-unit price greater than or equal to this value."
                    },
                    "unitPriceMax": {
                        "title": "⚖️ Max unit price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Only emit products with per-unit price less than or equal to this value."
                    },
                    "inStockOnly": {
                        "title": "📦 In stock only",
                        "type": "boolean",
                        "description": "Drop products flagged as unavailable.",
                        "default": false
                    },
                    "ingredientFilter": {
                        "title": "🥗 Ingredient filter",
                        "type": "string",
                        "description": "Case-insensitive substring filter on detailed ingredient text. Use a single term or JSON array of terms that all must match."
                    },
                    "sortBy": {
                        "title": "↕️ Sort by",
                        "enum": [
                            "price-asc",
                            "price-desc",
                            "unit-price-asc",
                            "unit-price-desc",
                            "line-asc",
                            "line-desc",
                            "name-asc",
                            "rating-desc"
                        ],
                        "type": "string",
                        "description": "Optional ordering before maxResults is applied."
                    },
                    "includeDetails": {
                        "title": "📋 Include product details",
                        "type": "boolean",
                        "description": "Fetch detail fields such as description, ingredients, nutrition, allergens, rating, weight and contact attributes. Enabled by default to match product-page scrapers.",
                        "default": true
                    },
                    "compact": {
                        "title": "📦 Compact output",
                        "type": "boolean",
                        "description": "Keep only the core product, price, availability, basket and image fields.",
                        "default": false
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude empty fields",
                        "type": "boolean",
                        "description": "Drop null, empty-string and empty-array fields from each record before push.",
                        "default": false
                    },
                    "descriptionFormat": {
                        "title": "📝 Description format",
                        "enum": [
                            "all",
                            "text",
                            "html",
                            "markdown"
                        ],
                        "type": "string",
                        "description": "Pick a single description representation.",
                        "default": "all"
                    },
                    "descriptionMaxLength": {
                        "title": "✂️ Description max length",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Truncate product description text after this many characters. Use 0 for no truncation.",
                        "default": 0
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental mode",
                        "type": "boolean",
                        "description": "Compare against previous runs for the same scope and emit changeType for new, updated, unchanged or expired products.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State key",
                        "type": "string",
                        "description": "Optional stable ID for the tracked search/basket universe. Leave empty to auto-generate from search inputs."
                    },
                    "emitUnchanged": {
                        "title": "📤 Emit unchanged",
                        "type": "boolean",
                        "description": "Include products with no detected change in incremental output.",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "🚮 Emit expired",
                        "type": "boolean",
                        "description": "Include products that disappeared since the previous run for the same state key.",
                        "default": false
                    },
                    "skipReposts": {
                        "title": "🚫 Skip reposts",
                        "type": "boolean",
                        "description": "When incremental mode is enabled, skip products whose content matches a prior expired row.",
                        "default": false
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify only new/updated",
                        "type": "boolean",
                        "description": "When incremental mode is enabled, only send notifications for changed products.",
                        "default": false
                    },
                    "notificationLimit": {
                        "title": "📊 Max products per notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of products included in each notification message.",
                        "default": 5
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram bot token",
                        "type": "string",
                        "description": "Telegram bot token from @BotFather."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL."
                    },
                    "whatsappAccessToken": {
                        "title": "📱 WhatsApp access token",
                        "type": "string",
                        "description": "WhatsApp Cloud API access token."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📞 WhatsApp phone number ID",
                        "type": "string",
                        "description": "WhatsApp Business phone-number ID."
                    },
                    "whatsappTo": {
                        "title": "📲 WhatsApp recipient",
                        "type": "string",
                        "description": "Recipient phone in E.164 format without +."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic webhook URL",
                        "type": "string",
                        "description": "Receives a JSON POST with {metadata, items} after each run."
                    },
                    "webhookHeaders": {
                        "title": "📋 Webhook headers",
                        "type": "object",
                        "description": "Optional JSON object of custom headers."
                    },
                    "appConnector": {
                        "title": "📤 Send results to Notion (or another connected app)",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings -> API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "🎫 Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
