# Mercado Libre Scraper - Prices and Products, 18 Countries (`pioneering_explosion/ml-monitor-mx`) Actor

Live Mercado Libre data across 18 LATAM countries: prices, discounts, installments, stock. Monitor competitors and hunt profitable products to resell.

- **URL**: https://apify.com/pioneering\_explosion/ml-monitor-mx.md
- **Developed by:** [Xavier Hernández López](https://apify.com/pioneering_explosion) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Mercado Libre Scraper do?

**Mercado Libre Scraper** extracts live product data from [MercadoLibre](https://www.mercadolibre.com.mx) — Latin America's largest marketplace — across **18 countries** (Mexico, Argentina, Brazil, Chile, Colombia, Peru and more). No official API needed: every result is parsed and verified from real listing pages.

Use it to **monitor competitors**, track prices daily, detect discounts, and find products to resell.

### Why scrape Mercado Libre?

- **Price monitoring** — watch any product and catch price drops before others do.
- **Competitor research** — see what rivals charge, their discounts and installments in every country.
- **Reselling** — find underpriced products with free shipping to flip for profit.
- **Market coverage** — one Actor for 18 countries, with sorting by relevance, price ascending or descending, and real pagination.

### What data can Mercado Libre Scraper extract?

| Field | Type | Description |
|---|---|---|
| `title` | string | Product title |
| `price_mxn` | number | Numeric price (AR/CL thousands with dots parsed correctly) |
| `old_price_mxn` / `discount_pct` | number | Original price and real discount % |
| `installments` | string | Monthly payments info |
| `sold_text` | string | Units sold |
| `free_shipping` | boolean | Free shipping flag |
| `permalink` | string | Direct product link |
| `country` | string | MX, AR, BR, CL… (18 supported) |
| `parse_confidence` | number | Extraction confidence 0–1 |

Enable `extendedDetails` and the Actor also opens each product page for approximate units sold, warranty and the full attributes table (brand, model, …).

### How to scrape Mercado Libre

1. Click **Try for free**.
2. Enter your **product** in `query` (e.g. `licuadora ninja`) and pick a **country** (default MX).
3. Optionally set **sorting**, **maxResults** (up to 200) and **pages**.
4. Click **Run**.
5. Download your data as **JSON, CSV, Excel or HTML** from the Dataset tab.

```json
{
  "title": "Licuadora Ninja Profesional Plus BN701LAA 1400W",
  "price_mxn": 2499,
  "free_shipping": true,
  "permalink": "https://www.mercadolibre.com.mx/...",
  "parse_confidence": 0.85
}
```

### How much does it cost to scrape Mercado Libre?

**$2 per 1,000 results** — less than half the price of the leading Amazon-style scrapers. Platform compute and proxy costs are paid by you (Store standard). A residential proxy of the target country is recommended, as datacenter IPs get blocked.

### Tips

- Use `price_asc` sorting with a low `maxResults` to hunt bargains fast and cheap.
- Schedule daily runs via the Apify **Scheduler** and compare datasets to detect price changes automatically.
- Combine with our [I24 Monitor MX](https://apify.com/pioneering_explosion/i24-monitor-mx) and [Glassdoor Monitor](https://apify.com/pioneering_explosion/glassdoor-monitor) for Mexico market coverage across e-commerce, real estate and jobs.

Our Actors are ethical and only extract publicly visible product data. They do not collect private user information.

# Actor input Schema

## `query` (type: `string`):

Producto a buscar (ej. licuadora ninja)

## `maxResults` (type: `integer`):

Tope de productos (1-200)

## `extendedDetails` (type: `boolean`):

Abre cada producto para garantía, vendidos y atributos (más lento)

## `proxy` (type: `object`):

Residencial MX recomendado: la IP de datacenter la bloquea ML

## `country` (type: `string`):

MX, AR, BR, CL, CO, CR, DO, EC, GT, HN, NI, PA, PY, PE, SV, UY, VE, BO

## `sort` (type: `string`):

relevance, price\_asc, price\_desc

## `maxPages` (type: `integer`):

Páginas de resultados (1-5)

## Actor input object example

```json
{
  "maxResults": 20,
  "extendedDetails": false,
  "country": "MX",
  "sort": "relevance",
  "maxPages": 3
}
```

# Actor output Schema

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

Un item por producto: titulo, precio\_mxn, envio gratis, enlace (y garantia/vendidos/atributos en modo extendido).

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("pioneering_explosion/ml-monitor-mx").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("pioneering_explosion/ml-monitor-mx").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 '{}' |
apify call pioneering_explosion/ml-monitor-mx --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pioneering_explosion/ml-monitor-mx"
        }
    }
}
```

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/R5KdEsM1iGVMNafvl/builds/yDlxmi2Fq0Gqh874v/openapi.json
