# Auchan Scraper — French Grocery & Retail Products & Prices (`studio-amba/auchan-scraper`) Actor

Scrape products, prices, and availability from auchan.fr. Export to JSON, CSV, or Excel.

- **URL**: https://apify.com/studio-amba/auchan-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Auchan Scraper

Scrape grocery and household products from auchan.fr, one of France's largest supermarket and hypermarket chains. Search by keyword to collect product names, prices, brands, unit prices (€/kg), ratings, and stock for a specific store.

Auchan only shows prices once a store is selected. This scraper handles that for you: it selects a store for your postal code, then collects priced, in-stock products. You do not need an account, cookies, or any manual setup.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `searchQuery` | String | No | Keyword search in French (default: `"café"`) |
| `postalCode` | String | No | French postal code used to select a store (default: `"75001"`) |
| `maxResults` | Integer | No | Product limit (default: 100) |
| `fetchDetails` | Boolean | No | Follow each product page for brand and unit price (default: `true`) |
| `proxyConfiguration` | Object | No | Apify proxy settings (RESIDENTIAL + country FR recommended) |

### Output

| Field | Type | Example |
|-------|------|---------|
| `name` | String | `"Café moulu pur arabica Carte Noire"` |
| `brand` | String | `"CARTE NOIRE"` |
| `price` | Number | `5.89` |
| `currency` | String | `"EUR"` |
| `unitPrice` | String | `"27,05€/kg"` |
| `inStock` | Boolean | `true` |
| `rating` | Number | `4.5` |
| `priceValidUntil` | String | `"2027-06-24"` |
| `productId` | String | Internal Auchan product ID |
| `imageUrl` | String | Product image URL |
| `url` | String | Full product page URL |

```json
{
    "name": "Café moulu pur arabica Carte Noire 250g",
    "brand": "CARTE NOIRE",
    "price": 5.89,
    "currency": "EUR",
    "unitPrice": "23,56€/kg",
    "inStock": true,
    "rating": 4.5,
    "url": "https://www.auchan.fr/cafe-moulu-pur-arabica/pr-C1265119",
    "scrapedAt": "2026-06-24T10:00:00.000Z"
}
```

### How it works

1. Selects an Auchan store for your postal code so prices become visible.
2. Loads the search results page and reads each product card via schema.org microdata.
3. When `fetchDetails` is on, it follows each product page for brand and unit price.
4. Returns only priced, in-stock products. Out-of-stock-without-price means no store was selected — the scraper retries store selection once.

### Cost

HTTP-based scraping after a single store-selection step. About **$0.30 per 1,000 products** (a bit more with `fetchDetails` on, since each product page is a separate request).

### Limitations

- French-language content. Use French keywords for best results.
- Prices and stock are tied to the store selected for your postal code. Different postal codes can return different prices.
- SKU/EAN and review counts are not published in Auchan's product HTML, so they are not in the output.

### How to scrape Auchan data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Configure your search query or URL, set the maximum number of results, and adjust proxy settings if needed.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, Excel, or connect it to your workflow via API.

You can also schedule regular runs, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

### Tips and tricks

- **Start small**: test with `maxResults: 5` before running large scrapes.
- **Use proxies**: residential proxies give the best success rates for Auchan.
- **Schedule runs**: set up recurring runs to keep your data fresh automatically.
- **Integrate via API**: use the [Apify API](https://docs.apify.com/api) or [client libraries](https://docs.apify.com/api/client) to fetch results programmatically.
- **No login required**: this actor scrapes publicly available data without needing an account.

### Features

- **No login required** — scrapes publicly available data from Auchan without needing credentials or cookies.
- **Structured output** — results are returned as clean JSON objects, ready for processing.
- **Pagination handling** — automatically follows multiple pages of results.
- **Proxy support** — configurable proxy settings for reliable, large-scale scraping.
- **Flexible input** — search by keyword, provide specific URLs, or crawl categories.
- **Scheduled runs** — run on a schedule to keep your dataset up to date automatically.
- **API access** — integrate results into your workflow using the Apify API or webhooks.

### FAQ

**Is it legal to scrape Auchan?**
Web scraping of publicly available data is generally permitted. This actor only accesses information that is publicly visible to any website visitor. Always review the website's terms of service before scraping.

**How often should I run this scraper?**
For price monitoring or competitive intelligence, daily or weekly runs are common. Set up a [schedule](https://docs.apify.com/schedules) in Apify Console to automate this.

**Can I export the data to Google Sheets or Excel?**
Yes. After each run, you can download results in CSV, JSON, or Excel format directly from Apify Console. You can also connect results to Google Sheets using Apify integrations.

**What if the scraper stops working?**
Websites change their structure occasionally. If you notice issues, please open an issue on the actor's page. We actively maintain this scraper and fix issues promptly.

# Actor input Schema

## `searchQuery` (type: `string`):

Search term to look for products on auchan.fr (French keywords work best, e.g. 'café', 'chocolat').

## `postalCode` (type: `string`):

French postal code used to select a store. Auchan only shows prices once a store is selected (e.g. '75001' for Paris).

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

Maximum number of products to scrape.

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

Follow each product page to extract brand and unit price (€/kg). Slower but richer data.

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

Apify proxy configuration. Datacenter (automatic) works — auchan.fr has no anti-bot. For trickier sessions you can switch to RESIDENTIAL with country FR.

## Actor input object example

```json
{
  "searchQuery": "café",
  "postalCode": "75001",
  "maxResults": 5,
  "fetchDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "café",
    "postalCode": "75001",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/auchan-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 = {
    "searchQuery": "café",
    "postalCode": "75001",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/auchan-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 '{
  "searchQuery": "café",
  "postalCode": "75001",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call studio-amba/auchan-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/auchan-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/qSp7aOh4h24OioOXr/builds/E1ZxTsyVO2uejb6BC/openapi.json
