{
  "openapi": "3.0.1",
  "info": {
    "title": "MercadoLibre Scraper | Products Prices LatAm",
    "description": "Scrape MercadoLibre and Mercado Livre across Latin America — ofertas, categories, search & products. Extract item IDs, titles, prices & permalinks from AR/MX/BR and more. Export Excel/CSV/JSON. Unofficial — not affiliated with MercadoLibre.",
    "version": "0.1",
    "x-build-id": "nJsLypLtLLR8EhzRy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~mercadolibre-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-mercadolibre-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lentic_clockss~mercadolibre-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-mercadolibre-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lentic_clockss~mercadolibre-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-mercadolibre-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "ofertas",
              "category",
              "search",
              "product",
              "categories",
              "tienda",
              "tiendas",
              "perfil",
              "landing",
              "nav",
              "api",
              "storefront"
            ],
            "type": "string",
            "description": "Store Test default: categories=public categories API. Direct-HTTP open surfaces (no browser): tienda/tiendas/perfil/landing/nav/api/storefront. Locked surfaces (login gate negative_traffic — return blocked, not data): search/product/ofertas/category.",
            "default": "categories"
          },
          "countrySite": {
            "title": "Country site",
            "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"
            ],
            "type": "string",
            "description": "MercadoLibre country host (siteId MLA/MLM/MLB… also accepted via siteId).",
            "default": "mercadolibre.com.ar"
          },
          "siteId": {
            "title": "Site ID",
            "type": "string",
            "description": "Optional MLA / MLM / MLB / … (overrides countrySite)."
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Single search input for mode=search (listado). Often blocked by account-verification."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional list of independent search inputs. Each keyword receives its own maxResults limit; keyword is the single-value alternative.",
            "items": {
              "type": "string"
            }
          },
          "categorySlug": {
            "title": "Category slug",
            "type": "string",
            "description": "Required for mode=category, e.g. celulares-y-telefonos (AR) or celulares-y-telefonia (MX)."
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Ofertas filter category=MLAxxxx, or categories mode root id (e.g. MLA1055)."
          },
          "containerId": {
            "title": "Ofertas container_id",
            "type": "string",
            "description": "Ofertas container_id filter from deal landings."
          },
          "price": {
            "title": "Ofertas price filter",
            "type": "string",
            "description": "e.g. 65000.0-250000.0"
          },
          "installments": {
            "title": "Ofertas installments filter",
            "type": "string",
            "description": "Ofertas installments filter value."
          },
          "page": {
            "title": "Ofertas page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Ofertas page",
            "default": 1
          },
          "productUrl": {
            "title": "Product URL",
            "type": "string",
            "description": "Full PDP URL for mode=product."
          },
          "productId": {
            "title": "Catalog product ID",
            "type": "string",
            "description": "e.g. MLA64352063 for /p/{id}"
          },
          "itemId": {
            "title": "Item ID",
            "type": "string",
            "description": "e.g. MLA1917258137"
          },
          "userProductId": {
            "title": "User product ID",
            "type": "string",
            "description": "e.g. MLAU3818396667 for /up/{id}"
          },
          "storeSlug": {
            "title": "Store slug (tienda/loja)",
            "type": "string",
            "description": "Official store slug, e.g. 2bambu (AR /tienda/{slug}) or motorola (BR /loja/{slug}). Required for mode=tienda; with enrichDetails=true (default) also enriches list results with verified seller org identity keys."
          },
          "storefrontId": {
            "title": "Storefront ID (BFF)",
            "type": "string",
            "description": "storefronts/frontend-wrapper id (hex+ownerId, e.g. 47bdb6f7…27935436). For mode=storefront; resolvable from storeSlug via the tienda shopModel when omitted."
          },
          "nickname": {
            "title": "Seller nickname",
            "type": "string",
            "description": "Required for mode=perfil — resolves /perfil/{nick} → seller_id (302 _CustId_ resolver)."
          },
          "landing": {
            "title": "Landing surface",
            "enum": [
              "importados",
              "market"
            ],
            "type": "string",
            "description": "For mode=landing: which landing grid to harvest (poly-cards with item_id+price).",
            "default": "importados"
          },
          "resource": {
            "title": "API resource",
            "enum": [
              "countries",
              "classified_locations",
              "payment_methods",
              "domain_discovery",
              "categories",
              "attributes"
            ],
            "type": "string",
            "description": "For mode=api: open REST family (api.mercadolibre.com, anonymous).",
            "default": "countries"
          },
          "resourceId": {
            "title": "API resource ID",
            "type": "string",
            "description": "For mode=api: categories/attributes → category id (default {site}1055); countries/classified_locations → ISO cc (default site country)."
          },
          "enrichDetails": {
            "title": "Enrich leads from seller store",
            "type": "boolean",
            "description": "Default on. When a storeSlug is available, opens the tienda/loja page (guest-open) and enriches every item with verified seller org keys (shop_name, seller_id, official_store_id, followers). Phones/emails are login-gated by platform design and reported via leadAbsences.",
            "default": true
          },
          "maxResults": {
            "title": "Max rows per keyword or target",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most entity rows for each keyword or selected mode target (store, category, product identifier, API resource, or other surface). Default 70; larger numbers are collected in parts of 70. All row types count together. The whole run stops at your maximum total charge. Free Apify plan: up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "workerBaseUrl": {
            "title": "Worker base URL override",
            "type": "string",
            "description": "Optional HTTPS Cloud Run origin (allowlisted). Production uses Actor env WORKER_BASE_URL."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}