# MercadoLibre Best Sellers Tracker: 8 Countries (`datamole/mercadolibre-best-sellers`) Actor

Track the MercadoLibre best sellers of 8 countries: rank, price, discount, installments, coupon and free shipping for the top products of each main category. Filter by category, words and discount. Monitor rank and price changes.

- **URL**: https://apify.com/datamole/mercadolibre-best-sellers.md
- **Developed by:** [DataMole](https://apify.com/datamole) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

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

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 🏆 MercadoLibre Best Sellers Tracker: 8 Countries

> **Get the MercadoLibre best sellers of Argentina, Brazil, Mexico, Colombia, Chile, Peru, Uruguay and Ecuador in one run: rank, title, price, previous price, discount, installments, coupon, shipping and label for the top products of each main category.** Filter by category, words, discount and free shipping. Monitor mode shows what moved up or down, what got cheaper and what dropped out.

> 🕒 **Last updated:** 2026-11-10 · **35+ fields** per product · 8 countries · about 930 products when you read them all, in under 30 seconds

**MercadoLibre Best Sellers Tracker** reads MercadoLibre's public "Más vendidos" / "Mais vendidos" page of each country. That page shows the top 20 products of each main category (Phones, Computers, Appliances, Clothing, Electronics, Vehicle accessories, Games and more, from 3 to 10 categories per country). This Actor turns each card into clean columns: the rank, the price as a number, the previous price and discount, the installments as count and amount, whether they are interest-free, the coupon, free and next-day shipping, and labels like "MÁS VENDIDO" or "OFERTA DEL DÍA".

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 results. Any paid Apify plan unlocks all results.

> 📌 **What it covers:** the rankings shown on each country's main best sellers page, up to 20 products per category. It does not open search results, deeper category rankings or product pages.

| 🎯 Who uses it | 💡 What for |
|---|---|
| Sellers on MercadoLibre | See what sells most in your category and at what price |
| Brands and distributors | Track your products and your competitors in the rankings |
| E-commerce analysts | Compare the best sellers of 8 Latin American markets |
| Deal hunters and media | Big discounts among the best sellers, every day |

### 📋 What it does

- 🌎 **8 countries in one run:** Argentina, Brazil, Mexico, Colombia, Chile, Peru, Uruguay and Ecuador, each with its currency.
- 🏆 **Rank per category:** position 1 to 20 in each main category of the page, with the category name and ID.
- 💲 **Prices as numbers:** current price, previous price, discount %, savings, and in Brazil the Pix price plus the price with other payment methods.
- 💳 **Installments:** how many, the amount of each one and whether they are interest-free.
- 🎟️ **Coupons:** the coupon as shown, plus its percent, amount off or price with the coupon.
- 🚚 **Shipping:** free shipping and next-day delivery flags, with the text as shown.
- 🔎 **Filters:** categories (by word or ID), words in the title, words to exclude, top N per category, minimum discount, only free shipping, only interest-free installments.
- 👀 **Monitor mode:** remembers each ranking. Next runs tell you `new`, `rankUp`, `rankDown`, `priceDrop`, `priceRise` or `same`, with the previous rank and price, and add a `dropped` record for products that left a ranking. Schedule it daily.

### ⚙️ Input

| Field | What it does |
|---|---|
| `countries` | `AR`, `BR`, `MX`, `CO`, `CL`, `PE`, `UY`, `EC`. Empty = all 8 |
| `categories` | Words in the category name (`Computación`, `Games`) or IDs (`MLA1051`) |
| `topN` | Only the first N of each ranking |
| `keywords` / `excludeKeywords` | Words that must / must not be in the title |
| `minDiscountPercent` | Minimum discount over the previous price |
| `onlyFreeShipping` / `onlyInterestFree` | Only products with free shipping / interest-free installments |
| `maxItems` | Maximum products to save |
| `monitorMode` / `onlyChanges` / `reportDropped` / `monitorName` | Changes since the last run |

Example: the top 10 phones of Mexico, Colombia and Chile with at least 20% off.

```json
{
    "countries": ["MX", "CO", "CL"],
    "categories": ["Celulares"],
    "topN": 10,
    "minDiscountPercent": 20
}
```

Example: a daily tracker of Brazil that returns only what changed (schedule it daily).

```json
{
    "countries": ["BR"],
    "monitorMode": true,
    "onlyChanges": true
}
```

### 📊 Output

A real record from a cloud run on 2026-11-10 (Mexico):

```json
{
    "rank": 3,
    "title": "Parlante JBL MM906JBL77 portátil con bluetooth waterproof camuflaje",
    "productId": "MLM55945910",
    "itemId": "MLM6348148074",
    "productUrl": "https://www.mercadolibre.com.mx/parlante-jbl-mm906jbl77-portatil-con-bluetooth-waterproof-camuflaje/p/MLM55945910",
    "imageUrl": "https://http2.mlstatic.com/D_Q_NP_2X_779097-MLA91945460626_092025-AB.webp",
    "label": "OFERTA IMPERDIBLE",
    "price": 846.23,
    "originalPrice": 1099,
    "discountPercent": 23,
    "savings": 252.77,
    "installments": 3,
    "installmentAmount": 282.08,
    "installmentsInterestFree": true,
    "installmentsText": "3 meses sin intereses de 282.08",
    "couponText": null,
    "shippingText": "Envío gratis",
    "freeShipping": true,
    "fastShipping": false,
    "currency": "MXN",
    "category": "Celulares y Telefonía",
    "categoryId": "MLM1051",
    "categoryUrl": "https://www.mercadolibre.com.mx/mas-vendidos/MLM1051",
    "country": "Mexico",
    "countryCode": "MX",
    "siteId": "MLM",
    "pageUrl": "https://www.mercadolibre.com.mx/mas-vendidos",
    "scrapedAt": "2026-11-10T19:29:31.572Z"
}
```

A Brazilian record from the same run: `"title": "Grand Theft Auto VI - PlayStation 5"`, `"price": 418.41`, `"priceNote": "no Pix"`, `"priceOtherPaymentMethods": 449.9`, `"installmentsText": "ou 449.9 em 8x 56.24 sem juros"`, `"currency": "BRL"`.

Other fields: `priceNote`, `priceOtherPaymentMethods`, `couponPercent`, `couponDiscountAmount`, `couponPrice`. In monitor mode: `changeType`, `previousRank`, `rankChange` (positive = moved up), `previousPrice`, `priceChange`, `priceChangePercent`, `lastCheckedAt`. Problems (an unknown country, a page that did not load) come as records with an `error` field.

In our cloud run of all 8 countries (932 products), 73% had a previous price and discount, 64% installments, 89% free shipping and 27% a coupon.

The dataset has 3 views: Best sellers, Prices & offers and Monitor changes.

### ✨ Why this one

- ✅ **8 countries in one run**, each with its own currency and categories.
- ✅ **Prices, installments and coupons as numbers**, ready to sort and compare.
- ✅ **Rank and price history** with monitor mode, including products that dropped out.
- ✅ **Fast and light:** one page per country, all 8 in under 30 seconds.

### 🚀 How to use

1. Create a free Apify account.
2. Open the Actor and pick the countries.
3. Add filters if you want and click **Start**.
4. Download the results as JSON, CSV or Excel, or connect them to Google Sheets, Make, Zapier, n8n or the API.

### 💼 Use cases

- **Sellers:** the price and offer of the top products in your category, each morning.
- **Brands:** alerts when your product enters, climbs or leaves a ranking.
- **Analysts:** which categories and brands lead in each country.
- **Deals:** best sellers with big discounts and interest-free installments.

### ❓ FAQ

**How many products per run?** Up to 20 per category, with 3 to 10 categories per country: about 120 per country (about 200 in Brazil, about 35 in Ecuador) and about 930 for all 8.

**Can I pick any category?** You can pick among the categories that each country shows on its main best sellers page. Deeper category rankings, search results and product pages are not read.

**Why are some countries missing?** Only these 8 MercadoLibre countries have a best sellers page with rankings.

**Why does a product have a price in Brazil marked "no Pix"?** MercadoLibre Brazil shows the Pix price first. The price with other payment methods is in `priceOtherPaymentMethods`.

**What if a page does not load?** You get one record with an `error` field for that country and the other countries go on.

**What does monitor mode remember?** The last ranking of each category: product IDs, ranks, prices, titles and links.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [Google News Scraper](https://apify.com/datamole/google-news-scraper) | News by keyword, topic or location in 50+ country editions |
| [Company Enrichment](https://apify.com/datamole/company-enrichment) | Company profiles from a website: firmographics, public emails, social profiles and tech stack |
| [Shopify Store Analyzer](https://apify.com/datamole/shopify-store-analyzer) | Products, prices and apps of any Shopify store |

**Need a field, filter or country we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects the public product rankings shown on MercadoLibre's best sellers pages. It is not affiliated with or endorsed by MercadoLibre. Prices and offers change during the day; check the product on MercadoLibre before buying or quoting.

# Actor input Schema

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

MercadoLibre countries to read. Empty = all 8. Each country has 3 to 10 main categories with up to 20 best sellers each.

## `categories` (type: `array`):

Optional. Words in the category name (Celulares, Computación, Games) or category IDs (MLA1051). Empty = every category on the page.

## `topN` (type: `integer`):

Only the first N products of each ranking. Empty = all (up to 20).

## `keywords` (type: `array`):

Keep products whose title has any of these words (Samsung, iPhone, Xiaomi). Accents and capitals do not matter.

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

Leave out products whose title has any of these words.

## `minDiscountPercent` (type: `integer`):

Only products with at least this discount over the previous price.

## `onlyFreeShipping` (type: `boolean`):

Only products that show free shipping.

## `onlyInterestFree` (type: `boolean`):

Only products that offer installments without interest.

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

Stops after this many products. Empty = every matching product (about 120 per country).

## `monitorMode` (type: `boolean`):

Remembers each ranking and compares the next run with it: new entries, rank up or down, price drops and rises, and products that dropped out. Schedule it daily.

## `onlyChanges` (type: `boolean`):

In monitor mode, leave out products with the same rank and price as last time.

## `reportDropped` (type: `boolean`):

In monitor mode, add a record for each product that was in a ranking last time and is gone now.

## `monitorName` (type: `string`):

Optional. Same name = same memory, even if you change the filters. Empty = one memory per settings.

## Actor input object example

```json
{
  "countries": [
    "MX",
    "BR",
    "AR"
  ],
  "reportDropped": true
}
```

# 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 = {
    "countries": [
        "MX",
        "BR",
        "AR"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/mercadolibre-best-sellers").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 = { "countries": [
        "MX",
        "BR",
        "AR",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datamole/mercadolibre-best-sellers").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 '{
  "countries": [
    "MX",
    "BR",
    "AR"
  ]
}' |
apify call datamole/mercadolibre-best-sellers --silent --output-dataset

```

## MCP server setup

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

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/JSrxePRoHH55BTfN3/builds/xql168sddFabdHKNq/openapi.json
