Discover/Mercado Livre API
live

Mercado Livre APIlista.mercadolivre.com.br

Access Mercado Livre Brazil Ofertas deals data: prices, discounts, promotion status, and sold units across all categories via 4 structured endpoints.

This API takes change requests — .
Endpoint health
verified 7d ago
get_lowest_price_item
search_listings
get_recent_listings
3/3 passing latest checkself-healing
Endpoints
4
Updated
25d ago

What is the Mercado Livre API?

This API exposes 4 endpoints covering Mercado Livre Brazil's Ofertas (Deals) page, returning product deal objects with fields including Price, Original_Price, Discount, Store_Name, and Promotion_Status. The search_listings endpoint accepts a category_id and optional keyword query to filter active deals within a given category, while get_listing_details fetches sold-unit counts for individual items by ID or URL.

Try it
Keyword to filter results by product name (case-insensitive local filter applied after fetching the category page). Works best when combined with category_id.
Mercado Livre category ID to filter deals (e.g. MLB3937 for Joias e Relógios, MLB1648 for Informática). When omitted, returns all deals from the main Ofertas page.
api.parse.bot/scraper/3805251d-c51a-458d-ad8f-cb8b5a906b4f/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3805251d-c51a-458d-ad8f-cb8b5a906b4f/search_listings?query=relogio&category_id=MLB3937' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace lista-mercadolivre-com-br-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: MercadoLivre SDK — browse deals, filter by category, find cheapest."""
from parse_apis.Mercado_Livre_Brazil__Offers__API import MercadoLivre, Listing, NotFoundError

client = MercadoLivre()

# Search for deals in the jewelry & watches category (MLB3937)
for listing in client.listings.search(query="relogio", category_id="MLB3937", limit=5):
    print(listing.name, listing.price, listing.original_price, listing.store_name)

# Find the lowest-priced watch deal in the jewelry category
cheapest = client.listings.lowest_price(query="relogio")
if cheapest:
    print(cheapest.name, cheapest.price, cheapest.url)

# List all current active deals on the Ofertas page
for deal in client.listings.list_recent(limit=3):
    print(deal.id, deal.name, deal.price, deal.promotion_status)

# Error handling: catch NotFoundError for invalid operations
try:
    result = client.listings.lowest_price(query="xyznonexistent999")
    if result:
        print(result.name, result.price)
    else:
        print("No matching items found")
except NotFoundError as exc:
    print(f"Resource not found: {exc}")

print("exercised: listings.search / listings.lowest_price / listings.list_recent")
All endpoints · 4 totalmissing one? ·

Search for product listings on the Mercado Livre Brazil 'Ofertas' (deals) page. Without a category_id, returns all current deals. The query parameter filters results locally by name within the fetched listings. Returns matching listings with pricing, discount, and store information, plus aggregate statistics (total count, average price). Single-page response containing all matching deals in the selected category.

Input
ParamTypeDescription
querystringKeyword to filter results by product name (case-insensitive local filter applied after fetching the category page). Works best when combined with category_id.
category_idstringMercado Livre category ID to filter deals (e.g. MLB3937 for Joias e Relógios, MLB1648 for Informática). When omitted, returns all deals from the main Ofertas page.
Response
{
  "type": "object",
  "fields": {
    "listings": "array of product deal objects with id, Name, Price, Original_Price, Discount, Store_Name, Promotion_Status, and URL",
    "total_count": "integer total number of matching listings",
    "average_price": "number average price of matching listings"
  },
  "sample": {
    "data": {
      "listings": [
        {
          "id": "MLB3683540706",
          "URL": "https://www.mercadolivre.com.br/relogio-orient-masculino-analogico-prateado-mbss1155a-d2sx/p/MLB17913852",
          "Name": "Relogio Orient Masculino Analogico Prateado Mbss1155a D2sx Azul-escuro",
          "Price": 299,
          "Discount": null,
          "Store_Name": "Relojoaria Wenus {icon_cockade}",
          "Original_Price": 457.39,
          "Promotion_Status": "MAIS VENDIDO"
        }
      ],
      "total_count": 2,
      "average_price": 186.24
    },
    "status": "success"
  }
}

About the Mercado Livre API

What the API Returns

All four endpoints draw from Mercado Livre Brazil's active Ofertas (Deals) page. The core response object across endpoints shares a consistent shape: id, Name, Price, Original_Price, Discount, Store_Name, Promotion_Status, and URL. The search_listings endpoint also returns total_count and average_price for the matched result set, making it useful for quick category-level price summaries.

Filtering and Scope

search_listings accepts two optional parameters: category_id (e.g. MLB3937 for Joias e Relógios) and query. The query parameter applies a case-insensitive local filter against product names within the fetched category results — it does not hit a search index independently. For best results, pair query with a category_id to narrow the pool before filtering. Without category_id, the endpoint returns all current deals across categories.

Single-Item and Lowest-Price Lookups

get_listing_details takes an item_id (either a raw Mercado Livre item ID or a full item URL) and returns Price, Sales (units sold), Promotion_Status, Name, and URL for that specific listing. get_lowest_price_item scans the Ofertas page within a category for the cheapest item matching a keyword, returning the full deal object or null if no match is found.

Freshness and Coverage

get_recent_listings returns all currently active deals and accepts a days parameter for interface compatibility, but that parameter does not filter results — every item returned is an active promotion at the time of the request. Coverage is limited to items appearing on the Ofertas page; standard non-deal listings and search-result pages outside the Ofertas section are not included.

Reliability & maintenanceVerified

The Mercado Livre API is a managed, monitored endpoint for lista.mercadolivre.com.br — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when lista.mercadolivre.com.br changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official lista.mercadolivre.com.br API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track discount depth over time using Discount and Original_Price fields across electronics categories
  • Identify which Ofertas products have the highest Sales counts to gauge deal popularity
  • Build a price-drop alert by comparing current Price values from search_listings against a stored baseline
  • Find the cheapest active deal in a specific category using get_lowest_price_item with a keyword filter
  • Aggregate average_price from search_listings across multiple category_ids for competitive benchmarking
  • Monitor Promotion_Status changes on specific item IDs using get_listing_details
  • Audit which Store_Name sellers appear most frequently in active Ofertas deals
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Mercado Livre have an official developer API?+
Yes. Mercado Libre offers an official REST API documented at https://developers.mercadolibre.com.br. It requires OAuth authentication and covers a broader surface including orders, catalog management, and seller data. This Parse API focuses specifically on publicly visible Ofertas deal data without requiring authentication.
What does get_listing_details return that search_listings does not?+
get_listing_details returns a Sales field (integer units sold) for the individual item. That field is not present in the bulk deal objects returned by search_listings, get_recent_listings, or get_lowest_price_item.
Does the query parameter in search_listings search across all Mercado Livre listings?+
No. The query parameter filters by product name only within the set of deals already fetched for the given category_id. It does not query the broader Mercado Livre catalog or search index. To search across all active deals regardless of category, omit category_id and provide only query, but note that the result pool will be the full Ofertas page.
Does the API cover product reviews, seller ratings, or item specifications?+
Not currently. The API covers deal-page fields: Price, Original_Price, Discount, Store_Name, Promotion_Status, URL, and Sales (via get_listing_details). Reviews, seller ratings, and detailed item specifications are not exposed. You can fork this API on Parse and revise it to add an endpoint targeting those fields.
Are deals from categories outside the Ofertas page included?+
No. Only items appearing on the Ofertas page at the time of the request are returned. Standard product listings, search results pages, and category browse pages outside Ofertas are not covered. You can fork this API on Parse and revise it to add endpoints targeting those sections.
Page content last updated . Spec covers 4 endpoints from lista.mercadolivre.com.br.
Related APIs in MarketplaceSee all →
mercadolibre.com API
Search and retrieve product listings, details, customer reviews, categories, and current deals from MercadoLibre across multiple countries to find the best products and prices. Get comprehensive product information including specifications and user feedback to make informed purchasing decisions.
mercadolivre.com.br API
mercadolivre.com.br API
mercadolibre.com.mx API
Search for products on Mercado Libre Mexico, view detailed product information with pricing and offers, browse categories, and research seller details all in one place. Access live marketplace data including product listings, category hierarchies, and current offers to help you find and compare items across Mexico's largest e-commerce platform.
mercadolibre.com.ar API
Search for products, cars, and real estate listings on MercadoLibre Argentina and access detailed information including product specifications, customer reviews, and seller profiles. Get comprehensive market data to compare prices, evaluate sellers, and make informed purchasing decisions across multiple categories.
amazon.com.br API
Search and browse products on Amazon Brazil (amazon.com.br). Retrieve product details, review summaries, bestseller rankings, current deals, and price analytics.
marisa.com.br API
Search and browse Marisa.com.br's fashion inventory to discover products by category, view detailed item information, and see what other shoppers are currently searching for. Access the complete category structure and identify trending products to stay updated on popular styles from this leading Brazilian fashion retailer.
olx.com.br API
Search and browse OLX Brazil real estate listings for properties available for sale or rent, with advanced filtering options to narrow down your search. Access comprehensive property details including descriptions, prices, locations, and other key information for each listing.
shopee.com.br API
Search for products on Shopee Brazil (shopee.com.br) and retrieve detailed information including item specifications, customer reviews, and seller profiles. Browse the complete category tree to discover products across all sections of the marketplace, and explore official shops, flash sales, and search suggestions.