# Intermarché Scraper | French Grocery Prices & Products (`ratatoskr/intermarche-scraper`) Actor

Scrape every product in an Intermarché store's online catalogue: name, brand, EAN barcode, unit price, pack size and image, as clean JSON. Prices are per store, so pick a store by id or find one by city or postcode, and every row names its store. About 10,000 products per store, no login.

- **URL**: https://apify.com/ratatoskr/intermarche-scraper.md
- **Developed by:** [ratatoskr](https://apify.com/ratatoskr) (community)
- **Stats:** 3 total users, 2 monthly users, 70.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.50 / 1,000 products

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

## Intermarché Scraper | French Grocery Prices & Products

Scrape a whole Intermarché store's online grocery catalogue in one run: one row per product
with name, brand, **EAN barcode**, **unit price**, pack size and image, as clean JSON.
Intermarché prices and availability are **per store**, so you choose the store and every row
carries the store it came from.

### What you get

- The full catalogue, roughly **10,000 products per store**. A run stops at 100 products per store
  unless you set a higher limit.
- Per product: name, brand, EAN (barcode), unit price, currency, pack size (capacity unit and
  volume), image, description, sponsored flag, product id and last-updated date.
- Direct structured JSON, paged to the end: no missing rows, no HTML scraping.

### Choosing a store

Prices differ between stores, so a run targets specific stores:

- **Know the store id?** Put it in **Store IDs** (e.g. `6555`).
- **Don't know it?** Put a city or postcode in **Store search** and run it. You get back the
  matching stores and their ids, and this costs nothing. Copy the one you want into **Store
  IDs** and run again.

Every product row includes **storeName** and **storeAddress**, so you always know exactly
which store a price belongs to.

### Input

| Field | What it does |
|-------|--------------|
| `storeIds` | Store references to scrape, e.g. `6555`. One or more. |
| `storeSearch` | A city or postcode to look up store ids (free), instead of scraping. |
| `maxItemsPerStore` | Products per store. Default 100; enter a higher number such as `100000` for the whole catalogue. |
| `productIds` | Optional: fetch only these product ids. |
| `maxStoresFound` | Cap on stores returned by Store search (default 100). |

### Example output

```json
{
  "chain": "Intermarché",
  "storeExtId": "6555",
  "storeName": "Lille",
  "storeAddress": "89 - 95 rue Nationale  , 59000, France",
  "posId": "4595",
  "extId": "138768234",
  "name": "Blended scotch whisky classic black 40°",
  "brand": "Label 5",
  "ean": "03147690051107",
  "price": 19.47,
  "currency": "EUR",
  "capacityUnit": "l",
  "capacityVolume": 1,
  "image": "https://cdn.intermarche.com/fr/Content/images/pim/03147690051107/fc82bc98ecac4125a70818600c561cbe.png",
  "promoted": false,
  "sponsored": false,
  "status": "ACTIVE"
}
```

### Pricing

Pay per result: **$17 per 1,000 products**. Store lookups via **Store search** are
free, and nothing is charged for stores or products that cannot be found.

# Actor input Schema

## `storeIds` (type: `array`):

Intermarché store references (the store id on intermarche.com, e.g. 6555 for Lille). Prices and availability are per store, so pick the store(s) you want. Optional if you use Store search instead. Multiple stores are scraped in turn.

## `storeSearch` (type: `string`):

A city or postcode. Run with this and no Store IDs to list matching stores and their IDs (free); then copy a store's extId into Store IDs to scrape its catalogue.

## `maxStoresFound` (type: `integer`):

When using Store search, stop after this many matching stores.

## `maxItemsPerStore` (type: `integer`):

Stop after this many products per store. Default 100, so a first run is quick and cheap. For the whole catalogue (~10,000 per store), enter a higher number such as 100000.

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

Fetch only these product IDs (the product's ext-id) instead of the whole catalogue.

## `language` (type: `string`):

Language for product names (e.g. fr, nl). Belgium is bilingual; default is French.

## Actor input object example

```json
{
  "storeIds": [
    "6555"
  ],
  "maxStoresFound": 100,
  "maxItemsPerStore": 100,
  "language": "fr"
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product: name, brand, EAN, unit price, pack size and image.

# 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 = {
    "storeIds": [
        "6555"
    ],
    "maxItemsPerStore": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("ratatoskr/intermarche-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 = {
    "storeIds": ["6555"],
    "maxItemsPerStore": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("ratatoskr/intermarche-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 '{
  "storeIds": [
    "6555"
  ],
  "maxItemsPerStore": 100
}' |
apify call ratatoskr/intermarche-scraper --silent --output-dataset

```

## MCP server setup

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