# Peru Supermarket Prices: Wong, Metro & Plaza Vea (`niches/peru-supermarket-prices`) Actor

One search, three Peruvian supermarkets: product, brand, price in PEN, EAN and link from Wong, Metro and Plaza Vea, plus a free comparison per search (cheapest and median price by store). Free price tracking.

- **URL**: https://apify.com/niches/peru-supermarket-prices.md
- **Developed by:** [Niches](https://apify.com/niches) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 products

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?

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

## Peru Supermarket Prices: Wong, Metro & Plaza Vea

Search **3 Peru supermarkets at once**: Wong, Metro Peru and Plaza Vea. For every search you get each store's matching products (**name, brand, price in PEN, EAN, image and link**), plus a **free comparison row** with the cheapest and median price at each store.

Run it on a schedule with price tracking on and every product row says whether its price dropped, rose or stayed the same since your last run.

**Tested in Apify's cloud:** a search for "leche" returned 15 products from 3 stores in one run, with the comparison.

### What you get

| Field | What it holds |
|---|---|
| Products (paid) | `recordType: product`, `site` (the store), `productName`, `brand`, `price`, `regularPrice`, `discountPercent`, `gtin`, `image`, `productUrl`, `rank`. |
| Comparison (free) | `recordType: comparison`, one per search: `comparison.stores[]` with `products`, `lowestPrice`, `lowestProduct`, `lowestUrl`, `medianPrice` and `status` per store, and `comparison.cheapestStore`. |
| Price tracking (free) | `previousPrice`, `priceChange`, `priceChangePercent`, `priceStatus`, `firstSeenAt` against your last run. |

### What people use it for

- **Peru grocery price comparison:** which of Wong, Metro Peru and Plaza Vea is cheapest for the products you buy.
- **Inflation and basket tracking:** run the same list of searches daily or weekly and watch prices move store by store.
- **Retail and brand research:** which brands each chain shows for a category, and at what price.
- **AI agents:** one tool for live supermarket prices in Peru (MCP).

### How to use it

1. Type one or more searches in Spanish, the way shoppers search.
2. Pick the stores (or leave all), and how many products per store.
3. Run it; read the comparison rows first, then the products. Schedule it to track prices.

### Input

| Field | Example | Notes |
|---|---|---|
| searches | \["leche"] | What to search for, one per line (up to 20). |
| stores | \["wong", "metro", "plazavea"] | Which stores to search; empty means all. |
| maxProductsPerStore | 5 | Products kept from each store for each search, up to 100. |
| trackPrices | true | Compare prices with your previous run (free). |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "productId": "8966",
  "productName": "Leche Condensada Nestlé Lata 393g",
  "brand": "Nestle",
  "price": 6.5,
  "regularPrice": 7,
  "memberPrice": null,
  "discountPercent": 7.1,
  "currency": "PEN",
  "onSale": true,
  "promotion": null,
  "unitPrice": null,
  "unitOfMeasure": null,
  "size": null,
  "rating": null,
  "reviewCount": null,
  "stockCount": 10000,
  "inStock": true,
  "seller": "wongfood",
  "isSponsored": null,
  "image": "https://wongio.vtexassets.com/arquivos/ids/651800/3544-1.jpg?v=638282349888000000",
  "productUrl": "https://www.wong.pe/leche-condensada-nestl-lata-393g-3544/p",
  "category": "Leches Condensadas",
  "searchTerm": "leche",
  "rank": 5,
  "priceStatus": "first-seen",
  "scrapedAt": "2026-11-12T20:33:28Z"
}
```

A record named `SUMMARY` in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.

### Pricing

- **$0.002 per delivered product** ($2 per 1,000 products) on the Free and Starter plans, less on higher plans.
- Apify's start fee is $0.00005 per run. Searches that find nothing, duplicates, price tracking and the SUMMARY are free.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| One search, 5 products from each of 3 stores | $0.030 |
| 20 searches, 5 products per store | $0.60 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Search the way shoppers do on wong.pe: the store's own search decides what matches.
- Use a separate price history name (trackingName) for each watch list you schedule.
- Set a spending limit on the run: the Actor stops cleanly when it is reached and never charges past it.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("niches/peru-supermarket-prices").call(run_input={"searches": ["leche"], "maxProductsPerStore": 5})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('niches/peru-supermarket-prices').call({"searches": ["leche"], "maxProductsPerStore": 5});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/niches~peru-supermarket-prices/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["leche"], "maxProductsPerStore": 5}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=niches/peru-supermarket-prices`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "Compare the price of leche at Wong, Metro Peru and Plaza Vea and tell me which store is cheapest.". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Public prices only, as a shopper who is not signed in sees them; nothing is bought and no account is used.
- Prices and stock can differ between Peru supermarkets stores and change during the day.

### FAQ

**Which stores does it search?**

Wong, Metro Peru and Plaza Vea, through the same public search each store's website uses.

**What does a search that finds nothing cost?**

Nothing beyond the $0.00005 start fee: only delivered products are charged.

**Can I track price changes?**

Yes: with trackPrices on, each row carries previousPrice, priceChange and priceStatus against your last run.

**Can AI agents use it?**

Yes: plain inputs and a published output schema, so MCP clients can call it directly.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: Peru supermarket prices, Peru grocery prices, precios supermercados Peru, Wong prices, Metro Peru prices, Plaza Vea prices.

# Actor input Schema

## `searches` (type: `array`):

What to search for on wong.pe, one per line (Spanish works best). Up to 20 searches.

## `stores` (type: `array`):

Which stores to search: wong (Wong), metro (Metro Peru), plazavea (Plaza Vea). Empty means all.

## `maxProductsPerStore` (type: `integer`):

Up to 100 products from each store for each search, in the store's own order.

## `trackPrices` (type: `boolean`):

Compare each price with your previous run (free).

## `trackingName` (type: `string`):

Optional: keep a separate price history, for example daily-watch. Reuse it on later runs.

## Actor input object example

```json
{
  "searches": [
    "leche"
  ],
  "stores": [
    "wong",
    "metro",
    "plazavea"
  ],
  "maxProductsPerStore": 5,
  "trackPrices": true
}
```

# Actor output Schema

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

Dataset: the results.

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

What each input returned, and notes.

# 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 = {
    "searches": [
        "leche"
    ],
    "stores": [
        "wong",
        "metro",
        "plazavea"
    ],
    "maxProductsPerStore": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("niches/peru-supermarket-prices").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 = {
    "searches": ["leche"],
    "stores": [
        "wong",
        "metro",
        "plazavea",
    ],
    "maxProductsPerStore": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("niches/peru-supermarket-prices").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 '{
  "searches": [
    "leche"
  ],
  "stores": [
    "wong",
    "metro",
    "plazavea"
  ],
  "maxProductsPerStore": 5
}' |
apify call niches/peru-supermarket-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,niches/peru-supermarket-prices"
        }
    }
}
```

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/MxCmbAfn9JH4DHMWp/builds/LOVkj5a5UTcafVozR/openapi.json
