# Mercado Libre Scraper: Products & Prices $0.80/1K (`vant47/mercadolibre-scraper-cheap`) Actor

Collect Mercado Libre prices, discounts and ratings from official shops, category pages and best-seller lists across Latin America. Each product costs $0.0008, so 100 cost $0.08 plus the run fee. Export current and previous prices for tracking. No login.

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

## Pricing

from $0.64 / 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/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

## Mercado Libre Scraper: Products & Prices $0.80/1K

For brands, resellers and price analysts monitoring Mercado Libre and Mercado Livre. Collect current prices, displayed comparison prices and public product links from official shops, category landings and best-seller lists. Each distinct priced product costs $0.0008. One hundred products cost $0.08 plus the $0.00045 run start fee at 256 MB. No login is needed.

The Mexico example takes a snapshot of the first 20 priced cards on the best-sellers page. Choose the country-specific category or shop you monitor and repeat the same input to build a price history. Every product row includes the page that supplied the price and a UTC observation timestamp.

In a measured cloud run, the prefilled input returned 20 priced listings in 17.8 seconds. Ten of those listings matched the live marketplace page on listing ID, title, currency and amount.

### What you can do with the export

- **Track an official shop.** Save a known store link and compare its current prices and comparison prices between runs. Export both marketplace listing and catalog identifiers for matching.
- **Track category prices.** Use a category landing to sample the featured offers on the page. Add several different category URLs when a report spans departments. Keep currencies separate when comparing the results.
- **Investigate a discount.** Turn on `dealsOnly` to save cards whose current price is below their displayed comparison price. Retain the source link and scan the original marketplace wording when the distinction between a coupon and a lower listed price matters.
- **Sample best sellers across markets.** Enter local best-seller pages for Mexico, Brazil, Argentina, Chile or Colombia. The row records both country and currency. Use source rank within a page to interpret the sample.
- **Compare listing history.** Match snapshots using the combination of `country` and `itemId`. Use a catalog product ID when you need to group offers for the same catalog entry across sellers. Save a separate source and timestamp column in your own database.

### Start in three steps

1. Paste a Mercado Libre category or official shop URL. The prefilled Mexico example uses the public best-sellers page.
2. Set `maxItems` to the number of distinct priced products you want to save. Set `maxItemsPerSearch` as well when you want to spread the sample across multiple sources.
3. Run the Actor, check its coverage summary, and export `PRODUCT` rows as JSON, CSV, JSON Lines or Excel. Keep the source currency and timestamp with the price.

```json
{
  "categoryUrls": ["https://www.mercadolibre.com.mx/mas-vendidos"],
  "maxItems": 20
}
```

Use this input to collect priced discounts from an official storefront:

```json
{
  "sellerUrls": ["https://www.mercadolibre.com.mx/tienda/sony"],
  "dealsOnly": true,
  "maxItems": 20
}
```

Use country-specific addresses to compare product coverage in several markets. The country in each URL determines its market. Keep each currency in its own column or group in the analysis.

```json
{
  "categoryUrls": [
    "https://www.mercadolibre.com.mx/mas-vendidos",
    "https://www.mercadolivre.com.br/mais-vendidos",
    "https://www.mercadolibre.com.ar/mas-vendidos"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 60
}
```

### Inputs

| Input | What it controls |
|---|---|
| `categoryUrls` | Public category landings or best-seller URLs. The Console starts with the Mexico best-seller page. |
| `sellerUrls` | Public official shop URLs such as `https://www.mercadolibre.com.mx/tienda/sony`. |
| `startUrls` | A general list of category, best-seller, shop or product URLs. Supply strings or URL objects through the API. |
| `searchTerms` | Keywords to try on the marketplace selected by `country`. Verification responses produce a coverage note. |
| `country` | Market for keywords. URLs set their own country independently. |
| `maxItems` | Total distinct priced product limit, from 1 to 5,000. The default is 20. |
| `maxItemsPerSearch` | Per-input item limit. The default is the total limit. |
| `priceMin`, `priceMax` | Inclusive bounds in each row's original currency. Omit these when comparing markets whose currency amounts differ in scale. |
| `dealsOnly` | Keep cards whose displayed current price is below the displayed comparison price. |
| `sort` | `default` follows the page. `priceAsc` and `priceDesc` order the sample within each input. |
| `proxyConfiguration` | Defaults to standard datacenter HTTP. Explicit proxy settings or direct access are supported. |
| `productUrls` | Direct product page inputs. A verification response is reported as a coverage note. |
| `includeDetails` | Request extra detail coverage. Product-page fields require an accessible direct product URL. |
| `includeReviews`, `maxReviewsPerProduct` | Review settings. See Limits for current access and which review information appears in a card. |

When using several URLs, their input order controls which source gets the first opportunity to fill the total limit. Put your priority URL first. Each source is sampled in its own page order before local sorting. Keep the exact URL in your notes for interpreting repeat runs.

### Product fields

| Field | Definition |
|---|---|
| `summary`, `type` | Human-readable price headline and record type. The dataset can contain `PRODUCT`, `NOTE` and `SUMMARY` rows. |
| `country`, `siteId`, `retailer` | Local marketplace, its source ID and the marketplace name. |
| `itemId`, `productId` | ID used for deduplication. The explicit listing ID takes priority when the card links to a selected offer. |
| `listingId`, `catalogProductId`, `userProductId` | Source identifiers for marketplace offers and catalog entries. A field can be null. |
| `title`, `brand`, `model` | Public title and available product attributes. |
| `price`, `currency` | The displayed amount and currency carried by the price element. |
| `originalPrice`, `regularPrice` | The displayed comparison amount when it uses the same currency. |
| `onSale`, `discountPercent`, `promoText` | Comparison price flag, posted percentage and available offer wording. |
| `promoStart`, `promoEnd` | Dates when the source supplies them. |
| `rating`, `reviewCount` | Product card's aggregate ratings when the source displays them. |
| `shopName`, `shopId` | Public official storefront label and slug when the input is an official storefront. |
| `deliveryPromise`, `freeShipping` | Public shipping wording and a flag for explicitly marked free shipping. |
| `imageUrl`, `images` | Main image and listing card images when shown. |
| `url` | Cleaned item URL, preserving any explicit listing selector needed to locate the offer. |
| `sourceType`, `sourceInput`, `sourceQuery`, `sourcePage`, `rank` | Source and position in the collected public page. |
| `sourceUrl`, `priceSourceUrl`, `detailSourceUrl` | Addresses that supplied discovery, price and any direct product page fields. |
| `scrapedAt` | UTC timestamp for the source snapshot. |

The overview shows price, currency, visible discounts and ratings. The deals view brings comparison price fields together. The shops view shows seller and shipping fields. The provenance view shows the listing and catalog identifiers, rank and source address. For a deals-only export, also set the input filter or select `onSale=true` downstream.

### Pricing

At the standard event price, 20 priced products cost $0.01645 including a run start at 256 MB. One hundred products cost $0.08045. A run with 1,000 priced products costs $0.80045. Apify's eligible account tiers can discount the product event. Each distinct priced product is billed once within a run, including when multiple inputs find it.

Set a maximum run charge in Apify if you want a monetary ceiling. The Actor checks that room remains for the next product before delivery. A coverage note or summary has no product charge. The platform applies the run start fee separately.

### Monitor prices every day

1. Save an exact category or storefront input as an Apify task. Give the task a name that identifies its market and source.
2. Select the saved task in Apify Schedules and choose a recurrence that suits your monitoring window.
3. On each successful run, record the run ID and append the product rows to your price history. Use `country`, `itemId` and `scrapedAt` as the observation key.
4. Read the summary before using the dataset. A source failure or spending cap can reduce the sample. Keep previous observations for an item until the source confirms what changed.

### Use the Apify API

Send the same inputs you would use in the Console. Pass your Apify token in an authorization header. The response identifies the run and its storage, so your integration can wait for completion and fetch the dataset and `SUMMARY` record.

```bash
curl --request POST \
  'https://api.apify.com/v2/acts/vant47~mercadolibre-scraper-cheap/runs' \
  --header "Authorization: Bearer ${APIFY_TOKEN}" \
  --header 'Content-Type: application/json' \
  --data '{"categoryUrls":["https://www.mercadolibre.com.mx/mas-vendidos"],"maxItems":20}'
```

Read `GET /v2/actor-runs/{runId}` for status and storage IDs, then `GET /v2/datasets/{datasetId}/items?format=json` for rows. Use `GET /v2/key-value-stores/{storeId}/records/SUMMARY` for coverage, priced product counts, source failures and the spending limit status.

### Use with AI agents (MCP)

Ask your agent to inspect the Actor input schema. Give it a country-specific official store or category URL and say how many distinct cards you need. Ask it to read the final summary before comparing prices. An example request is “Get 20 public best-seller prices in Mexico. Report the item title, current and comparison amounts, and the source currency. Mention any verification responses shown in the summary.”

### Limits

The reliable signed-out surfaces are category landings, best-seller landing pages and official storefronts. They show the products featured on those pages. The marketplace commonly asks for account verification on native keyword search, paginated search URLs and direct product pages. These requests may return a free coverage note. Keep a working category or storefront URL for a recurring task.

Availability quantities, shipping to an address, promotion dates, barcode, seller reputation and monthly sales are usually absent from listing cards. Individual review text and review-level exports are unavailable. Visibility differs by page and market. Aggregate ratings and counts appear when the source shows them. Final checkout offers can depend on account, address, payment method or coupons. Numeric comparisons and filters run in source currencies.

### FAQ

**Why did the row count differ across runs?** The cap sets an upper limit. Source inventory, deduplication and your filters determine actual counts.

**How are two offers for the same catalog item represented?** When the page supplies separate listing IDs, each offer can receive its own row. Use catalog product ID for grouping.

**How do I know a price was unavailable?** Check the source reports in the summary. A priced data row carries its price source. A missing comparison price appears as null.

**Can I mix outlets and markets?** Yes. Enter each local shop or category URL. Use the country and currency fields to keep different local markets distinct.

**Where are the comparison prices and discounts?** Look at `originalPrice`, `onSale`, `discountPercent` and `promoText`. The source may show only a current price on some cards.

**Will a repeated task return the same listing identifiers?** The identifiers come from the currently displayed offer. Track listing IDs to watch an existing seller offer and catalog IDs to group changes in the offer chosen by the marketplace.

# Actor input Schema

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

Try keyword search on the selected marketplace when the site serves signed-out results. Availability varies.

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

Market for keyword search. URLs use the country in their domain.

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

Accepts Mercado Libre category, best-seller, official shop and product addresses.

## `categoryUrls` (type: `array`):

Paste country-specific category landings or best-seller pages.

## `sellerUrls` (type: `array`):

Paste signed-out official shop links, such as https://www.mercadolibre.com.mx/tienda/sony.

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

Tries a public product page. Restricted pages generate a free note.

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

Total number of distinct priced products to save, across all inputs.

## `maxItemsPerSearch` (type: `integer`):

Set a ceiling for each keyword, category, shop or product URL.

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

Sort the collected sample for each source by displayed price or leave source order.

## `dealsOnly` (type: `boolean`):

Keep products whose displayed current price is below the source comparison price.

## `priceMin` (type: `number`):

Inclusive bound in each listing’s source currency.

## `priceMax` (type: `number`):

Inclusive bound in each listing’s source currency.

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

Direct product links can include any public product-page fields. Marketplaces that require verification report a free note.

## `includeReviews` (type: `boolean`):

Public text reviews are currently unavailable. Aggregate ratings and counts are included when shown.

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

Reserved for public individual reviews when available.

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

Defaults to Apify datacenter HTTP with direct and country-matched retry on transient transport errors. Explicit proxy settings are respected.

## Actor input object example

```json
{
  "country": "MX",
  "categoryUrls": [
    "https://www.mercadolibre.com.mx/mas-vendidos"
  ],
  "maxItems": 20,
  "sort": "default",
  "dealsOnly": false,
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (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 = {
    "country": "MX",
    "categoryUrls": [
        "https://www.mercadolibre.com.mx/mas-vendidos"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("vant47/mercadolibre-scraper-cheap").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 = {
    "country": "MX",
    "categoryUrls": ["https://www.mercadolibre.com.mx/mas-vendidos"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("vant47/mercadolibre-scraper-cheap").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 '{
  "country": "MX",
  "categoryUrls": [
    "https://www.mercadolibre.com.mx/mas-vendidos"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call vant47/mercadolibre-scraper-cheap --silent --output-dataset

```

## MCP server setup

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

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/cqSH23XNaW6Mwft2t/builds/aRfh392XjaW2AHbLB/openapi.json
