# Mercado Libre Scraper - Search, Products, Reviews, Sellers (`pomlabs/mercadolibre-scraper`) Actor

Mercado Libre and Mercado Livre in 18 countries, no login: search with every filter, product details with variations, stock, shipping and buy-box offers, reviews, Q\&A, seller profiles, categories, best sellers, deals and a market report per keyword.

- **URL**: https://apify.com/pomlabs/mercadolibre-scraper.md
- **Developed by:** [Pom Labs](https://apify.com/pomlabs) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 search results delivered

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 Scraper - Search, Products, Reviews, Sellers

Data from **Mercado Libre and Mercado Livre in all 18 countries, without login, cookies or an account**: keyword search with **every filter the site has**, full **product pages** (price, list price, **stock**, **variations**, specs, **shipping options with delivery dates**, the other **buy-box offers**, seller and rating breakdown), **reviews**, **questions and answers**, **seller profiles with their listings**, the **category tree**, **best sellers**, **today's deals**, **search suggestions** (what buyers type) and a **market report per keyword** that sums up a whole niche in one row.

### Why this one

- **Everything in one Actor:** search, product, reviews, Q\&A, seller and official store, categories, best sellers, deals, search suggestions and market reports. One input, one dataset, rows tagged by `type`.
- **All 18 countries in one run:** give several countries and each keyword runs in each of them, so you can compare prices across Brazil, Mexico, Argentina, Chile, Colombia and the rest.
- **Every search filter:** price range, condition, free shipping, Full (shipped from Mercado Libre's warehouses), official stores, minimum discount, category, sort by price; plus minimum rating and minimum units sold on the rows returned.
- **A whole category without a keyword:** give `categoryId` only and get the listings of that category.
- **Category finder:** give a product name in `categories` mode and get the category (and domain) it belongs to; give nothing and get the whole tree of the country.
- **Product pages that say who wins the buy box:** the selected offer and the other offers (price, label such as "arrives tomorrow"), stock left, units sold, every variation (color, size) and structured shipping (free or not, Full, delivery dates and price for the default postal code).
- **Official stores in full:** give a store link (`/loja/`, `/tienda/`, `/pagina/`), a seller link, an id, a nickname or a link to one of their products, and get the store profile (followers, creation date, logo, banners, store menu with its sections, brand registry, status and tags) plus the listings.
- **Search suggestions:** what buyers type after a keyword start, up to 20 per query, in every country you pick: long-tail keywords for listings and ads.
- **Product pages with the extras:** brand, SKU, rating count, breadcrumbs, return policy (days, method, fees), shipping origin, seller power level, the feature bullets, next-day delivery flag and a `scrapedAt` time on every row.
- **Market report (new):** for a keyword and country, the price quartiles and bands, how many listings have free shipping, Full, official stores, discounts and ads, the average rating and discount, and the top sellers with their share. Run it in several countries to see where a product sells for more.
- **Fast:** 50 listings in about 2 seconds; 5 keywords x 500 listings (2,471 rows) in 11 seconds in our tests.
- **No start fee:** you pay only for the rows you get. Failed queries come back as an `error` row and are not charged.

### Input

| Field | What it does |
|---|---|
| `mode` | `auto` (default: a product link gets the product, a seller link the seller, words a search), `search`, `product`, `reviews`, `questions`, `seller`, `categories`, `bestsellers`, `deals`, `market` or `suggestions` |
| `queries` | Keywords (`search`, `market`); product links or ids such as `MLB-4049279695` or `/p/MLB52845211` (`product`, `reviews`, `questions`); store links, seller links, seller ids, nicknames or a link to one of the seller's products (`seller`); the start of a keyword (`suggestions`); for `categories`, a category id (its details and children) or any product name (the category it belongs to). Optional for `categories`, `bestsellers` and `deals`. Up to 50 |
| `countries` | `MLB` Brazil, `MLA` Argentina, `MLM` Mexico, `MLC` Chile, `MCO` Colombia, `MLU` Uruguay, `MPE` Peru, `MEC` Ecuador, `MLV` Venezuela, `MBO` Bolivia, `MPY` Paraguay, `MRD` Dominican Republic, `MPA` Panama, `MCR` Costa Rica, `MGT` Guatemala, `MHN` Honduras, `MNI` Nicaragua, `MSV` El Salvador. Links carry their own country. `country` with an ISO code (`MX`, `BR`, `AR,CL`) also works |
| `maxItems` | Rows per query and country, up to 2,000 (default 50) |
| `sortBy` | `relevance`, `price_asc` or `price_desc` |
| `condition` | `new`, `used` or `refurbished` |
| `minPrice`, `maxPrice`, `minDiscount` | Price range and minimum discount % (site filters) |
| `freeShippingOnly`, `fullShippingOnly`, `officialStoresOnly` | Site filters |
| `minRating`, `minSold` | Keep only rows with at least this rating or these units sold |
| `excludeKeywords` | Drop listings whose title has any of these words (accents and case ignored) |
| `interestFreeOnly` | Keep only listings with interest-free installments |
| `categoryId` | A category such as `MLB1055`: lists the category without a keyword, narrows a keyword search, picks the best-seller ranking, or gives the children in `categories` |
| `scrapeProductDetails` | Search: also open every listing and return the full product row |
| `includeSponsored` | Search: keep the sponsored listings (marked `isAd`); default on |
| `maxReviews`, `maxQuestions` | Product mode: also bring reviews and Q\&A inside each product row |
| `reviewRating` | Reviews: only this many stars (1-5) |
| `reviewOrder` | Reviews: `relevance` (default) or `dateCreated` (newest first) |
| `returnSimilarListings` | Product: when a link now opens another listing (ended or replaced), return that listing marked `similarListing: true` with `inputUrl` and `redirectedTo`; off by default, and then the link comes back as a free `redirected` error |
| `maxItemsPerSeller` | Seller mode: how many of the seller's listings |
| `includeSellerProfile` | Seller mode: the store profile row (default on) |
| `marketSample` | Market mode: how many listings each report reads (50-1,000, default 200) |

Example: the 100 cheapest new air fryers with free shipping in Mexico and Colombia:

```json
{ "mode": "search", "queries": ["air fryer"], "countries": ["MLM", "MCO"], "maxItems": 100, "sortBy": "price_asc", "condition": "new", "freeShippingOnly": true }
```

### Output

A search result:

```json
{
  "type": "listing",
  "itemId": "MLB5741673858",
  "productId": "MLB1054106888",
  "title": "Apple AirPods Pro 3 - Distribuidor Autorizado",
  "url": "https://www.mercadolivre.com.br/apple-airpods-pro-3-distribuidor-autorizado/p/MLB1054106888",
  "price": 2202.0,
  "originalPrice": 2699.0,
  "discountPercent": 18,
  "currency": "BRL",
  "installments": "ou 2270 em 10x 227.02 sem juros",
  "rating": 4.9,
  "soldQuantity": 5000,
  "freeShipping": true,
  "fulfillment": true,
  "shippingText": "Amanhã | Grátis por ser sua primeira compra",
  "officialStore": true,
  "seller": "Apple",
  "isAd": false,
  "categoryId": "MLB196208",
  "domainId": "MLB-HEADPHONES",
  "position": 1,
  "site": "MLB",
  "query": "fone bluetooth",
  "totalResults": 52904,
  "status": "ok"
}
```

A product:

```json
{
  "type": "product",
  "productId": "MLB52845211",
  "itemId": "MLB5552224085",
  "title": "Fone Bluetooth Samsung Galaxy Buds Core Preto",
  "price": 212,
  "originalPrice": 378,
  "currency": "BRL",
  "availableQuantity": 51,
  "stockText": "(+50 disponíveis)",
  "soldQuantity": 100000,
  "rating": 4.9,
  "reviewsCount": 49444,
  "ratingLevels": {
    "5": 46290,
    "4": 2137,
    "3": 479,
    "2": 152,
    "1": 386
  },
  "variations": [
    {
      "attribute": "Cor:",
      "id": "COLOR",
      "options": [
        {
          "label": "Branco",
          "selected": null,
          "available": true,
          "id": "MLB52039200",
          "url": null
        },
        {
          "label": "Preto",
          "selected": null,
          "available": true,
          "id": "MLB52845211",
          "url": null
        }
      ]
    }
  ],
  "seller": {
    "id": 187454423,
    "name": "MCIMPORTES",
    "type": "eshop",
    "reputation": "5_green",
    "url": "https://www.mercadolivre.com.br/pagina/mcimportes",
    "level": "MercadoLíder Gold"
  },
  "buyBoxOffers": [
    {
      "itemId": "MLB5879981504",
      "label": "Parcelamento sem juros",
      "type": "BEST_INSTALLMENTS",
      "selected": false,
      "price": 203.4,
      "originalPrice": 349,
      "currency": "BRL",
      "url": "https://produto.mercadolivre.com.br/MLB-5879981504"
    },
    {
      "itemId": "MLB7358398216",
      "label": "Chegará amanhã",
      "type": "NEXTDAY_DELIVERY",
      "selected": false,
      "price": 203.11,
      "originalPrice": 390,
      "currency": "BRL",
      "url": "https://produto.mercadolivre.com.br/MLB-7358398216"
    }
  ]
}
```

A review:

```json
{
  "type": "review",
  "reviewId": 2459844092,
  "rating": 5,
  "text": "Excelente, nada como um produto original, qualidade do material e do som não precisam de elogios, ótima, o som é bem limpo em qualquer tipo de música parece uma sinfonia sincronizada, o isolamento é seu ponto forte além de poder configurar no app se usar um celular também da samsung. Melhor fone que tive.",
  "date": "2025-10-27T23:24:40Z",
  "likes": 328,
  "photos": [
    "https://http2.mlstatic.com/D_NQ_NP_704480-MLA96423982131_102025-O.webp"
  ],
  "country": "Brasil",
  "productRef": "MLB52845211",
  "site": "MLB",
  "status": "ok"
}
```

A question:

```json
{
  "questionId": 13701856478,
  "question": "Serve para o IPhone?",
  "answer": "Olá, tudo bem? Sim, o Samsung Galaxy Buds Core funciona no iPhone via pareamento Bluetooth padrão, Aguardamos sua compra e permanecemos à disposição!",
  "answerDate": "02/12/2026",
  "type": "question",
  "itemId": "MLB5879981504",
  "query": "https://www.mercadolivre.com.br/p/MLB52845211",
  "site": "MLB",
  "status": "ok"
}
```

A market report:

```json
{
  "type": "market",
  "query": "air fryer",
  "site": "MLB",
  "currency": "BRL",
  "totalListings": 12780,
  "sampled": 195,
  "domainId": "MLB-AIR_FRYERS",
  "price": {
    "min": 28.32,
    "p25": 282.54,
    "median": 399.0,
    "mean": 454.82,
    "p75": 554.9,
    "max": 1649.0
  },
  "freeShippingPct": 98.5,
  "fulfillmentPct": 91.8,
  "officialStorePct": 69.7,
  "sponsoredPct": 0.0,
  "discountedPct": 86.7,
  "avgDiscountPercent": 30.6,
  "avgRating": 4.85,
  "topSellers": [
    {
      "seller": "(not shown)",
      "listings": 59,
      "soldAtLeast": 136625,
      "official": false
    },
    {
      "seller": "Mercado Livre",
      "listings": 54,
      "soldAtLeast": 825850,
      "official": true
    }
  ],
  "status": "ok"
}
```

Other rows: `seller` (profile, reputation, level, listings count; for stores also `totalFollowers`, `dateCreated`, `logoUrl`, `bannerUrl`, `menuCorridors`, `brandRegistryId`, `tags`), `suggestion` (the suggested search, its position and search link), `category` (id, name, children, link) and `listing` rows from best sellers (with `rank` and the ranking name) and deals. A query that fails (not found, bad link) comes as a row with `type: "error"` and the reason, and is not charged.

### Use cases

- **Price monitoring and repricing:** your products and your competitors' in every country, with the buy-box winner and the other offers.
- **Product and niche research:** the market report tells in one row if a niche is crowded, discounted, dominated by official stores or open.
- **Seller research:** a seller's reputation, level and full catalog.
- **Customer feedback:** reviews by stars and the questions buyers ask before buying.
- **Catalog and affiliate pages:** best sellers per category and today's deals with real discounts.

### Pricing

- **Search results, best sellers, deals, categories and search suggestions:** $1.80 per 1,000 on the free plan, **$0.90 per 1,000** on paid plans.
- **Products (product pages, seller profiles, listings opened with full details):** $4.50 per 1,000 on the free plan, down to **$1.80 per 1,000**.
- **Reviews:** $0.90 per 1,000.
- **Questions and answers:** $0.90 per 1,000.
- **Market report:** $0.02 per report (one keyword in one country).

No start fee. Less on higher Apify plans.

### Notes

- Shipping dates and prices are the ones the site shows for its default postal code of each country.
- Units sold are the rounded numbers the site shows ("+5 mil vendidos" becomes 5000).
- Best sellers without a category returns the home rankings of the country (about 10 lists).

### Support, feedback and requests

Questions, bug reports, complaints, feature requests, or an idea for a new tool? Email us at **pomexplica+support@gmail.com**, in any language. We read our inbox every day and answer every message. Suggestions and feedback of every kind are welcome: tell us what you need and we will look into it.

# Actor input Schema

## `mode` (type: `string`):

auto (default): each query picks its mode (product link -> product, seller link -> seller, words -> search). search: keyword search with filters, up to 2,000 listings per query and country. product: full product page (price, list price, stock, variations, specs, shipping options, buy-box offers, seller, rating breakdown, optional reviews and Q\&A). reviews: all reviews of a product, filter by stars. questions: questions and answers of a product. seller: seller profile and reputation plus their listings. categories: the category tree of a country (or the children of categoryId). bestsellers: best-seller rankings of a category (or the home rankings). deals: today's deals page. market: one report per keyword and country (price quartiles, sellers' share, free-shipping %, official-store %, sponsored %, best sellers). suggestions: what buyers type in the search box for a keyword start, per country (up to 20 per query).

## `queries` (type: `array`):

One per line: keywords (search, market), product links or ids such as MLB-123456789 or /p/MLB123456 (product, reviews, questions), seller links, seller ids or a link of one of the seller's products (seller). Optional for categories, bestsellers and deals. Up to 50 per run.

## `countries` (type: `array`):

Countries for keyword modes (each keyword runs in each country). Product and seller links carry their own country.

## `maxItems` (type: `integer`):

Listings, reviews or questions per query and country (up to 2,000). Product mode: one row per link.

## `sortBy` (type: `string`):

Search order, as on the site.

## `condition` (type: `string`):

Only listings in this condition (empty = any).

## `minPrice` (type: `integer`):

Lowest price, in the country's currency.

## `maxPrice` (type: `integer`):

Highest price, in the country's currency.

## `minDiscount` (type: `integer`):

Only listings with at least this discount (site filter).

## `minRating` (type: `integer`):

Only listings rated at least this (1-5), checked on the returned rows.

## `minSold` (type: `integer`):

Only listings that show at least this many units sold, checked on the returned rows.

## `excludeKeywords` (type: `array`):

Drop listings whose title contains any of these words (accents and case ignored), checked on the returned rows.

## `interestFreeOnly` (type: `boolean`):

Only listings that offer installments without interest, checked on the returned rows.

## `freeShippingOnly` (type: `boolean`):

Only listings with free shipping (site filter).

## `fullShippingOnly` (type: `boolean`):

Only listings shipped from Mercado Libre's warehouses (site filter).

## `officialStoresOnly` (type: `boolean`):

Only listings from official brand stores (site filter).

## `scrapeProductDetails` (type: `boolean`):

Search: also open each listing's product page and add stock, variations, specs, shipping options and seller. Charged as a product per listing.

## `returnSimilarListings` (type: `boolean`):

product: when Mercado Libre sends your product link to a different listing (usually because yours ended), return that listing too, marked similarListing: true with inputUrl and redirectedTo. Off: the link comes back as 'redirected' and is not charged.

## `includeSponsored` (type: `boolean`):

Search: keep the sponsored (ad) listings, marked isAd. Turn off to drop them.

## `categoryId` (type: `string`):

Category such as MLB1055. Search or market without a keyword lists the whole category; with a keyword, narrows it. Bestsellers: the ranking of this category. Categories: its children.

## `maxReviews` (type: `integer`):

Product mode: also bring up to this many reviews inside each product row (0 = the 5 shown on the page).

## `maxQuestions` (type: `integer`):

Product mode: also bring up to this many questions and answers inside each product row.

## `reviewOrder` (type: `string`):

reviews and product: order of the reviews. 'dateCreated' returns the newest first.

## `reviewRating` (type: `integer`):

Reviews: only reviews with this many stars (1-5).

## `maxItemsPerSeller` (type: `integer`):

Seller mode: how many of the seller's listings to bring (default: Max results per query).

## `includeSellerProfile` (type: `boolean`):

seller: add one profile row per seller before the listings: reputation, level, and for sellers with a store page the followers, logo, banner, date created, tags, brand, store menu and moderation and debt flags.

## `marketSample` (type: `integer`):

Market mode: how many listings the report reads per keyword and country (50-1,000). The report is one row.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "smartphone"
  ],
  "countries": [
    "MLB"
  ],
  "maxItems": 50,
  "sortBy": "relevance",
  "returnSimilarListings": false,
  "includeSponsored": true,
  "reviewOrder": "relevance",
  "includeSellerProfile": true,
  "marketSample": 200
}
```

# Actor output Schema

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

No description

# 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 = {
    "mode": "search",
    "queries": [
        "smartphone"
    ],
    "countries": [
        "MLB"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("pomlabs/mercadolibre-scraper").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 = {
    "mode": "search",
    "queries": ["smartphone"],
    "countries": ["MLB"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("pomlabs/mercadolibre-scraper").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 '{
  "mode": "search",
  "queries": [
    "smartphone"
  ],
  "countries": [
    "MLB"
  ],
  "maxItems": 50
}' |
apify call pomlabs/mercadolibre-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pomlabs/mercadolibre-scraper"
        }
    }
}
```

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/zhKw1HoU2SOKsNMTb/builds/9p68u63TukBUkGuqD/openapi.json
