Discover/Mercado Libre API
live

Mercado Libre APImercadolibre.com.mx

Access Mercado Libre Mexico product listings, pricing, categories, deals, and seller profiles via 6 structured API endpoints.

Endpoint health
verified 6d ago
get_categories
get_offers
get_category_listings
3/3 passing latest checkself-healing
Endpoints
6
Updated
13d ago

What is the Mercado Libre API?

This API exposes 6 endpoints covering Mercado Libre Mexico's product catalog, category hierarchy, daily deals, and seller profiles. Use get_product_detail to retrieve a product's title, pricing, images, and availability by item ID, or get_offers to pull paginated daily promotions with discount percentages and brand data. All responses are structured JSON ready for price tracking, catalog research, or competitive analysis.

Try it
Search keyword
api.parse.bot/scraper/806a3b41-a814-49f2-9e7e-754a9a017499/<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/806a3b41-a814-49f2-9e7e-754a9a017499/search_products?query=laptop' \
  -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 mercadolibre-com-mx-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: Mercado Libre Mexico SDK — browse categories, deals, and listings."""
from parse_apis.Mercado_Libre_Mexico_API import MercadoLibre, NotFoundError

client = MercadoLibre()

# List all product categories organized by department
for category in client.categories.list(limit=5):
    print(category.name, category.department, category.id)

# Browse current daily deals with pricing and discounts
for offer in client.offers.list(limit=3):
    print(offer.title, offer.price, offer.discount)

# Pick one category and list products in it
cat = client.categories.list(limit=1).first()
if cat:
    try:
        for listing in client.listings.list_by_category(category_url=cat.url, limit=5):
            print(listing.title, listing.price, listing.brand)
    except NotFoundError as exc:
        print(f"Category unavailable: {exc}")

print("exercised: categories.list / offers.list / listings.list_by_category")
All endpoints · 6 totalmissing one? ·

Search for products on Mercado Libre Mexico. Note: Direct search may be blocked by account verification challenges; consider using category listings or offers as an alternative.

Input
ParamTypeDescription
queryrequiredstringSearch keyword
Response
{
  "type": "object",
  "fields": {
    "url": "string",
    "items": "array",
    "query": "string"
  },
  "sample": {
    "items": [
      {
        "id": "MLM12345",
        "url": "https://...",
        "price": 1500,
        "title": "Product Title",
        "currency": "MXN",
        "thumbnail": "https://..."
      }
    ],
    "query": "laptop"
  }
}

About the Mercado Libre API

Product Search and Detail

search_products accepts a query string and returns matching item URLs, a results array, and the echoed query. Note that direct keyword searches may encounter account verification challenges on the source site; get_category_listings or get_offers are more reliable alternatives. get_product_detail accepts a product item_id (with or without the MLM prefix) and returns the item's id, title, and a components array that carries structured pricing, description, images, seller context, and availability data.

Categories and Listings

get_categories requires no parameters and returns a full categories array organized by department. Each object includes id, name, url, department, and an optional children array for subcategory depth. get_category_listings takes a category_url — ideally in the https://www.mercadolibre.com.mx/c/ format returned by get_categories — and returns a title string plus an items array. Each item carries title, url, id, price, original_price, discount, brand, image, and rating.

Deals and Seller Data

get_offers retrieves the current daily deals and promotions page with the same rich item fields as category listings. It supports a page integer parameter for pagination, and its paging response object includes page, items_on_page, and has_next so callers can walk through all available promotions programmatically. get_seller_info accepts a seller nickname or ID (obtainable from product detail responses) and returns the seller's name, seller_id, and reputation score.

Reliability & maintenanceVerified

The Mercado Libre API is a managed, monitored endpoint for mercadolibre.com.mx — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when mercadolibre.com.mx 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 mercadolibre.com.mx 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
6d 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 price drops and discount percentages across daily deals using get_offers pagination
  • Build a category browser app using the hierarchical department and subcategory data from get_categories
  • Monitor competitor product pricing by polling get_product_detail with known item IDs
  • Aggregate seller reputation scores from get_seller_info to vet third-party vendors before purchase decisions
  • Collect brand and rating fields from get_category_listings to analyze market share within a product segment
  • Identify trending products by comparing original_price vs price discounts across category listing pages
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 Libre have an official developer API?+
Yes. Mercado Libre publishes an official REST API for registered developers at https://developers.mercadolibre.com.mx. It requires application registration and OAuth 2.0 credentials and covers a broader set of transactional operations. This Parse API provides structured access to public marketplace data without requiring those credentials.
What does `get_product_detail` actually return beyond title and price?+
It returns an id, title, and a components array. The components array contains structured blocks that include pricing, product description, images, seller context, and availability — the same data visible on a standard product page. The exact structure of each component object depends on the product type.
Can `search_products` reliably return results for any keyword?+
Not always. Direct keyword searches can be interrupted by account verification challenges on Mercado Libre Mexico. In those cases, get_category_listings with a URL from get_categories or get_offers for deal pages are more consistent alternatives.
Does the API return customer reviews or question-and-answer threads?+
Not currently. The API covers product pricing, images, seller reputation, category structure, and deal listings. You can fork this API on Parse and revise it to add an endpoint targeting product review or Q&A data.
How does pagination work for `get_offers`?+
Pass an integer page parameter starting at 1. Each response includes a paging object with page (current page number), items_on_page (count of items in the current response), and has_next (boolean indicating whether another page exists). Increment page and check has_next to walk the full offers list.
Page content last updated . Spec covers 6 endpoints from mercadolibre.com.mx.
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.
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.
lista.mercadolivre.com.br API
Search and browse products from Mercado Livre Brazil, view detailed pricing and offers, and explore categories to find daily deals and product information. Get comprehensive product details including specifications and current market offers all in one place.
amazon.com.mx API
Search and discover products on Amazon Mexico with real-time pricing, detailed product information, offers, and bestseller lists. Compare prices instantly, get search suggestions, and find current deals to help you make informed shopping decisions.
walmart.com.mx API
Search and browse Walmart Mexico's product catalog to access real-time pricing, availability, and detailed product information across all categories. Find similar items and compare options to make informed shopping decisions.
mercadolivre.com.br API
mercadolivre.com.br API
jp.mercari.com API
Search and browse millions of product listings on Mercari Japan with bilingual support, filtering by categories and getting detailed pricing, item specifications, and seller information. Access comprehensive marketplace data including product summaries, category overviews, and individual seller profiles to find exactly what you're looking for.
coppel.com API
Search and browse Coppel's product catalog by keyword to find items with prices, images, and detailed product information, with flexible sorting and pagination options. Get real-time access to Mexico's largest department store inventory to compare products and prices effortlessly.