Skip to main content
AI Studio  add-on for Spider.
International
mercadolibre.com Verified

Mercado Libre Scraper

Extract product listings, seller ratings, pricing in local currencies, and shipping data from Mercado Libre. Built on spider-browser .

Get started Docs
target
mercadolibre.com
success rate
99.9%
latency
~4ms
POST /fetch/mercadolibre.com/
return_format
curl -X POST https://api.spider.cloud/fetch/mercadolibre.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://mercadolibre.com/",
  "status": 200,
  "data": {
    "product_name": "string",
    "price": "string",
    "currency": "string",
    "seller": "string",
    "rating": "string",
    "sold_count": "string",
    "shipping": "string",
    "location": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from mercadolibre.com with a single POST. AI-resolved selectors, cached on the first call.

mercado-libre-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://listado.mercadolibre.com.mx/celulares-smartphones");
await page.content(10000);

const data = await page.evaluate(`(() => {
  const items = [];
  document.querySelectorAll("li[class*='item'], a[href*='/MLM-'], a[href*='/MLA-']").forEach(el => {
    const name = el.querySelector("h2, h3, [class*='title']")?.textContent?.trim();
    const price = el.querySelector("span")?.textContent?.match(/[d,.]+/)?.[0];
    const shipping = el.querySelector("span")?.textContent?.match(/envío|shipping|free/i)?.[0];
    if (name) items.push({ name, price, shipping });
  });
  return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Product namePriceCurrencySellerRatingSold countShippingLocation
Geo-Proxy

Regional access

Access geo-restricted content on mercadolibre.com via local proxies.

Rendering

Multi-language SPA

Handle internationalized React/Vue storefronts with dynamic content.

Scale

Global coverage

Scrape marketplace listings across multiple countries and currencies.

Related

More International scrapers.

Start

Start scraping mercadolibre.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.