Skip to main content
Piloterr
Back to library

Castorama Product API

Read one Castorama product from its URL. You get price, brand, and specifications.

Active1 credit = 1 requestGET/v2/castorama/product

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Castorama product page on www.castorama.fr.

query is a product URL ending in _CAFR.prd. The response is one flat object: EAN, name, brand, description, price, stock flag from the offer, rating, images and the specification table.

A keyword, a /search URL or a .cat URL returns 400.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/castorama/product?query=https://www.castorama.fr/mastic-bain-et-cuisine-rubson-blanc-280ml/5410091628840_CAFR.prd

queryLink to query

Example (product URL):

https://www.castorama.fr/mastic-bain-et-cuisine-rubson-blanc-280ml/5410091628840_CAFR.prd

query is required. Only www.castorama.fr is accepted.

Form Example What happens
Product URL https://www.castorama.fr/mastic-bain-et-cuisine-rubson-blanc-280ml/5410091628840_CAFR.prd Product page. The path must end with _CAFR.prd.

A keyword returns 400. A search URL or a category URL returns 400. Another host returns 400. An empty value returns 400.

ParametersLink to Parameters

Parameter Type Required Description
query string yes Product URL ending in _CAFR.prd

Response fieldsLink to Response fields

Field Type Description
ean string | null GTIN-13
name string Product name
url string Canonical product URL
brand string | null Brand from the Marque row
description string | null Product description
price number | null Offer price in euros
price_display string | null Price as shown
was_price number | null Crossed-out price when the page shows one
was_price_display string | null Crossed-out price as shown
currency string | null EUR
in_stock boolean | null True when the offer availability is InStock
rating number | null Average rating out of 5
review_count integer | null Number of reviews
images string[] Image URLs
specifications array Rows { name, value } from the specification table

NotesLink to Notes

was_price is the crossed-out price on the card. It is null when the page shows only the current price. price stays the current price. Cards outside the product list are ignored, and a repeated product URL is returned once. A broad keyword can redirect to a guide without products (scie, joint) and then returns 404. Pass the category .cat URL instead. in_stock follows the schema.org offer (InStock), not a store lookup. The site asks for a postcode for shop availability. brand is the Marque row of the specification table. images are media.castorama.fr URLs, without the resize query string. A page without a Product JSON-LD block returns 404.

Main use casesLink to Main use cases

  • Open the product a search card pointed to
  • Store the shelf price
  • Pull specs into a trade catalogue

Error codesLink to Error codes

Code Meaning
400 Empty query, unknown host, or a listing URL
403 Blocked
404 Product page not found
500 Fetch failed

Castorama Search

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included