Piloterr

E.Leclerc Suggest

GET
/v2/eleclerc/suggest

Get instant product autocomplete suggestions from E.Leclerc for a given keyword or EAN.

Credit cost: 1 credit per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

Search term or EAN to get product suggestions for.

Accepted input types:

  • keyword: partial product name or category (e.g. pomme)
  • EAN: full product barcode (e.g. 9782330149635)

Example:

pomme

Notes:

  • Returns up to 6 autocomplete suggestions matching the query.
  • Each suggestion includes the product URL, slug, title, subtitle (author/brand), and image URL.
  • This endpoint mirrors the E.Leclerc website autocomplete search box.

Response Body

Successful response

application/json
  1. response
results?array<>
Example Request
curl -X GET 'https://api.piloterr.com/v2/eleclerc/suggest?query=string'
Example Response
{  "results": [    {      "url": "https://www.e.leclerc/fp/la-pomme-et-d-autres-fruits-jeunesse-9782070616480",      "slug": "/fp/la-pomme-et-d-autres-fruits-jeunesse-9782070616480",      "title": "La pomme et d'autres fruits (Jeunesse)",      "subtitle": "Pierre-Marie Valat, Pascale de Bourgoing",      "image_url": "https://media.e.leclerc/LEN/fp/9782070616480_1?vh=e07014"    },    {      "url": "https://www.e.leclerc/fp/la-pomme-relie-9782925347477",      "slug": "/fp/la-pomme-relie-9782925347477",      "title": "La pomme (Relié)",      "subtitle": "Anne Derenne",      "image_url": "https://media.e.leclerc/LEN/fp/9782925347477_1?vh=0796ab"    },    {      "url": "https://www.e.leclerc/fp/la-pomme-jeunesse-9782408007973",      "slug": "/fp/la-pomme-jeunesse-9782408007973",      "title": "La pomme (Jeunesse)",      "subtitle": "Charlotte Ameling, Paule Battault",      "image_url": "https://fgellaobb.filerobot.com/LEN/fp/9782408007973_1?vh=c622ce"    }  ]}