# Naturalia Scraper | Organic Grocery Prices & EANs (`ratatoskr/naturalia-scraper`) Actor

Scrape Naturalia (naturalia.fr) organic groceries: EAN barcode, price, brand, manufacturer, category, availability, image and description, as clean JSON. Whole catalogue, categories or search. No login.

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

## Pricing

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

## Naturalia Scraper | Organic Grocery Prices & EANs

Turn Naturalia's online organic catalogue into clean, structured JSON. Naturalia has been France's organic pioneer since 1973; this Actor reads its shop and returns one row per product, ready for a spreadsheet, a database or a price-monitoring pipeline.

### What you get

Every row carries:

- **EAN (barcode / gtin13)**: match the same product across shops and datasets
- **Price** in EUR, the price Naturalia shows online
- **Name, brand and manufacturer**
- **Category** (the product's own, most specific category) and **category path** (the full rayon path, from the top down)
- **Availability** (in stock / out of stock)
- **Product image** and **product-page URL**
- **Stable product id** and SKU, so rows line up run to run
- **Description** and the time it was scraped

Output is a flat JSON table: open it in the dataset tab, or pull it from the API in JSON, CSV, Excel or HTML.

### What you can scrape

- **The whole catalogue**: leave the inputs empty and the Actor walks every product.
- **One or more categories**: paste a category page URL from naturalia.fr, or the path after `naturalia.fr/`, like `epicerie-sucree/chocolats-bio` or a whole rayon like `boissons`. Top-level rayons include `epicerie-sucree`, `epicerie-salee`, `boissons`, `produits-frais`, `fruits-et-legumes`, `cave-et-boissons-alcoolisees`, `bebe` and `hygiene-beaute`.
- **Search terms**: get exactly the products Naturalia's own search returns for `cafe`, `chocolat`, `kombucha`, and so on.

**Max products per category or search term** applies to each category and each search term separately (and to the run as a whole for the whole catalogue): 100 by default, raise it to pull everything. A product found by two of your inputs is returned once.

When a run ends, its status message gives the count for every category and search term, and names any that returned nothing and why (for example a category path that does not exist on naturalia.fr).

### Why this Actor

- **No login, no store selection, no setup.** Paste a term or run it empty and go.
- **Fast and lightweight**: plain HTTP, no headless browser.
- **EAN on every product**, so your data joins cleanly to other grocery sources.
- **Honest runs**: the Actor tells you how many products each input returned and whether it reached the end of the list.

### Example uses

- Track organic-food prices over time
- Monitor a competitor's or supplier's assortment
- Build an organic-grocery price-comparison dataset
- Match products across retailers by EAN
- Feed a market-research or category-analysis model

### Input example

```json
{
  "categories": ["epicerie-sucree/chocolats-bio"],
  "searchTerms": ["cafe"],
  "maxItems": 20
}
```

### Output example

One row from the input example above:

```json
{
  "chain": "naturalia",
  "ean": "3483981902261",
  "name": "Chocolat Noir 75% Coco Passion 100g Bio",
  "brand": "TERRA ETICA",
  "manufacturer": "TERRA ETICA/CAFE MICHEL",
  "price": 4.2,
  "currency": "EUR",
  "availability": "InStock",
  "category": "Chocolat noir",
  "categoryPath": ["Epicerie sucrée", "Chocolats", "Chocolat noir"],
  "image": "https://media.naturalia.fr/media/catalog/product/cache/3686627cc6da0f71b11df40a697031d2/3/4/3483981902261.jpg",
  "url": "https://www.naturalia.fr/produit/chocolat-noir-coco-pass-100g",
  "query": "category:epicerie-sucree/chocolats-bio"
}
```

`category` is the product's own, most specific category, so products from one category page or search can carry different values (`Chocolat noir`, `Chocolat au lait`). `categoryPath` is its full path, and `query` names the category or search term that returned the row.

### Pricing

Pay per result: a small fixed start fee plus a per-product charge, with volume discounts the more you scrape. You only pay for the products you receive.

# Actor input Schema

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

Category page URLs from naturalia.fr, or the path after naturalia.fr/, such as epicerie-sucree/chocolats-bio or a whole rayon such as boissons. Top-level rayons include epicerie-sucree, epicerie-salee, boissons, produits-frais, fruits-et-legumes, cave-et-boissons-alcoolisees, bebe and hygiene-beaute. Leave empty, with no search terms, for the whole catalogue.

## `searchTerms` (type: `array`):

Only products the site's own search finds for these terms (e.g. cafe, chocolat, kombucha).

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

Stop after this many products for each category and each search term separately, or in total for the whole catalogue. Default 100; enter a higher number such as 100000 for everything.

## Actor input object example

```json
{
  "categories": [
    "cave-et-boissons-alcoolisees/bieres-bio"
  ],
  "maxItems": 100
}
```

# Actor output Schema

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

One row per product: EAN, name, brand, price, availability, category 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 = {
    "categories": [
        "cave-et-boissons-alcoolisees/bieres-bio"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("ratatoskr/naturalia-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 = {
    "categories": ["cave-et-boissons-alcoolisees/bieres-bio"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("ratatoskr/naturalia-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 '{
  "categories": [
    "cave-et-boissons-alcoolisees/bieres-bio"
  ],
  "maxItems": 100
}' |
apify call ratatoskr/naturalia-scraper --silent --output-dataset

```

## MCP server setup

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