{"openapi":"3.0.0","info":{"title":"Mercado Libre Latin America Stores and Catalog","version":"1.0.0","description":"Mercado Libre and Mercado Livre official stores, storefronts, seller profiles, curated landings and category data across 18 Latin American markets, one row per entity."},"servers":[{"url":"https://ah-mercadolibre-com.opendata.best/s/mercadolibre-com"}],"paths":{"/v1/stores":{"post":{"operationId":"stores","summary":"Official stores, storefronts, seller profiles and curated landings","description":"Store directory, official store pages, storefronts or curated landing pages across Latin America.","tags":["stores"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["tiendas","tienda","storefront","perfil","landing"],"description":"Mode. Auto selects a mode from the target you supply; empty input selects one example store. Choose target-free modes explicitly. Search, product, ofertas and category need a signed-in account, so they stop with INVALID_INPUT and no rows.","default":"tiendas","example":"auto"},"countrySite":{"type":"string","enum":["mercadolibre.com.ar","mercadolibre.com.mx","mercadolivre.com.br","mercadolibre.cl","mercadolibre.com.co","mercadolibre.com.pe","mercadolibre.com.uy","mercadolibre.com.ve","mercadolibre.com.ec","mercadolibre.com.bo","mercadolibre.com.gt","mercadolibre.com.cr","mercadolibre.com.pa","mercadolibre.com.do","mercadolibre.com.hn","mercadolibre.com.ni","mercadolibre.com.sv","mercadolibre.com.py"],"description":"Country site. Choose a Mercado Libre or Mercado Livre country host. A recognized siteId, such as MLA, MLM or MLB, overrides this selection; availability varies by country and mode.","default":"mercadolibre.com.ar","example":"mercadolibre.com.ar"},"storeSlug":{"type":"string","description":"Store URL name. Use the store name from a /tienda/ URL, or /loja/ in Brazil, such as 2bambu. Auto selects tienda; specify storefront explicitly to request its item identifiers.","example":"2bambu"},"storefrontId":{"type":"string","description":"Storefront identifier. Identifier for storefront mode. Alternatively, select storefront and supply storeSlug to look up the identifier from that store."},"nickname":{"type":"string","description":"Seller nickname. Seller nickname for perfil mode. A matching profile returns a seller identifier; an unresolved nickname produces no seller row."},"landing":{"type":"string","enum":["importados","market"],"description":"Product grid. Product grid for landing mode: importados selects international shopping and market selects the supermarket. Availability varies by country.","default":"importados","example":"importados"},"page":{"type":"integer","minimum":1,"maximum":100,"description":"Deals page. Starting deals page for ofertas mode, from 1 to 100. Defaults to 1.","default":1,"example":1},"enrichDetails":{"type":"boolean","description":"Add matching seller information. Enabled by default: with storeSlug, eligible listing rows receive store information only when their seller identity matches that store. It adds no separate rows and does not provide private phone numbers or email addresses.","default":true,"example":true},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":1},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"mode":"tiendas","countrySite":"mercadolibre.com.ar","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/catalog":{"post":{"operationId":"catalog","summary":"Categories, navigation and public catalog metadata","description":"Country category records, the site navigation tree, or public metadata: countries, payment methods, category suggestions for a term (domain_discovery) and attributes.","tags":["catalog"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["categories","nav","api"],"description":"Mode. Auto selects a mode from the target you supply; empty input selects one example store. Choose target-free modes explicitly. Search, product, ofertas and category need a signed-in account, so they stop with INVALID_INPUT and no rows.","default":"categories","example":"auto"},"countrySite":{"type":"string","enum":["mercadolibre.com.ar","mercadolibre.com.mx","mercadolivre.com.br","mercadolibre.cl","mercadolibre.com.co","mercadolibre.com.pe","mercadolibre.com.uy","mercadolibre.com.ve","mercadolibre.com.ec","mercadolibre.com.bo","mercadolibre.com.gt","mercadolibre.com.cr","mercadolibre.com.pa","mercadolibre.com.do","mercadolibre.com.hn","mercadolibre.com.ni","mercadolibre.com.sv","mercadolibre.com.py"],"description":"Country site. Choose a Mercado Libre or Mercado Livre country host. A recognized siteId, such as MLA, MLM or MLB, overrides this selection; availability varies by country and mode.","default":"mercadolibre.com.ar","example":"mercadolibre.com.ar"},"categoryId":{"type":"string","description":"Category ID. Category identifier for categories mode, or a category filter for ofertas. In categories mode, it must match the selected country prefix; the default is the country site ID followed by 1055."},"siteId":{"type":"string","description":"Site ID. Optional marketplace identifier, such as MLA for Argentina, MLM for Mexico or MLB for Brazil. A recognized identifier overrides countrySite."},"resource":{"type":"string","enum":["countries","classified_locations","payment_methods","domain_discovery","categories","attributes"],"description":"Metadata resource. Resource for api mode: country information, classified locations, payment methods, category suggestions, category records or attributes. For domain_discovery, also supply keyword.","default":"countries","example":"countries"},"resourceId":{"type":"string","description":"Metadata resource identifier. Country code for countries or classified_locations, or category ID for categories or attributes. Defaults to the selected country or its category ID ending in 1055."},"keyword":{"type":"string","description":"Search keyword. Term for api with resource set to domain_discovery. Search mode is unavailable because product search needs a signed-in account."},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":1},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"mode":"categories","countrySite":"mercadolibre.com.ar","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"source":{"nullable":true,"type":"string"},"mode":{"nullable":true,"type":"string"},"siteId":{"nullable":true,"type":"string"},"countrySite":{"nullable":true,"type":"string"},"item_id":{"nullable":true,"type":"string"},"product_id":{"nullable":true,"type":"string"},"user_product_id":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"price":{"nullable":true,"type":"number"},"currency":{"nullable":true,"type":"string"},"permalink":{"nullable":true,"type":"string"},"source_surface":{"nullable":true,"type":"string"},"scrapedAt":{"nullable":true,"type":"string"},"parsePath":{"nullable":true,"type":"string"},"previous_price":{"nullable":true,"type":"number"},"discount_label":{"nullable":true,"type":"string"},"installments_text":{"nullable":true,"type":"string"},"shipping_text":{"nullable":true,"type":"string"},"seller_text":{"nullable":true,"type":"string","description":"Seller badge text shown on a product card. A platform badge is not proof of the seller identity; see org where available."},"rating_alt_text":{"nullable":true,"type":"string"},"highlight":{"nullable":true,"type":"string"},"page":{"nullable":true,"type":"integer"},"position":{"nullable":true,"type":"integer"},"path":{"nullable":true,"type":"string"},"catalog_id":{"nullable":true,"type":"string"},"store_slug":{"nullable":true,"type":"string"},"shop_name":{"nullable":true,"type":"string"},"seller_id":{"nullable":true},"official_store_id":{"nullable":true},"followers":{"nullable":true,"type":"number"},"shop_type":{"nullable":true,"type":"string"},"storefront_type":{"nullable":true,"type":"string"},"storefront_id":{"nullable":true,"type":"string"},"zip_code":{"nullable":true,"type":"string"},"nickname":{"nullable":true,"type":"string"},"resolved_url":{"nullable":true,"type":"string"},"category_id":{"nullable":true,"type":"string"},"category_slug":{"nullable":true,"type":"string"},"category_name":{"nullable":true,"type":"string"},"path_from_root":{"nullable":true,"type":"array","items":{"type":"object"}},"children":{"nullable":true,"type":"array","items":{"type":"object"}},"children_count":{"nullable":true,"type":"integer"},"parent":{"nullable":true,"type":"string"},"item_ids":{"nullable":true,"type":"array","items":{"type":"string"}},"item_count":{"nullable":true,"type":"integer"},"phones":{"nullable":true,"type":"array","description":"Seller phone numbers. Public store pages do not provide private phone numbers; an empty list is explained in leadAbsences.","items":{"type":"object"}},"emails":{"nullable":true,"type":"array","description":"Seller email addresses. Public store pages do not provide private email addresses; an empty list is explained in leadAbsences.","items":{"type":"object"}},"address":{"nullable":true,"type":"object","description":"Seller address fields, including street and unit. Values stay empty when the public page does not provide them.","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"geo":{"nullable":true,"type":"object","description":"Item coordinates, when available. Restricted product pages may leave both values empty.","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}}},"person":{"nullable":true,"type":"object","description":"Contact person, when available. A seller nickname alone is not treated as a private contact identity.","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"nullable":true,"type":"object","description":"Seller identity from store information, such as name, seller identifier, official-store identifier, followers and store URL. Field availability varies by source.","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true},"officialStoreId":{"nullable":true},"followers":{"nullable":true,"type":"number"},"storeUrl":{"nullable":true,"type":"string"}}},"web":{"nullable":true,"type":"object","description":"Seller website and social links, when available. Links belonging to the marketplace are not attributed to individual sellers.","properties":{"website":{"nullable":true,"type":"string"},"socials":{"nullable":true,"type":"array","items":{"type":"string"}}}},"leadSource":{"nullable":true,"type":"string"},"leadReveal":{"nullable":true,"type":"string"},"leadAbsences":{"nullable":true,"type":"object","description":"Reasons individual contact or identity fields are missing, such as not published, login required or not verified."}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: permalink, title|category_name."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}