{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Mercado Libre Scraper · 5,000 Free Products/Month",
    "description": "Mercado Libre Scraper gets you Mercado Libre product data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, stock, specs, ratings & sellers from search, category, store, seller or deals. 💰 $1 per 1,000 products, no start fee. Scrape your first 5,000 products free every month 🚀",
    "version": "0.0",
    "x-build-id": "YJpZs2cLBZNhxcRF2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~mercado-libre-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-mercado-libre-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/omkar-cloud~mercado-libre-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-mercado-libre-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/omkar-cloud~mercado-libre-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-mercado-libre-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": {
          "searchQueries": {
            "title": "🔍 Search keywords",
            "type": "array",
            "description": "Words you would type into Mercado Libre's search box, one per line. Each keyword is searched separately on the country site you pick below.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "🗂️ Categories",
            "type": "array",
            "description": "Category IDs (MLA1652) or Mercado Libre category links (https://listado.mercadolibre.com.ar/celulares-telefonos/celulares-smartphones/), one per line. The ID's prefix picks the country. Very deep categories without a listing page of their own need the link.",
            "items": {
              "type": "string"
            }
          },
          "stores": {
            "title": "🏬 Official stores",
            "type": "array",
            "description": "Official store slugs (apple) or store links (https://www.mercadolibre.com.ar/tienda/apple), one per line. Gets every product of the store.",
            "items": {
              "type": "string"
            }
          },
          "sellers": {
            "title": "👤 Sellers",
            "type": "array",
            "description": "Numeric seller IDs (71229887) or seller listing links (https://listado.mercadolibre.com.ar/_CustId_71229887), one per line. Gets every product the seller lists.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "📦 Products",
            "type": "array",
            "description": "Item IDs (MLA1932888020), catalog product IDs (MLA1040287791), user-product IDs (MLAU3735180826) or any Mercado Libre product link (https://articulo.mercadolibre.com.ar/MLA-1932888020-_JM), one per line. Products always come back as full rows (billed with the Full product details add-on).",
            "items": {
              "type": "string"
            }
          },
          "bestSellerCategories": {
            "title": "🏆 Best sellers",
            "type": "array",
            "description": "Category IDs (MLA1055) or best-sellers links (https://www.mercadolibre.com.ar/mas-vendidos/MLA1055), one per line. Each gets Mercado Libre's top 20 best-selling products of that category, in rank order.",
            "items": {
              "type": "string"
            }
          },
          "scrapeDeals": {
            "title": "🔥 Scrape deals",
            "type": "boolean",
            "description": "Get today's deals (Ofertas) of the country site you pick below.",
            "default": false
          },
          "dealsCategory": {
            "title": "Deals category",
            "type": "string",
            "description": "Only deals in this category ID, e.g. MLA1055. Leave empty for every deal."
          },
          "site": {
            "title": "🌎 Country site",
            "enum": [
              "MLA",
              "MLB",
              "MLM",
              "MLC",
              "MCO",
              "MPE",
              "MLU",
              "MEC",
              "MLV",
              "MBO",
              "MPY",
              "MGT",
              "MHN",
              "MNI",
              "MSV",
              "MCR",
              "MPA",
              "MRD"
            ],
            "type": "string",
            "description": "Mercado Libre country site for keywords, store slugs, seller IDs and deals. Category and product IDs carry their country in their prefix (MLA = Argentina, MLB = Brazil, ...), so they ignore this.",
            "default": "MLA"
          },
          "maxResults": {
            "title": "Maximum products per input",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Stop after this many products for each keyword, category, store, seller, best-seller category or the deals list. Keeps your cost predictable. Mercado Libre shows at most 2,000 results per listing and 20 best sellers per category.",
            "default": 100
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of keyword, category, store and seller results, as on Mercado Libre.",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "📦 Full details",
            "type": "boolean",
            "description": "Add the full product page to every row: stock and units available, every spec, description, variations with their own price, buy-box offers, rating breakdown and AI review summary, all images, payment methods, and the seller's reputation, MercadoLíder status, sales and followers. Billed as the Full product details add-on.",
            "default": false
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "new",
              "used"
            ],
            "type": "string",
            "description": "Only new or only used listings. Leave empty for both. Applies to keywords, categories, stores and sellers."
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Only products at or above this price, in the site's own currency (ARS on Argentina, BRL on Brazil, ...). Applies to keywords, categories, stores and sellers."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Only products at or below this price, in the site's own currency. Must not be lower than the minimum price."
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only listings with free shipping. Applies to keywords, categories, stores and sellers.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}