{
  "openapi": "3.0.1",
  "info": {
    "title": "Unblocker MercadoLibre Scraper - Products, Prices, Sellers",
    "description": "Unblocker MercadoLibre scraper (LATAM). Get the best-seller ranking by category with rank, price, rating and units sold, plus full product detail: attributes, variations, stock, seller reputation, reviews and images. Bypasses MercadoLibre anti-bot. Export JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "HN6ZpJskrV0iuEl7C"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~unblocker-mercadolibre-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-unblocker-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/scrapers_lat~unblocker-mercadolibre-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-unblocker-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/scrapers_lat~unblocker-mercadolibre-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-unblocker-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": {
          "searchTerms": {
            "title": "Search Terms (one run, many searches)",
            "type": "array",
            "description": "One or more keywords to search. Each term runs a full search on the selected Country, so a single run can cover many searches. Every record is tagged with the searchQuery that produced it. Example: [\"notebook\", \"iphone 15\"].",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "One or more MercadoLibre search, category, or seller-store listing URLs (e.g. https://listado.mercadolibre.com.ar/notebook). Any filters already encoded in the URL are respected. Runs in addition to Search Terms.",
            "items": {
              "type": "string"
            }
          },
          "bestSellers": {
            "title": "Best-seller ranking mode (Argentina)",
            "type": "boolean",
            "description": "When enabled, collect the official MercadoLibre Argentina best-seller ranking per category (each product with its rank position, price, rating and units sold). Ideal for market research: run daily to track top products, price and rank changes. Combine with Fetch Product Details for full attributes, variations, stock and seller reputation per product."
          },
          "bestSellerCategories": {
            "title": "Best-seller categories",
            "type": "array",
            "description": "Optional. Limit best-seller ranking to specific categories, by name (e.g. 'Celulares', 'Electrodomesticos', 'Deportes') or category id (e.g. MLA1051). Leave empty to cover all main Argentina categories.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "ar",
              "mx",
              "br",
              "co",
              "cl",
              "pe",
              "uy",
              "ve",
              "bo",
              "py",
              "ec",
              "cr",
              "pa",
              "do",
              "gt",
              "hn",
              "ni",
              "sv"
            ],
            "type": "string",
            "description": "MercadoLibre country site to search when using a Search Term.",
            "default": "ar"
          },
          "maxListings": {
            "title": "Max Listings To Scrape",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of product listings to collect across all searches in this run."
          },
          "withDetails": {
            "title": "Fetch Product Details",
            "type": "boolean",
            "description": "When enabled, the actor opens each product page to add full technical attributes, variations, available stock, exact units sold, review count, seller reputation, description and all images. Much slower (about a minute per product) and best used on a focused set, so it is off by default; the best-seller ranking already includes price, rating and units sold."
          },
          "sellerId": {
            "title": "Seller / Store ID",
            "type": "string",
            "description": "Optional. Restrict results to a single MercadoLibre seller by numeric seller id (found on the seller's store page). Works on its own (returns that seller's catalog) or combined with a Search Term. You can also just paste a seller store URL into Search URLs."
          },
          "category": {
            "title": "Category ID or slug",
            "type": "string",
            "description": "Optional. Narrow a Search Term to a MercadoLibre category, by category id (e.g. MLA1652) or category slug. Leave blank to search all categories."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "new",
              "used",
              "refurbished"
            ],
            "type": "string",
            "description": "Filter by item condition. Applied when using a Search Term (a Search URL keeps its own filters).",
            "default": ""
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return items priced at or above this value (in the site's local currency). Applied when using a Search Term."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return items priced at or below this value (in the site's local currency). Applied when using a Search Term."
          },
          "minDiscount": {
            "title": "Minimum discount %",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Only return items with at least this discount percentage. Applied when using a Search Term."
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only return items that ship for free. Applied when using a Search Term.",
            "default": false
          },
          "fullFulfillment": {
            "title": "Mercado Envios FULL only",
            "type": "boolean",
            "description": "Only return items fulfilled by Mercado Envios FULL (fast, stocked in ML warehouses). Applied when using a Search Term.",
            "default": false
          },
          "officialStore": {
            "title": "Official stores only",
            "type": "boolean",
            "description": "Only return items sold by official brand stores. Applied when using a Search Term.",
            "default": false
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "newest"
            ],
            "type": "string",
            "description": "Result ordering. Applied when using a Search Term.",
            "default": "relevance"
          },
          "aiSummary": {
            "title": "AI summary (add-on)",
            "type": "boolean",
            "description": "Optional paid add-on. For each product, generate a concise buyer-oriented AI summary and key selling points. Requires a paid Apify plan; billed per product only when a usable summary is produced.",
            "default": false
          },
          "proxyUrl": {
            "title": "Advanced: bring your own proxy",
            "type": "string",
            "description": "Optional. Route this Actor through your own residential or mobile proxy pool for a much higher success rate (e.g. http://user:pass@host:port). MercadoLibre heavily rate-limits shared datacenter IPs, so a clean residential/mobile proxy is strongly recommended for large or reliable runs. Leave blank to use the built-in proxy."
          },
          "proxySessionCookie": {
            "title": "Advanced: session cookie",
            "type": "string",
            "description": "Optional. A signed-in MercadoLibre Cookie header string from your own browser session. When provided, the Actor reuses your session for a higher success rate on protected results. Use only cookies you are authorized to use."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}