Skip to content

Mercado Libre - Get Items

This module allows querying items from your Mercado Libre account, either a specific item by ID or a list with status and search filters.

This module requires Mercado Libre (OAuth) credentials with the following fields:

FieldDescription
access_tokenValid OAuth access token
FieldTypeRequiredDescription
credentials_idstringYesCredentials ID
item_idstringNoSpecific item ID (MLA123456789)
seller_idstringNoSeller ID (uses credentials if not specified)
statusstringNoItem status
searchstringNoSearch by title
limitnumberNoItems per page (max 50)
offsetnumberNoPagination offset
ValueDescription
activeActive listing
pausedPaused listing
closedEnded listing
under_reviewUnder MeLi review
{
"success": true,
"items": [
{
"id": "MLA123456789",
"title": "iPhone 15 Pro Max 256GB",
"price": 1500000,
"currency_id": "ARS",
"available_quantity": 10,
"sold_quantity": 25,
"status": "active",
"permalink": "https://articulo.mercadolibre.com.ar/...",
"pictures": [...],
"attributes": [...]
}
],
"total": 150,
"offset": 0,
"limit": 50,
"message": "50 items retrieved"
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789"
}
{
"credentials_id": "meli_cuenta",
"status": "active",
"limit": 50
}
{
"credentials_id": "meli_cuenta",
"search": "iPhone",
"status": "active"
}
{
"credentials_id": "meli_cuenta",
"status": "paused"
}
{
"credentials_id": "meli_cuenta",
"limit": 50,
"offset": 100
}
FieldDescription
idUnique item ID (MLA…)
titleListing title
priceCurrent price
currency_idCurrency (ARS, MXN, BRL, etc.)
available_quantityAvailable stock
sold_quantityUnits sold
statusListing status
conditionCondition (new, used)
listing_type_idListing type
permalinkListing URL
picturesImage array
attributesProduct attributes
shippingShipping configuration
[Schedule every 30min] -> [MeliGetItems active] -> [Loop] -> [Update ERP]
[Daily schedule] -> [MeliGetItems] -> [Check prices] -> [Slack alert]
[Manual trigger] -> [MeliGetItems] -> [Pagination] -> [Generate Excel]
// Analyze items by status
const items = ctx.data.items;
const stats = {
total: items.length,
activos: items.filter(i => i.status === 'active').length,
pausados: items.filter(i => i.status === 'paused').length,
sin_stock: items.filter(i => i.available_quantity === 0).length,
valor_inventario: items.reduce((sum, i) =>
sum + (i.price * i.available_quantity), 0)
};
ctx.data = stats;
  • The maximum limit per request is 50 items
  • Items are fetched in batches of 20 to include full details
  • The seller_id is taken from credentials if not specified
  • The search (search) filters by item title