{"openapi":"3.1.0","info":{"title":"Mercado Libre Latin America Stores and Catalog (x402 & MCP)","version":"0.1.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.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base, Polygon, Arbitrum, Monad, World Chain and Solana. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2) and 'exact' (EIP-3009) on EVM chains, and 'exact' (SPL USDC transfer, facilitator-paid fees) on Solana. 'upto' charges only for the rows delivered. 'exact' settles the full quoted amount (quoted rows x the row price) even when fewer rows than maxResults are delivered. Empty/0-row (404), invalid input (422), and upstream failures or timeouts (503, see error.code) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://agensi.opendata.best"}],"paths":{"/s/mercadolibre-com/v1/stores":{"post":{"operationId":"mercadolibre_com_stores","summary":"Mercado Libre Latin America Stores and Catalog: Official stores, storefronts, seller profiles and curated landings","description":"Store directory, official store pages, storefronts or curated landing pages across Latin America. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["mercadolibre-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"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","enum":["tiendas","tienda","storefront","perfil","landing"]},"countrySite":{"type":"string","description":"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","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"]},"storeSlug":{"type":"string","description":"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."},"storefrontId":{"type":"string","description":"Identifier for storefront mode. Alternatively, select storefront and supply storeSlug to look up the identifier from that store."},"nickname":{"type":"string","description":"Seller nickname for perfil mode. A matching profile returns a seller identifier; an unresolved nickname produces no seller row."},"landing":{"type":"string","description":"Product grid for landing mode: importados selects international shopping and market selects the supermarket. Availability varies by country.","default":"importados","enum":["importados","market"]},"page":{"type":"integer","description":"Starting deals page for ofertas mode, from 1 to 100. Defaults to 1.","default":1,"minimum":1,"maximum":100},"enrichDetails":{"type":"boolean","description":"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},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 10 (default 5). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount. Calls that return 0 rows or fail are not charged.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"mode":"tiendas","countrySite":"mercadolibre.com.ar","maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_mercadolibre_com"},"example":{"jobId":"job_mercadol_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"item_id":"example_item_id","title":"example_title","price":"example_price","currency":"example_currency","siteId":"example_siteId","countrySite":"example_countrySite"}],"meta":{"site":"mercadolibre-com","endpoint":"stores","maxResults":5,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/mercadolibre-com/v1/catalog":{"post":{"operationId":"mercadolibre_com_catalog","summary":"Mercado Libre Latin America Stores and Catalog: 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. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["mercadolibre-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"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","enum":["categories","nav","api"]},"countrySite":{"type":"string","description":"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","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"]},"categoryId":{"type":"string","description":"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":"Optional marketplace identifier, such as MLA for Argentina, MLM for Mexico or MLB for Brazil. A recognized identifier overrides countrySite."},"resource":{"type":"string","description":"Resource for api mode: country information, classified locations, payment methods, category suggestions, category records or attributes. For domain_discovery, also supply keyword.","default":"countries","enum":["countries","classified_locations","payment_methods","domain_discovery","categories","attributes"]},"resourceId":{"type":"string","description":"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":"Term for api with resource set to domain_discovery. Search mode is unavailable because product search needs a signed-in account."},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 10 (default 5). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount. Calls that return 0 rows or fail are not charged.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"mode":"categories","countrySite":"mercadolibre.com.ar","maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_mercadolibre_com"},"example":{"jobId":"job_mercadol_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"item_id":"example_item_id","title":"example_title","price":"example_price","currency":"example_currency","siteId":"example_siteId","countrySite":"example_countrySite"}],"meta":{"site":"mercadolibre-com","endpoint":"catalog","maxResults":5,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/mercadolibre-com/v1/health":{"get":{"operationId":"mercadolibre_com_health","summary":"Mercado Libre Latin America Stores and Catalog: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["mercadolibre-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"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"}}},"Row_mercadolibre_com":{"type":"object","properties":{"item_id":{"type":["string","null"],"title":"Item"},"title":{"type":["string","null"],"title":"Title"},"price":{"type":["string","null"],"title":"Price"},"currency":{"type":["string","null"],"title":"Currency"},"siteId":{"type":["string","null"],"title":"Site"},"countrySite":{"type":["string","null"],"title":"Host"},"permalink":{"type":["string","null"],"format":"uri","title":"URL"},"source_surface":{"type":["string","null"],"title":"Surface"},"mode":{"type":["string","null"],"title":"Mode"},"org":{"type":["string","null"],"title":"Seller (org)"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"scrapedAt":{"type":["string","null"],"title":"Scraped at"}},"additionalProperties":true},"Response_mercadolibre_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_mercadolibre_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}}}