Read one product from a Carrefour.fr product URL (/p/...). Pass that URL in query. The response is one flat object. The keys below stay in the same place on every product. A missing value is null, an empty list, or an empty review object. It is not a missing key.
GET https://api.piloterr.com/v2/carrefour/product?query=https://www.carrefour.fr/p/oeufs-de-caille-le-gaulois-3266980075934
GET https://api.piloterr.com/v2/carrefour/product?query=https://www.carrefour.fr/p/creme-fraiche-epaisse-legere-15-mg-bridelice-3155251205425
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Full product URL on www.carrefour.fr. A search URL or another website returns 400. |
These keys are always present, in this order. features is added only when the page has ingredients, a legal name, or a nutrition table.
| Field |
Type |
Description |
id |
string |
Barcode, same value as ean |
ean |
string |
Barcode from the page or the URL |
slug |
string |
Last segment of the product path |
brand |
string or null |
Brand from the product sheet |
image |
string or null |
Largest image. p_FORMAT is replaced by that size, usually 1500x1500 |
price |
string or null |
Price with a comma and the euro sign glued on, such as 3,79€ |
title |
string or null |
Product title |
currency |
string |
Always € on carrefour.fr |
packaging |
string or null |
Pack line, such as la boite de 18 |
categories |
array |
Each item is only id, slug, label, and level |
nutriscore |
string or null |
Letter A to E, or null |
more_offers |
object |
count (integer), best_offer_id (string or null), best_offer_price (number or null) |
price_float |
number or null |
Same price as a number |
short_title |
string or null |
Short title. Equals title when Carrefour does not split them |
business_type |
string or null |
Shop type, such as food |
is_best_seller |
boolean |
True only when Carrefour flags the product |
price_per_unit |
string or null |
Unit label, such as 0.21 € / U or 9.98 € / KG |
customer_reviews |
object |
count, rates, average. rates is null or a map of "1" to "5" |
price_per_unit_float |
number or null |
Numeric unit price |
price_per_unit_measure |
string or null |
Unit after the slash, such as U or KG |
price_per_unit_currency |
string or null |
€ when a unit price is present, otherwise null |
contact |
object |
consumer is Service consommateur. operator is Contact exploitant. Each has company_name, address, phone, email, and website. A blank line is null. Carrefour sometimes stores the consumer email in website. |
features |
object |
Omitted when empty. Possible keys: ingredients, nom_legal, valeurs_nutritionnelles |
id and ean are the barcode as a string. slug is the last path segment. The response does not include reviews_details. Another website returns 400. A page with no product returns 404.
- Track a grocery SKU price and its unit price on Carrefour.fr
- Store Nutriscore and nutrition rows for a food catalogue
- Keep the category path (
cremerie, then oeufs) next to the pack size
- Read the review count and the 1-to-5 rate map