# Plaza Vea Peru Grocery Price Scraper (`scrapers_lat/plazavea-scraper`) Actor

Scrape Plaza Vea product prices from Peru's largest supermarket catalog. Extract name, brand, price and list price in soles (PEN), EAN barcode, stock, seller and category by keyword or category. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/plazavea-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** E-commerce, Automation, Business
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.15 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

[![Plaza Vea Scraper](https://scrapers.lat/banners/plazavea-scraper.png)](https://console.apify.com/actors/bJo2B3e0OX6EUvcpc/input)

## Plaza Vea Scraper

Here is one real result, with every field the actor returns (long `installmentsTable`, `productClusters` and the HTML in `specifications` trimmed for readability; the actor returns the full values):

```json
{
  "name": "Arroz Extra COSTEÑO Bolsa 5Kg",
  "brand": "COSTEÑO",
  "category": "Abarrotes > Arroz > Arroz Extra",
  "categories": [
    "Abarrotes > Arroz > Arroz Extra",
    "Abarrotes > Arroz",
    "Abarrotes"
  ],
  "productId": "836",
  "sku": "565",
  "ean": "7755139246890",
  "referenceId": "641425",
  "productReference": "641425",
  "price": 21.9,
  "listPrice": 25.9,
  "priceWithoutDiscount": 25.9,
  "sellingPrice": 21.9,
  "currency": "PEN",
  "availableQuantity": 498,
  "isAvailable": true,
  "seller": "Plaza Vea",
  "measurementUnit": "un",
  "unitMultiplier": 1,
  "rewardValue": 0,
  "tax": 0,
  "releaseDate": "2015-10-19T00:00:00Z",
  "priceValidUntil": "3000-01-02T05:00:00Z",
  "promoTeasers": [
    "Promo Oh-Pay",
    "TARJETA OH - PVEA"
  ],
  "installmentsTable": [
    { "number": 1, "value": 21.9, "interestRate": 0, "total": 21.9, "paymentName": "Safetypay à vista" }
  ],
  "productClusters": [
    "Lo más buscado en el Supermercado",
    "Abarrotes"
  ],
  "description": "¡Compra Online Arroz Extra COSTEÑO Bolsa 5Kg desde donde estés en plazaVea.com.pe!",
  "specifications": {
    "Vendido por": "plazaVea",
    "Contenido Neto": "5Kg",
    "Denominación/Variedad": "Extra Graneadito",
    "Presentación/Empaque": "Bolsa",
    "Descripción del producto": "[HTML trimmed]"
  },
  "imageUrl": "https://plazavea.vteximg.com.br/arquivos/ids/27552451/641425.jpg?v=638313121271170000",
  "images": [
    "https://plazavea.vteximg.com.br/arquivos/ids/27552451/641425.jpg?v=638313121271170000"
  ],
  "url": "https://www.plazavea.com.pe/arroz-extra-costeno-bolsa-5kg/p",
  "observedAt": "2026-08-10T14:39:43.684Z",
  "error": null
}
```

The most complete Plaza Vea scraper available. It returns every field the Plaza Vea (VTEX) catalog exposes per product offer, including price, list price, EAN, stock, installment plans, promo teasers, product clusters and full specifications, and gives you search, category and sort filters to target exactly the products you need.

**📥 [Input](https://apify.com/scrapers_lat/plazavea-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/plazavea-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/plazavea-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/plazavea-scraper/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-Peru-blue)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)
![Billing](https://img.shields.io/badge/Billing-Pay%20per%20result-brightgreen)

### Table of contents

- [What it does](#what-it-does)
- [Quickstart](#quickstart)
- [Input reference](#input-reference)
- [Output reference](#output-reference)
- [Example output record](#example-output-record)
- [Run via API and CLI](#run-via-api-and-cli)
- [Fetch results](#fetch-results)
- [Billing and limits](#billing-and-limits)
- [FAQ and troubleshooting](#faq-and-troubleshooting)

### What it does

The actor queries the Plaza Vea (Peru) VTEX catalog by search term, department category or an advanced start URL, paginates the results, and writes one normalized record per product offer to the run's dataset. Each available SKU and seller is one record. Prices, list prices, discounts, stock, EAN, installment plans, promo teasers, product clusters and the full specification block are all captured. Missing source values are returned as `null`, never invented.

Provide a `searchTerm`, a `categoryId`, or a `startUrl`. You can combine a search term with a category to search within a department, and set `sortOrder` to control the order the catalog returns products.

### Quickstart

Open the actor, paste this into the input, and press Run. It returns up to 10 products matching `arroz` (rice).

```json
{
  "maxProducts": 10,
  "searchTerm": "arroz",
  "categoryId": "",
  "sortOrder": ""
}
```

Leave `searchTerm` empty and set `categoryId` to browse a whole department, or paste an advanced VTEX catalog URL into `startUrl` to control every query parameter.

### Input reference

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchTerm` | string | no | `arroz` | Full-text query against the Plaza Vea catalog, for example `leche gloria`, `televisor`. Maps to the VTEX `ft` parameter. |
| `categoryId` | enum | no | (all) | Restrict to one department. Maps to the VTEX `fq=C:` filter. Options range across groceries, drinks, dairy, meat, cleaning, technology, home appliances and more. Combine with `searchTerm` to search within a department. |
| `startUrl` | string | no | (empty) | Advanced. A full VTEX catalog search URL whose query string (`ft`, `fq`, `O`) is used as-is. When set, its parameters take precedence. |
| `sortOrder` | enum | no | (relevance) | Order the catalog returns products. One of `OrderByPriceASC`, `OrderByPriceDESC`, `OrderByTopSaleDESC`, `OrderByReviewRateDESC`, `OrderByNameASC`, `OrderByNameDESC`, `OrderByReleaseDateDESC`, `OrderByBestDiscountDESC`. Maps to the VTEX `O` parameter. |
| `maxProducts` | integer | no | `10` | Maximum number of product offers to collect. Each available SKU and seller is one record. |

### Output reference

One dataset item per product offer. Types: `string`, `number`, `boolean`, `string[]`, `object`, `object[]`, or `null` when the source value is absent.

| Field | Type | Description |
|---|---|---|
| `name` | string | Product name. |
| `brand` | string | Brand name. |
| `category` | string | Primary category path. |
| `categories` | string\[] | All category paths the product appears in. |
| `productId` | string | VTEX product id. |
| `sku` | string | SKU id (unique per variant). |
| `ean` | string | EAN barcode, or `null`. |
| `referenceId` | string | Manufacturer or catalog reference id. |
| `productReference` | string | VTEX product reference code. |
| `price` | number | Current price in `currency`. |
| `listPrice` | number | List price before discount. |
| `priceWithoutDiscount` | number | Price without discount. |
| `sellingPrice` | number | Selling price. |
| `currency` | string | Currency code, always `PEN`. |
| `availableQuantity` | integer | Units available for the offer. |
| `isAvailable` | boolean | `true` when the offer is purchasable. |
| `seller` | string | Seller name. |
| `measurementUnit` | string | Unit of measure, for example `un`. |
| `unitMultiplier` | number | VTEX unit multiplier. |
| `rewardValue` | number | Loyalty reward value. |
| `tax` | number | Tax amount. |
| `releaseDate` | string | Product release date (ISO 8601). |
| `priceValidUntil` | string | Date the price is valid until (ISO 8601). |
| `promoTeasers` | string\[] | Active promotion teaser names. |
| `installmentsTable` | object\[] | Installment plans, each with `number`, `value`, `interestRate`, `total`, `paymentName`. |
| `productClusters` | string\[] | VTEX product cluster labels the product belongs to. |
| `description` | string | Short product description. |
| `specifications` | object | Full specification key/value block, including packaging, net content and the HTML product description. |
| `imageUrl` | string | Primary image URL. |
| `images` | string\[] | All product image URLs. |
| `url` | string | Product page URL. |
| `observedAt` | string | ISO 8601 timestamp of when the record was collected. |
| `error` | string | `null` on success. On a failed run, an item with a populated `error` field is written instead. |

### Example output record

Real record from a live run (input `{"searchTerm": "arroz", "maxProducts": 10}`), core offer fields shown:

```json
{
  "name": "Olla Arrocera BLACK+DECKER 22 Tazas RC5225-CL Blanco",
  "brand": "BLACK+DECKER",
  "category": "Electrohogar > Electrodomésticos de Cocina > Ollas Arroceras",
  "productId": "18244",
  "sku": "18164",
  "ean": null,
  "price": 119,
  "listPrice": 149,
  "priceWithoutDiscount": 149,
  "sellingPrice": 119,
  "currency": "PEN",
  "availableQuantity": 614,
  "isAvailable": true,
  "seller": "Plaza Vea",
  "measurementUnit": "un",
  "promoTeasers": [
    "Promo-Tarjeta-Oh-Lurin-Oculto",
    "TARJETA OH - PVEA"
  ],
  "url": "https://www.plazavea.com.pe/olla-arrocera-black-decker-2-2l-rc5225-blanco/p",
  "observedAt": "2026-08-10T14:39:43.979Z",
  "error": null
}
```

### Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace `<TOKEN>` with your Apify API token.

Run synchronously and get dataset items in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~plazavea-scraper/run-sync-get-dataset-items?token=%3CTOKEN%3E" \
  -H "Content-Type: application/json" \
  -d '{"searchTerm":"leche gloria","maxProducts":25}'
```

Start a run asynchronously:

```bash
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~plazavea-scraper/runs?token=%3CTOKEN%3E" \
  -H "Content-Type: application/json" \
  -d '{"categoryId":"814","sortOrder":"OrderByPriceASC","maxProducts":100}'
```

Apify CLI:

```bash
apify call scrapers_lat/plazavea-scraper \
  --input '{"searchTerm":"televisor","sortOrder":"OrderByBestDiscountDESC"}'
```

### Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing `format`:

```bash
## JSON
curl "https://api.apify.com/v2/datasets/%3CDATASET_ID%3E/items?token=%3CTOKEN%3E&clean=true&format=json"

## CSV
curl "https://api.apify.com/v2/datasets/%3CDATASET_ID%3E/items?token=%3CTOKEN%3E&clean=true&format=csv"

## Paginate large datasets
curl "https://api.apify.com/v2/datasets/%3CDATASET_ID%3E/items?token=%3CTOKEN%3E&offset=1000&limit=1000"
```

`<DATASET_ID>` is returned as `defaultDatasetId` in the run object. Use `offset` and `limit` to page through large result sets. `clean=true` drops empty and internal fields.

### Billing and limits

- **Pay per result.** You are charged per product offer returned (`result` event). See the [pricing tab](https://apify.com/scrapers_lat/plazavea-scraper/pricing) for the current per-result price.
- **No charge on failure.** If a run errors, the actor writes an item with a populated `error` field and does not charge for it. Empty runs cost nothing.
- **Spend cap respected.** Set `maxTotalChargeUsd` on the run; once reached, the actor stops emitting and charging further billable results.
- **Free Apify plans** are capped at 10 products per run. Upgrade for higher `maxProducts`.

### FAQ and troubleshooting

**A run returned 0 records. Why?**
The search term or category matched nothing, or the start URL had no results. Try a broader term, or clear `categoryId`. Zero-result runs are not charged.

**How do I browse a whole department?**
Leave `searchTerm` empty and set `categoryId` to the department you want, for example `814` for Meat, Poultry and Fish. Combine both to search within a department.

**Can I control the exact catalog query?**
Yes. Paste a full VTEX catalog search URL into `startUrl`. Its query parameters (`ft`, `fq`, `O`) are used as-is and take precedence.

**Why is `ean` null on some products?**
Plaza Vea does not publish a barcode for every item (common for appliances and non-food products). Missing source values are returned as `null`, never invented.

**What currency are prices in?**
Peruvian Sol (`PEN`). Plaza Vea operates in Peru.

**Is this an official Plaza Vea tool?**
No. This actor is independent and has no affiliation with Plaza Vea or Intercorp. It reads only data that is publicly available on the Plaza Vea catalog.

### Related scrapers

- [Cruz Verde Scraper](https://apify.com/scrapers_lat/cruz-verde-scraper): pharmacy product prices.
- [Coto Argentina Scraper](https://apify.com/scrapers_lat/coto-argentina-scraper): grocery prices in Argentina.
- [Chedraui Scraper](https://apify.com/scrapers_lat/chedraui-scraper): supermarket prices in Mexico.
- [Exito Scraper](https://apify.com/scrapers_lat/exito-scraper): retail product catalog in Colombia.
- [Elektra Scraper](https://apify.com/scrapers_lat/elektra-scraper): electronics and appliance prices.
- [Falabella Scraper](https://apify.com/scrapers_lat/falabella-scraper): department store product catalog.

### More scrapers at scrapers.lat

Built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at [scrapers.lat](https://scrapers.lat).

***

> Independent tool, not affiliated with Plaza Vea or Intercorp. Accesses only publicly available catalog data.

# Actor input Schema

## `maxProducts` (type: `integer`):

Maximum number of product offers to collect. Each available SKU and seller is one record. Optional.

## `searchTerm` (type: `string`):

Full-text query to search the Plaza Vea catalog (e.g. "arroz", "leche gloria", "televisor"). Maps to the VTEX ft parameter. Leave empty to use a Category or Start URL instead.

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

Restrict results to one Plaza Vea department. Maps to the VTEX fq=C: filter. Combine with a Search Term to search within a department.

## `startUrl` (type: `string`):

Advanced. A full VTEX catalog search URL whose query string (ft, fq, O, etc.) is used as-is, e.g. https://www.plazavea.com.pe/api/catalog\_system/pub/products/search?ft=cerveza\&O=OrderByPriceASC . When set, its parameters take precedence.

## `sortOrder` (type: `string`):

Order in which the catalog returns products. Maps to the VTEX O parameter.

## Actor input object example

```json
{
  "maxProducts": 10,
  "searchTerm": "arroz",
  "categoryId": "",
  "sortOrder": ""
}
```

# Actor output Schema

## `results` (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 = {
    "maxProducts": 10,
    "searchTerm": "arroz"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/plazavea-scraper").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 = {
    "maxProducts": 10,
    "searchTerm": "arroz",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/plazavea-scraper").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 '{
  "maxProducts": 10,
  "searchTerm": "arroz"
}' |
apify call scrapers_lat/plazavea-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/bJo2B3e0OX6EUvcpc/builds/8c3rlKIxnIaFpL4HB/openapi.json
