# Mercado Libre & Mercado Livre Product Details (`flavioduque/mercado-libre-mercado-livre-product-details`) Actor

Full product details from Mercado Libre / Mercado Livre in 18 countries: price, discount, installments, seller and reputation, specs, description, stock, shipping and images. Accepts /p/, /up/, listing URLs and item IDs.

- **URL**: https://apify.com/flavioduque/mercado-libre-mercado-livre-product-details.md
- **Developed by:** [Flavio Duque](https://apify.com/flavioduque) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.00 / 1,000 product details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Mercado Libre & Mercado Livre Product Details

Get **complete product data from Mercado Libre / Mercado Livre product pages** in **18 Latin American countries** — price, discount, installments, seller reputation, full specs, description, stock, shipping and images — one clean JSON record per product.

No login, no cookies, no setup. Paste product URLs (or just item IDs) and run.

🇧🇷 *Extrai preço, parcelamento, vendedor, ficha técnica e mais de qualquer produto do Mercado Livre.*
🇦🇷🇲🇽🇨🇴🇨🇱 *Extrae precio, cuotas, vendedor, ficha técnica y más de cualquier producto de Mercado Libre.*

### What you get

| Group | Fields |
|---|---|
| **Product** | name, brand, condition (new/used/refurbished), category + full category path, category ID, domain |
| **Price** | current price, original ("from") price, discount %, on-sale flag, currency, price without national taxes (Argentina) |
| **Installments** | number of installments, amount, total, interest-free flag, text as shown |
| **Popularity** | rating, number of reviews, units sold |
| **Seller** | name, ID, reputation level, MercadoLíder status, official store (name + ID), profile URL, sales text |
| **Content** | full description, technical specs (flat list **and** grouped like the site) |
| **Availability** | in stock, available quantity, max units per purchase, stock text |
| **Logistics** | free shipping, shipping promise text, fulfillment type, listing type |
| **Competition** | number of other sellers offering the product and the lowest competing price |
| **Media** | main image + all gallery images in original resolution |
| **IDs** | catalog product ID, winning listing (item) ID, parent product ID |

### Supported inputs

- Catalog pages — `https://www.mercadolivre.com.br/…/p/MLB34731718`
- Catalog page with a specific offer — `…/p/MLB34731718?pdp_filters=item_id:MLB5472537939`
- "Other sellers" pages — `…/p/MLB34731718/s`
- User-product pages (non-catalog listings) — `https://www.mercadolivre.com.br/…/up/MLBU782704560`
- Classic listing URLs — `produto.mercadolivre.com.br/MLB-…`, `articulo.mercadolibre.com.ar/MLA-…`
- Bare IDs — `MLB34731718`, `MLB-4291441175`, `MLBU782704560`, `MLA80007301`

A bare ID can be either a catalog product or a listing; the Actor figures it out automatically.

**Countries:** Brazil (MLB), Argentina (MLA), Mexico (MLM), Colombia (MCO), Chile (MLC), Peru (MPE), Uruguay (MLU), Venezuela (MLV), Ecuador (MEC), Bolivia (MBO), Paraguay (MPY), Costa Rica (MCR), Dominican Republic (MRD), Panama (MPA), Guatemala (MGT), Honduras (MHN), Nicaragua (MNI), El Salvador (MSV).

### Input

| Field | Default | Description |
|---|---|---|
| `productUrls` | — | Product URLs or IDs (required) |
| `fetchMode` | browser | `browser` uses a real browser that passes Mercado Libre's anti-bot challenge; `auto` (experimental) tries the plain HTML first |
| `maxRetries` | 3 | Retries per product with a fresh IP when the site pushes back |
| `maxConcurrency` | 5 | Pages processed in parallel |
| `proxyConfiguration` | Apify Residential | Each product automatically uses a residential IP from its own country |
| `blockMedia` | true | Skip downloading images/fonts (faster; image URLs are still returned) |
| `batchFetch` | true | After a browser tab passes the anti-bot check, the next products are fetched from inside it (HTML only) — much faster and lighter |
| `debug` | false | Verbose logs plus screenshot and HTML of failed pages |

### Output example

```json
{
  "itemId": "MLB34731718",
  "sellerItemId": "MLB5472537939",
  "country": "BR",
  "name": "Samsung Galaxy A55 5G Dual SIM 256 GB Azul escuro 8 GB RAM",
  "brand": "Samsung",
  "category": "Celulares e Smartphones",
  "categoryPath": ["Celulares e Telefones", "Celulares e Smartphones", "Samsung"],
  "condition": "new",
  "price": 2499,
  "listPrice": null,
  "discountPercent": null,
  "currency": "BRL",
  "installments": { "quantity": 10, "amount": 249.9, "interestFree": true, "totalAmount": 2499, "text": "10x R$ 249.90 sem juros" },
  "rating": 4.8,
  "reviewCount": 30421,
  "soldQuantity": 10000,
  "sellerName": "…",
  "sellerReputation": "4_light_green",
  "sellerPowerStatus": "silver",
  "sellerIsOfficialStore": false,
  "attributes": [{ "group": "Características gerais", "name": "Marca", "value": "Samsung" }],
  "specGroups": [{ "group": "Memória", "attributes": [{ "name": "Memória interna", "value": "256 GB" }] }],
  "inStock": true,
  "availableQuantity": 21,
  "maxPurchaseQuantity": 6,
  "freeShipping": true,
  "otherSellers": { "count": 5, "fromPrice": 2249, "currency": "BRL" },
  "mainImage": "https://http2.mlstatic.com/D_NQ_NP_2X_746001-MLA97557162377_112025-F.webp",
  "images": ["https://http2.mlstatic.com/D_NQ_NP_2X_746001-MLA97557162377_112025-F.webp", "…"],
  "scrapedAt": "2026-11-20T22:30:16.052Z"
}
```

You can download results as JSON, CSV, Excel, XML or HTML, or pull them through the Apify API and integrations (Make, Zapier, n8n, Google Sheets…).

### Pricing

You pay **per product successfully scraped**. Products that fail are **not charged** — they are listed with the reason in the run's key-value store (record `FAILED_URLS`), so you can retry them. Set a maximum cost per run and the Actor stops cleanly when it is reached.

### Use cases

- Price and promotion monitoring of your products or competitors
- Marketplace and catalog analytics across Latin America
- Seller benchmarking (reputation, official stores, logistics)
- Enriching product databases with specs, descriptions and images
- Buy-box tracking: who is winning the catalog listing and at what price

### Good to know

- `soldQuantity` is the rounded number Mercado Libre publishes (e.g. "+10 mil vendidos" → 10000).
- `rating` and `reviewCount` belong to the catalog product (aggregated across sellers).
- `shippingText` reflects the delivery promise shown for the region of the IP used.
- Prices are always in the local currency of the marketplace.
- Typical speed: a few seconds per product once the browser is warmed up.

### Questions or a missing field?

Open an issue on the Actor's **Issues** tab — requests for new fields are welcome.

# Actor input Schema

## `productUrls` (type: `array`):

URLs de produto do Mercado Livre/Libre de qualquer país (catálogo /p/, anúncio produto./articulo., user product /up/, página /s de outros vendedores) ou IDs avulsos como MLB34731718, MLBU782704560, MLA80007301.

## `fetchMode` (type: `string`):

browser (recomendado): navegador real, que passa pelo desafio anti-bot do Mercado Livre. auto: tenta baixar só o HTML antes e usa o navegador se precisar (experimental).

## `maxRetries` (type: `integer`):

Quantas vezes tentar de novo (com outro IP) quando o site devolve o desafio anti-bot.

## `maxConcurrency` (type: `integer`):

Páginas abertas ao mesmo tempo. Mais alto = mais rápido, porém mais bloqueios.

## `proxyConfiguration` (type: `object`):

O Mercado Livre bloqueia IPs de datacenter. Use proxy RESIDENCIAL. Se não escolher país, cada produto usa o país do seu marketplace.

## `blockMedia` (type: `boolean`):

Economiza banda de proxy e acelera. As URLs das imagens continuam no resultado.

## `batchFetch` (type: `boolean`):

Depois que uma aba passa pelo desafio anti-bot, os próximos produtos são buscados de dentro dela, baixando só o HTML. Bem mais barato e rápido. Se o Mercado Livre desconfiar, o produto volta para a navegação normal.

## `debug` (type: `boolean`):

Logs detalhados e captura de tela + HTML das páginas que falharem (no key-value store).

## Actor input object example

```json
{
  "productUrls": [
    "https://www.mercadolivre.com.br/samsung-galaxy-a55-5g-dual-sim-256-gb-azul-escuro-8-gb-ram/p/MLB34731718",
    "MLA80007301"
  ],
  "fetchMode": "browser",
  "maxRetries": 3,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "blockMedia": true,
  "batchFetch": true,
  "debug": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Main product fields: image, name, brand, price, discount, rating, seller, shipping and stock.

## `results` (type: `string`):

Full product records, including specifications, description, images, installments and seller details.

## `failedUrls` (type: `string`):

URLs that could not be scraped, with the reason. These are not charged.

## `runSummary` (type: `string`):

Counts of products scraped, failed URLs and the fetch method used.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productUrls": [
        "https://www.mercadolivre.com.br/samsung-galaxy-a55-5g-dual-sim-256-gb-azul-escuro-8-gb-ram/p/MLB34731718",
        "MLA80007301"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("flavioduque/mercado-libre-mercado-livre-product-details").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "productUrls": [
        "https://www.mercadolivre.com.br/samsung-galaxy-a55-5g-dual-sim-256-gb-azul-escuro-8-gb-ram/p/MLB34731718",
        "MLA80007301",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("flavioduque/mercado-libre-mercado-livre-product-details").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [
    "https://www.mercadolivre.com.br/samsung-galaxy-a55-5g-dual-sim-256-gb-azul-escuro-8-gb-ram/p/MLB34731718",
    "MLA80007301"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call flavioduque/mercado-libre-mercado-livre-product-details --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,flavioduque/mercado-libre-mercado-livre-product-details"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/g1QzFmeWhDNbOgvKd/builds/k1CnDEHvYbVLyfpA8/openapi.json
