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 theMercado 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 ArgentinaMLM- 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 metricsmonth- Monthly metrics (default, fastest extraction)
The more granular the metrics setting, the longer the extraction will take, as more API calls are required.
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.
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.
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.Streams and Fields
Below you’ll find all available data streams from Mercado Livre and their corresponding fields:Orders
Orders
Stream for all orders from your seller account, including payment details, items, and buyer/seller information.Key Fields:
id- Unique identifier for the orderstatus- Order statusstatus_detail- Detailed status informationdate_created- When the order was createddate_closed- When the order was closeddate_last_updated- Last update timestamp (replication key)last_updated- Last modification timestampexpiration_date- Order expiration date
total_amount- Total order amountpaid_amount- Amount paidshipping_cost- Shipping costcurrency_id- Currency code (e.g., BRL, ARS, MXN)coupon- Coupon informationamount- Coupon discount amountid- Coupon ID
taxes- Tax informationamount- Tax amountcurrency_id- Tax currencyid- Tax ID
payments- Array of payment detailsid- Payment IDstatus- Payment statusstatus_code- Payment status codestatus_detail- Payment status detailtotal_paid_amount- Total amount paidtransaction_amount- Transaction amounttransaction_amount_refunded- Refunded amountpayment_method_id- Payment method identifierpayment_type- Payment typeinstallments- Number of installmentsinstallment_amount- Amount per installmentdate_created- Payment creation datedate_approved- Payment approval datedate_last_modified- Last modification dateauthorization_code- Authorization codeoperation_type- Operation typetaxes_amount- Taxes on paymentshipping_cost- Shipping cost in paymentcoupon_id- Applied coupon IDcoupon_amount- Coupon discount amountoverpaid_amount- Overpaid amountcurrency_id- Currency IDsite_id- Site IDpayer_id- Payer IDorder_id- Associated order IDcard_id- Card ID (if applicable)issuer_id- Card issuer IDcollector- Collector information (id)available_actions- Available actions arrayactivation_uri- Activation URIdeferred_period- Deferred periodatm_transfer_reference- ATM transfer reference (transaction_id, company_id)transaction_order_id- Transaction order IDreason- Payment reason
order_items- Array of purchased itemsitem- Item detailsid- Item ID (MLB…)title- Item titlecategory_id- Category IDvariation_id- Variation IDseller_custom_field- Seller custom fieldseller_sku- Seller SKUglobal_price- Global pricenet_weight- Net weightvariation_attributes- Variation attributes arraywarranty- Warranty infocondition- Item condition
quantity- Quantity purchasedunit_price- Unit pricefull_unit_price- Full unit price (before discounts)currency_id- Currency IDsale_fee- Mercado Livre sale feelisting_type_id- Listing typemanufacturing_days- Manufacturing dayspicked_quantity- Picked quantityrequested_quantity- Requested quantity (measure, value)base_exchange_rate- Base exchange ratebase_currency_id- Base currency IDbundle- Bundle infoelement_id- Element ID
buyer- Buyer information (id, nickname)seller- Seller information (id, nickname)
shipping- Shipping information (id)fulfilled- Whether the order is fulfilledpack_id- Pack ID for grouped shipmentspickup_id- Pickup ID
tags- Array of order tagscomment- Order commentmanufacturing_ending_date- Manufacturing ending datefeedback- Feedback info (buyer, seller)order_request- Order request info (change, return)context- Context informationapplication- Applicationproduct_id- Product IDchannel- Channelsite- Siteflows- Flows array
Items
Items
Stream for all product listings from your seller account.Key Fields:
id- Unique item identifier (e.g., MLB12345678)title- Item titlesanitized_title- URL-friendly titlepermalink- Direct link to the listingcondition- Item condition (new, used)site_id- Site identifiercategory_id- Category IDdomain_id- Domain IDcatalog_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
price- Current priceoriginal_price- Original price (before discount)currency_id- Currency codesale_price- Sale price informationprice_id- Price IDamount- Sale amountcurrency_id- Currencyexchange_rate- Exchange rateregular_amount- Regular amounttype- Sale typepayment_method_type- Payment method typepayment_method_prices- Payment method prices arrayconditions- Sale conditionseligible- Eligibilitycontext_restrictions- Context restrictionsstart_time- Start timeend_time- End time
metadata- Metadata array (key, value)
available_quantity- Available stock quantityinventory_id- Inventory IDvariation_id- Variation IDvariation_filters- Variation filters array
thumbnail- Thumbnail URLthumbnail_id- Thumbnail IDuse_thumbnail_id- Use thumbnail ID flag
seller- Seller information (id, nickname)official_store_id- Official store IDofficial_store_name- Official store nameorder_backend- Order backend
shipping- Shipping configurationstore_pick_up- Store pickup availablefree_shipping- Free shipping enabledlogistic_type- Logistic type (fulfillment, xd_drop_off, etc.)mode- Shipping modetags- Shipping tagsbenefits- Shipping benefitspromise- Delivery promiseshipping_score- Shipping score
address- Item locationstate_id- State IDstate_name- State namecity_id- City IDcity_name- City name
attributes- Array of item attributesid- Attribute IDname- Attribute namevalue_id- Value IDvalue_name- Value nameattribute_group_id- Attribute group IDattribute_group_name- Attribute group namevalue_struct- Structured value (number, unit)values- Values arraysource- Attribute sourcevalue_type- Value type
installments- Installment optionsquantity- Number of installmentsamount- Installment amountrate- Interest ratecurrency_id- Currencymetadata- Metadata array
variations_data- Variation data arrayvariation_id- Variation detailsthumbnail- Thumbnailratio- Aspect rationame- Namepictures_qty- Number of picturesprice- Priceinventory_id- Inventory IDuser_product_id- User product IDattributes- Attributesattribute_combinations- Attribute combinations
accepts_mercadopago- Accepts MercadoPagowinner_item_id- Winner item IDcatalog_listing- Is catalog listingdiscounts- Discounts infopromotion_decorations- Promotion decorationspromotions- Promotions info
Buyer Experience Per Item
Buyer Experience Per Item
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- Current status (id)freeze- Freeze information (text)title- Title information (text)
reputation- Overall reputationcolor- Reputation color indicatortext- Reputation textvalue- Reputation score
subtitles- Array of subtitle informationorder- Display ordertext- Subtitle textplaceholders- Placeholder values
actions- Available actions arrayorder- Action ordertext- Action text
metrics_details- Detailed metrics breakdownproblems- Array of problemsorder- Problem orderkey- Problem keycolor- Problem severity colorquantity- Quantity stringcancellations- Number of cancellationsclaims- Number of claimstag- Problem taglevel_two- Level two details (key, title)level_three- Level three details (key, title, remedy)
distribution- Rating distributionfrom- Period startto- Period endlevel_one- Level one breakdown arraykey- Keytitle- Title (order, text)color- Colorpercentage- Percentagequantities_level_two- Level two quantities
Visits Per Item
Visits Per Item
Visit statistics for each item over time. This stream is a child of the Items stream.Key Fields:
item_id- The item identifierdate_from- Period start date (replication key)date_to- Period end date
total_visits- Total number of visits in the period
visits_detail- Breakdown by sourcecompany- Source/company namequantity- Number of visits from this source
Quality Score Per Item
Quality Score Per Item
Quality score and performance metrics for each item. This stream is a child of the Items stream.Key Fields:
Quality score is only available for non-catalog items. Items linked to the Mercado Livre catalog will be skipped.
entity_type- Entity typeentity_id- Entity identifier (item ID)score- Overall quality scorelevel- Quality levellevel_wording- Quality level descriptioncalculated_at- Calculation timestamp (replication key)
buckets- Quality score buckets arraykey- Bucket keytype- Bucket typestatus- Bucket statusscore- Bucket scoretitle- Bucket titlecalculated_at- Calculation timestampvariables- Variables arraykey- Variable keystatus- Variable statusscore- Variable scorecalculated_at- Calculation timestamptitle- Variable titlerules- Rules arraykey- Rule keystatus- Rule statusprogress- Progress valuemode- Rule modecalculated_at- Calculation timestampwordings- Rule wordings (title, label, link)
Product Ads Campaigns
Product Ads Campaigns
Product Ads campaign configurations and settings. Only available for accounts with an Advertiser ID.Key Fields:
id- Campaign IDname- Campaign namestatus- Campaign status (active, paused, etc.)date_created- Creation timestamplast_updated- Last update timestamp
budget- Daily budget amountcurrency_id- Budget currencyacos_target- Target ACoS (Advertising Cost of Sale)acos_top_search_target- Target ACoS for top search positionsstrategy- Bidding strategy
channel- Campaign channel
Product Ads Campaign Metrics
Product Ads Campaign Metrics
Daily performance metrics for Product Ads campaigns. This stream is a child of Product Ads Campaigns.Key Fields:
campaign_id- Campaign identifierdate- Metrics date (replication key)
prints- Number of impressionsclicks- Number of clicksctr- Click-through ratecpc- Cost per clickcost- Total advertising cost
direct_units_quantity- Units sold from direct clicksindirect_units_quantity- Units sold from indirect attributionunits_quantity- Total units solddirect_amount- Revenue from direct conversionsindirect_amount- Revenue from indirect conversionstotal_amount- Total attributed revenuedirect_items_quantity- Items sold from direct clicksindirect_items_quantity- Items sold from indirect attributionadvertising_items_quantity- Total items from advertising
organic_units_quantity- Organic units soldorganic_units_amount- Organic revenueorganic_items_quantity- Organic items sold
acos- Advertising Cost of Sale (cost/revenue)cvr- Conversion rateroas- Return on Ad Spend
sov- Share of Voiceimpression_share- Impression sharetop_impression_share- Top position impression sharelost_impression_share_by_budget- Lost impressions due to budgetlost_impression_share_by_ad_rank- Lost impressions due to ad rank
acos_benchmark- ACoS benchmark for comparison
Brand Ads Campaigns
Brand Ads Campaigns
Brand Ads campaign configurations and settings. Only available for accounts with an Advertiser ID.Key Fields:
campaign_id- Campaign IDname- Campaign namestatus- Campaign statusmoderation_status- Content moderation statuscampaign_type- Campaign typestart_date- Campaign start dateend_date- Campaign end date
advertiser_id- Advertiser IDsite_id- Site IDeshop_id- E-shop IDofficial_store_id- Official store IDdestination_id- Destination ID
headline- Campaign headline
budget- Budget informationamount- Budget amountcurrency- Currency code
cpc- Cost per click bid
items- Array of campaign itemscampaign_id- Campaign IDstatus- Item statusitem_id- Item ID
keywords- Array of campaign keywordscampaign_id- Campaign IDtype- Keyword typeterm- Keyword termmatch_type- Match type (exact, phrase, broad)is_negative- Is negative keywordcpc- Keyword CPC bid
Brand Ads Campaign Metrics
Brand Ads Campaign Metrics
Daily performance metrics for Brand Ads campaigns. This stream is a child of Brand Ads Campaigns.Key Fields:
campaign_id- Campaign identifierdate- Metrics date (replication key)site_id- Site IDcurrency- Metrics currency
prints- Number of impressionsclicks- Number of clicksctr- Click-through ratecpc- Cost per clickconsumed_budget- Budget consumed
cvr- Conversion rateacos- Advertising Cost of Sale
event_time- Conversions attributed by event timeunits_quantity- Units soldunits_amount- Revenue from unitsitems_quantity- Items soldppv_conversions- Product page view conversionsbookmark_conversions- Bookmark conversionscart_conversions- Add to cart conversionscheckout_conversions- Checkout conversionsleads_question_conversions- Question lead conversionsleads_im_conversions- Instant message lead conversionseshop_conversions- E-shop visit conversions
touch_point- Conversions attributed by touch pointunits_quantity- Units soldunits_amount- Revenue from unitsitems_quantity- Items soldppv_conversions- Product page view conversionsbookmark_conversions- Bookmark conversionscart_conversions- Add to cart conversionscheckout_conversions- Checkout conversionsleads_question_conversions- Question lead conversionsleads_im_conversions- Instant message lead conversionseshop_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
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| campaign_name | campaign_status | strategy | total_impressions | total_clicks | total_cost | total_revenue | total_units_sold | ctr_percent | cvr_percent | acos_percent | target_acos_percent | roas |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Top Products Campaign | active | automatic | 1,245,890 | 42,156 | 8,542.30 | 42,800.00 | 856 | 3.38 | 2.03 | 19.96 | 20.00 | 5.01 |
| Electronics Promo | active | manual | 892,340 | 31,245 | 4,998.50 | 21,150.00 | 423 | 3.50 | 1.35 | 23.64 | 25.00 | 4.23 |
| Seasonal Sale | paused | automatic | 567,230 | 18,456 | 3,691.20 | 12,670.00 | 289 | 3.25 | 1.57 | 29.13 | 30.00 | 3.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
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| item_id | item_title | price | available_quantity | quality_score | quality_level | quality_description | last_calculated |
|---|---|---|---|---|---|---|---|
| MLB12345678 | Smartphone Samsung Galaxy | 1299.00 | 45 | 72 | medium | Bom | 2024-11-27T10:30:00Z |
| MLB23456789 | Notebook Dell Inspiron | 3499.00 | 12 | 85 | high | Muito bom | 2024-11-27T10:25:00Z |
| MLB34567890 | Fone de Ouvido Bluetooth | 89.90 | 230 | 58 | low | Regular | 2024-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
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| order_date | total_orders | total_units_sold | total_revenue | total_fees | avg_order_value |
|---|---|---|---|---|---|
| 2024-11-27 | 156 | 234 | 45,678.90 | 5,481.47 | 292.81 |
| 2024-11-26 | 142 | 198 | 38,456.20 | 4,614.74 | 270.82 |
| 2024-11-25 | 128 | 176 | 32,890.50 | 3,946.86 | 256.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.