# Leroy Merlin API — live leroymerlin.fr data: product search and category listings with the offer shown per product (price incl./excl. VAT, crossed-out price, discount, seller, number of other marketplace offers, rating, reviews); one product in full with EVERY seller's offer, stock and delivery options, GTIN and specifications; customer reviews; stores near a French city; one product's stock in nearby stores. No login, no API key.

> Search leroymerlin.fr by keyword, with the site's sorts and filters. 48 products per page.
> ReefAPI engine `leroy-merlin` · 6 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/leroy-merlin/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/leroy-merlin/v1/search — 2 credits
Search leroymerlin.fr by keyword, with the site's sorts and filters. 48 products per page.

**Parameters:**
- `query` (string, required) — Search text as typed into leroymerlin.fr (French works best).
- `page` (integer, optional, default 1) — Result page, 48 grid slots per page. A keyword search is served at most 10 pages (numberOfPages 10 for a 1 203-product search); a page past the site's last page is NOT_FOUND.
- `sort` (enum, optional, default "relevance") — The site's three sorts. [one of: relevance, price_asc, price_desc]
- `sold_by_leroy_merlin` (boolean, optional, default false) — Only products sold by Leroy Merlin itself (the 'Vendu par Leroy Merlin' toggle; 171 of 1 203 for 'perceuse visseuse bosch').
- `price_min` (number, optional) — Minimum price incl. VAT, EUR.
- `price_max` (number, optional) — Maximum price incl. VAT, EUR.
- `min_rating` (enum, optional) — Customer rating floor (the site's 'Note des clients' filter). [one of: 4, 3]
- `filters` (object, optional) — Any filter the listing returns in data.filters, as {code: value or [values]} with the code and value exactly as returned (e.g. attribute-06575 = brand, attribute-00190 = voltage).
- `full_page` (boolean, optional, default true) — Also load the two lazy groups of the page (30 of the 48 products). false = the first 18 products only, one upstream request.
- `include_sponsored` (boolean, optional, default false) — Keep the paid placements the site puts inside its grid (flagged sponsored: true). Default false: they are removed and counted in sponsored_dropped.
- `store_id` (string, optional) — Leroy Merlin store number from `stores` (e.g. 117 = Tassin-la-Demi-Lune, Lyon). Listings and the product page then show that store's stock and 2-hour pickup, and the tile can switch to the offer available there.
- `latitude` (number, optional) — Latitude (metropolitan France).
- `longitude` (number, optional) — Longitude (metropolitan France).

**Returns:** data.products[]: product_id, name, brand, url, price, price_ex_vat, initial_price, discount_amount, discount_rate, discount_percent_computed, currency, rating, review_count, seller_name, seller_type (1P Leroy Merlin | 3P marketplace), seller_id, offer_id, offer_type, total_offer_count, other_offers_count, sellers_composition (1P_only | 3P_only | 1P_3P), sponsored, marketing_tag, image, availability_labels[], unit_price_text, position. data.total (the site's count), page, pages (max 10), has_more, filters[] {code, label, type, unit, values[] {value, count, selected}}, sorts[], search_type, query_corrected, lazy_groups_loaded, grid_size, sponsored_in_grid, sponsored_dropped, other_blocks_dropped, hub + subcategories[] (when the site answers with a category hub), redirected_to, store_id, query.

**Example request body:**
```json
{
  "query": "perceuse visseuse bosch",
  "full_page": false
}
```

### POST https://api.reefapi.com/leroy-merlin/v1/category — 2 credits
List one leroymerlin.fr category, same sorts and filters as search.

**Parameters:**
- `category` (string, required) — A leroymerlin.fr category URL or path under /produits/ (e.g. from a product's breadcrumb). Hub pages without a product grid answer NOT_FOUND.
- `page` (integer, optional, default 1) — Result page, 48 grid slots per page. Category pages are not capped at 10 (the electric-radiator category reports 42 pages); a page past the last is NOT_FOUND.
- `sort` (enum, optional, default "relevance") — The site's three sorts. [one of: relevance, price_asc, price_desc]
- `sold_by_leroy_merlin` (boolean, optional, default false) — Only products sold by Leroy Merlin itself (the 'Vendu par Leroy Merlin' toggle; 171 of 1 203 for 'perceuse visseuse bosch').
- `price_min` (number, optional) — Minimum price incl. VAT, EUR.
- `price_max` (number, optional) — Maximum price incl. VAT, EUR.
- `min_rating` (enum, optional) — Customer rating floor (the site's 'Note des clients' filter). [one of: 4, 3]
- `filters` (object, optional) — Any filter the listing returns in data.filters, as {code: value or [values]} with the code and value exactly as returned (e.g. attribute-06575 = brand, attribute-00190 = voltage).
- `full_page` (boolean, optional, default true) — Also load the two lazy groups of the page (30 of the 48 products). false = the first 18 products only, one upstream request.
- `include_sponsored` (boolean, optional, default false) — Keep the paid placements the site puts inside its grid (flagged sponsored: true). Default false: they are removed and counted in sponsored_dropped.
- `store_id` (string, optional) — Leroy Merlin store number from `stores` (e.g. 117 = Tassin-la-Demi-Lune, Lyon). Listings and the product page then show that store's stock and 2-hour pickup, and the tile can switch to the offer available there.
- `latitude` (number, optional) — Latitude (metropolitan France).
- `longitude` (number, optional) — Longitude (metropolitan France).

**Returns:** data.products[]: product_id, name, brand, url, price, price_ex_vat, initial_price, discount_amount, discount_rate, discount_percent_computed, currency, rating, review_count, seller_name, seller_type (1P Leroy Merlin | 3P marketplace), seller_id, offer_id, offer_type, total_offer_count, other_offers_count, sellers_composition (1P_only | 3P_only | 1P_3P), sponsored, marketing_tag, image, availability_labels[], unit_price_text, position. data.total, page, pages, has_more, filters[], sorts[], category.

**Example request body:**
```json
{
  "category": "https://www.leroymerlin.fr/produits/outillage/outillage-electroportatif/perceuse/perceuse-visseuse-sans-fil/"
}
```

### POST https://api.reefapi.com/leroy-merlin/v1/product — 3 credits
One Leroy Merlin product in full by id, EAN or URL, with every marketplace offer.

**Parameters:**
- `product` (string, required) — Leroy Merlin product id (the 8-digit number at the end of the URL), an EAN, or a leroymerlin.fr product URL.
- `store_id` (string, optional) — Leroy Merlin store number from `stores` (e.g. 117 = Tassin-la-Demi-Lune, Lyon). Listings and the product page then show that store's stock and 2-hour pickup, and the tile can switch to the offer available there.
- `latitude` (number, optional) — Latitude (metropolitan France).
- `longitude` (number, optional) — Longitude (metropolitan France).

**Returns:** data.product: product_id, gtin, name, brand, url, price, price_ex_vat, initial_price, discount_amount, discount_rate, discount_percent_computed, currency, rating, review_count, seller {seller_id, seller_name, seller_type, offer_id}, deliveries[] {type (homeDelivery | relayDelivery | storeDelivery), price, stock, stock_status, lead_time, lead_time_unit}, offer {…the shown offer}, other_offers[] {offer_id, seller_id, seller_name, seller_type, price, price_ex_vat, initial_price, discount_amount, discount_rate, offer_type, reconditioned_state, deliveries[]}, total_offer_count, sellers_composition, lowest_offer_price, description, specifications[] {name, value}, images[], image, breadcrumb[], number_pictures, number_videos, is_bundle, marketing_tag, ld_price, ld_availability, item_condition, reviews_preview[]. data.store_id.

**Example request body:**
```json
{
  "product": "83518467"
}
```

### POST https://api.reefapi.com/leroy-merlin/v1/reviews — 3 credits
Customer reviews of one product, 8 per page, with the site's four sorts.

**Parameters:**
- `product_id` (string, required) — Leroy Merlin product id (8 digits) or product URL.
- `page` (integer, optional, default 1) — Review page, 8 reviews per page (the site's page size).
- `sort` (enum, optional, default "newest") — Review order (the site's four sorts). [one of: newest, oldest, rating_desc, rating_asc]

**Returns:** data.reviews[]: review_id, author, author_level, rating, recommends, date, usage, title, text, text_translated, translated_title, syndicated, syndication_source, syndication_url, source_product_name (the product the review was written for — the site pools reviews across a product family), helpful_votes, unhelpful_votes, tester. data.page, pages, has_more.

**Example request body:**
```json
{
  "product_id": "83518467"
}
```

### POST https://api.reefapi.com/leroy-merlin/v1/stores — 1 credit
The 10 Leroy Merlin stores nearest a French city, postcode or point, nearest first.

**Parameters:**
- `location` (string, optional) — French city or postcode; the site's own place search picks the first match. Or give latitude + longitude.
- `latitude` (number, optional) — Latitude (metropolitan France).
- `longitude` (number, optional) — Longitude (metropolitan France).

**Returns:** data.stores[]: store_id, name, city, distance_km, open_now, opening_text, next_change, address, url. data.place {postal_code, city, latitude, longitude}.

**Example request body:**
```json
{
  "location": "Lyon"
}
```

### POST https://api.reefapi.com/leroy-merlin/v1/store_stock — 1 credit
One product's stock in the 10 stores nearest a city, postcode or point.

**Parameters:**
- `product_id` (string, required) — Leroy Merlin product id (8 digits) or product URL.
- `location` (string, optional) — French city or postcode; the site's own place search picks the first match. Or give latitude + longitude.
- `latitude` (number, optional) — Latitude (metropolitan France).
- `longitude` (number, optional) — Longitude (metropolitan France).

**Returns:** data.stores[]: store_id, name, city, distance_km, open_now, opening_text, stock_text (the site's own words, e.g. '28 en stock' or 'Commandez aujourd'hui en magasin'), stock_quantity, stock_status, url. data.place, data.product_id.

**Example request body:**
```json
{
  "product_id": "83518467"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=leroy-merlin
- Human docs page: https://reefapi.com/docs/leroy-merlin
- Overview page: https://reefapi.com/leroy-merlin-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
