Skip to content

// docs

Leroy Merlin: Get shipping quotes

Calculates Leroy Merlin shipping and pickup by product URL and destination postal code, using the seller selected for that region.

leroymerlin.com.br:quote · 1 credit per request

Standard credit cost. Your account pricing is shown in the sandbox.

Try this operation in the sandbox

When to use this operation

Provide the public product URL and zipCode. The query resolves the region from the postal code and returns the shipping options of the seller selected on the page for one product unit. Prices and deadlines can change with the postal code and the time of the query.

Source-specific limitations

When delivery is unavailable for the selected offer, options is empty and totalOptions is 0. Pickup uses deadlineHours; delivery uses deadlineDays. Unpublished dates remain null. Manual seller, quantity or region selection is not supported. Each successful query costs 1 credit.

HTTP request

cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "leroymerlin.com.br",
  "type": "quote",
  "url": "https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330",
  "zipCode": "01001-000"
}'

Keep your API key on your server. See the quickstart for authentication and response handling.

MCP request

The hosted MCP tool fixes target and type for this operation. Its remaining arguments use the same input rules as Extract.

POST /v1/mcp · Bearer or X-API-Key authentication

leroymerlin_com_br_quote · tools/call
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "leroymerlin_com_br_quote",
    "arguments": {
      "url": "https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330",
      "zipCode": "01001-000",
      "executionId": "exec_example_123"
    }
  }
}

Supported inputs

Conditional fields depend on the alternatives and constraints in the rule column. Fields marked unsupported are omitted.

FieldTypeRequirementRuleDefaultExample
url
URL extraction target. For some PLPs it can be omitted when API assembles URL from other fields.
string (URL) Required Public Leroy Merlin product URL ending in _PRODUCT_ID. Tracking parameters are removed. - https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330
zipCode
CEP used in APIs with automatic geographic resolution. API accepts with or without a hyphen and normalizes to 8 digits.
string (CEP) Required Target CEP in the format 00000-000 or 8 digits. The backend normalizes to 8 digits. - 01001-000
target
Target source for extraction.
enum Required Use leroymerlin.com.br. leroymerlin.com.br leroymerlin.com.br
type
Extraction type: pdp, idp, plp, ilp, quote, review or places.
enum Required Always mandatory in the payload and must be quote. quote quote

Request examples

Shipping per product and CEP

Queries shipping and pickup for the supplied product and postal code. The seller may vary by region.

Shipping per product and CEP
{
  "target": "leroymerlin.com.br",
  "type": "quote",
  "url": "https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330",
  "zipCode": "01001-000"
}

Response schema

Leaf paths and expected types. Field names and enum values are part of the API contract.

responseSchema
{
  "requestId": "string (uuid)",
  "executionId": "string (uuid)",
  "data.source": "string",
  "data.type": "string",
  "data.parser": "\"1.0.0\"",
  "data.url": "string",
  "data.requestUrl": "string",
  "data.extractedAt": "string (ISO 8601)",
  "data.sku": "string",
  "data.zipCode": "string",
  "data.responseZipCode": "string | null",
  "data.sellerId": "string | null",
  "data.sellerName": "string | null",
  "data.offerAvailable": "boolean | null",
  "data.offerPrice": "number | null",
  "data.totalOptions": "integer",
  "data.options[].name": "string | null",
  "data.options[].id": "string | null",
  "data.options[].type": "string | null",
  "data.options[].priceText": "string | null",
  "data.options[].price": "number | null",
  "data.options[].currency": "string",
  "data.options[].deadlineText": "string | null",
  "data.options[].deadlineDays": "integer | null",
  "data.options[].deliveryDate": "string | null",
  "data.options[].available": "boolean | null",
  "data.options[].message": "string | null",
  "data.region": "string | null",
  "data.city": "string | null",
  "data.stateCode": "string | null",
  "data.offerId": "string | null",
  "data.offerCashPrice": "number | null",
  "data.offerRegularPrice": "number | null",
  "data.currency": "string",
  "data.options[].deadlineHours": "integer | null",
  "data.options[].businessDays": "boolean | null",
  "data.options[].store": "string | null",
  "data.options[].expressDeliveryDay": "string | null"
}

Example response

Illustrative response. Product names, reviews and other source content retain their original language. Missing and null values do not imply zero stock, free shipping or zero reviews.

responseExample
{
  "requestId": "4c5e18d7-5b1d-41c0-9b9a-f9ab45d42c8b",
  "executionId": "a4360f20-c423-4c21-8fc8-8c9b72158498",
  "data": {
    "source": "leroymerlin.com.br",
    "type": "quote",
    "parser": "1.0.0",
    "url": "https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330",
    "requestUrl": "https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330",
    "extractedAt": "2026-11-12T20:44:05.040Z",
    "sku": "92429330",
    "zipCode": "01001000",
    "responseZipCode": null,
    "region": "grande_sao_paulo",
    "city": "São Paulo",
    "stateCode": "SP",
    "sellerId": "leroy",
    "sellerName": "Leroy Merlin",
    "offerId": null,
    "offerAvailable": true,
    "offerPrice": 244.57,
    "offerCashPrice": 229.9,
    "offerRegularPrice": 244.57,
    "currency": "BRL",
    "totalOptions": 4,
    "options": [
      {
        "name": "Retirada na loja",
        "id": "pick_up_in_store",
        "type": "pick_up_in_store",
        "price": 0,
        "priceText": "0",
        "currency": "BRL",
        "deadlineText": "Retirada em 2 horas",
        "deadlineDays": null,
        "deadlineHours": 2,
        "businessDays": null,
        "deliveryDate": null,
        "available": true,
        "message": null,
        "store": "morumbi",
        "expressDeliveryDay": null
      },
      {
        "name": "Entrega",
        "id": "standard",
        "type": "standard",
        "price": 14.9,
        "priceText": "14.9",
        "currency": "BRL",
        "deadlineText": "Em até 2 dias",
        "deadlineDays": 2,
        "deadlineHours": null,
        "businessDays": false,
        "deliveryDate": null,
        "available": true,
        "message": null,
        "store": null,
        "expressDeliveryDay": null
      },
      {
        "name": "Entrega Expressa",
        "id": "express",
        "type": "express",
        "price": 39.9,
        "priceText": "39.9",
        "currency": "BRL",
        "deadlineText": "Em até 1 dia",
        "deadlineDays": 1,
        "deadlineHours": null,
        "businessDays": false,
        "deliveryDate": null,
        "available": true,
        "message": null,
        "store": null,
        "expressDeliveryDay": null
      },
      {
        "name": "Entrega Agendada",
        "id": "scheduled",
        "type": "scheduled",
        "price": 14.9,
        "priceText": "14.9",
        "currency": "BRL",
        "deadlineText": null,
        "deadlineDays": 7,
        "deadlineHours": null,
        "businessDays": false,
        "deliveryDate": null,
        "available": true,
        "message": null,
        "store": null,
        "expressDeliveryDay": null
      }
    ]
  }
}

Complete field reference

PathTypeDescriptionExample
data.city string | null City returned by the postal code lookup. São Paulo
data.currency string Currency of offer prices and shipping costs: BRL. BRL
data.extractedAt string (ISO 8601) Timestamp ISO at which the extraction was completed. 2026-11-12T20:44:05.040Z
data.offerAvailable boolean | null Availability of the offer used to resolve shipping. true
data.offerCashPrice number | null Cash price of the selected offer. 229.9
data.offerId string | null Marketplace offer identifier used to match shipping. Null for Leroy Merlin direct offers. null
data.offerPrice number | null Total card price of the selected offer; uses the cash price if no installment total is published. 244.57
data.offerRegularPrice number | null Reference price of the selected offer, when published. 244.57
data.options[].available boolean | null Modality availability when returned. true
data.options[].businessDays boolean | null Indicates business days for marketplace delivery, following the page presentation. Null for pickup or a missing deadline. null
data.options[].currency string Standardized currency code. BRL
data.options[].deadlineDays integer | null Numeric delivery deadline reported by the source. For scheduled options, this is the source reference deadline and does not confirm a date. Null for pickup. null
data.options[].deadlineHours integer | null Pickup waiting time in hours. Null for delivery. 2
data.options[].deadlineText string | null Readable deadline built from the source value and the unit used by the page. Null when no applicable deadline text is available. Retirada em 2 horas
data.options[].deliveryDate string | null Expected delivery date when returned. null
data.options[].expressDeliveryDay string | null Source express delivery marker, such as today or tomorrow, when published. null
data.options[].id string | null Modality identifier when returned. pick_up_in_store
data.options[].message string | null Additional modality message when returned. null
data.options[].name string | null Name of the delivery method. Retirada na loja
data.options[].price number | null Numerical shipping price in BRL. 0
data.options[].priceText string | null Shipping cost returned by the source, represented as decimal text. 0
data.options[].store string | null Pickup store identifier when returned. morumbi
data.options[].type string | null Type or technical modality when returned. pick_up_in_store
data.parser "1.0.0" Stable version of the API response format. 1.0.0
data.region string | null Leroy Merlin region resolved from the destination postal code. grande_sao_paulo
data.requestUrl string Same value as `data.url`; never exposes the queried internal endpoint. https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330
data.responseZipCode string | null Postal code echoed by the source when present; null when the source does not echo it. null
data.sellerId string | null Shop identifier of the seller selected for the postal code; leroy identifies Leroy Merlin. leroy
data.sellerName string | null Name of the seller selected for the postal code region. Leroy Merlin
data.sku string SKU extracted from URL published on the product page. 92429330
data.source string Normalized extraction source. leroymerlin.com.br
data.stateCode string | null Brazilian state code returned by the postal code lookup. SP
data.totalOptions integer Number of available options for the selected seller, including pickup when offered. 4
data.type string Type of operation executed. quote
data.url string URL publishes product sent in request. https://www.leroymerlin.com.br/furadeira-e-parafusadeira-de-impacto-wap-k21-id01-a-bateria-21v-3-8-com-maleta-carregador-e-bateria_92429330
data.zipCode string CEP normalized to 8 digits. 01001000
executionId string (uuid) Unique identifier of the worker execution for traceability. a4360f20-c423-4c21-8fc8-8c9b72158498
requestId string (uuid) Unique identifier of the request HTTP in GeckoAPI. 4c5e18d7-5b1d-41c0-9b9a-f9ab45d42c8b

Errors and missing data

When supported by this operation, an entity not found upstream can return HTTP 200 with data: null and notFound: true. Check the documented response fields before interpreting an empty result. Source-specific behavior and exceptions are described above.

HTTP statusError codeMeaning
400INVALID_PAYLOADInvalid JSON or a request that violates the documented validation rules.
401UNAUTHORIZEDMissing authorization or an invalid API key or token.
402INSUFFICIENT_CREDITSThe account has insufficient credits for this operation.
403FORBIDDENThe account does not have access, or the API is temporarily disabled.
409EXECUTION_CONFLICTThe execution identifier conflicts with an incompatible execution state.
429RATE_LIMIT_EXCEEDED / TOO_MANY_INFLIGHT_REQUESTSA rate limit or simultaneous request limit was exceeded.
5xxUPSTREAM_TIMEOUT / UPSTREAM_HTTP_ERROR / WORKER_FUNCTION_ERRORAn upstream, worker or gateway failure. Failed requests follow the platform refund policy.

Other Leroy Merlin operations