E.Leclerc Product
GET
Read one E.Leclerc product by EAN or product URL. Pass store_id to get that store's price and stock. Another store returns a different price and stock.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringE.Leclerc product EAN or product page URL.
Examples:
3564700201442https://www.e.leclerc/fp/jus-de-citron-de-sicile-2-x-125-ml-rustica-3564700201442Notes:
- Accepts a 13-digit EAN or a full
www.e.leclerc/fp/...URL. Extra query params (srsltid,offerId) are ignored. - If no
store_idis provided, the product is looked up on the national online store. - When available,
environmental_costreturns ADEME impact points (Coût environnemental).
store_id?stringE.Leclerc store sign code. This selects that store's price and stock.
Examples:
101718331017 is Marennes. 1833 is Coutras. The same EAN can be in stock in one store and unavailable in the other.
Successful response
application/json- response
ean?stringbrand?stringimage?stringoffer?title?stringdata_layer?rating_count?integerrating_average?integercurl -X GET 'https://api.piloterr.com/v2/eleclerc/product?query=string'Example Response
{ "ean": "5702016367676", "brand": "Lego®", "image": "https://media.e.leclerc/5702016367676_1", "offer": { "price": { "price": 39.9, "availability_status": "En stock", "offer_availability_status": "in-stock" }, "elected_offer": { "slug": "fp/lego-duplo-rescue-la-caserne-de-pompiers-10903-5702016367676?offerId=m-5702016367676-1017", "stock": 1, "shop_id": "10171011", "shop_name": "E.Leclerc MARENNES", "offer_type": "leclerc_store", "national_offer_id": "m-5702016367676-1017" }, "cnc_offers_count": 1 }, "title": "Lego® Duplo® Rescue - La Caserne De Pompiers - 10903", "data_layer": { "id": "5702016367676", "ean": "5702016367676", "name": "Lego® Duplo® Rescue - La Caserne De Pompiers - 10903", "price": "39.90", "vendor": "E.Leclerc MARENNES", "in_stock": true }, "rating_count": 3, "rating_average": 5}