Piloterr

Leroy Merlin Stores Finder

GET
/v2/finder/leroymerlin-stores

Search Leroy Merlin stores by name, city or postal code to retrieve their store ID, slug, address and store locator URL.

Authorization

ApiKeyAuth
headerx-api-key<token>

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

Query Parameters

query*string

Filters Leroy Merlin stores based on a search string. The search is non-case-sensitive and matches store names, cities, postal codes and store slugs.

Example:

balma
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.piloterr.com/v2/finder/leroymerlin-stores?query=string'
Example Response
[  {    "id": "110",    "url": "https://www.leroymerlin.fr/magasins/balma-toulouse.html",    "city": "Balma",    "name": "Balma - Toulouse",    "domain": "fr",    "address": "1 avenue Jean-René Lagasse, 31130 Balma",    "store_id": "110",    "store_slug": "balma-toulouse",    "postal_code": "31130",    "country_code": "FR"  }]