# Walmart Mexico Product & Price Data Scraper (`latinamericadata/walmart-mexico`) Actor

Extrae productos de Walmart México con precios, descuentos, stock, vendedores, reseñas e imágenes. Scraper y API para pricing, catálogo y ecommerce. Exporta en JSON, CSV o Excel e intégralo por API, webhooks y automatizaciones.

- **URL**: https://apify.com/latinamericadata/walmart-mexico.md
- **Developed by:** [Latin America Data](https://apify.com/latinamericadata) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 44 total users, 17 monthly users, 99.3% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 producto entregados

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

El **Walmart Mexico Scraper** convierte datos públicos de [Walmart México](https://www.walmart.com.mx/) en registros estructurados y listos para análisis. Transforma términos de búsqueda en un catálogo estructurado para comparar ofertas, sellers, disponibilidad, valoraciones y presencia de marketplace.

Esta es una herramienta independiente y no oficial de **Latin America Data**. No está afiliada, patrocinada ni operada por Walmart México.

### Qué puedes extraer con Walmart Mexico Scraper

- Identificador, título, marca y categoría del producto.
- Precio actual, precio anterior, ahorro y moneda.
- Vendedor, disponibilidad, marketplace, rating y número de reseñas.
- Imagen, posición, página y enlaces de producto y búsqueda.

Cada registro conserva `source_url` para comprobar la información. Los campos que la fuente no publique permanecen vacíos; el actor no inventa valores para completar el dataset.

### Casos de uso para datos de Walmart México

- Comparar precios de Walmart México con otros retailers y marketplaces.
- Detectar cambios de stock, promociones, sellers y productos patrocinados.
- Medir surtido y reputación de marcas por categoría o consulta.
- Alimentar BI de retail, inteligencia competitiva y alertas comerciales.

### Qué preguntas puede responder este dataset

El dataset ayuda a estudiar una búsqueda desde la perspectiva de retail y marketplace. Puedes medir cuántas marcas aparecen, qué sellers concentran la oferta y cuándo un precio de lista se convierte en ahorro real. Al repetir la consulta es posible seguir disponibilidad, reseñas y cambios de surtido en categorías de supermercado, hogar, electrónica y consumo.

### Cómo usar Walmart Mexico Scraper

1. Abre la pestaña **Input** e indica la búsqueda, los filtros o las URLs necesarias.
2. Para una primera validación, usa un límite pequeño y revisa el formato de salida.
3. Pulsa **Start** y espera a que termine la ejecución en Apify Console.
4. Abre el dataset para revisar, descargar o integrar los resultados.

#### Principales campos de entrada

| Campo | Nombre en el formulario | Para qué sirve | Valor inicial |
| --- | --- | --- | --- |
| `query` | Término de búsqueda | Producto, marca, categoría, cargo o palabra clave que deseas buscar en Walmart México. | `audifonos` |
| `startPage` | Página inicial | Página desde la que comenzará la extracción. | `1` |
| `maxItems` | Máximo de resultados | Límite opcional de resultados. Déjalo vacío para continuar mientras existan registros nuevos. | opcional |
| `maxPages` | Máximo de páginas | Límite opcional de páginas. Déjalo vacío para recorrer toda la búsqueda disponible. | opcional |
| `maxRuntimeSecs` | Tiempo máximo de ejecución | Conserva los productos ya obtenidos antes del tiempo máximo de una búsqueda extensa. | `180` |

Los límites de resultados y páginas sólo restringen la extracción cuando reciben un valor. Si quedan vacíos, el actor continúa mientras la fuente entregue registros nuevos dentro del alcance solicitado.

#### Ejemplo de entrada

```json
{
  "query": "audifonos",
  "maxRuntimeSecs": 180
}
```

### Datos de salida de Walmart Mexico Scraper

- Producto: `product_id`, `title`, `brand`, `category` e `image_url`.
- Oferta: `price`, `list_price`, `savings`, `currency` y `availability`.
- Marketplace: `seller`, `marketplace`, `rating`, `review_count` y `sponsored`.
- Auditoría: `source_url`, `search_url`, `page`, `rank` y `scraped_at`.

Una fila usa `status=success` cuando contiene un producto entregado. Una consulta válida sin coincidencias puede devolver `no_results`; una indisponibilidad controlada se identifica como `blocked` o `failed`. Estas filas operativas mantienen la ejecución auditable y no se cobran como resultado.

El dataset puede descargarse como **JSON, CSV o Excel**. También puedes consumir los registros desde la API de Apify sin cambiar el formato definido por el actor.

### API, integraciones y automatización para Walmart México

Ejecuta este web scraper desde Python, JavaScript, cURL, MCP o la API de Apify. Para seguimiento continuo, guarda el input como tarea y conecta horarios o webhooks con tu base de datos, hoja de cálculo, CRM, BI o flujo de alertas.

### Precio de Walmart Mexico Scraper

El precio actual es **USD 0.003 por producto entregado**; 1.000 resultados exitosos representan USD 3.00 en eventos de resultado. Las filas `no_results`, `blocked` y `failed` no se cobran. El usuario asume el uso de la plataforma y puede definir límites para controlar volumen y costo.

### Preguntas frecuentes sobre Walmart México

#### ¿Cuántos productos de Walmart México puedo extraer?

Si dejas vacíos `maxItems` y `maxPages`, el actor continúa mientras la búsqueda entregue productos nuevos. Usa límites pequeños para pruebas iniciales.

#### ¿Puedo monitorear precios de Walmart diariamente?

Sí. Guarda la entrada como tarea, prográmala en Apify y compara los campos de precio, ahorro y disponibilidad entre ejecuciones.

### Otros scrapers y APIs de datos de México

- [Amazon Mexico Product Data & Price Scraper](https://apify.com/latinamericadata/amazon-mexico)
- [Bodega Aurrera Product & Price Scraper Mexico](https://apify.com/latinamericadata/bodega-aurrera-mexico)
- [Chedraui Mexico Product & Price Data Scraper](https://apify.com/latinamericadata/chedraui-mexico)

### Uso responsable

Usa los datos con una finalidad legítima, respeta la legislación y los términos aplicables, y valida decisiones importantes en los enlaces de origen. Las marcas y nombres comerciales pertenecen a sus respectivos titulares.

# Actor input Schema

## `query` (type: `string`):

Producto, marca, categoría, cargo o palabra clave que deseas buscar en Walmart México.

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

Límite opcional de resultados. Déjalo vacío para continuar mientras existan registros nuevos.

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

Límite opcional de páginas. Déjalo vacío para recorrer toda la búsqueda disponible.

## `startPage` (type: `integer`):

Página desde la que comenzará la extracción.

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

Segundos máximos de espera antes de considerar fallida una solicitud.

## `retries` (type: `integer`):

Cantidad de intentos controlados ante una indisponibilidad temporal.

## `maxRuntimeSecs` (type: `integer`):

Conserva los productos ya obtenidos antes del tiempo máximo de una búsqueda extensa.

## `failOnNoResults` (type: `boolean`):

Si se activa, una búsqueda válida sin coincidencias finaliza como error.

## Actor input object example

```json
{
  "query": "audifonos",
  "startPage": 1,
  "requestTimeoutSecs": 45,
  "retries": 3,
  "maxRuntimeSecs": 180,
  "failOnNoResults": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("latinamericadata/walmart-mexico").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("latinamericadata/walmart-mexico").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call latinamericadata/walmart-mexico --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,latinamericadata/walmart-mexico"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pyRmYNWHIHov7cuIU/builds/x8fsv8vPS10d2xdT7/openapi.json
