# Mercado Livre Brasil Scraper Completo (`leadercorp/mercadolivre-scraper-br-pro`) Actor

Scraper profissional e modular para Mercado Livre Brasil (busca, produto, loja e ofertas) com fallback inteligente para browser.

- **URL**: https://apify.com/leadercorp/mercadolivre-scraper-br-pro.md
- **Developed by:** [Leadercorp](https://apify.com/leadercorp) (community)
- **Categories:** Automation, Other
- **Stats:** 5 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Mercado Livre Brasil Scraper Pro

Actor profissional da Apify para extracao de dados publicos do Mercado Livre Brasil com arquitetura modular, baixo custo operacional e fallback inteligente.

### Visao geral

Este actor foi projetado para cenarios profissionais de monitoramento de ecommerce, inteligencia de mercado e enriquecimento de catalogo.

Principios tecnicos:

- HTTP + Cheerio como fluxo principal para reduzir custo por execucao.
- Extracao de JSON embutido sempre que disponivel para maior estabilidade.
- Fallback com Playwright apenas quando necessario (bloqueio, HTML incompleto, dados criticos ausentes).

### Modos de execucao

- `search`: coleta resultados de busca com paginacao.
- `product`: coleta detalhes completos de paginas de produto.
- `store`: coleta dados de loja oficial ou perfil de vendedor.
- `offers`: coleta itens da secao de ofertas.
- `auto`: detecta automaticamente o tipo da URL informada.

### Principais funcionalidades

- Multi-source scraping: busca, categoria, produto, loja e ofertas.
- Auto-deteccao de tipo de URL no modo `auto`.
- Deduplicacao por `itemId`, `canonicalUrl` ou ambos.
- Retry com exponential backoff e tratamento de `403`, `429` e `5xx`.
- Suporte a proxy Apify para runs longos e maior resiliencia.
- Gravacao incremental no dataset para preservar dados em falhas parciais.
- Tipagem forte em TypeScript e testes unitarios de parser.

### Destaques de input

Campos mais usados:

- `mode`, `keyword`, `keywords`, `startUrls`
- `maxPages`, `maxItems`, `maxConcurrency`
- `includeProductDetails`, `includeShippingDetails`, `includeAttributes`
- `scrapeOffers`, `offersOnly`, `offersFilter`, `maxPagesOffers`
- `proxyConfiguration`, `useBrowserFallback`, `debug`

Consulte o schema completo em `.actor/input_schema.json`.

### Exemplos de input

#### Search (baixo custo)

```json
{
  "mode": "search",
  "keyword": "webcam logitech",
  "maxPages": 2,
  "maxItems": 100,
  "includeProductDetails": false,
  "useBrowserFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "BR"
  }
}
````

#### Product (detalhamento completo)

```json
{
  "mode": "product",
  "startUrls": [
    "https://www.mercadolivre.com.br/webcam-hd-logitech-c270-com-microfone-embutido-hd/p/MLB18931576"
  ],
  "includeDescription": true,
  "includeAttributes": true,
  "includeReviewsSummary": true,
  "includeShippingDetails": true,
  "maxItems": 20
}
```

#### Offers

```json
{
  "mode": "offers",
  "offersOnly": true,
  "offersFilter": "smartphone",
  "maxPagesOffers": 3,
  "maxItems": 120
}
```

### Exemplos de output

#### Search item

```json
{
  "searchKeyword": "webcam logitech",
  "searchUrl": "https://lista.mercadolivre.com.br/webcam-logitech",
  "page": 1,
  "position": 1,
  "sponsored": false,
  "title": "Webcam HD Logitech C270 com Microfone Embutido HD",
  "normalizedTitle": "webcam hd logitech c270 com microfone embutido hd",
  "productUrl": "https://www.mercadolivre.com.br/webcam-hd-logitech-c270-com-microfone-embutido-hd/p/MLB18931576",
  "canonicalUrl": "https://www.mercadolivre.com.br/webcam-hd-logitech-c270-com-microfone-embutido-hd/p/MLB18931576",
  "itemId": "MLB18931576",
  "price": 229.9,
  "currency": "R$",
  "discountPercent": 28,
  "shippingText": "Chegara gratis amanha",
  "freeShipping": true,
  "scrapeTimestamp": "2026-04-06T22:35:07.562Z"
}
```

#### Product detail

```json
{
  "itemId": "MLB18931576",
  "title": "Webcam HD Logitech C270 com Microfone Embutido HD",
  "brand": "Logitech",
  "model": "C270",
  "price": 229.9,
  "currency": "BRL",
  "attributes": [
    { "name": "Resolucao", "value": "HD" }
  ],
  "shippingInfo": {
    "freeShipping": true,
    "estimatedDeliveryText": "Chega amanha"
  },
  "url": "https://www.mercadolivre.com.br/webcam-hd-logitech-c270-com-microfone-embutido-hd/p/MLB18931576",
  "canonicalUrl": "https://www.mercadolivre.com.br/webcam-hd-logitech-c270-com-microfone-embutido-hd/p/MLB18931576",
  "scrapeTimestamp": "2026-04-06T22:35:07.562Z"
}
```

### Execucao local

```bash
npm install
npm run lint
npm run test
npm run build
npm run dev
```

Para executar com input local, use `storage/key_value_stores/default/INPUT.json`.

### Execucao na Apify

- Configure o input no Console do actor.
- Ative proxy para cenarios de maior volume (`RESIDENTIAL` recomendado).
- Execute e acompanhe logs em tempo real.
- Baixe resultados no dataset padrao do run.

### Configuracoes recomendadas de operacao

- Comece com `maxPages` e `maxItems` baixos para validar cobertura.
- Use `includeProductDetails: true` apenas quando precisar enriquecimento profundo.
- Mantenha `useBrowserFallback: true` para resiliencia, sem custo alto desnecessario.
- Para workloads maiores, configure `proxyConfiguration` + concorrencia moderada.

### Limitacoes conhecidas

- O layout do Mercado Livre pode mudar sem aviso e exigir ajuste de seletores.
- Parte dos dados pode variar por categoria, seller e tipo de anuncio.
- Alguns campos podem depender de renderizacao dinamica em momentos especificos.

### Nota de compliance

Este actor foi projetado para coletar dados publicos. Use de forma responsavel e em conformidade com termos aplicaveis, politicas da plataforma e legislacao vigente.

# Actor input Schema

## `mode` (type: `string`):

Define o modo principal de execução. Em auto, o actor detecta o tipo de URL automaticamente.

## `keyword` (type: `string`):

Palavra-chave única para busca, por exemplo: notebook gamer

## `keywords` (type: `array`):

Lista de palavras-chave para processar em lote.

## `startUrls` (type: `array`):

URLs de busca, produto, loja ou ofertas. Em modo auto, o tipo será detectado automaticamente.

## `categoryUrl` (type: `string`):

URL direta de categoria no Mercado Livre.

## `categoryId` (type: `string`):

ID/slug da categoria para montar URL de listagem automaticamente.

## `maxPages` (type: `integer`):

Número máximo de páginas para paginação de busca/ofertas/loja.

## `maxItems` (type: `integer`):

Limite total de itens gravados no dataset.

## `includePromoted` (type: `boolean`):

Inclui anúncios patrocinados nos resultados.

## `includeProductDetails` (type: `boolean`):

Em modo search, enfileira páginas de produto para coletar detalhes adicionais.

## `includeSellerDetails` (type: `boolean`):

Inclui informações de vendedor quando disponíveis nas páginas.

## `includeShippingDetails` (type: `boolean`):

Inclui campos estruturados de frete e entrega.

## `includeInstallments` (type: `boolean`):

Inclui quantidade e valor de parcelas quando exibidos.

## `includeAttributes` (type: `boolean`):

Coleta atributos técnicos da página de produto.

## `includeDescription` (type: `boolean`):

Coleta descrição textual do produto.

## `includeBreadcrumbs` (type: `boolean`):

Inclui trilha de categoria/breadcrumbs do produto.

## `includeReviewsSummary` (type: `boolean`):

Inclui média e total de avaliações quando existir.

## `includeQuestionsCount` (type: `boolean`):

Inclui contagem de perguntas do anúncio quando disponível.

## `includeOfficialStoreData` (type: `boolean`):

Inclui indicadores e nome de loja oficial quando disponível.

## `scrapeOffers` (type: `boolean`):

Também inclui scraping da página de Ofertas do Dia.

## `offersOnly` (type: `boolean`):

Ignora demais fontes e coleta apenas ofertas.

## `offersFilter` (type: `string`):

Filtro textual para ofertas (compatibilidade com actor antigo).

## `maxPagesOffers` (type: `integer`):

Limite específico de paginação para modo offers.

## `sort` (type: `string`):

Parâmetro de ordenação quando suportado pela URL de busca.

## `minPrice` (type: `number`):

Filtro mínimo de preço para busca/listagem, quando aplicável.

## `maxPrice` (type: `number`):

Filtro máximo de preço para busca/listagem, quando aplicável.

## `condition` (type: `string`):

Filtra por condição do item quando suportado.

## `location` (type: `string`):

Filtro textual de localização (quando disponível em página/listagem).

## `sellerName` (type: `string`):

Filtro textual por nome do vendedor, quando disponível.

## `sellerType` (type: `string`):

Filtra por loja oficial, vendedor normal ou qualquer.

## `proxyConfiguration` (type: `object`):

Configuração de proxy do Apify. Recomendado para runs longos.

## `useBrowserFallback` (type: `boolean`):

Ativa Playwright apenas quando HTML estático falhar ou houver bloqueio.

## `maxConcurrency` (type: `integer`):

Quantidade máxima de requests processadas em paralelo.

## `maxRequestRetries` (type: `integer`):

Número máximo de tentativas por request em caso de falha.

## `requestTimeoutSecs` (type: `integer`):

Timeout máximo por request, em segundos.

## `dedupeBy` (type: `string`):

Estratégia de deduplicação dos itens coletados.

## `debug` (type: `boolean`):

Ativa logs detalhados para troubleshooting.

## Actor input object example

```json
{
  "mode": "auto",
  "startUrls": [
    {
      "url": "https://lista.mercadolivre.com.br/notebook"
    },
    {
      "url": "https://www.mercadolivre.com.br/ofertas"
    }
  ],
  "maxPages": 3,
  "maxItems": 300,
  "includePromoted": true,
  "includeProductDetails": false,
  "includeSellerDetails": true,
  "includeShippingDetails": true,
  "includeInstallments": true,
  "includeAttributes": false,
  "includeDescription": false,
  "includeBreadcrumbs": false,
  "includeReviewsSummary": false,
  "includeQuestionsCount": false,
  "includeOfficialStoreData": true,
  "scrapeOffers": false,
  "offersOnly": false,
  "maxPagesOffers": 2,
  "condition": "any",
  "sellerType": "any",
  "useBrowserFallback": true,
  "maxConcurrency": 20,
  "maxRequestRetries": 4,
  "requestTimeoutSecs": 40,
  "dedupeBy": "both",
  "debug": false
}
```

# Actor output Schema

## `resultados` (type: `string`):

Itens coletados pelo actor no dataset padrao do run.

## `metadadosDoRun` (type: `string`):

Detalhes tecnicos da execucao (status, custos, uso de proxy, tempos e storages).

## `datasetNoConsole` (type: `string`):

Abertura rapida do run no Console para visualizar e exportar dados.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://lista.mercadolivre.com.br/notebook"
        },
        {
            "url": "https://www.mercadolivre.com.br/ofertas"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("leadercorp/mercadolivre-scraper-br-pro").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [
        { "url": "https://lista.mercadolivre.com.br/notebook" },
        { "url": "https://www.mercadolivre.com.br/ofertas" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("leadercorp/mercadolivre-scraper-br-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://lista.mercadolivre.com.br/notebook"
    },
    {
      "url": "https://www.mercadolivre.com.br/ofertas"
    }
  ]
}' |
apify call leadercorp/mercadolivre-scraper-br-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=leadercorp/mercadolivre-scraper-br-pro",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Mercado Livre Brasil Scraper Completo",
        "description": "Scraper profissional e modular para Mercado Livre Brasil (busca, produto, loja e ofertas) com fallback inteligente para browser.",
        "version": "1.0",
        "x-build-id": "WvAP0QK0gucF1jbe0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/leadercorp~mercadolivre-scraper-br-pro/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-leadercorp-mercadolivre-scraper-br-pro",
                "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/leadercorp~mercadolivre-scraper-br-pro/runs": {
            "post": {
                "operationId": "runs-sync-leadercorp-mercadolivre-scraper-br-pro",
                "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/leadercorp~mercadolivre-scraper-br-pro/run-sync": {
            "post": {
                "operationId": "run-sync-leadercorp-mercadolivre-scraper-br-pro",
                "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",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Modo",
                        "enum": [
                            "search",
                            "product",
                            "store",
                            "offers",
                            "auto"
                        ],
                        "type": "string",
                        "description": "Define o modo principal de execução. Em auto, o actor detecta o tipo de URL automaticamente.",
                        "default": "auto"
                    },
                    "keyword": {
                        "title": "Palavra-chave",
                        "type": "string",
                        "description": "Palavra-chave única para busca, por exemplo: notebook gamer"
                    },
                    "keywords": {
                        "title": "Lista de palavras-chave",
                        "type": "array",
                        "description": "Lista de palavras-chave para processar em lote.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "URLs iniciais",
                        "type": "array",
                        "description": "URLs de busca, produto, loja ou ofertas. Em modo auto, o tipo será detectado automaticamente.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "categoryUrl": {
                        "title": "URL de categoria",
                        "type": "string",
                        "description": "URL direta de categoria no Mercado Livre."
                    },
                    "categoryId": {
                        "title": "ID da categoria",
                        "type": "string",
                        "description": "ID/slug da categoria para montar URL de listagem automaticamente."
                    },
                    "maxPages": {
                        "title": "Máx. páginas",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Número máximo de páginas para paginação de busca/ofertas/loja.",
                        "default": 3
                    },
                    "maxItems": {
                        "title": "Máx. itens",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Limite total de itens gravados no dataset.",
                        "default": 300
                    },
                    "includePromoted": {
                        "title": "Incluir patrocinados",
                        "type": "boolean",
                        "description": "Inclui anúncios patrocinados nos resultados.",
                        "default": true
                    },
                    "includeProductDetails": {
                        "title": "Enriquecer com página de produto",
                        "type": "boolean",
                        "description": "Em modo search, enfileira páginas de produto para coletar detalhes adicionais.",
                        "default": false
                    },
                    "includeSellerDetails": {
                        "title": "Incluir dados do vendedor",
                        "type": "boolean",
                        "description": "Inclui informações de vendedor quando disponíveis nas páginas.",
                        "default": true
                    },
                    "includeShippingDetails": {
                        "title": "Incluir dados de frete",
                        "type": "boolean",
                        "description": "Inclui campos estruturados de frete e entrega.",
                        "default": true
                    },
                    "includeInstallments": {
                        "title": "Incluir parcelamento",
                        "type": "boolean",
                        "description": "Inclui quantidade e valor de parcelas quando exibidos.",
                        "default": true
                    },
                    "includeAttributes": {
                        "title": "Incluir atributos técnicos",
                        "type": "boolean",
                        "description": "Coleta atributos técnicos da página de produto.",
                        "default": false
                    },
                    "includeDescription": {
                        "title": "Incluir descrição",
                        "type": "boolean",
                        "description": "Coleta descrição textual do produto.",
                        "default": false
                    },
                    "includeBreadcrumbs": {
                        "title": "Incluir breadcrumbs",
                        "type": "boolean",
                        "description": "Inclui trilha de categoria/breadcrumbs do produto.",
                        "default": false
                    },
                    "includeReviewsSummary": {
                        "title": "Incluir resumo de avaliações",
                        "type": "boolean",
                        "description": "Inclui média e total de avaliações quando existir.",
                        "default": false
                    },
                    "includeQuestionsCount": {
                        "title": "Incluir total de perguntas",
                        "type": "boolean",
                        "description": "Inclui contagem de perguntas do anúncio quando disponível.",
                        "default": false
                    },
                    "includeOfficialStoreData": {
                        "title": "Incluir dados de loja oficial",
                        "type": "boolean",
                        "description": "Inclui indicadores e nome de loja oficial quando disponível.",
                        "default": true
                    },
                    "scrapeOffers": {
                        "title": "Raspar ofertas",
                        "type": "boolean",
                        "description": "Também inclui scraping da página de Ofertas do Dia.",
                        "default": false
                    },
                    "offersOnly": {
                        "title": "Somente ofertas",
                        "type": "boolean",
                        "description": "Ignora demais fontes e coleta apenas ofertas.",
                        "default": false
                    },
                    "offersFilter": {
                        "title": "Filtro de ofertas",
                        "type": "string",
                        "description": "Filtro textual para ofertas (compatibilidade com actor antigo)."
                    },
                    "maxPagesOffers": {
                        "title": "Máx. páginas de ofertas",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Limite específico de paginação para modo offers.",
                        "default": 2
                    },
                    "sort": {
                        "title": "Ordenação",
                        "type": "string",
                        "description": "Parâmetro de ordenação quando suportado pela URL de busca."
                    },
                    "minPrice": {
                        "title": "Preço mínimo",
                        "type": "number",
                        "description": "Filtro mínimo de preço para busca/listagem, quando aplicável."
                    },
                    "maxPrice": {
                        "title": "Preço máximo",
                        "type": "number",
                        "description": "Filtro máximo de preço para busca/listagem, quando aplicável."
                    },
                    "condition": {
                        "title": "Condição",
                        "enum": [
                            "new",
                            "used",
                            "any"
                        ],
                        "type": "string",
                        "description": "Filtra por condição do item quando suportado.",
                        "default": "any"
                    },
                    "location": {
                        "title": "Localização",
                        "type": "string",
                        "description": "Filtro textual de localização (quando disponível em página/listagem)."
                    },
                    "sellerName": {
                        "title": "Nome do vendedor",
                        "type": "string",
                        "description": "Filtro textual por nome do vendedor, quando disponível."
                    },
                    "sellerType": {
                        "title": "Tipo do vendedor",
                        "enum": [
                            "official_store",
                            "normal",
                            "any"
                        ],
                        "type": "string",
                        "description": "Filtra por loja oficial, vendedor normal ou qualquer.",
                        "default": "any"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Configuração de proxy do Apify. Recomendado para runs longos."
                    },
                    "useBrowserFallback": {
                        "title": "Usar fallback com browser",
                        "type": "boolean",
                        "description": "Ativa Playwright apenas quando HTML estático falhar ou houver bloqueio.",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Concorrência máxima",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Quantidade máxima de requests processadas em paralelo.",
                        "default": 20
                    },
                    "maxRequestRetries": {
                        "title": "Máx. retries por request",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Número máximo de tentativas por request em caso de falha.",
                        "default": 4
                    },
                    "requestTimeoutSecs": {
                        "title": "Timeout por request (s)",
                        "minimum": 10,
                        "maximum": 300,
                        "type": "integer",
                        "description": "Timeout máximo por request, em segundos.",
                        "default": 40
                    },
                    "dedupeBy": {
                        "title": "Deduplicar por",
                        "enum": [
                            "itemId",
                            "canonicalUrl",
                            "both"
                        ],
                        "type": "string",
                        "description": "Estratégia de deduplicação dos itens coletados.",
                        "default": "both"
                    },
                    "debug": {
                        "title": "Debug",
                        "type": "boolean",
                        "description": "Ativa logs detalhados para troubleshooting.",
                        "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
