Skip to main content
Mercado Livre is Latin America’s largest e-commerce and fintech platform, operating across Brazil, Argentina, Mexico, and other countries in the region. This connector provides access to your seller account data including orders, product listings, advertising campaigns (Product Ads and Brand Ads), and item-level performance metrics such as visits, quality scores, and buyer experience ratings.

Configuring Mercado Livre as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Mercado Livre option from the list of connectors. Click Next and you’ll be prompted to add your access.

1. Add account access

You’ll need to authorize Nekt to access your Mercado Livre data. Click on the Mercado Livre Authorization button and log in with your Mercado Livre account. Grant the necessary permissions for the seller account you want to extract data from. The following configurations are available:
  • Site ID: The Mercado Livre site identifier. Supported values:
    • MLB - Mercado Livre Brasil (default)
    • MLA - Mercado Libre Argentina
    • MLM - Mercado Libre México
  • Start Date: The earliest date from which records will be synced.
  • Metrics Granularity: The time granularity for item-level metrics (visits, ad performance, etc.). Available options:
    • day - Daily metrics (most granular, but slower extraction)
    • week - Weekly metrics
    • month - Monthly metrics (default, fastest extraction)
The more granular the metrics setting, the longer the extraction will take, as more API calls are required.
Once you’re done, click Next.

2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. Important: Advertising streams (Product Ads Campaigns, Product Ads Campaign Metrics, Brand Ads Campaigns, Brand Ads Campaign Metrics) are only available if your account has an Advertiser ID registered with Mercado Livre Advertising.
Tip: The stream can be found more easily by typing its name.
Select the streams and click Next.

3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.
  • Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
  • Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
  • Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
  • Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
    • Incremental: every time the extraction happens, we’ll get only the new data - which is good if, for example, you want to keep every record ever fetched.
    • Full table: every time the extraction happens, we’ll get the current state of the data - which is good if, for example, you don’t want to have deleted data in your catalog.
Once you are done configuring, click Next.

4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:
  • Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
  • Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
Once you are ready, click Next to finalize the setup.

5. Check your new source

You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.
For you to be able to see it on your Catalog, you need at least one successful source run.

Streams and Fields

Below you’ll find all available data streams from Mercado Livre and their corresponding fields:
Stream for all orders from your seller account, including payment details, items, and buyer/seller information.Key Fields:
  • id - Unique identifier for the order
  • status - Order status
  • status_detail - Detailed status information
  • date_created - When the order was created
  • date_closed - When the order was closed
  • date_last_updated - Last update timestamp (replication key)
  • last_updated - Last modification timestamp
  • expiration_date - Order expiration date
Financial:
  • total_amount - Total order amount
  • paid_amount - Amount paid
  • shipping_cost - Shipping cost
  • currency_id - Currency code (e.g., BRL, ARS, MXN)
  • coupon - Coupon information
    • amount - Coupon discount amount
    • id - Coupon ID
  • taxes - Tax information
    • amount - Tax amount
    • currency_id - Tax currency
    • id - Tax ID
Payments:
  • payments - Array of payment details
    • id - Payment ID
    • status - Payment status
    • status_code - Payment status code
    • status_detail - Payment status detail
    • total_paid_amount - Total amount paid
    • transaction_amount - Transaction amount
    • transaction_amount_refunded - Refunded amount
    • payment_method_id - Payment method identifier
    • payment_type - Payment type
    • installments - Number of installments
    • installment_amount - Amount per installment
    • date_created - Payment creation date
    • date_approved - Payment approval date
    • date_last_modified - Last modification date
    • authorization_code - Authorization code
    • operation_type - Operation type
    • taxes_amount - Taxes on payment
    • shipping_cost - Shipping cost in payment
    • coupon_id - Applied coupon ID
    • coupon_amount - Coupon discount amount
    • overpaid_amount - Overpaid amount
    • currency_id - Currency ID
    • site_id - Site ID
    • payer_id - Payer ID
    • order_id - Associated order ID
    • card_id - Card ID (if applicable)
    • issuer_id - Card issuer ID
    • collector - Collector information (id)
    • available_actions - Available actions array
    • activation_uri - Activation URI
    • deferred_period - Deferred period
    • atm_transfer_reference - ATM transfer reference (transaction_id, company_id)
    • transaction_order_id - Transaction order ID
    • reason - Payment reason
Order Items:
  • order_items - Array of purchased items
    • item - Item details
      • id - Item ID (MLB…)
      • title - Item title
      • category_id - Category ID
      • variation_id - Variation ID
      • seller_custom_field - Seller custom field
      • seller_sku - Seller SKU
      • global_price - Global price
      • net_weight - Net weight
      • variation_attributes - Variation attributes array
      • warranty - Warranty info
      • condition - Item condition
    • quantity - Quantity purchased
    • unit_price - Unit price
    • full_unit_price - Full unit price (before discounts)
    • currency_id - Currency ID
    • sale_fee - Mercado Livre sale fee
    • listing_type_id - Listing type
    • manufacturing_days - Manufacturing days
    • picked_quantity - Picked quantity
    • requested_quantity - Requested quantity (measure, value)
    • base_exchange_rate - Base exchange rate
    • base_currency_id - Base currency ID
    • bundle - Bundle info
    • element_id - Element ID
Buyer & Seller:
  • buyer - Buyer information (id, nickname)
  • seller - Seller information (id, nickname)
Shipping & Fulfillment:
  • shipping - Shipping information (id)
  • fulfilled - Whether the order is fulfilled
  • pack_id - Pack ID for grouped shipments
  • pickup_id - Pickup ID
Additional:
  • tags - Array of order tags
  • comment - Order comment
  • manufacturing_ending_date - Manufacturing ending date
  • feedback - Feedback info (buyer, seller)
  • order_request - Order request info (change, return)
  • context - Context information
    • application - Application
    • product_id - Product ID
    • channel - Channel
    • site - Site
    • flows - Flows array
Stream for all product listings from your seller account.Key Fields:
  • id - Unique item identifier (e.g., MLB12345678)
  • title - Item title
  • sanitized_title - URL-friendly title
  • permalink - Direct link to the listing
  • condition - Item condition (new, used)
  • site_id - Site identifier
  • category_id - Category ID
  • domain_id - Domain ID
  • catalog_product_id - Catalog product ID (if linked)
  • listing_type_id - Listing type (gold_special, gold_pro, etc.)
  • buying_mode - Buying mode (buy_it_now, auction)
  • stop_time - Listing end time
Pricing:
  • price - Current price
  • original_price - Original price (before discount)
  • currency_id - Currency code
  • sale_price - Sale price information
    • price_id - Price ID
    • amount - Sale amount
    • currency_id - Currency
    • exchange_rate - Exchange rate
    • regular_amount - Regular amount
    • type - Sale type
    • payment_method_type - Payment method type
    • payment_method_prices - Payment method prices array
    • conditions - Sale conditions
      • eligible - Eligibility
      • context_restrictions - Context restrictions
      • start_time - Start time
      • end_time - End time
    • metadata - Metadata array (key, value)
Inventory:
  • available_quantity - Available stock quantity
  • inventory_id - Inventory ID
  • variation_id - Variation ID
  • variation_filters - Variation filters array
Media:
  • thumbnail - Thumbnail URL
  • thumbnail_id - Thumbnail ID
  • use_thumbnail_id - Use thumbnail ID flag
Seller & Store:
  • seller - Seller information (id, nickname)
  • official_store_id - Official store ID
  • official_store_name - Official store name
  • order_backend - Order backend
Shipping:
  • shipping - Shipping configuration
    • store_pick_up - Store pickup available
    • free_shipping - Free shipping enabled
    • logistic_type - Logistic type (fulfillment, xd_drop_off, etc.)
    • mode - Shipping mode
    • tags - Shipping tags
    • benefits - Shipping benefits
    • promise - Delivery promise
    • shipping_score - Shipping score
Location:
  • address - Item location
    • state_id - State ID
    • state_name - State name
    • city_id - City ID
    • city_name - City name
Attributes:
  • attributes - Array of item attributes
    • id - Attribute ID
    • name - Attribute name
    • value_id - Value ID
    • value_name - Value name
    • attribute_group_id - Attribute group ID
    • attribute_group_name - Attribute group name
    • value_struct - Structured value (number, unit)
    • values - Values array
    • source - Attribute source
    • value_type - Value type
Installments:
  • installments - Installment options
    • quantity - Number of installments
    • amount - Installment amount
    • rate - Interest rate
    • currency_id - Currency
    • metadata - Metadata array
Variations:
  • variations_data - Variation data array
    • variation_id - Variation details
      • thumbnail - Thumbnail
      • ratio - Aspect ratio
      • name - Name
      • pictures_qty - Number of pictures
      • price - Price
      • inventory_id - Inventory ID
      • user_product_id - User product ID
      • attributes - Attributes
      • attribute_combinations - Attribute combinations
Additional:
  • accepts_mercadopago - Accepts MercadoPago
  • winner_item_id - Winner item ID
  • catalog_listing - Is catalog listing
  • discounts - Discounts info
  • promotion_decorations - Promotion decorations
  • promotions - Promotions info
Customer experience and reputation metrics for each item. This stream is a child of the Items stream.Key Fields:
  • item_id - The item identifier
Status:
  • status - Current status (id)
  • freeze - Freeze information (text)
  • title - Title information (text)
Reputation:
  • reputation - Overall reputation
    • color - Reputation color indicator
    • text - Reputation text
    • value - Reputation score
Subtitles:
  • subtitles - Array of subtitle information
    • order - Display order
    • text - Subtitle text
    • placeholders - Placeholder values
Actions:
  • actions - Available actions array
    • order - Action order
    • text - Action text
Metrics Details:
  • metrics_details - Detailed metrics breakdown
    • problems - Array of problems
      • order - Problem order
      • key - Problem key
      • color - Problem severity color
      • quantity - Quantity string
      • cancellations - Number of cancellations
      • claims - Number of claims
      • tag - Problem tag
      • level_two - Level two details (key, title)
      • level_three - Level three details (key, title, remedy)
    • distribution - Rating distribution
      • from - Period start
      • to - Period end
      • level_one - Level one breakdown array
        • key - Key
        • title - Title (order, text)
        • color - Color
        • percentage - Percentage
        • quantities_level_two - Level two quantities
Visit statistics for each item over time. This stream is a child of the Items stream.Key Fields:
  • item_id - The item identifier
  • date_from - Period start date (replication key)
  • date_to - Period end date
Metrics:
  • total_visits - Total number of visits in the period
Visit Details:
  • visits_detail - Breakdown by source
    • company - Source/company name
    • quantity - Number of visits from this source
Quality score and performance metrics for each item. This stream is a child of the Items stream.
Quality score is only available for non-catalog items. Items linked to the Mercado Livre catalog will be skipped.
Key Fields:
  • entity_type - Entity type
  • entity_id - Entity identifier (item ID)
  • score - Overall quality score
  • level - Quality level
  • level_wording - Quality level description
  • calculated_at - Calculation timestamp (replication key)
Buckets:
  • buckets - Quality score buckets array
    • key - Bucket key
    • type - Bucket type
    • status - Bucket status
    • score - Bucket score
    • title - Bucket title
    • calculated_at - Calculation timestamp
    • variables - Variables array
      • key - Variable key
      • status - Variable status
      • score - Variable score
      • calculated_at - Calculation timestamp
      • title - Variable title
      • rules - Rules array
        • key - Rule key
        • status - Rule status
        • progress - Progress value
        • mode - Rule mode
        • calculated_at - Calculation timestamp
        • wordings - Rule wordings (title, label, link)
Product Ads campaign configurations and settings. Only available for accounts with an Advertiser ID.Key Fields:
  • id - Campaign ID
  • name - Campaign name
  • status - Campaign status (active, paused, etc.)
  • date_created - Creation timestamp
  • last_updated - Last update timestamp
Budget & Bidding:
  • budget - Daily budget amount
  • currency_id - Budget currency
  • acos_target - Target ACoS (Advertising Cost of Sale)
  • acos_top_search_target - Target ACoS for top search positions
  • strategy - Bidding strategy
Channel:
  • channel - Campaign channel
Daily performance metrics for Product Ads campaigns. This stream is a child of Product Ads Campaigns.Key Fields:
  • campaign_id - Campaign identifier
  • date - Metrics date (replication key)
Traffic Metrics:
  • prints - Number of impressions
  • clicks - Number of clicks
  • ctr - Click-through rate
  • cpc - Cost per click
  • cost - Total advertising cost
Conversion Metrics:
  • direct_units_quantity - Units sold from direct clicks
  • indirect_units_quantity - Units sold from indirect attribution
  • units_quantity - Total units sold
  • direct_amount - Revenue from direct conversions
  • indirect_amount - Revenue from indirect conversions
  • total_amount - Total attributed revenue
  • direct_items_quantity - Items sold from direct clicks
  • indirect_items_quantity - Items sold from indirect attribution
  • advertising_items_quantity - Total items from advertising
Organic Metrics:
  • organic_units_quantity - Organic units sold
  • organic_units_amount - Organic revenue
  • organic_items_quantity - Organic items sold
Efficiency Metrics:
  • acos - Advertising Cost of Sale (cost/revenue)
  • cvr - Conversion rate
  • roas - Return on Ad Spend
Share of Voice:
  • sov - Share of Voice
  • impression_share - Impression share
  • top_impression_share - Top position impression share
  • lost_impression_share_by_budget - Lost impressions due to budget
  • lost_impression_share_by_ad_rank - Lost impressions due to ad rank
Benchmark:
  • acos_benchmark - ACoS benchmark for comparison
Brand Ads campaign configurations and settings. Only available for accounts with an Advertiser ID.Key Fields:
  • campaign_id - Campaign ID
  • name - Campaign name
  • status - Campaign status
  • moderation_status - Content moderation status
  • campaign_type - Campaign type
  • start_date - Campaign start date
  • end_date - Campaign end date
Account:
  • advertiser_id - Advertiser ID
  • site_id - Site ID
  • eshop_id - E-shop ID
  • official_store_id - Official store ID
  • destination_id - Destination ID
Creative:
  • headline - Campaign headline
Budget & Bidding:
  • budget - Budget information
    • amount - Budget amount
    • currency - Currency code
  • cpc - Cost per click bid
Items:
  • items - Array of campaign items
    • campaign_id - Campaign ID
    • status - Item status
    • item_id - Item ID
Keywords:
  • keywords - Array of campaign keywords
    • campaign_id - Campaign ID
    • type - Keyword type
    • term - Keyword term
    • match_type - Match type (exact, phrase, broad)
    • is_negative - Is negative keyword
    • cpc - Keyword CPC bid
Daily performance metrics for Brand Ads campaigns. This stream is a child of Brand Ads Campaigns.Key Fields:
  • campaign_id - Campaign identifier
  • date - Metrics date (replication key)
  • site_id - Site ID
  • currency - Metrics currency
Traffic Metrics:
  • prints - Number of impressions
  • clicks - Number of clicks
  • ctr - Click-through rate
  • cpc - Cost per click
  • consumed_budget - Budget consumed
Efficiency Metrics:
  • cvr - Conversion rate
  • acos - Advertising Cost of Sale
Event Time Conversions:
  • event_time - Conversions attributed by event time
    • units_quantity - Units sold
    • units_amount - Revenue from units
    • items_quantity - Items sold
    • ppv_conversions - Product page view conversions
    • bookmark_conversions - Bookmark conversions
    • cart_conversions - Add to cart conversions
    • checkout_conversions - Checkout conversions
    • leads_question_conversions - Question lead conversions
    • leads_im_conversions - Instant message lead conversions
    • eshop_conversions - E-shop visit conversions
Touch Point Conversions:
  • touch_point - Conversions attributed by touch point
    • units_quantity - Units sold
    • units_amount - Revenue from units
    • items_quantity - Items sold
    • ppv_conversions - Product page view conversions
    • bookmark_conversions - Bookmark conversions
    • cart_conversions - Add to cart conversions
    • checkout_conversions - Checkout conversions
    • leads_question_conversions - Question lead conversions
    • leads_im_conversions - Instant message lead conversions
    • eshop_conversions - E-shop visit conversions

Data Model

The following diagram illustrates the relationships between the core data streams in Mercado Livre. The arrows indicate the join keys that link the different entities.

Use Cases for Data Analysis

This guide outlines valuable business intelligence use cases when consolidating Mercado Livre data, along with ready-to-use SQL queries that you can run on Explorer.

1. Product Ads Campaign Performance Overview

Analyze the performance of your Product Ads campaigns to understand ROI and optimize budget allocation. Business Value:
  • Identify top-performing campaigns by ROAS and ACoS
  • Understand which campaigns drive the most conversions
  • Optimize budget distribution across campaigns
WITH campaign_summary AS (
   SELECT
      c.id AS campaign_id,
      c.name AS campaign_name,
      c.status AS campaign_status,
      c.strategy,
      c.acos_target,
      SUM(m.prints) AS total_impressions,
      SUM(m.clicks) AS total_clicks,
      SUM(m.cost) AS total_cost,
      SUM(m.total_amount) AS total_revenue,
      SUM(m.units_quantity) AS total_units_sold,
      AVG(m.ctr) AS avg_ctr,
      AVG(m.cvr) AS avg_cvr
   FROM
      nekt_raw.mercadolivre_product_ads_campaigns c
      LEFT JOIN nekt_raw.mercadolivre_product_ads_campaign_metrics m
         ON c.id = m.campaign_id
   WHERE
      m.date >= CURRENT_DATE - INTERVAL '30' DAY
   GROUP BY
      c.id, c.name, c.status, c.strategy, c.acos_target
)
SELECT
   campaign_name,
   campaign_status,
   strategy,
   total_impressions,
   total_clicks,
   ROUND(total_cost, 2) AS total_cost,
   ROUND(total_revenue, 2) AS total_revenue,
   total_units_sold,
   ROUND(avg_ctr * 100, 2) AS ctr_percent,
   ROUND(avg_cvr * 100, 2) AS cvr_percent,
   ROUND(CASE WHEN total_revenue > 0 THEN total_cost / total_revenue * 100 ELSE 0 END, 2) AS acos_percent,
   ROUND(acos_target * 100, 2) AS target_acos_percent,
   ROUND(CASE WHEN total_cost > 0 THEN total_revenue / total_cost ELSE 0 END, 2) AS roas
FROM
   campaign_summary
ORDER BY
   total_revenue DESC
campaign_namecampaign_statusstrategytotal_impressionstotal_clickstotal_costtotal_revenuetotal_units_soldctr_percentcvr_percentacos_percenttarget_acos_percentroas
Top Products Campaignactiveautomatic1,245,89042,1568,542.3042,800.008563.382.0319.9620.005.01
Electronics Promoactivemanual892,34031,2454,998.5021,150.004233.501.3523.6425.004.23
Seasonal Salepausedautomatic567,23018,4563,691.2012,670.002893.251.5729.1330.003.43

2. Item Quality Score Analysis

Monitor the quality scores of your listings to improve visibility and sales performance. Business Value:
  • Identify items with low quality scores that need improvement
  • Track quality metrics over time
  • Prioritize optimization efforts
SELECT
   i.id AS item_id,
   i.title AS item_title,
   i.price,
   i.available_quantity,
   q.score AS quality_score,
   q.level AS quality_level,
   q.level_wording AS quality_description,
   q.calculated_at AS last_calculated
FROM
   nekt_raw.mercadolivre_items i
   LEFT JOIN nekt_raw.mercadolivre_quality_score_per_item q
      ON i.id = q.entity_id
WHERE
   q.score IS NOT NULL
ORDER BY
   q.score ASC
LIMIT 50
item_iditem_titlepriceavailable_quantityquality_scorequality_levelquality_descriptionlast_calculated
MLB12345678Smartphone Samsung Galaxy1299.004572mediumBom2024-11-27T10:30:00Z
MLB23456789Notebook Dell Inspiron3499.001285highMuito bom2024-11-27T10:25:00Z
MLB34567890Fone de Ouvido Bluetooth89.9023058lowRegular2024-11-27T10:20:00Z

3. Sales and Revenue Analysis

Analyze order data to understand sales performance and payment methods. Business Value:
  • Track revenue trends over time
  • Understand payment method preferences
  • Identify top-selling items
WITH order_items_exploded AS (
   SELECT
      o.id AS order_id,
      o.date_created,
      o.status AS order_status,
      o.total_amount,
      o.paid_amount,
      o.currency_id,
      oi.item.id AS item_id,
      oi.item.title AS item_title,
      oi.quantity,
      oi.unit_price,
      oi.sale_fee
   FROM
      nekt_raw.mercadolivre_orders o
      CROSS JOIN UNNEST(o.order_items) AS oi
   WHERE
      o.date_created >= CURRENT_DATE - INTERVAL '30' DAY
)
SELECT
   DATE(date_created) AS order_date,
   COUNT(DISTINCT order_id) AS total_orders,
   SUM(quantity) AS total_units_sold,
   ROUND(SUM(total_amount), 2) AS total_revenue,
   ROUND(SUM(sale_fee), 2) AS total_fees,
   ROUND(AVG(total_amount), 2) AS avg_order_value
FROM
   order_items_exploded
WHERE
   order_status = 'paid'
GROUP BY
   DATE(date_created)
ORDER BY
   order_date DESC
order_datetotal_orderstotal_units_soldtotal_revenuetotal_feesavg_order_value
2024-11-2715623445,678.905,481.47292.81
2024-11-2614219838,456.204,614.74270.82
2024-11-2512817632,890.503,946.86256.96

Implementation Notes

Data Quality Considerations

  • Advertising Streams: Product Ads and Brand Ads streams are only available if your Mercado Livre account has an advertiser ID. Accounts without advertising access will only have access to Orders, Items, and item-level metrics.
  • Quality Score Availability: Quality scores are only available for non-catalog items. Items linked to the Mercado Livre product catalog will be skipped during extraction.
  • Metrics Time Window: Campaign metrics are available for the last 90 days only.

API Limits & Performance

  • Metrics Granularity Impact: The more granular the metrics setting (day vs. month), the longer extractions will take due to increased API calls.
  • Visit Data Limit: Visit statistics are limited to the last 2 years of data.
  • Pagination: Large seller accounts with many items may experience longer extraction times.

Regional Considerations

  • Currency: All financial values are in the local currency of the site (BRL for MLB, ARS for MLA, MXN for MLM).
  • Timestamps: All timestamps are in UTC.