Discover/Leroy Merlin API
live

Leroy Merlin APIleroymerlin.pt

Access Leroy Merlin Portugal product listings, prices, specs, categories, and DIY workshop schedules via a structured JSON API with 5 endpoints.

This API takes change requests — .
Endpoint health
verified 4d ago
get_product_details
get_product_categories
get_workshop_details
search_products
get_workshops
5/5 passing latest checkself-healing
Endpoints
5
Updated
28d ago

What is the Leroy Merlin API?

The Leroy Merlin Portugal API provides 5 endpoints covering product search, detailed product data, category navigation, and DIY workshop listings from leroymerlin.pt. The search_products endpoint accepts a keyword and returns up to 30 items per query with name, price, rating, SKU, image, and URL. Workshop data includes per-store schedules with store name, day, and time, making it useful for both catalog integration and event planning workflows.

Try it
Search keyword (e.g. 'martelo', 'tinta', 'pavimento')
api.parse.bot/scraper/2fdc2f1f-164a-408a-9e84-325d1face053/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2fdc2f1f-164a-408a-9e84-325d1face053/search_products?query=tinta' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace leroymerlin-pt-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.leroy_merlin_portugal_api import LeroyMerlin, Product, ProductDetail, Workshop, WorkshopDetail, WorkshopSession, Category

client = LeroyMerlin()

# Search for products
for product in client.products.search(query="tinta"):
    print(product.name, product.price, product.url)
    # Get full details for the first product
    detail = product.details.get()
    print(detail.description, detail.reference)
    for spec_key, spec_value in detail.specifications.items():
        print(spec_key, spec_value)
    break

# List workshops and get details
for workshop in client.workshops.list():
    print(workshop.title, workshop.date)
    info = workshop.details.get()
    print(info.description)
    for session in info.agenda:
        print(session.loja, session.dia, session.hora)
    break

# Browse categories
for category in client.categories.list():
    print(category.name, category.url)
All endpoints · 5 totalmissing one? ·

Search for products by keyword on leroymerlin.pt. Returns the first page of product listings with name, price, rating, URL, image, and SKU. Pagination is not supported; results are limited to the first page (~18-30 items).

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g. 'martelo', 'tinta', 'pavimento')
Response
{
  "type": "object",
  "fields": {
    "count": "integer total number of products returned",
    "products": "array of product objects with name, price, rating, url, image, and sku fields"
  },
  "sample": {
    "data": {
      "count": 18,
      "products": [
        {
          "sku": "",
          "url": "https://www.leroymerlin.pt/produtos/tinta-de-interior-anti-fungos-mate-branco-15-l-tecknik-pro3-dyrup-78931604.html",
          "name": "Tinta de interior anti-fungos mate branco 15 L Tecknik Pro3 Dyrup",
          "image": "https://media.adeo.com/media/5529474/media.png?width=100",
          "price": "59,99 €",
          "rating": "(37)"
        }
      ]
    },
    "status": "success"
  }
}

About the Leroy Merlin API

Product Search and Details

The search_products endpoint accepts a required query string (e.g. 'tinta', 'martelo', 'pavimento') and returns a products array with name, price, rating, url, image, and sku fields, plus a count integer. Results are limited to the first page of listings — roughly 18 to 30 items — and pagination is not supported. To retrieve the full specification set for a specific item, pass its URL to get_product_details, which returns name, price, images (array), reference, description, and a specifications object containing key-value pairs parsed from the product page.

Category Navigation

get_product_categories requires no input parameters and returns a categories array of objects with name and url fields sourced from the site's main navigation. These cover top-level departments and featured subcategories, giving you a map of the catalog structure you can use to build browse interfaces or seed further searches.

DIY Workshop Listings and Schedules

get_workshops returns an array of upcoming workshop objects with title, url, and date fields — no parameters required. For deeper data, get_workshop_details accepts a workshop url and returns the title, a description of what participants will learn, an info object containing metadata such as duração (duration), dificuldade (difficulty level), and preço (price), and an agenda array where each entry specifies loja (store location), dia (day), and hora (time). This makes it straightforward to surface session availability across different store branches.

Reliability & maintenanceVerified

The Leroy Merlin API is a managed, monitored endpoint for leroymerlin.pt — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when leroymerlin.pt changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official leroymerlin.pt API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a price comparison tool for Portuguese hardware and home improvement products using price and sku fields from search_products.
  • Sync a product catalog with descriptions and technical specifications by chaining search_products with get_product_details.
  • Display upcoming Leroy Merlin DIY workshops with dates and store locations using get_workshops and get_workshop_details.
  • Generate a store-by-store event calendar using the agenda array from get_workshop_details, filtered by loja.
  • Populate a category navigation menu or sitemap using names and URLs from get_product_categories.
  • Monitor product ratings over time using the rating field returned by search_products for a given keyword.
  • Aggregate product images for a visual search or catalog app using the images array from get_product_details.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Leroy Merlin Portugal have an official developer API?+
Leroy Merlin Portugal does not publish a public developer API. There is no documented REST or GraphQL interface available to third-party developers on leroymerlin.pt.
How many results does `search_products` return, and can I paginate through them?+
The endpoint returns the first page of results, typically between 18 and 30 products depending on the query. Pagination is not supported, so only that initial set is accessible per call. The response includes a count field indicating how many products were returned.
Does `get_workshop_details` return session availability for all Leroy Merlin Portugal stores?+
The agenda array includes all sessions listed on the individual workshop page, each with a loja (store name), dia (day), and hora (time). Coverage reflects only what is scheduled and published on that specific workshop's page at the time of the request.
Does the API expose stock availability or inventory levels for products?+
Not currently. The product endpoints cover name, price, rating, sku, description, images, and specifications, but do not include stock status or in-store inventory counts. You can fork this API on Parse and revise it to add an endpoint targeting product availability data.
Are product reviews or user-submitted ratings beyond the summary score accessible?+
The search_products endpoint returns a summary rating field per product, but individual review text, review counts, or reviewer details are not returned by any endpoint. You can fork this API on Parse and revise it to add a review-detail endpoint if that data is needed.
Page content last updated . Spec covers 5 endpoints from leroymerlin.pt.
Related APIs in EcommerceSee all →
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
continente.pt API
Browse and retrieve product data from Continente.pt, Portugal's leading supermarket chain. Search by keyword, browse categories, fetch full product details including nutritional info, and access current promotions and new arrivals.
manomano.fr API
Search ManoMano.fr products by keyword and browse listings with prices, brands, images, and product URLs.
menards.com API
Search Menards' complete product catalog across lumber, building materials, and all categories while viewing real-time pricing, sale prices, rebates, and final values. Browse by category or use search suggestions to find exactly what you need with full pricing transparency.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
marisa.com.br API
Search and browse Marisa.com.br's fashion inventory to discover products by category, view detailed item information, and see what other shoppers are currently searching for. Access the complete category structure and identify trending products to stay updated on popular styles from this leading Brazilian fashion retailer.
lista.mercadolivre.com.br API
Search and browse products from Mercado Livre Brazil, view detailed pricing and offers, and explore categories to find daily deals and product information. Get comprehensive product details including specifications and current market offers all in one place.
olx.pt API
Search and monitor real estate listings and business advertisements from OLX Portugal with advanced filtering and pagination options. Get detailed information about specific listings including prices, descriptions, and seller details to find exactly what you're looking for.