1. Complete Reference: All 6 Mercado Libre LATAM Endpoints
Every Mercado Libre endpoint uses clean HTTPS GET paths under https://api.upp3.com parameterized by 3-letter site_id (MLB Brazil, MLM Mexico, MLA Argentina, MCO Colombia, MLC Chile, etc.) and supports mode="raw" or mode="summary".
| Method & Endpoint | Key Parameters | Cross-Border Intelligence |
|---|---|---|
| GET/v1/mercadolibre/sites | mode |
Directory of all 18 supported LATAM sites, local currencies & capabilities. |
| GET/v1/mercadolibre/sites/{site_id}/search | site_id*, keyword*, sort, cursor, mode |
Keyword search across any LATAM country sorted by relevance or price. |
| GET/v1/mercadolibre/sites/{site_id}/items/{item_id} | site_id*, item_id*, mode |
Listing pricing, installments, seller reputation, logistics & attributes. |
| GET/v1/mercadolibre/sites/{site_id}/products/{product_id} | site_id*, product_id*, mode |
Catalog Buy Box winner, variations & competing other_offers entry prices. |
| GET/v1/mercadolibre/sites/{site_id}/items/{item_id}/shipping | site_id*, item_id*, zip_code*, quantity (1..99) |
Live delivery options, exact shipping fees & estimated arrival dates by ZIP. |
| GET/v1/mercadolibre/sites/{site_id}/products/{product_id}/reviews | site_id*, product_id*, rating, order, is_item, include_personal_data |
GDPR 0-PII customer reviews & rating breakdown (set is_item=true for item IDs). |
2. Quoting Catalog Buy Box & Destination ZIP Shipping ETAs (cURL)
On Mercado Libre, catalog pages (products/{product_id}) determine which seller owns the Buy Box based on landed price, Mercado Envíos Full logistics, and seller reputation. Pair catalog inspection with /items/{item_id}/shipping across benchmark metro ZIP codes (e.g., São Paulo 01310100, Mexico City 06600, Buenos Aires C1043, Bogotá 110111, Santiago 8320000) to quantify actual fulfillment costs.
# 1. Enumerate all 18 supported LATAM sites & currencies curl -sS "https://api.upp3.com/v1/mercadolibre/sites?mode=summary" \ -H "X-API-Key: YOUR_EDGEDATA_API_KEY" # 2. Fetch Brazil (MLB) catalog Buy Box winner & competing other_offers curl -sS "https://api.upp3.com/v1/mercadolibre/sites/MLB/products/MLB19615329?mode=summary" \ -H "X-API-Key: YOUR_EDGEDATA_API_KEY" # 3. Calculate real-time shipping fee & ETA to Sao Paulo CEP 01310100 (quantity=2) curl -sS -G "https://api.upp3.com/v1/mercadolibre/sites/MLB/items/MLB3521849102/shipping" \ -H "X-API-Key: YOUR_EDGEDATA_API_KEY" \ --data-urlencode "zip_code=01310100" \ --data-urlencode "quantity=2" \ --data-urlencode "mode=summary"
3. Cross-Border LATAM Net Margin Formula & Calculator (Python)
Before allocating ad spend or air-freight inventory into Brazil (MLB), Mexico (MLM), Colombia (MCO), or Chile (MLC), compute true unit contribution margin in local currency and USD using live Buy Box pricing and destination ZIP shipping quotes:
- (COGS_USD + Intl_Freight_USD) * FX_Local_Per_USD
- (BuyBox_Price_Local * Marketplace_Commission_Rate)
- Import_Duty_VAT_Local
- Local_ZIP_Shipping_Cost_Local
Net_Margin_Pct = (Net_Margin_Local / BuyBox_Price_Local) * 100
import requests
BASE = "https://api.upp3.com"
HEADERS = {"X-API-Key": "YOUR_EDGEDATA_API_KEY"}
def evaluate_latam_sku(
site_id: str,
keyword: str,
zip_code: str,
cogs_usd: float,
intl_freight_usd: float,
fx_local_per_usd: float,
commission_rate: float = 0.16,
duty_vat_rate: float = 0.19,
) -> dict:
# 1. Search top relevant listing on the target LATAM site
search = requests.get(
f"{BASE}/v1/mercadolibre/sites/{site_id}/search",
headers=HEADERS,
params={"keyword": keyword, "sort": "relevance", "mode": "raw"},
timeout=30,
)
search.raise_for_status()
results = search.json().get("results") or search.json().get("items") or []
if not results:
raise RuntimeError(f"No listings found for {keyword} on {site_id}")
lead = results[0]
item_id = lead.get("id") or lead.get("item_id")
item_detail = requests.get(
f"{BASE}/v1/mercadolibre/sites/{site_id}/items/{item_id}",
headers=HEADERS,
params={"mode": "raw"},
timeout=30,
).json()
buybox_price = float(item_detail.get("price") or lead.get("price") or 0)
# 2. Quote live local shipping to target metro ZIP code
ship = requests.get(
f"{BASE}/v1/mercadolibre/sites/{site_id}/items/{item_id}/shipping",
headers=HEADERS,
params={"zip_code": zip_code, "quantity": 1, "mode": "raw"},
timeout=30,
).json()
options = ship.get("options") or ship.get("shipping_options") or []
local_shipping = min(
(float(opt.get("cost", 0) or 0) for opt in options),
default=0.0,
)
# 3. Compute cross-border net margin
landed_cogs_local = (cogs_usd + intl_freight_usd) * fx_local_per_usd
commission_local = buybox_price * commission_rate
duty_vat_local = landed_cogs_local * duty_vat_rate
net_local = buybox_price - landed_cogs_local - commission_local - duty_vat_local - local_shipping
margin_pct = round((net_local / buybox_price) * 100.0, 2) if buybox_price else 0.0
return {
"site_id": site_id,
"item_id": item_id,
"buybox_price_local": buybox_price,
"zip_shipping_local": local_shipping,
"net_margin_usd": round(net_local / fx_local_per_usd, 2),
"net_margin_pct": margin_pct,
}
print(
evaluate_latam_sku(
site_id="MLM",
keyword="auriculares bluetooth cancelacion ruido",
zip_code="06600",
cogs_usd=18.50,
intl_freight_usd=6.00,
fx_local_per_usd=18.20,
)
)
4. Defect Analysis via GDPR-Safe Reviews (Node.js) & Native MCP Tools
Before entering a crowded LATAM category, filter 1- and 2-star reviews ordered by dateCreated to expose recurring packaging, voltage (110V vs 220V in Brazil/Argentina/Chile), or localization defects. Note that include_personal_data defaults to false so reviewer PII is stripped automatically.
const BASE = "https://api.upp3.com";
const HEADERS = { "X-API-Key": "YOUR_EDGEDATA_API_KEY" };
async function getMl(path, params = {}) {
const qs = new URLSearchParams(params);
const res = await fetch(`${BASE}${path}?${qs}`, { headers: HEADERS });
if (!res.ok) throw new Error(`${path} HTTP ${res.status}`);
return res.json();
}
const [buybox, criticalReviews] = await Promise.all([
getMl("/v1/mercadolibre/sites/MLB/products/MLB19615329", { mode: "summary" }),
getMl("/v1/mercadolibre/sites/MLB/products/MLB19615329/reviews", {
rating: "1",
order: "dateCreated",
limit: "20",
include_personal_data: "false",
mode: "summary",
}),
]);
console.log("MLB Buy Box snapshot:", buybox);
console.log("Recent 1-star GDPR-safe reviews:", criticalReviews);
{
"tool": "mercadolibre_get_shipping",
"arguments": {
"site_id": "MLM",
"item_id": "MLM2048192014",
"zip_code": "06600",
"quantity": 1,
"mode": "summary"
}
}
Connect AI sourcing copilots via mercadolibre_search_products, mercadolibre_get_product_buybox, mercadolibre_get_shipping, and mercadolibre_get_reviews on https://mcp.upp3.com/mcp with automatic mode="summary" compaction.
5. Engineering Comparison: Single-Country Scraping vs Official OAuth Seller API vs Cross-Site Intelligence API
Evaluate how cross-border engineering teams source Mercado Libre marketplace data across 18 countries:
| Dimension | Single-Country Scraping | Official OAuth Seller API | Cross-Site Mercado Libre Intelligence API |
|---|---|---|---|
| 18-Country Coverage | Requires localized residential proxies & per-site HTML parsers. | Tied to registered seller accounts & app scopes per country. | Single X-API-Key covers all 18 sites (MLB, MLM, MLA, MCO, MLC...). |
| Buy Box & Competing Offers | Frequent layout shifts between catalog and regular listings. | Designed primarily for own-account inventory & order management. | Dedicated /products/{product_id} Buy Box & other_offers schema. |
| Destination ZIP Shipping & ETA | Requires stateful postal-code cookies and modal automation. | Often restricted to own items or specific seller logistics scopes. | Stateless /items/{item_id}/shipping?zip_code=...&quantity=... quotes. |
| OAuth & Token Friction | None, but high proxy/CAPTCHA maintenance burden. | High — OAuth client registration, token refresh & local entity verification. | Zero OAuth; standard API key auth + instant RapidAPI or Direct billing. |
| GDPR 0-PII & AI Readiness | Raw HTML requires custom PII stripping & token reduction. | Raw verbose schemas require transformation for LLM agents. | include_personal_data=false + mode="summary" + 4 native MCP tools. |
6. Frequently Asked Questions
Which 18 Latin America marketplaces are supported by GET /v1/mercadolibre/sites?
MLB), Mexico (MLM), Argentina (MLA), Colombia (MCO), Chile (MLC), Uruguay (MLU), Peru (MPE), Ecuador (MEC), Venezuela (MLV), and Central American marketplaces, each discoverable dynamically via GET /v1/mercadolibre/sites.What is the difference between an item_id and a catalog product_id on Mercado Libre?
item_id (for example MLB3521849102) represents an individual seller’s listing and is used for /items/{item_id} and /items/{item_id}/shipping quotes. A catalog product_id (for example MLB19615329) groups competing sellers on a shared Buy Box page and is queried via /products/{product_id} to inspect the Buy Box winner and other_offers.Why is destination ZIP-code shipping quoting essential for LATAM net margin modeling?
01310100 or CDMX 06600) and regional postal codes. GET /v1/mercadolibre/sites/{site_id}/items/{item_id}/shipping returns real-time carrier options, costs, and delivery ETAs by zip_code and quantity.Do I need local Mercado Libre seller accounts or OAuth tokens in each LATAM country?
X-API-Key, eliminating per-country seller registration, OAuth refresh token management, and regional IP setup.Can I pull Mercado Libre customer reviews safely without exposing personal buyer data?
GET /v1/mercadolibre/sites/{site_id}/products/{product_id}/reviews defaults to include_personal_data=false, stripping author and reviewer PII keys while preserving star ratings, dates, and review text. Pass is_item=true if querying by listing item_id instead of catalog product_id.