Castorama API & Scraper
The Castorama API turns castorama.fr, the French DIY and home-improvement chain, into clean JSON across six actions: search, category, product, reviews, availability and stores.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
search takes a French keyword or an EAN and returns the site's own grid, 48 slots a page, with for every product its EAN, name, brand, model, URL, price with VAT, price without VAT, the struck-through 'was' price and saving when the site shows a promotion, the eco-participation, the rating and review count, the seller (Castorama itself or a marketplace partner, with the partner's seller and offer id), and whether it can be delivered, collected in 2 hours or bought in store. The six sorts of the site are available (relevance, best sellers, price up, price down, best rated, newest) and every facet the listing returns can be passed back as a filter; on 'visseuse makita 18v' (1,144 products) sold by Castorama returned 109, sold by partners 1,035, brand Makita 216 and a 50 to 100 EUR price band 98. Paid placements the site interleaves into the grid are removed by default and counted. product returns the full record by EAN or URL: the technical specification table, description, features, images, videos, manuals, delivery charge, the manufacturer contact the EU safety rules require, and the first reviews. reviews pages through the customer reviews with rating statistics. availability answers up to 50 EANs in one call, nationally or for one store, where it returns the stock count and the aisle and bay the product sits in. stores lists the store numbers. In a live check on 14 products in 10 categories, price, rating and review count matched the product page's own structured data 14 of 14, and every search EAN resolved to the identical product. No Castorama account, no browser, one ReefAPI key and the standard { ok, data, meta, error } envelope.
One store, three products: stock and where they sit
availability with store_id returns the store's stock count and the aisle and bay, for up to 50 EANs in one call. Measured on 2026-11-26 at Castorama Agen (store 1415).
| EAN | product | in store | stock | aisle / bay |
|---|---|---|---|---|
| 4053423232608 | Bosch EasyImpact 18V-40 drill, 2 × 2 Ah | InStock | 3 | 18 / 17 |
| 3165140840910 | Bosch Advanced Impact 900 W hammer drill | InStock | 2 | 19 / 2 |
| 8718699775490 | Philips 3 × LED E27 806 lm | NotStockedInStore | - | - |
The same three EANs at Castorama Bron (1437): 3 in stock, out of stock (0), not stocked. Without store_id the same call returns the national flags only (home delivery, 2-hour click and collect, in store). Prices are national: the product record was byte-identical with and without a store.
Real request and response JSON
Captured from the indexed primary action, search, on .
{
"method": "POST",
"url": "https://api.reefapi.com/castorama/v1/search",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"query": "visseuse makita 18v"
}
}{
"ok": true,
"meta": {
"api": "castorama",
"endpoint": "search",
"mode": "live",
"latency_ms": 2014.5,
"record_count": 48,
"bytes": 527776,
"cache_hit": false,
"upstream_requests": 1,
"charged_credits": 2,
"version": "0.1.0",
"request_id": "2b1a268335864b69",
"queue_ms": 1.1,
"fetched_at": "2026-11-26T19:26:29.820Z"
},
"data": {
"products": [
{
"ean": "5063022700407",
"name": "Perceuse visseuse à percussion sans fil Mac Allister 18V MCI1258COM 50Nm 1x2Ah + 74 accessoires",
"brand": "Mac Allister",
"model": "MCI1258COM",
"url": "https://www.castorama.fr/perceuse-visseuse-a-percussion-sans-fil-mac-allister-18v-mci1258com-50nm-1x2ah-74-accessoires/5063022700407_CAFR.prd",
"price": 49.9,
"price_ex_vat": 41.58,
"was_price": null,
"saving": null,
"discount_percent_computed": null,
"currency": "EUR",
"vat_rate": 20,
"eco_participation": 0.6,
"unit_of_measure": "À l'unité",
"unit_price": null,
"unit_price_unit": null,
"rating": 4.55,
"review_count": 20,
"seller_name": "Castorama",
"seller_type": "1P",
"seller_id": null,
"offer_id": null,
"product_status": "Available",
"purchasable": true,
"available_home_delivery": true,
"available_click_and_collect": true,
"available_in_store": true,
"fulfilment": {
"home_delivery": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_same_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_next_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_from_warehouse": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_marketplace": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_store_specific": false,
"in_store": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
}
},
"primary_category_id": "cat_id_0003518",
"primary_category": "Perceuse visseuse",
"merchandising_tags": [
"Quantité limitée"
],
"image": "https://media.castorama.fr/is/image/Castorama/perceuse-visseuse-a-percussion-sans-fil-mac-allister-18v-mci1258com-50nm-1x2ah-74-accessoires~5063022700407_07c?$MOB_PREV$&$width=1000&$height=1000",
"images": [
"https://media.castorama.fr/is/image/Castorama/perceuse-visseuse-a-percussion-sans-fil-mac-allister-18v-mci1258com-50nm-1x2ah-74-accessoires~5063022700407_07c?$MOB_PREV$&$width=1000&$height=1000"
],
"sponsored": false,
"position": 1
},
{
"ean": "4053423847987",
"name": "Perceuse-visseuse à percussion sans fil + 2 batteries-PBA 18V 2.5 Ah et chargeur, Bosch PSB18V-60",
"brand": "Bosch",
"model": "PSB18V-60 / 06039D7302",
"url": "https://www.castorama.fr/perceuse-visseuse-a-percussion-sans-fil-2-batteries-pba-18v-2-5-ah-et-chargeur-bosch-psb18v-60/4053423847987_CAFR.prd",
"price": 109.9,
"price_ex_vat": 91.58,
"was_price": 129.9,
"saving": 20,
"discount_percent_computed": 15.4,
"currency": "EUR",
"vat_rate": 20,
"eco_participation": 0.64,
"unit_of_measure": null,
"unit_price": null,
"unit_price_unit": null,
"rating": 5,
"review_count": 7,
"seller_name": "Castorama",
"seller_type": "1P",
"seller_id": null,
"offer_id": null,
"product_status": "Available",
"purchasable": true,
"available_home_delivery": true,
"available_click_and_collect": true,
"available_in_store": true,
"fulfilment": {
"home_delivery": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_same_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_next_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_from_warehouse": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_marketplace": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_store_specific": false,
"in_store": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
}
},
"primary_category_id": "cat_id_3795",
"primary_category": "Perceuse à percussion",
"merchandising_tags": [
"Black Friday"
],
"image": "https://media.castorama.fr/is/image/Castorama/perceuse-visseuse-a-percussion-sans-fil-2-batteries-pba-18v-2-5-ah-et-chargeur-bosch-psb18v-60~4053423847987_01c_FR_CF?$MOB_PREV$&$width=1000&$height=1000",
"images": [
"https://media.castorama.fr/is/image/Castorama/perceuse-visseuse-a-percussion-sans-fil-2-batteries-pba-18v-2-5-ah-et-chargeur-bosch-psb18v-60~4053423847987_01c_FR_CF?$MOB_PREV$&$width=1000&$height=1000"
],
"sponsored": false,
"position": 2
},
{
"ean": "5063022809766",
"name": "Visseuse placo sans charbon 18V Erbauer ERI1372DRS",
"brand": "Erbauer",
"model": "ERI1372DRS",
"url": "https://www.castorama.fr/visseuse-placo-sans-charbon-18v-erbauer-eri1372drs/5063022809766_CAFR.prd",
"price": 89.9,
"price_ex_vat": 74.92,
"was_price": null,
"saving": null,
"discount_percent_computed": null,
"currency": "EUR",
"vat_rate": 20,
"eco_participation": 0.61,
"unit_of_measure": "À l'unité",
"unit_price": null,
"unit_price_unit": null,
"rating": null,
"review_count": null,
"seller_name": "Castorama",
"seller_type": "1P",
"seller_id": null,
"offer_id": null,
"product_status": "Available",
"purchasable": true,
"available_home_delivery": true,
"available_click_and_collect": true,
"available_in_store": true,
"fulfilment": {
"home_delivery": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_same_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_next_day": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_from_warehouse": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_marketplace": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
},
"click_and_collect_store_specific": false,
"in_store": {
"availability": "[trimmed-depth]",
"message": "[trimmed-depth]"
}
},
"primary_category_id": "cat_id_0003519",
"primary_category": "Visseuse",
"merchandising_tags": [
"Accessoire offert*"
],
"image": "https://media.castorama.fr/is/image/Castorama/visseuse-placo-sans-charbon-18v-erbauer-eri1372drs~5063022809766_01c?$MOB_PREV$&$width=1000&$height=1000",
"images": [
"https://media.castorama.fr/is/image/Castorama/visseuse-placo-sans-charbon-18v-erbauer-eri1372drs~5063022809766_01c?$MOB_PREV$&$width=1000&$height=1000"
],
"sponsored": false,
"position": 3
}
],
"total": 1139,
"page": 1,
"page_size": 48,
"first_record": 1,
"last_record": 48,
"has_more": true,
"filters": [
{
"name": "Vendu par",
"type": "flat",
"values": [
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
},
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
}
]
},
{
"name": "Options de retrait",
"type": "flat",
"values": [
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
},
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
},
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
}
]
},
{
"name": "Type de produit",
"type": "flat",
"values": [
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
},
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
},
{
"value": "[trimmed-depth]",
"count": "[trimmed-depth]",
"selected": "[trimmed-depth]",
"range": "[trimmed-depth]"
}
]
}
],
"sorts": [
{
"value": "-product.relevance",
"label": "Pertinence",
"selected": true
},
{
"value": "product.best_seller",
"label": "Meilleures ventes",
"selected": false
},
{
"value": "-product.price",
"label": "Prix décroissants",
"selected": false
}
],
"category": null,
"breadcrumb": [],
"hub": false,
"subcategories": [],
"banners_dropped": 1,
"sponsored_count": 0,
"sponsored_dropped": 0,
"redirected_to": null,
"sort": "relevance",
"query": "visseuse makita 18v"
}
}What the Castorama API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| search | Search castorama.fr by keyword or EAN, with the site's sorts and facets. 48 grid slots per page. | Pricing teams call search to search castorama.fr by keyword or EAN, with the site's sorts and facets. | query, page, sort, sold_by, price_min, ... |
| category | List one castorama.fr category or landing page, same sorts and facets as search. | Marketplace operators call category to list one castorama.fr category or landing page, same sorts and facets as search.. | category, page, sort, sold_by, price_min, ... |
| product | One Castorama product in full by EAN or URL: prices, availability, specifications, seller, manuals, manufacturer contact, the first reviews. | Catalog enrichment teams call product to get one Castorama product in full by EAN or URL. | product |
| reviews | Customer reviews of one product (the site's Bazaarvoice feed), paged, with rating statistics. | Retail analysts call reviews to get customer reviews of one product (the site's Bazaarvoice feed), paged, with rating statistics.. | ean, page, limit, sort |
| availability | Stock and fulfilment for 1-50 EANs in one call: national flags, or one store's stock count with aisle and bay. | Pricing teams call availability to get stock and fulfilment for 1-50 EANs in one call. | eans, store_id, postal_code |
| stores | Castorama stores with the store_id the availability action takes (from the site's store sitemap). | Marketplace operators call stores to get castorama stores with the store_id the availability action takes (from the site's store sitem…. | query |
Call search from your stack
curl -X POST https://api.reefapi.com/castorama/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"visseuse makita 18v"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/castorama/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "visseuse makita 18v"
},
timeout=90,
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/castorama/v1/search", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"query": "visseuse makita 18v"
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.castorama.search with {"query":"visseuse makita 18v"}.Who uses this API and why
- Price monitoring against France's DIY chains: price, promo was-price and eco-participation per EAN, refreshed per call.
- Marketplace intelligence: which partner sellers list a product on castorama.fr, at what price, next to Castorama's own range.
- Store-level availability: stock count, aisle and bay for 50 EANs per call at any Castorama store.
- Catalogue enrichment: technical specifications, manuals, images and the GPSR manufacturer contact by EAN.
- Review analysis: paged customer reviews with rating, recommendation, reviewer level and experience date.
Questions developers ask before integrating
Which prices does the API return?
price is the price with VAT the page prints. price_ex_vat is the same price without VAT where the site publishes it (Castorama's own products; marketplace partners publish the VAT-inclusive price only, so it is null there, not estimated). was_price and saving are the site's own struck-through price and saving, present only when it shows a promotion: 22 of 47 rows on 'perceuse visseuse bosch', 9 of 48 on 'parquet chene'. discount_percent_computed is ours from the two prices. eco_participation is the eco-tax the site itemises, already inside the price.
Can I look a product up by EAN?
Yes. product takes an EAN or a castorama.fr URL; the EAN is Castorama's product id and every product URL ends with it. search with an exact EAN returns that one product. An EAN Castorama does not sell answers NOT_FOUND.
Is a row Castorama's own product or a marketplace offer?
seller_type says it: 1P for Castorama, 3P for a marketplace partner, with seller_name, seller_id and offer_id. On 'visseuse makita 18v' 109 of 1,144 products were sold by Castorama and 1,035 by partners.
Do the filters work?
Each was measured against the unfiltered total in the same run on 'visseuse makita 18v' (1,144): sold_by castorama 109, sold_by partners 1,035, facets {"Marque": "Makita"} 216, price 50 to 100 EUR 98, price 47 to 133 EUR 232. Any facet name and value returned in data.filters can be passed back in facets.
What about sponsored products?
The site interleaves paid placements into its grid, also into price-sorted lists. On the price-sorted first page of the drill category (cat_id_3796) there were 9 of them, plus 6 editorial tiles, on top of its 48 products. They are removed by default and counted in sponsored_dropped; include_sponsored=true returns them flagged sponsored: true. Editorial tiles are removed and counted in banners_dropped. A page returns 47 or 48 products.
What does store stock look like?
availability with a store_id returns, per EAN, in_store availability (InStock, NotStockedInStore, Stockable …), the quantity, the aisle and the bay, 2-hour click and collect with its quantity, and home delivery. Up to 50 EANs are answered in one request; 50 EANs at store 1415 took 1.1 s. An unknown store number answers NOT_FOUND.
How deep can I page?
48 slots a page, as far as the listing goes: page 42 of a 2,020-product category returned 47 products. A page past the last one answers NOT_FOUND with the total, not an empty success.
What happens when a search term is a whole department?
The site sends some terms to a landing page and the API follows it, saying so in redirected_to. A few land on a department hub that has no product grid ('meuble salle de bain'): the API then returns the hub's best sellers and its sub-categories, each of which can be listed with the category action.
What is the Castorama API?
Castorama API is a ReefAPI endpoint group for france's diy chain as json: search and categories with price, promo, eco-participation and seller, full products by ean, reviews, and store stock with aisle and bay. It returns live JSON through POST requests under /castorama/v1.
Is the Castorama API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. Castorama calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Castorama login or account?
No login to Castorama is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Castorama data?
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Castorama API use?
Castorama actions currently cost 1-2 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Castorama from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call castorama actions with the same key, credit pool and JSON envelope used by normal REST requests.