Mercado Libre
Mercado Libre Reviews API
One page of up to 15 Mercado Libre product reviews, optionally filtered by star rating: rating, text, the original text when Mercado Libre translated it, exact date, likes, the country the review was written in and photos. Page until a page comes back empty. Costs 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonproduct_idstringCatalog product id, as returned in product_id by Search (or in a /p/ URL). Its prefix sets the country: MLM Mexico, MLB Brazil, MLA Argentina, MCO Colombia. Pass exactly one of product_id, item_id or url.
Example: MLM1027172667
item_idstringItem (listing) id, as returned in item_id by Search. MLM-3571336480 is accepted too.
Example: MLM3571336480
urlstringA Mercado Libre or Mercado Livre product (/p/), user product (/up/) or listing page URL from a supported country.
Example: https://www.mercadolibre.com.mx/apple-iphone-15-128-gb-azul-distribuidor-autorizado/p/MLM1027172667
ratingintegerOnly reviews with this star rating, 1-5.
Example: 1
pageintegerdefault:1Reviews page, 1-based, up to 15 reviews per page. A page past the last one comes back empty.
Example: 2
Notes
Page until a page is empty. Each page holds up to 15 reviews, and a page can hold fewer while more follow, so there is no reliable "has more" flag: request the next page until count is 0. The review totals and the star distribution come from Product (rating.count, rating.distribution).
Translated, pooled reviews. A catalog product pools reviews from several Mercado Libre countries and shows them in the site's language. When a review was translated, translated is true and original_text keeps the original (the first captured review was written in Portuguese on Mercado Livre Brazil). site_id, country and reviewer_country say where each review came from; country is null for a site the API does not serve, such as Chile (MLC).
- Reviews cost 1 credit per page, half the other Mercado Libre endpoints.
textcan be empty on photo-only reviews;medialists the photos.- An unknown id returns 404 and is billed. With a
ratingfilter, a star level with no reviews returns an empty page. Temporary failures (502/503) are never billed.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# Every 1-star review, 15 per page, 1 credit per page
page = 1
while True:
res = client.mercadolibre.reviews(product_id="MLM1027172667", rating=1, page=page)
reviews = res["data"]["reviews"]
if not reviews:
break
for r in reviews:
print(r["created_at"], r["country"], r["original_text"] or r["text"])
page += 1Response