Read MercadoLibre prices across eighteen country sites
- success rate
- 98.2%
- median response
- 3.6s
- endpoints
- 9
The MercadoLibre API returns product, price, deals and review data from Latin America's largest marketplace as clean JSON.
| name | total_items |
|---|---|
| Accesorios para Celulares | 3,543,055 |
| Celulares y Smartphones | 117,204 |
| Handies y Radiofrecuencia | 67,183 |
1 credit per call≈ $1/1,000 calls1,000 free credits, no card
Get a free API keyRun the call yourself, on the real endpoint
Change a parameter and press Try it. The response on the right is what your code will receive.
Mercado Libre API
4 of 9 endpoints, ready to run
One category: its name, its item total, its path from the root and its children — the map you navigate by.
{ "ok": true, "meta": { "api": "mercadolibre", "endpoint": "category", "mode": "live", "latency_ms": 724.7, "record_count": 10, "cache_hit": false }, "data": { "category": { "id": "MLA1051", "name": "Celulares y Teléfonos", "permalink": "https://www.mercadolibre.com.ar/c/celulares-y-telefonos", "total_items": 4602898, "path_from_root": [ { "id": "MLA1051", "name": "Celulares y Teléfonos" } ], "children": [ { "id": "MLA3502", "name": "Accesorios para Celulares", "total_items": 3543055 }, { "id": "MLA1055", "name": "Celulares y Smartphones", "total_items": 117204 }, { "id": "MLA1058", "name": "Handies y Radiofrecuencia", "total_items": 67183 } ] } } }
What Mercado Libre endpoints does ReefAPI ship?
9 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.
vertical_search
3 crPublic vehicle classified search.
- required
- —
- optional
- market, query, brand, page, max_results
vertical_listing
3 crFull public Vehicle detail from its exact source URL.
- required
- url
- optional
- market
search
3 crKeyword product search across a MercadoLibre country site.
- required
- query
- optional
- site_id, page, max_pages, limit, min_price, max_price, sort
product_detail
3 crFull record for one MercadoLibre product, from its item id, catalog product id or URL.
- required
- item_id
- optional
- site_id
deals
1 crMercadoLibre's live deals feed (Ofertas del día).
- required
- —
- optional
- site_id, page, max_pages, min_discount, sort
category_items
1 crProducts listed in a MercadoLibre category.
- required
- category_id
- optional
- site_id, sort, min_price, max_price
reviews
1 crBuyer reviews for a catalog product.
- required
- product_id
- optional
- site_id, page, max_pages
suggest
1 crSearch-term autocomplete.
- required
- query
- optional
- site_id
category
1 crBrowse the MercadoLibre category tree.
- required
- category_id
- optional
- —
Every parameter, every allowed value →
Missing a Mercado Libre endpoint, or need a source we don't have yet?Contact us real people · same-day reply.How the Mercado Libre API works
Mercado Libre is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 809 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
Category, then the products in it
There is no keyword search on this engine — the honest version of that sentence is on the page rather than buried. The route to a product is the category tree, and it takes two calls.
{"category_id": "MLA1051"}Read children[].id. Those child ids are the narrow categories, and they are what you feed the next call.
{"category_id": <child id>}Most rows carry a previous price here, which is where a discount actually comes from on this engine.
Two credits per category. Every endpoint costs the same, so the cheapest run is the one that does not repeat the tree walk — cache it.
curl -X POST https://api.reefapi.com/mercadolibre/v1/category \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"category_id":"MLA1051"}'{
"ok": true,
"data": { … },
"meta": {
"api": "mercadolibre",
"endpoint": "category",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}MercadoLibre site IDs: MLA, MLB, MLM, MLC, MCO and the rest
MercadoLibre is not one marketplace — it is a separate site per country, and the site_id picks which one you are calling. The same prefix is carried inside every id the API returns, so an id tells you which country it came from. Measured 2026-08-26 by calling deals once for each site.
| site_id | Country | Currency returned | Listing host | Example item_id |
|---|---|---|---|---|
| MLA | Argentina | ARS | mercadolibre.com.ar | MLA2021354154 |
| MLB | Brazil | BRL | mercadolivre.com.br | MLB7245055100 |
| MLM | Mexico | MXN | mercadolibre.com.mx | MLM2305625685 |
| MLC | Chile | CLP | mercadolibre.cl | MLC3787927218 |
| MCO | Colombia | COP | mercadolibre.com.co | MCO2881784742 |
| MLU | Uruguay | UYU | mercadolibre.com.uy | MLU698399113 |
| MPE | Peru | PEN | mercadolibre.com.pe | MPE885394014 |
| MLV | Venezuela | USD | mercadolibre.com.ve | MLV757702281 |
| MEC | Ecuador | USD | mercadolibre.com.ec | MEC622991704 |
site_id also accepts MBO (Bolivia), MPY (Paraguay), MRD (Dominican Republic), MCR (Costa Rica), MGT (Guatemala), MPA (Panama), MHN (Honduras), MNI (Nicaragua) and MSV (El Salvador). On 2026-08-26 none of those nine returned a deals feed, so they are not in the table above rather than listed as if they were verified. Default site_id is MLA.
What about the official Mercado Libre API?
It exists, and it does return market-wide data — the catch is getting in. If you already run an authenticated Mercado Libre application, the search is theirs and it is the same listings.
Scoped to site search is a public resource, but every call is authenticated. Access: an OAuth token on every call — an unauthenticated request answered 403 when measured on 2026-09-27 — plus an IP allowlist on the application.
“Public resource: /sites/{site_id}/search — you can get the results of active items directly from the Mercado Libre listings.”Mercado Libre Developers documentation, read 2026-09-27
When you want the listings without holding an OAuth application, or you need exact stock: their available_quantity is published as a bucketed value rather than the real number.
What MLA, MLB and MLM actually mean
This is the question people arrive on this page already asking, word for word, in search. Here is the answer, checked by calling the same category number on five country sites and comparing what came back.
Eighteen country sites are accepted, from Argentina, Brazil and Mexico down to Central America. Each one has its own domain, its own catalogue and its own currency.
MLA is Argentina, MLB Brazil, MLM Mexico, MLC Chile, MCO Colombia. Every id on this engine carries it: category ids, listing ids and product ids all start with those three letters, and a bare number with no prefix is rejected as not found.
Top-level category numbers do line up: 1051 is mobile phones on all five sites we checked. Their children do not. Argentina's accessories child came back as a different number from the identical child on the other four. Never assume a category id maps across by swapping the prefix.
On the category endpoints the prefix on the id wins and the site parameter is ignored. Asking for an Argentine category while passing Brazil as the site returned sixty Argentine rows priced in pesos. It is the id that routes the call, not the parameter next to it.
Pinned to the site, and it follows the prefix: Argentine pesos, Chilean pesos, Colombian pesos, Uruguayan pesos, Peruvian soles. One currency per response, never mixed.
A listing id is the prefix and ten digits; a catalogue product id is the prefix and eight. Both appear on the same row, and validating by length will reject perfectly good ids the day one changes.
Category listings answered for Argentina, Chile, Colombia, Uruguay and Peru. The Brazilian phone and computer categories returned success with zero rows, twice, and so did the Mexican phone category — while the Mexican computer category returned rows. It is a category-and-site combination that goes quiet, not a whole country, and it does so without an error.
The deals endpoint is named for discounts, and every row we measured across three countries came back with an empty previous price and a zero discount. The percentage filter therefore matches nothing. Discounts are in the category listings instead, where most rows do carry a previous price.
What people build with Mercado Libre
The jobs this data is most often used for.
Pricing teams call deals and category_items to track MercadoLibre prices and promotions.
Catalog tools use category and suggest to map a segment's products and demand.
Review-analysis products pull reviews to monitor sentiment across LATAM listings.
endpoints
credits per call
What Mercado Libre data costs
The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
- 1,000 free credits on signup, no card
- One key, all 809 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/mercadolibre/v1/category \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"category_id":"MLA1051"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/mercadolibre/v1/category",
headers={"x-api-key": REEF_KEY},
json={
"category_id": "MLA1051"
},
timeout=90,
)
print(r.json()["data"])Questions developers ask about Mercado Libre data
Collected from Stack Overflow, Reddit and search, and answered with live calls on 2 Nov 2026.
Is there a Mercado Libre API for product and price data, or do I have to scrape?▾
Mercado Libre's official API is built for sellers managing their own listings: you register an app and run OAuth, and developers report that search and item reads are often refused until the app passes Mercado Libre's security review.
If you need Mercado Libre product, price and seller data without building that, ReefAPI's Mercado Libre API returns it as JSON from one POST call: search, full product records with every specification, reviews, deals and category listings, on all 18 country sites.
curl -X POST https://api.reefapi.com/mercadolibre/v1/product_detail \
-H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
-d '{"item_id":"MLA3868215358","site_id":"MLA"}'Real response, 2 Nov 2026: "Apple iPhone 15 128 GB Negro" · price.current 1529999 ARS · in_stock true · "+50 disponibles" · sold_quantity 1000 · rating 4.9 from 8,057 reviews · 71 specification fields · 10 images
The official API returns 403 PolicyAgent on /sites/…/search even with a valid token. How do I search listings?▾
Developers report that Mercado Libre's own /sites/{site}/search and /items calls often come back as 403 PA_UNAUTHORIZED_RESULT_FROM_POLICIES, even with a working OAuth token, unless the app has passed Mercado Libre's security review.
To get Mercado Libre search results as JSON without registering an app, use ReefAPI's Mercado Libre API: it reads the public listing pages live, for every site code.
curl -X POST https://api.reefapi.com/mercadolibre/v1/search \
-H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
-d '{"query":"iphone 15","site_id":"MLA","limit":3}'Real response, 2 Nov 2026: total_results 366 · "Apple iPhone 15 128 GB Negro" · price.current 1529999 ARS (was 2099999) · seller "Apple" · official store · "Llega gratis mañana"
How do I read Mercado Libre data without OAuth, code_verifier or CORS errors?▾
Those errors come from the official API's sign-in flow (OAuth 2.0 with PKCE, which is why a code_verifier is required) and from calling api.mercadolibre.com directly from a browser.
With ReefAPI's Mercado Libre API there is no OAuth step: send your ReefAPI key in the x-api-key header from your server or script and the response is plain JSON. Keep the call server-side so the key never reaches a browser.
import requests
r = requests.post(
"https://api.reefapi.com/mercadolibre/v1/search",
headers={"x-api-key": REEF_KEY},
json={"query": "iphone 15", "site_id": "MLA", "limit": 3},
)
for item in r.json()["data"]["items"]:
print(item["item_id"], item["price"]["current"], item["title"])What are the site codes MLA, MLB, MLM, MLC, MCO, and how do item ID prefixes work?▾
Each Mercado Libre country has a site code: MLA Argentina, MLB Brazil, MLM Mexico, MLC Chile, MCO Colombia, MLU Uruguay, MPE Peru, and eleven more. Item and catalog ids start with that code, so MLB5410636044 is a Brazilian listing and MLA1027172677 an Argentine catalog product.
In ReefAPI's Mercado Libre API you pass the code as site_id to search that country, and the ids that search returns work directly in product_detail.
curl -X POST https://api.reefapi.com/mercadolibre/v1/search \
-H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
-d '{"query":"fone bluetooth","site_id":"MLB","limit":3}'Real response, 2 Nov 2026: MLB5410636044 · "Fone de Ouvido Bluetooth 5.4 soundcore P30i" · 210 BRL (was 389) · "Amanhã | Grátis"
How do I compare prices across Mercado Libre listings automatically?▾
Search once with sort: price_asc and a min_price floor to drop accessories, and the Mercado Libre results come back cheapest first, each with its current and previous price and the seller. Rows that share a product_id are the same catalog product from different sellers.
Run it on a schedule and you have a price tracker for any query on any of the 18 Mercado Libre sites.
curl -X POST https://api.reefapi.com/mercadolibre/v1/search \
-H "x-api-key: $REEF_KEY" -H "content-type: application/json" \
-d '{"query":"freidora de aire","site_id":"MLM","sort":"price_asc","min_price":800,"limit":3}'Real response, 2 Nov 2026: "7.5l Freidora Aire Digital 2000w" 885 MXN (was 3792) · "Freidora De Aire Horno Digital 8l" 899 MXN, seller SIGNA · "Freidora de Aire Welikera 7.5 L" 974 MXN
Can I use Mercado Livre data in n8n, Make or Zapier?▾
Yes. Add an HTTP Request node with method POST, the URL https://api.reefapi.com/mercadolibre/v1/search, a header x-api-key with your key and a JSON body. Mercado Livre (Brazil) is site_id: MLB.
The response is plain JSON, so the next node can read data.items[].price.current directly. Calls that fail cost no credits.
{
"query": "fone bluetooth",
"site_id": "MLB",
"sort": "price_asc",
"limit": 20
}Have a question? We got answers.
The questions people actually ask before wiring up Mercado Libre.
What do the MercadoLibre site IDs MLA, MLB, MLM, MLC and MCO mean?▾
They are country codes for MercadoLibre's per-country marketplaces: MLA is Argentina, MLB is Brazil, MLM is Mexico, MLC is Chile and MCO is Colombia. Every action takes a site_id (default MLA), and the money comes back in that country's currency — ARS, BRL, MXN, CLP and COP respectively, all confirmed by a live call on 2026-08-26. The table above lists the nine sites that returned data plus the nine further codes the parameter accepts.
Is a MercadoLibre item_id the same across countries?▾
No — an item_id belongs to exactly one country site, and it carries that site's prefix. Measured on 2026-08-26: MLA2021354154 (Argentina), MLB7245055100 (Brazil), MLM2305625685 (Mexico), MLC3787927218 (Chile), MCO2881784742 (Colombia). So you can read the country straight off the id, and looking up a MLB id against the Argentine site will not find it. Pass the matching site_id with the id.
What is the difference between item_id and product_id?▾
item_id is one seller's listing; product_id is the catalog entry several sellers compete on with their own prices. Both carry the site prefix — the same deals row returned item_id MLA2021354154 and product_id MLA46255802 on 2026-08-26. Use product_id when you want every offer for a product, item_id when you want the exact listing you saw.
How do I page through the MercadoLibre deals feed?▾
deals returns roughly 45-48 items per page. Set max_pages between 1 and 10 to fetch and merge consecutive pages in one call (results are deduplicated), and read meta.total_results for how deep the feed goes — 11,652 for Argentina and 13,550 for Brazil when measured on 2026-08-26. meta.pagination.has_more tells you whether to keep going. min_discount is documented as filtering to items with at least that percentage off, but it filters on the previous price and the deals feed does not carry one: measured 2026-08-27 across Argentina, Brazil and Mexico, every row came back with a null previous price and a zero discount, so min_discount matches nothing. Use category_items for discounts instead — most rows there do carry a previous price.
Do I need a MercadoLibre developer account or OAuth token?▾
No. MercadoLibre's own developer platform needs an app registration and an OAuth flow per country. This API needs neither — you send your ReefAPI key and a site_id, and the response comes back in the same { ok, data, meta, error } envelope as every other engine here.
What is the Mercado Libre API?▾
Mercado Libre API is a ReefAPI endpoint group for latin-american marketplace products and prices. It returns live JSON through POST requests under /mercadolibre/v1.
Is the Mercado Libre API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. Mercado Libre calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Mercado Libre login or account?▾
No login to Mercado Libre is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Mercado Libre data?▾
The page example is captured from a live vertical_search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Mercado Libre API use?▾
Mercado Libre actions currently cost 1-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Mercado Libre from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call mercadolibre actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the Mercado Libre API a Mercado Libre scraper?▾
It is the managed alternative to a DIY Mercado Libre scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same latin-american marketplace products and prices back as clean JSON.
Why does my Mercado Libre scraper keep getting blocked?▾
Most Mercado Libre scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked calls are free.
403 E-commerce & Marketplaces APIs on the same key
One key, one credit pool, one response envelope. If you are pulling Mercado Libre, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 808 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-08-27.