Discover/Mercado Libre API
live

Mercado Libre APImercadolibre.com.mx ↗

Access Mercado Libre Mexico product listings, category hierarchies, and daily deals via 3 endpoints. Get prices, discounts, brands, ratings, and pagination.

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

What is the Mercado Libre API?

The Mercado Libre Mexico API covers 3 endpoints that return product categories, category-level listings, and daily promotional offers from mercadolibre.com.mx. The get_offers endpoint delivers up to 48 offer cards per page with fields including price, original_price, discount, brand, image, and rating. The get_categories endpoint exposes a hierarchical department structure, making it straightforward to map the full category tree before fetching listings.

This call costs1 credit / call— charged only on success
Try it

No input parameters required.

→ 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/get_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalmissing one? ·

Retrieve all product categories from Mercado Libre Mexico organized by department. Returns hierarchical category data including top-level categories with their child subcategories. Each category includes an ID, name, URL, and department grouping.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "categories": "array of category objects with id, name, url, department, and optional children array"
  },
  "sample": {
    "data": {
      "categories": [
        {
          "id": "MLM1051",
          "url": "https://www.mercadolibre.com.mx/c/celulares-y-telefonia#menu=categories",
          "name": "Celulares y Telefonía",
          "children": [
            {
              "id": "MLM1055",
              "url": "https://listado.mercadolibre.com.mx/celulares-telefonia/celulares-smartphones/#menu=categories",
              "name": "Celulares y Smartphones"
            }
          ],
          "department": "Tecnología"
        },
        {
          "id": "MLM1648",
          "url": "https://www.mercadolibre.com.mx/c/computacion#menu=categories",
          "name": "Computación",
          "children": [
            {
              "id": "MLM1652",
              "url": "https://listado.mercadolibre.com.mx/computacion/laptops-accesorios/laptops/#menu=categories",
              "name": "Laptops"
            }
          ],
          "department": "Tecnología"
        }
      ]
    },
    "status": "success"
  }
}

About the Mercado Libre API

Category and Listing Data

The get_categories endpoint requires no inputs and returns an array of category objects, each with id, name, url, department, and an optional children array for subcategories. This gives you a complete picture of how Mercado Libre Mexico organizes its product catalog by department. Once you have a category URL in the https://www.mercadolibre.com.mx/c/ format, you can pass it to get_category_listings via the category_url parameter. That endpoint returns a title string and an items array where each product object carries title, url, id, price, original_price, discount, brand, image, and rating.

Offers and Promotions

The get_offers endpoint retrieves current daily deals without requiring a category URL. It accepts an optional page integer (starting at 1) and returns 48 offer cards per page. The response includes an items array with the same product fields as category listings, plus a paging object containing page, items_on_page, and has_next (boolean) for walking through additional pages. Fields like discount, brand, original_price, and rating are null when the offer card does not display them.

Data Shape and Coverage

All three endpoints share a consistent product object shape: title, url, id, price, original_price, discount, brand, image, and rating. The id field maps to the Mercado Libre item identifier, which appears in the product URL. Category coverage mirrors what the Mexico storefront exposes publicly, from computing and electronics to fashion and home goods. Seller-level fields, reviews text, and item-level attribute specs are outside the current response schema.

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
4d 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 on daily deals by polling get_offers across multiple pages and comparing price vs original_price.
  • Build a category browser for a Mexico-focused shopping app using the children arrays returned by get_categories.
  • Monitor discount percentages across product categories by aggregating the discount field from get_category_listings.
  • Identify which brands appear most frequently in a category's listings using the brand field from get_category_listings.
  • Seed a price-comparison database with Mercado Libre Mexico product IDs and current prices for electronics or apparel categories.
  • Detect trending promoted products by periodically fetching get_offers and flagging items that recur across multiple daily deal pages.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 operates an official public API documented at https://developers.mercadolibre.com.mx/. It requires OAuth authentication and app registration. The Parse API covers public storefront data without requiring your own OAuth credentials.
What does `get_category_listings` return and how should I choose the category URL?+
It returns a title string and an items array of product objects. Each item includes title, url, id, price, original_price, discount, brand, image, and rating. Top-level URLs in the https://www.mercadolibre.com.mx/c/<slug> format (available from get_categories) give the most reliable results; subcategory or filtered URLs may return fewer items.
Are individual product detail pages or seller profiles covered?+
Not currently. The API covers category listings and daily offers at the list-card level. Per-item detail pages (full description, attribute specs, seller ratings) and seller profile pages are not in the current endpoints. You can fork this API on Parse and revise it to add a product detail endpoint.
Can I paginate through all category listings, not just offers?+
get_offers supports pagination via the page parameter and exposes a has_next flag. get_category_listings does not currently accept a page or offset parameter, so it returns a single page of results for a given category URL. You can fork this API on Parse and revise it to add pagination support for category listings.
Are `discount`, `brand`, `original_price`, and `rating` always populated?+
No. All four fields are nullable. They are set to null when the listing card does not display that information — for example, items without an active promotion will have null for discount and original_price, and not all products display a rating on their card.
Page content last updated . Spec covers 3 endpoints from mercadolibre.com.mx.
Related APIs in EcommerceSee 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.cl API
Browse MercadoLibre Chile's product categories and discover available deals and offers with easy pagination through product listings. Search and explore products across different categories to find the best available offers on the 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.
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.
mercadolivre.com.br API
Access real-time product data from Brazil's largest online marketplace, including daily deals, best sellers, category listings, search suggestions, and supermarket products. Integrate Mercado Livre shopping information directly into your applications to power price comparisons, product discovery, and market research.
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.
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.
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.