# Castorama API — live castorama.fr data: product search and category listings with price, promo 'was' price, eco-participation, brand, rating, seller (Castorama or marketplace partner) and delivery / click & collect / in-store availability; one product in full by EAN or URL with technical specifications; customer reviews; store stock with aisle and bay for up to 50 EANs per call; the store list. No login, no API key.

> Search castorama.fr by keyword or EAN, with the site's sorts and facets. 48 grid slots per page.
> ReefAPI engine `castorama` · 6 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/castorama/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/castorama/v1/search — 2 credits
Search castorama.fr by keyword or EAN, with the site's sorts and facets. 48 grid slots per page.

**Parameters:**
- `query` (string, required) — Search text as typed into castorama.fr (French works best). An exact EAN returns that one product; a term the site maps to a landing page ('perceuse') returns that page's listing and says so in data.redirected_to.
- `page` (integer, optional, default 1) — Result page, 48 grid slots per page (the site's own page size; editorial tiles and, by default, sponsored tiles are removed from those slots). Deep pages work: page 42 of a 2 020-product category returned 47 products. A page past the last one is NOT_FOUND.
- `sort` (enum, optional, default "relevance") — The site's six sorts. [one of: relevance, best_sellers, price_asc, price_desc, rating_desc, newest]
- `sold_by` (enum, optional) — The 'Vendu par' facet: Castorama's own range or marketplace partner offers. [one of: castorama, partners]
- `price_min` (number, optional) — Minimum price incl. VAT in EUR (the site's 'Prix' facet).
- `price_max` (number, optional) — Maximum price incl. VAT in EUR (the site's 'Prix' facet).
- `facets` (object, optional) — Any facet the listing returns in data.filters, as {facet name: value or [values]} with the names and values exactly as returned, e.g. {"Marque": "Bosch", "Options de retrait": "Drive 2h"}.
- `include_sponsored` (boolean, optional, default false) — Keep the paid placements the site interleaves into the grid (flagged sponsored: true). Default false: they are removed and counted.

**Returns:** data.products[]: ean, name, brand, model, url, price, price_ex_vat, was_price, saving, discount_percent_computed, currency, vat_rate, eco_participation, unit_of_measure, unit_price, rating, review_count, seller_name, seller_type (1P Castorama | 3P marketplace), seller_id, offer_id, product_status, purchasable, available_home_delivery, available_click_and_collect, available_in_store, fulfilment {home_delivery, click_and_collect_same_day, click_and_collect_next_day, in_store …}, primary_category_id, primary_category, merchandising_tags[], image, images[], sponsored, position. data.total (the site's count), page, page_size, first_record, last_record, has_more, filters[] {name, type, values[] {value, count, selected, range}}, sorts[], category (when the term lands on a category page), breadcrumb[], redirected_to (the page the site redirected the term to, or null), banners_dropped, sponsored_count, sponsored_dropped, query.

**Example request body:**
```json
{
  "query": "visseuse makita 18v"
}
```

### POST https://api.reefapi.com/castorama/v1/category — 2 credits
List one castorama.fr category or landing page, same sorts and facets as search.

**Parameters:**
- `category` (string, required) — A castorama.fr category URL or path ending in .cat (category pages `…/cat_id_<n>.cat` and landing pages `…-dyn.cat`), e.g. from a product's breadcrumb or a search's data.breadcrumb.
- `page` (integer, optional, default 1) — Result page, 48 grid slots per page (the site's own page size; editorial tiles and, by default, sponsored tiles are removed from those slots). Deep pages work: page 42 of a 2 020-product category returned 47 products. A page past the last one is NOT_FOUND.
- `sort` (enum, optional, default "relevance") — The site's six sorts. [one of: relevance, best_sellers, price_asc, price_desc, rating_desc, newest]
- `sold_by` (enum, optional) — The 'Vendu par' facet: Castorama's own range or marketplace partner offers. [one of: castorama, partners]
- `price_min` (number, optional) — Minimum price incl. VAT in EUR (the site's 'Prix' facet).
- `price_max` (number, optional) — Maximum price incl. VAT in EUR (the site's 'Prix' facet).
- `facets` (object, optional) — Any facet the listing returns in data.filters, as {facet name: value or [values]} with the names and values exactly as returned, e.g. {"Marque": "Bosch", "Options de retrait": "Drive 2h"}.
- `include_sponsored` (boolean, optional, default false) — Keep the paid placements the site interleaves into the grid (flagged sponsored: true). Default false: they are removed and counted.

**Returns:** data.products[]: ean, name, brand, model, url, price, price_ex_vat, was_price, saving, discount_percent_computed, currency, vat_rate, eco_participation, unit_of_measure, unit_price, rating, review_count, seller_name, seller_type (1P Castorama | 3P marketplace), seller_id, offer_id, product_status, purchasable, available_home_delivery, available_click_and_collect, available_in_store, fulfilment {home_delivery, click_and_collect_same_day, click_and_collect_next_day, in_store …}, primary_category_id, primary_category, merchandising_tags[], image, images[], sponsored, position. data.total, page, page_size, has_more, filters[], sorts[], category {name, path, category_ref}, breadcrumb[], banners_dropped, sponsored_dropped.

**Example request body:**
```json
{
  "category": "https://www.castorama.fr/outillage/outillage-electroportatif/perceuse-visseuse-perceuse-a-percussion-et-tournevis-sans-fil/cat_id_3796.cat"
}
```

### POST https://api.reefapi.com/castorama/v1/product — 2 credits
One Castorama product in full by EAN or URL: prices, availability, specifications, seller, manuals, manufacturer contact, the first reviews.

**Parameters:**
- `product` (string, required) — An EAN (8-14 digits, Castorama's product id) or a castorama.fr product URL ending in _CAFR.prd.

**Returns:** data.product: ean, name, brand, model, url, price, price_ex_vat, was_price, saving, discount_percent_computed, currency, vat_rate, eco_participation, unit_of_measure, unit_price, rating, review_count, seller_name, seller_type (1P Castorama | 3P marketplace), seller_id, offer_id, product_status, purchasable, available_home_delivery, available_click_and_collect, available_in_store, fulfilment {home_delivery, click_and_collect_same_day, click_and_collect_next_day, in_store …}, primary_category_id, primary_category, merchandising_tags[], image, images[], sponsored, position + short_name, description, feature_summary, features[], info_bullets[], specifications[] {name, value}, videos[], category_ids[], category_names[], breadcrumb[], manuals[], spare_parts, delivery_charge, delivery_charge_above_threshold, delivery_free_threshold, sunday_delivery, legal_notices[], promotions[], manufacturer {name, address, postal_code, city, country, email, safety_documents[]}, sap_hierarchy, multi_skus[], bundle_components[], reviews_preview[] (the first reviews the page shows), bundle_products[].

**Example request body:**
```json
{
  "product": "4053423232608"
}
```

### POST https://api.reefapi.com/castorama/v1/reviews — 1 credit
Customer reviews of one product (the site's Bazaarvoice feed), paged, with rating statistics.

**Parameters:**
- `ean` (string, required) — The product's EAN (as returned in search rows).
- `page` (integer, optional, default 1) — Review page.
- `limit` (integer, optional, default 30) — Reviews per page (the review service accepts up to 100).
- `sort` (enum, optional, default "newest") — Review order. [one of: newest, oldest, rating_desc, rating_asc, helpful]

**Returns:** data.reviews[]: review_id, product_id, rating, title, text, author, author_level, submitted_at, experience_date, recommends, is_recommended, helpful_votes, unhelpful_votes, syndicated, syndication_source, photos[], client_responses[], locale, campaign. data.total, page, limit, has_more, statistics {average_rating, review_count, recommended_count, rating_distribution}.

**Example request body:**
```json
{
  "ean": "4053423232608"
}
```

### POST https://api.reefapi.com/castorama/v1/availability — 1 credit
Stock and fulfilment for 1-50 EANs in one call: national flags, or one store's stock count with aisle and bay.

**Parameters:**
- `eans` (array, required) — 1 to 50 EANs, answered in ONE upstream request.
- `store_id` (string, optional) — Castorama store number from the `stores` action (e.g. 1415 = Agen). With it the answer carries that store's stock count, aisle and bay; without it the national availability flags only.
- `postal_code` (string, optional) — French postcode for location-specific home-delivery availability.

**Returns:** data.availability[]: ean, store_id, in_store {availability (InStock | NotStockedInStore | Stockable …), quantity, aisle, bay}, click_and_collect_2h {availability, message, quantity}, click_and_collect_warehouse, click_and_collect_marketplace, home_delivery. data.stores[] {store_id, name, store_type, click_and_collect_same_day, click_and_collect_next_day}. data.not_returned[] (EANs the site did not answer for).

**Example request body:**
```json
{
  "eans": [
    "4053423232608"
  ],
  "store_id": "1415"
}
```

### POST https://api.reefapi.com/castorama/v1/stores — 1 credit
Castorama stores with the store_id the availability action takes (from the site's store sitemap).

**Parameters:**
- `query` (string, optional) — Optional filter on the store's city / slug.

**Returns:** data.stores[]: store_id, slug, city, other_slugs[]. data.total.

**Example request body:**
```json
{
  "query": "lyon"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=castorama
- Human docs page: https://reefapi.com/docs/castorama
- Overview page: https://reefapi.com/castorama-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
