# Mercado Libre New Listings Monitor (`juanga/meli-new-listings`) Actor

Get only NEW Mercado Libre car and apartment listings, minutes after they are posted. Schedule it every 10-60 min: each run returns just what is new since the last run, with Telegram, Slack, Discord or webhook alerts. Argentina, Mexico, Uruguay, Chile.

- **URL**: https://apify.com/juanga/meli-new-listings.md
- **Developed by:** [Juan Gari](https://apify.com/juanga) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 new listings

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

## Mercado Libre New Listings Monitor

**See new Mercado Libre car and apartment listings minutes after they are published.** Paste your search URLs, put the Actor on a schedule, and every run returns **only the listings that are new since the last run**. Get them in a dataset, by API, or straight to Telegram, Slack, Discord or your webhook.

*Nuevas publicaciones de Mercado Libre al instante: autos usados, camionetas, motos, departamentos y casas en alquiler o venta. Alertas automáticas de avisos nuevos.*

### Who it is for

- **Car dealers and flippers** — be first to call on underpriced used cars (autos usados, 0 km, camionetas).
- **Real-estate agents and investors** — catch new rentals and sales (departamentos, casas, "dueño directo") before they are gone.
- **Renters and buyers** — get a Telegram message the moment a matching apartment or car is listed.
- **Analysts** — build a clean feed of new supply per city, brand or price band.

### Why this Actor

- **Only new listings, never repeats.** It remembers what each search already returned, so a schedule every 10 minutes gives you a clean stream instead of the same 48 results again.
- **Nothing slips through.** Mercado Libre has no "newest first" sort for these categories, so the Actor uses its *Publicados hoy* filter and scans **every page** of today's results.
- **Your filters, as they are.** Any brand, model, year, km, price range, city, neighborhood, owner-only or dealer-only filter you set on Mercado Libre is kept.
- **Pay for results, not for empty runs.** A run that finds nothing new costs only the tiny start fee.
- **Built to keep running.** Blocked or failed pages never corrupt its history or charge you, and every run writes a `RUN_SUMMARY` with the status of each search.

### Supported sites

Tested from Apify servers in November 2026:

| Country | Vehicles | Real estate |
|---|---|---|
| 🇦🇷 Argentina (`mercadolibre.com.ar`) | ✅ | ✅ via fallback proxy |
| 🇲🇽 Mexico (`mercadolibre.com.mx`) | ✅ | ✅ via fallback proxy |
| 🇺🇾 Uruguay (`mercadolibre.com.uy`) | ✅ | — not tested |
| 🇨🇱 Chile (`mercadolibre.cl`) | ✅ | ❌ |
| 🇨🇴 Colombia, 🇵🇪 Peru, 🇧🇷 Brazil (Mercado Livre) | ❌ | ❌ |

General product search (`listado.mercadolibre...`) is not supported. Where Mercado Libre blocks automated access, the search is reported as `blocked` in `RUN_SUMMARY` and **not charged**.

### Quick start

1. Open Mercado Libre, search (e.g. *Toyota Hilux* in autos, or *departamentos en alquiler* in *Capital Federal*), apply your filters and copy the URL.
2. Paste one or more URLs into **Search URLs** and run. The first run returns today's listings.
3. Click **Schedule** and run it every 10–60 minutes with the same input. From now on, each run returns only new listings.

Example input:

```json
{
  "searchUrls": [
    "https://autos.mercadolibre.com.ar/volkswagen/amarok/_PriceRange_0-40000000",
    "https://inmuebles.mercadolibre.com.ar/departamentos/alquiler/capital-federal/dueno-directo/"
  ],
  "telegramBotToken": "123456:ABC...",
  "telegramChatId": "123456789"
}
```

#### Ready-made searches

Copy any of these into **Search URLs** (all checked in November 2026), or use them as a template for your own:

| What | URL |
|---|---|
| VW Amarok, Argentina | `https://autos.mercadolibre.com.ar/volkswagen/amarok/` |
| All cars in Capital Federal | `https://autos.mercadolibre.com.ar/capital-federal/` |
| Apartment rentals, owner-only, CABA | `https://inmuebles.mercadolibre.com.ar/departamentos/alquiler/capital-federal/dueno-directo/` |
| Apartments for sale in Palermo | `https://inmuebles.mercadolibre.com.ar/departamentos/venta/capital-federal/palermo/` |
| Nissan Versa, Mexico | `https://autos.mercadolibre.com.mx/nissan/versa/` |
| All cars in Mexico City | `https://autos.mercadolibre.com.mx/distrito-federal/` |
| Apartment rentals in Mexico City | `https://inmuebles.mercadolibre.com.mx/departamentos/renta/distrito-federal/` |
| All cars in Montevideo | `https://autos.mercadolibre.com.uy/montevideo/` |
| Toyota, Chile | `https://autos.mercadolibre.cl/toyota/` |

#### See real output first

A real run (85 listings: cars in Argentina and Mexico, owner-only rentals in Buenos Aires) is public: [table view](https://api.apify.com/v2/datasets/p56yOUXgNdvz26WGs/items?format=html\&view=overview) · [JSON](https://api.apify.com/v2/datasets/p56yOUXgNdvz26WGs/items?format=json\&clean=true) · [CSV](https://api.apify.com/v2/datasets/p56yOUXgNdvz26WGs/items?format=csv\&clean=true) · [Excel](https://api.apify.com/v2/datasets/p56yOUXgNdvz26WGs/items?format=xlsx\&clean=true).

#### Telegram alerts in 2 minutes

1. In Telegram, message **@BotFather** → `/newbot` → copy the token.
2. Send any message to your new bot, then open `https://api.telegram.org/bot<TOKEN>/getUpdates` and copy `chat.id`.
3. Paste both into the input. New listings arrive as messages with title, price, location and link.

Also available: **WhatsApp** (free, via CallMeBot: send "I allow callmebot to send me messages" to +34 644 51 95 23 once and paste the API key), **email** to your Apify account address, Slack, Discord and a custom JSON webhook.

### Output

One dataset item per new listing:

```json
{
  "id": "MLA2301160609",
  "title": "Alquiler De Departamento Divisible En Velez Sarsfield Con Balcón.",
  "headline": "Departamento en alquiler",
  "price": 700000,
  "currency": "ARS",
  "attributes": ["1 amb.", "1 baño", "39 m² cubiertos"],
  "location": "César Díaz Al 5000, Velez Sarsfield, Capital Federal",
  "sellerName": null,
  "isOfficialStore": false,
  "recentPublication": true,
  "url": "https://departamento.mercadolibre.com.ar/MLA-2301160609-...",
  "thumbnail": "https://http2.mlstatic.com/D_Q_NP_2X_...-E.webp",
  "categoryId": "MLA1473",
  "domainId": "MLA-APARTMENTS_FOR_RENT",
  "country": "AR",
  "searchUrl": "https://inmuebles.mercadolibre.com.ar/departamentos/alquiler/capital-federal/",
  "firstSeenAt": "2026-11-18T22:57:55.000Z"
}
```

Vehicles carry year and kilometers in `attributes` (e.g. `["2016", "148.000 Km"]`) and dealer names in `sellerName`. `firstSeenAt` is when this Actor first saw the listing (search pages do not show the exact publication time).

Each run also writes `RUN_SUMMARY` to the default key-value store: per search, its status, listings scanned, new listings, pages and proxy pages used.

### Pricing

Pay per event:

| Event | Price |
|---|---|
| New listing returned | $2.00 per 1,000 |
| Page loaded through the fallback proxy | $3.00 per 1,000 |
| Actor start | $0.00005 |

Typical costs:

- **Toyota search in Argentina, every 15 minutes** (~100 new listings a day): about **$0.20 a day**. Runs with nothing new cost only the start fee.
- **Apartment rentals in Capital Federal, every 30 minutes** (~7 proxy pages per run, ~380 new listings a day): about **$1.80 a day**. Narrow the search (neighborhood, price, owner-only) to cut proxy pages.

Set **Max cost per run** in the run options to cap spending. The Actor stops at that limit, and listings it could not return come out on the next run.

### FAQ

**Will I get the same listing twice?** No. Each search remembers returned listings for 7 days (configurable) in the named key-value store `meli-new-listings-state`. Use a different store name to start a separate history.

**Why do I get listings on the first run?** By default the first run returns today's listings so you can check the output. Choose **First run → Baseline** to start tracking silently.

**How fast are new listings detected?** As fast as your schedule. Every 10 minutes is a good balance for cars; 30–60 minutes for real estate.

**What if Mercado Libre changes its site?** The search shows as `failed` or `blocked` in `RUN_SUMMARY`, nothing is charged, and its history is kept, so no listings are lost once it is fixed.

### More monitors for Latin America

- [OLX Brasil New Listings Monitor](https://apify.com/juanga/olx-br-new-listings): new cars, real estate and anything else on OLX Brasil.
- [Licitações PNCP — Alertas](https://apify.com/juanga/pncp-licitacoes-alertas): new Brazilian public tenders by keyword, state and value.

### Limits

- **Midnight:** with *Only listings published today* on, a listing published a few minutes before midnight (site time) can be missed if no run happens before midnight. Shorter schedules shrink this window.
- Mercado Libre shows at most ~2,000 results per search; narrow very broad searches with filters.
- Results are ordered by relevance and shift between pages, so occasionally a listing published earlier today is first returned one run later.

# Actor input Schema

## `searchUrls` (type: `array`):

Mercado Libre vehicles or real-estate search URLs, with any filters you want (brand, model, city, price, owner-only...). Open the search on Mercado Libre, set filters, copy the URL. Supported: autos./motos./vehiculos. and inmuebles. sites (tested on Argentina, Mexico and Uruguay). General product search (listado.) and Brazil are not supported yet.

## `onlyPublishedToday` (type: `boolean`):

Adds Mercado Libre's 'Publicados hoy' filter so each run scans only today's listings. Keep this on for schedules: it is faster, cheaper and catches every new listing. Turn off to also catch older listings you have not seen yet (slower; limited to the pages below).

## `firstRun` (type: `string`):

What the very first run of a search returns. 'Return current listings' shows today's listings right away. 'Baseline' records them silently, so only listings published after you start are returned.

## `maxPagesPerSearch` (type: `integer`):

Pages of 48 results scanned per search URL each run. Results are ordered by relevance, not date, so a new listing can be on any page: keep the maximum (42, Mercado Libre's limit) unless you want to cap cost on very broad searches.

## `stateStoreName` (type: `string`):

Named key-value store that remembers which listings were already returned. Use a different name to start a separate history.

## `seenRetentionDays` (type: `integer`):

How long a returned listing is remembered so it is not returned again.

## `failOnAnyError` (type: `boolean`):

Mark the run as failed when any search is blocked, invalid or cannot be loaded, so Apify monitoring and run-failure emails alert you. By default a run only fails when every search fails.

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

Connection tried first. 'No proxy' is cheapest and works for most vehicle searches.

## `fallbackProxyConfiguration` (type: `object`):

Used only when Mercado Libre blocks the first connection, which from Apify servers is the case for real-estate searches. Residential IPs from the listing's country are picked automatically. Each page loaded through it is billed as a 'proxy page' event. Set to 'No proxy' to disable; blocked searches are then reported and not charged.

## `telegramBotToken` (type: `string`):

Optional. Send new listings to Telegram. Create a bot with @BotFather.

## `telegramChatId` (type: `string`):

Chat, group or channel ID the bot posts to.

## `whatsappPhone` (type: `string`):

Optional. Get alerts on WhatsApp via CallMeBot (free). Number with country code, e.g. +5491122334455. Activate once by sending "I allow callmebot to send me messages" to +34 644 51 95 23 on WhatsApp, then paste the API key below.

## `whatsappApiKey` (type: `string`):

The key CallMeBot sends you on WhatsApp.

## `emailTo` (type: `string`):

Optional. Use your Apify account email: Apify's email service only sends to the account owner. A fraction of a cent per email.

## `slackWebhookUrl` (type: `string`):

Optional.

## `discordWebhookUrl` (type: `string`):

Optional.

## `webhookUrl` (type: `string`):

Optional. Receives a JSON POST { search, count, listings } per search with new listings.

## Actor input object example

```json
{
  "searchUrls": [
    "https://autos.mercadolibre.com.ar/volkswagen/amarok/",
    "https://autos.mercadolibre.com.mx/nissan/versa/"
  ],
  "onlyPublishedToday": true,
  "firstRun": "emit",
  "maxPagesPerSearch": 42,
  "stateStoreName": "meli-new-listings-state",
  "seenRetentionDays": 7,
  "failOnAnyError": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "fallbackProxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `newListings` (type: `string`):

Listings new since the previous run, one item per listing.

## `runSummary` (type: `string`):

Per search URL: status, listings scanned, new listings, pages, proxy pages used, and any error.

# 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 = {
    "searchUrls": [
        "https://autos.mercadolibre.com.ar/volkswagen/amarok/",
        "https://autos.mercadolibre.com.mx/nissan/versa/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "fallbackProxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("juanga/meli-new-listings").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 = {
    "searchUrls": [
        "https://autos.mercadolibre.com.ar/volkswagen/amarok/",
        "https://autos.mercadolibre.com.mx/nissan/versa/",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
    "fallbackProxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("juanga/meli-new-listings").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 '{
  "searchUrls": [
    "https://autos.mercadolibre.com.ar/volkswagen/amarok/",
    "https://autos.mercadolibre.com.mx/nissan/versa/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "fallbackProxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call juanga/meli-new-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,juanga/meli-new-listings"
        }
    }
}
```

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/pzwi8vkucqKtS0rgR/builds/I0rN0JqMPgrLm7Kh9/openapi.json
