E.Leclerc Product
Retrieve detailed product information from E.Leclerc by EAN or product URL, including price, stock, brand, and environmental cost.
Credit cost: 1 credit per call
Autorisierung
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Abfrageparameter
query*string
E.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?string
ID of the specific E.Leclerc store to fetch the product from.
Get the store_id from the E.Leclerc Stores API.
Example:
1631Notes:
- If omitted, the product data is fetched from the national online store.
- Use a store ID to retrieve local pricing and stock for a specific physical location.
Antworttext
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/eleclerc/product?query=string"{ "ean": "3564700201442", "brand": "RUSTICA", "image": "https://fgellaobb.filerobot.com/3564700201442", "offer": { "price": { "price": 1.14, "availability_status": "En stock", "offer_availability_status": "in-stock" }, "elected_offer": { "slug": "fp/jus-de-citron-de-sicile-2-x-125-ml-rustica-3564700201442?offerId=s-3564700201442", "stock": 1, "shop_id": "Leclerc", "shop_name": "E.Leclerc", "offer_type": "leclerc_national", "national_offer_id": "s-3564700201442" }, "cnc_offers_count": 1 }, "title": "Jus de citron de Sicile - 2 x 125 ml - RUSTICA", "data_layer": { "id": "3564700201442", "ean": "3564700201442", "name": "Jus de citron de Sicile - 2 x 125 ml - RUSTICA", "price": "1.14", "vendor": "E.Leclerc", "in_stock": true }, "rating_count": 37, "rating_average": 3.027, "environmental_cost": { "label": "411 points d'impact - 1619 pts / kg", "impact_points": 411, "points_per_kg": 1619 }}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}