# MercadoLibre Review Scraper (`karamelo/mercadolibre-review-scraper`) Actor

Extract public product reviews, ratings, dates, helpful votes, buyer media, and variants across MercadoLibre marketplaces.

- **URL**: https://apify.com/karamelo/mercadolibre-review-scraper.md
- **Developed by:** [karamelo](https://apify.com/karamelo) (community)
- **Categories:** Automation, E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## MercadoLibre Review Scraper

Collect public product reviews from MercadoLibre marketplaces in Latin America. Provide product URLs or catalog IDs and receive one flat, normalized dataset record for each unique review. The actor uses MercadoLibre's public review response, preserves the original review language, and keeps pagination, retries, and review deduplication bounded.

### Use cases

- Monitor customer feedback for a catalog product in Mexico, Argentina, and other supported MercadoLibre marketplaces.
- Export ratings, review text, helpful-vote counts, dates, variants, and public review media for analysis.
- Compare review coverage across a list of product URLs without managing marketplace-specific review requests.

### Input

`productUrls` is the preferred input. A run can contain URLs from more than one supported marketplace. Raw catalog IDs are also accepted through `productUrls` or `skus`.

```json
{
  "productUrls": [
    "https://www.mercadolibre.com.mx/apple-iphone-13-128-gb-medianoche-distribuidor-autorizado/p/MLM1018500844",
    "https://www.mercadolibre.com.ar/lego-classic-caja-de-ladrillos-creativos-mediana-10696-cantidad-de-piezas-484/p/MLA18581975"
  ],
  "maxReviewsPerProduct": 100,
  "reviewOrder": "relevance",
  "maxConcurrency": 4,
  "useResidentialProxy": false
}
```

| Field | Type | Default | Description |
|---|---|---:|---|
| `productUrls` | array | — | Product URLs or raw catalog IDs. At least one valid value is required across the URL/SKU fields. |
| `skus` | array | — | Catalog IDs such as `MLM1018500844` or `MLA18581975`. |
| `domain` | string | — | Compatibility metadata used to choose a marketplace for a numeric SKU. |
| `country` | enum | `MX` | Fallback marketplace for a numeric SKU without an identifiable country prefix. |
| `maxReviewsPerProduct` | integer | `100` | Maximum unique reviews per product. `0` uses the finite 5,000-record cap. |
| `reviewOrder` | enum | `relevance` | `relevance` or `dateCreated` (newest first). |
| `maxConcurrency` | integer | `4` | Product requests processed in parallel, limited to 1–12. |
| `useResidentialProxy` | boolean | `false` | Enables Apify Residential Proxy routing. |
| `proxyConfiguration` | object | — | Optional Apify Proxy configuration. |

The actor requests relevance and newest-first slices, then deduplicates by review ID. The configured product limit remains in effect.

### Output

Each dataset item is a flat JSON object. Missing public source values are `null`; the actor does not infer them. This example is illustrative:

```json
{
  "country": "MX",
  "siteId": "MLM",
  "productId": "MLM1018500844",
  "catalogProductId": null,
  "productUrl": "https://www.mercadolibre.com.mx/apple-iphone-13-128-gb-medianoche-distribuidor-autorizado/p/MLM1018500844",
  "reviewId": 3061778982,
  "reviewRating": 5,
  "reviewTitle": null,
  "reviewText": "Muy bueno lo recomiendo, es de marca.",
  "reviewDate": "2026-08-09T15:28:40.000Z",
  "reviewDateText": "Hace 5 días",
  "reviewCountry": "Argentina",
  "reviewLikes": 0,
  "reviewMedia": null,
  "reviewVariant": "",
  "reviewerName": null,
  "verifiedPurchase": null,
  "scrapedAt": "2026-08-14T16:40:16.738Z"
}
```

| Field | Description |
|---|---|
| `country`, `siteId` | Marketplace country and site code determined from the input. |
| `productId` | Product identifier resolved from the input URL or ID. |
| `catalogProductId` | Catalog product identifier supplied by MercadoLibre review metadata, when present. It can differ from `productId`. |
| `productUrl` | Original product URL or the URL generated for a raw ID. |
| `reviewId`, `reviewRating`, `reviewTitle`, `reviewText` | Public review identity and content. |
| `reviewDate`, `reviewDateText` | ISO creation time when present and MercadoLibre's localized date label. |
| `reviewCountry`, `reviewLikes`, `reviewVariant` | Reviewer country, helpful-vote count, and reviewed variant. |
| `reviewMedia` | Public image or video URLs, or `null` when none are present. |
| `reviewerName`, `verifiedPurchase` | Publicly exposed reviewer metadata, otherwise `null`. |
| `scrapedAt` | UTC timestamp when the actor normalized the record. |

`site_id` and `review_site_id` are intentionally not emitted: in the supplied API response they duplicate `siteId`. The output therefore keeps one canonical marketplace field. `catalogProductId` is retained because it is a distinct source value and is present as `null` when MercadoLibre does not publish it.

### Run through the Apify API

Set `APIFY_TOKEN` in your environment; do not embed it in application source. The synchronous endpoint returns dataset items when the run finishes within the platform's synchronous time limit.

#### cURL

```bash
curl --request POST \
  --url "https://api.apify.com/v2/actors/karamelo~mercadolibre-review-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  --header "content-type: application/json" \
  --data '{
    "productUrls": [
      "https://www.mercadolibre.com.mx/apple-iphone-13-128-gb-medianoche-distribuidor-autorizado/p/MLM1018500844",
      "https://www.mercadolibre.com.ar/lego-classic-caja-de-ladrillos-creativos-mediana-10696-cantidad-de-piezas-484/p/MLA18581975"
    ],
    "maxReviewsPerProduct": 25,
    "reviewOrder": "dateCreated"
  }'
```

#### JavaScript

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('karamelo/mercadolibre-review-scraper').call({
    productUrls: [
        'https://www.mercadolibre.com.mx/apple-iphone-13-128-gb-medianoche-distribuidor-autorizado/p/MLM1018500844',
        'https://www.mercadolibre.com.ar/lego-classic-caja-de-ladrillos-creativos-mediana-10696-cantidad-de-piezas-484/p/MLA18581975',
    ],
    maxReviewsPerProduct: 25,
    reviewOrder: 'dateCreated',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(token=os.environ["APIFY_TOKEN"])
run = client.actor("karamelo/mercadolibre-review-scraper").call(
    run_input={
        "productUrls": [
            "https://www.mercadolibre.com.mx/apple-iphone-13-128-gb-medianoche-distribuidor-autorizado/p/MLM1018500844",
            "https://www.mercadolibre.com.ar/lego-classic-caja-de-ladrillos-creativos-mediana-10696-cantidad-de-piezas-484/p/MLA18581975",
        ],
        "maxReviewsPerProduct": 25,
        "reviewOrder": "dateCreated",
    }
)

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

### Limitations

- Only public reviews returned by MercadoLibre are collected; private, removed, or account-restricted content is unavailable.
- Review availability, language, and optional metadata vary by marketplace and product.
- Each product is capped at 5,000 output records, including when `maxReviewsPerProduct` is `0`.
- Residential proxy traffic can incur separate Apify Proxy usage charges.

# Actor input Schema

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

MercadoLibre product URLs or raw product IDs. URLs may be mixed across supported marketplaces.

## `skus` (type: `array`):

Catalog product IDs such as MLA21794371 or MLB23163729.

## `domain` (type: `string`):

Retained for input compatibility; product URLs or IDs determine the marketplace when possible.

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

Marketplace used when a raw SKU has no country prefix.

## `maxReviewsPerProduct` (type: `integer`):

Maximum unique reviews per product. Set to 0 for the bounded 5,000-review cap.

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

Use relevance or newest-first ordering.

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

Maximum products processed at once.

## `useResidentialProxy` (type: `boolean`):

Enable Apify Residential proxy routing for regional access or anti-bot resilience.

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

Optional Apify Proxy configuration. Residential groups are recommended for blocked regional traffic.

## Actor input object example

```json
{
  "country": "MX",
  "maxReviewsPerProduct": 100,
  "reviewOrder": "relevance",
  "maxConcurrency": 4,
  "useResidentialProxy": false
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("karamelo/mercadolibre-review-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("karamelo/mercadolibre-review-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 '{}' |
apify call karamelo/mercadolibre-review-scraper --silent --output-dataset

```

## MCP server setup

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