# MercadoLibre Scraper: Products, Prices, Sellers & Reviews (`tacps126/mercadolibre-scraper`) Actor

MercadoLibre and Mercado Livre products from any search, category, store or product link in 18 countries: price, original price, discount, installments, free shipping, FULL, seller, rating, sold count and photos. Optional product details and price change monitoring.

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

## Pricing

from $2.30 / 1,000 products

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

## MercadoLibre Scraper: Products, Prices, Sellers & Reviews

Products from **MercadoLibre and Mercado Livre** in all 18 countries (Argentina, Brazil, Mexico, Chile, Colombia, Peru, Uruguay and more) for any search, category, store or product link: price and original price, discount, installments, free shipping and Full delivery, seller, rating, review count and units sold. Turn on **Product details** for brand, model, condition, stock, seller reputation, the full specifications table and the description. Schedule it with **Only new or changed** to get price drop alerts with a price history.

**Built for** sellers and brands tracking competitors, pricing analysts, LATAM market researchers, dropshippers, and AI agents.

### What you get

| Field | Meaning |
|---|---|
| `id`, `title`, `url`, `image`, `catalogProductId` | The product |
| `price`, `originalPrice`, `discountPercent`, `currency` | Prices in the local currency |
| `installments` | Count, amount per installment, interest-free flag |
| `freeShipping`, `fulfilledByMercadoLibre`, `international`, `shipsFrom`, `shipping` | Delivery |
| `seller`, `rating`, `reviewsCount`, `soldQuantity` | Seller and social proof |
| `highlight`, `promotions`, `variations`, `sponsored` | Badges, deals, colours and sizes, ads |
| `categoryId`, `categoryPath`, `domainId`, `position`, `country`, `siteId` | Where it sits |

**With Product details:** `brand`, `model`, `condition`, `availableQuantity`, `soldText`, `sellerId`, `officialStore`, `sellerReputation`, `sellerSales`, `specifications`, `gtin` (when the listing has one), `categories`, `description`.

**With Only new or changed:** `changeType` (new or changed), `changes` (old and new price) and `priceHistory`.

### Why this Actor

- **18 country sites** with one input: pick the country for search terms, or paste links from any country.
- **Search terms, category, store and product links** in one run, with deep paging past the first pages.
- **Filters:** price range, free shipping only, discounted only, sponsored listings on or off.
- **Price monitoring** with change details and history.
- **For AI agents.** Callable as an MCP tool.

### How to use it

```json
{ "searchTerms": ["iphone 15", "zapatillas running"], "country": "AR", "maxItemsPerSource": 200 }
```

Brazil, lowest price first, with full product details:

```json
{ "searchTerms": ["air fryer"], "country": "BR", "sortBy": "price_low", "includeDetails": true }
```

Search and category links from several countries (product links work too):

```json
{ "startUrls": ["https://listado.mercadolibre.com.mx/smart-tv", "https://lista.mercadolivre.com.br/tenis-corrida"] }
```

Daily price drop alerts:

```json
{ "searchTerms": ["notebook"], "country": "MX", "onlyChanges": true, "monitorName": "mx-notebooks" }
```

### Pricing

**$2.50 per 1,000 products** plus a small start fee per run; **product details** add **$6 per 1,000** product pages. Higher Apify plans pay less. On the Apify free plan a run returns up to 100 products.

### FAQ

**Which countries work?** Argentina, Brazil, Mexico, Chile, Colombia, Peru, Uruguay, Venezuela, Ecuador, Bolivia, Paraguay, Costa Rica, Dominican Republic, Panama, Guatemala, Honduras, Nicaragua and El Salvador.

**How many products can I get per search?** As many as the site lists for that search, up to your `maxItemsPerSource` and `maxItems`.

**Can I monitor prices?** Yes. *Only new or changed* returns new products and products whose price changed, with the old and new values and `priceHistory`.

**Do I need a proxy?** The default proxy setting works. Keep it unless you know you need something else.

# Actor input Schema

## `searchTerms` (type: `array`):

Words as you would type them in the MercadoLibre search box.

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

Country site for the search terms. Links below can be from any country.

## `startUrls` (type: `array`):

Search, category, store or product links from any MercadoLibre or Mercado Livre site.

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

Order of search results.

## `minPrice` (type: `number`):

Only products at or above this price, in the site's currency.

## `maxPrice` (type: `number`):

Only products at or below this price, in the site's currency.

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

Only products with free shipping.

## `discountedOnly` (type: `boolean`):

Only products shown with an original price and a discount.

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

Also return sponsored (ad) listings, marked sponsored: true.

## `includeDetails` (type: `boolean`):

Open each product page for brand, barcode, condition, description, all photos, stock and review count (charged per product page).

## `maxItemsPerSource` (type: `integer`):

MercadoLibre shows about 50 products per page.

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

Most products returned per run.

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

Schedule the Actor and each run returns only products that are new or changed price since the last run, with the change and a price history.

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

Optional name for the "only new" history, so several monitors can run side by side.

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

The default setting works for every country. Change it only if you know you need to.

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

Save extra diagnostics with the run (for support requests).

## Actor input object example

```json
{
  "searchTerms": [
    "zapatillas"
  ],
  "country": "AR",
  "sortBy": "relevance",
  "freeShippingOnly": false,
  "discountedOnly": false,
  "includeSponsored": false,
  "includeDetails": false,
  "maxItemsPerSource": 100,
  "maxItems": 1000,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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 = {
    "searchTerms": [
        "zapatillas"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/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 = {
    "searchTerms": ["zapatillas"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/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 '{
  "searchTerms": [
    "zapatillas"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call tacps126/mercadolibre-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/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/YtwCBfz7lOtavUr7g/builds/wmDCCDIjb22EHKnc2/openapi.json
