APIs / Marketplaces / Mercado Libre

1 credit per call11 endpoints20 datapointsChecked working 6 Dec 2026

Mercado Libre API

Mercado Libre API for category best sellers, product reviews and review summaries, stores, shipping options and suggestions by site as JSON.

Mercado Libre
GET/v1/mercadolibre/category-products?site=MLA&category_id=MLA1574
{
  "success": true,
  "data": {
    "site": "MLA",
    "category_id": "MLA1574",
    "products": [
      {
        "position": 1,
        "tab": "affiliate-profile-best-sellers",
        "item_id": "MLA1829410667",
        "user_product_id": "MLAU4075852766",
        "category_id": "MLA1586",
        "url": "https://www.mercadolibre.com.ar/barra-luz-led-50cm-recargable-sensor-mov-bajo-alacena-cocina/up/MLAU4075852766",
        "title": "Barra Luz Led 50cm Recargable Sensor Mov Bajo Alacena Cocina Calid",
        "brand": "HELITEC",
        "official_store": false,
        "highlight": "MÁS VENDIDO",
        "price": 9208,
        "previous_price": 10963,
        "currency": "ARS",
        "discount_label": "16% OFF",
        "shipping_text": "Envío gratis",
        "shipping_promise_type": "none",
        "shipping_note": "por ser tu primera compra",
        "fulfilled_by_mercado_libre": true,
        "picture_id": "870837-MLA111869918576_062026",
        "image_url": "https://http2.mlstatic.com/D_NQ_NP_2X_870837-MLA111869918576_062026-V.jpg"
      },
      {
        "position": 2,
        "tab": "affiliate-profile-best-sellers",
        "item_id": "MLA1550818153",
        "product_id": "MLA43779215",
        "user_product_id": "MLAU1707297034",
        "category_id": "MLA5959",
        "url": "https://www.mercadolibre.com.ar/camara-seguridad-geotek-3mp-ip-wifi-exterior-full-hd-domo-vision-nocturna-inteligente-deteccion-movimiento/p/MLA43779215",
        "title": "Camara Seguridad Geotek 3mp Ip Wifi Exterior Full Hd Domo Vision Nocturna Inteligente Deteccion Movimiento",
        "brand": "GEOTEK",
        "seller": "Por GEOTEK",
        "official_store": true,
        "highlight": "MÁS VENDIDO",
        "price": 46567,
        "previous_price": 74999,
        "currency": "ARS",
        "discount_label": "37% OFF",
        "shipping_text": "Envío gratis",
        "shipping_promise_type": "none",
        "shipping_note": "por ser tu primera compra",
        "fulfilled_by_mercado_libre": true,
        "picture_id": "816524-MLA106798206326_022026",
        "image_url": "https://http2.mlstatic.com/D_NQ_NP_2X_816524-MLA106798206326_022026-V.jpg"
      },
      {
        "position": 3,
        "tab": "affiliate-profile-best-sellers",
        "item_id": "MLA3446092792",
        "product_id": "MLA73036159",
        "user_product_id": "MLAU3055711731",
        "category_id": "MLA7969",
        "url": "https://www.mercadolibre.com.ar/combo-x4-almohadas-viscoelastica-inteligentes-60x35-azul-color-blanco/p/MLA73036159",
        "title": "Combo X4 Almohadas Viscoelástica Inteligentes 60x35 Azul Color Blanco",
        "brand": "BETWEEN PILLOWS",
        "seller": "Por BETWEEN PILLOWS",
        "official_store": true,
        "highlight": "MÁS VENDIDO",
        "price": 79186,
        "previous_price": 108795,
        "currency": "ARS",
        "discount_label": "27% OFF",
        "shipping_text": "Envío gratis",
        "shipping_promise_type": "none",
        "shipping_note": "por ser tu primera compra",
        "fulfilled_by_mercado_libre": false,
        "picture_id": "681030-MLA111874536158_062026",
        "image_url": "https://http2.mlstatic.com/D_NQ_NP_2X_681030-MLA111874536158_062026-V.jpg"
      }
    ],
    "total": 33,
    "source_tabs": [
      {
        "id": "affiliate-profile-best-sellers",
        "title": "Más vendidos",
        "count": 18
      },
      {
        "id": "affiliate-profile-offers",
        "title": "Ofertas",
        "count": 15
      }
    ]
  },
  "meta": {
    "endpoint_family": "category_products",
    "duration_ms": 764
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of category-products: the fields and shapes you will get, shortened to 3 items.

#positionintegertabstringitem_idstringuser_product_idstringcategory_idstringurlurltitlestringbrandstringofficial_storebooleanhighlightstringpriceintegerprevious_priceintegercurrencystringdiscount_labelstringshipping_textstringshipping_promise_typestringshipping_notestringfulfilled_by_mercado_librebooleanpicture_idstringimage_urlurl
11affiliate-profile-best-sellersMLA1829410667MLAU4075852766MLA1586https://www.mercadolibre.com.ar/barra-luz-led-50cm-recargable-sensor-mov-bajo-alacena-cocina/up/MLAU4075852766Barra Luz Led 50cm Recargable Sensor Mov Bajo Alacena Cocina CalidHELITECfalseMÁS VENDIDO920810963ARS16% OFFEnvío gratisnonepor ser tu primera compratrue870837-MLA111869918576_062026https://http2.mlstatic.com/D_NQ_NP_2X_870837-MLA111869918576_062026-V.jpg
22affiliate-profile-best-sellersMLA1550818153MLAU1707297034MLA5959https://www.mercadolibre.com.ar/camara-seguridad-geotek-3mp-ip-wifi-exterior-full-hd-domo-vision-nocturna-inteligente-deteccion-movimiento/p/MLA43779215Camara Seguridad Geotek 3mp Ip Wifi Exterior Full Hd Domo Vision Nocturna Inteligente Deteccion MovimientoGEOTEKtrueMÁS VENDIDO4656774999ARS37% OFFEnvío gratisnonepor ser tu primera compratrue816524-MLA106798206326_022026https://http2.mlstatic.com/D_NQ_NP_2X_816524-MLA106798206326_022026-V.jpg
33affiliate-profile-best-sellersMLA3446092792MLAU3055711731MLA7969https://www.mercadolibre.com.ar/combo-x4-almohadas-viscoelastica-inteligentes-60x35-azul-color-blanco/p/MLA73036159Combo X4 Almohadas Viscoelástica Inteligentes 60x35 Azul Color BlancoBETWEEN PILLOWStrueMÁS VENDIDO79186108795ARS27% OFFEnvío gratisnonepor ser tu primera comprafalse681030-MLA111874536158_062026https://http2.mlstatic.com/D_NQ_NP_2X_681030-MLA111874536158_062026-V.jpg

Recorded from our API · 3 items shown · 20 datapoints per itemGET /v1/mercadolibre/category-products?site=MLA&category_id=MLA1574

20 datapoints

Identity

  • item_idstring
  • user_product_idstring
  • category_idstring
  • titlestring
  • brandstring
  • shipping_promise_typestring
  • picture_idstring

Contact

  • urlurl
  • image_urlurl

Price

  • priceinteger
  • previous_priceinteger
  • currencystring
  • discount_labelstring

Other

  • positioninteger
  • tabstring
  • official_storeboolean
  • highlightstring
  • shipping_textstring
  • shipping_notestring
  • fulfilled_by_mercado_libreboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/mercadolibre/category-products?site=MLA&category_id=MLA1574" \
  -H "X-API-Key: $API_KEY"

Mercado Libre · 11 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/mercadolibre/categories
none+2 optional
idnamepermalinkpicturedate_createdpath+1 more
1 credit
GET/v1/mercadolibre/category-attributes
category_id
idnamevalue_typevalue_max_lengthhierarchyrelevance+2 more
1 credit
GET/v1/mercadolibre/category-discovery
siteq+1 optional
domain_iddomain_namecategory_idcategory_name
1 credit
GET/v1/mercadolibre/category-products
sitecategory_id
sitecategory_idproductssource_tabs
1 credit
GET/v1/mercadolibre/related-products
site+3 optional
siteanchortitlecategory_idproducts
1 credit
GET/v1/mercadolibre/review-summary
siteid+1 optional
object_typeaverageamountlevelsreviews_with_comment
1 credit
GET/v1/mercadolibre/reviews
siteid+5 optional
idid_typereviews
1 credit
GET/v1/mercadolibre/shipping-options
item_idzip_code
item_iddestinationoptions
1 credit
GET/v1/mercadolibre/store
siteslugstorefront_id
positionitem_idproduct_iduser_product_idurlofficial_store+7 more
1 credit
GET/v1/mercadolibre/stores
site+2 optional
positionnameslugurlstorefront_idofficial_store_id+2 more
1 credit
GET/v1/mercadolibre/suggestions
siteq+1 optional
queryis_verified_store
1 credit

Overview

About the Mercado Libre API

What you can get

The Mercado Libre API returns Mercado Libre data as JSON through 11 endpoints. Most take a site (MLA, MLB, MLM, MLC, MCO, MPE, MLU, MEC and more).

  • Categories: categories, category-attributes, category-discovery (by q) and category-products (by category_id).
  • Products: related-products takes an item_id or product_id; shipping-options takes an item_id and zip_code.
  • Reviews: reviews and review-summary take an id and id_type (item or product); reviews also takes limit, offset, rating and order (relevance or date).
  • Stores and search: stores, store (by slug and storefront_id) and suggestions (by q).

The recorded category-products call for site MLA, category MLA1574, returns products, each with item_id, title, brand, price, previous_price, currency, discount_label and shipping_text, plus total.

How a call works

List a category's products: GET /v1/mercadolibre/category-products?site=MLA&category_id=MLA1574 with your key in the X-API-Key header. Products carry an item_id, the same name the shipping and related-product endpoints take. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track prices and discounts in a category

Use the Mercado Libre API to track prices and discounts in a category

Compare product reviews and review summaries

Use the Mercado Libre API to compare product reviews and review summaries

Check shipping options to a postal code

Use the Mercado Libre API to check shipping options to a postal code

Watch official stores and their products

Use the Mercado Libre API to watch official stores and their products

FAQ

Questions

Do I need a Mercado Libre developer app?

No. You call this Mercado Libre API with your Perceptlayer key in the `X-API-Key` header, so there's no Mercado Libre app to register.

How much does the Mercado Libre API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Mercado Libre API?

No. Perceptlayer is an independent service and is not affiliated with Mercado Libre. It returns Mercado Libre data as JSON with a Perceptlayer key, so there is no Mercado Libre developer account, app review or partner approval to get first. It only reads data: if Mercado Libre has an official API and you need to act on your own Mercado Libre account, such as posting, managing orders or reading private data, use that one.

Should I build a Mercado Libre scraper instead?

You can, but a Mercado Libre scraper is code you maintain: page changes break it, requests get blocked, and Mercado Libre's terms govern how you collect data. The Mercado Libre API gives you 11 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Mercado Libre API with 100 free credits

No credit card. Failed calls are never billed.