# Wong Scraper - Prices, Discounts & Stock (Peru) (`youthful_colleague/wong-peru-scraper`) Actor

Scrape prices in soles, discounts, stock and EAN barcodes from wong.pe (Peru): abarrotes, cervezas, vinos y licores, panaderia, hogar y bazar. Search by keyword or barcode. No browser, no login. Pay per product.

- **URL**: https://apify.com/youthful_colleague/wong-peru-scraper.md
- **Developed by:** [José S](https://apify.com/youthful_colleague) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 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

## Wong Scraper - Prices, Discounts & Stock (Peru)

Scrape **wong.pe**, the online store of the Wong supermarkets in Lima, and get product prices in soles, regular prices, discounts, stock and EAN barcodes. Wong is known for its premium and gourmet range, imported products, wines and liquors, so this Actor is useful when you track the upper end of the Peruvian grocery market.

En español: scraper de Wong para obtener **precios Wong Perú**, ofertas y stock en abarrotes, cervezas, vinos y licores, panadería y productos gourmet, por palabra o código de barras.

### Sections worth tracking at Wong

| Section | Examples |
|---|---|
| Abarrotes | quinua, menestras, aceite de oliva, café |
| Cervezas, Vinos y Licores | pisco, vino tinto, whisky |
| Embutidos y Fiambres, Lácteos | jamón, quesos importados, yogur griego |
| Panadería y Pastelería, Comidas y Rostizados | panetón, pollo a la brasa |
| Higiene, Salud y Belleza | protector solar, shampoo |
| Hogar y Bazar, Tecnología, Electrohogar, Dormitorio | sartenes, televisores, sábanas |
| Niños y Bebés, La Juguetería, Mascotas | pañales, juguetes, alimento para gato |

### Example: quinoa

A search for "quinua" on 15-nov-2026 returned quinoa from Vida & Quinua, Costeño, Incatrail and the Cuisine & Co private label, plus quinoa cookies, oats with quinoa and quinoa burgers, each with its own category path, such as `Abarrotes > Menestras > Lentejas, Pallares y Garbanzos`. Use the category or a more specific term ("quinua blanca 500g") to narrow it down.

### Use cases

- **Premium and imported goods monitoring**: importers and distributors of wine, olive oil, cheese or coffee who want to see their retail price at Wong.
- **Holiday season tracking**: follow panetón, wine and liquor prices from November to January.
- **Price positioning studies**: compare Wong with mass-market chains like [Metro](https://apify.com/youthful_colleague/metro-peru-scraper) or [Plaza Vea](https://apify.com/youthful_colleague/plaza-vea-scraper) for the same EAN.
- **Product catalogs**: get names, brands, barcodes and images for a product database.

### Input example

```json
{
    "searchTerms": ["pisco", "vino tinto", "quinua"],
    "maxResultsPerQuery": 40,
    "maxItems": 300,
    "sort": "priceDesc"
}
```

### Output example

```json
{
    "store": "wong-pe",
    "storeName": "Wong",
    "country": "PE",
    "currency": "PEN",
    "currencyGuessed": false,
    "productId": "10586",
    "skuId": "10598",
    "name": "Quinua tricolor Vida & Quinua Bolsa 454 g",
    "brand": "Vida & Quinua",
    "ean": "742832801140",
    "price": 15.7,
    "listPrice": 15.7,
    "discountPct": 0,
    "isAvailable": true,
    "sellerName": "WongIO",
    "sellerCount": 1,
    "measurementUnit": "un",
    "unitMultiplier": 1,
    "category": "Abarrotes > Menestras > Lentejas, Pallares y Garbanzos",
    "url": "https://www.wong.pe/quinua-tricolor-vida-quinua-bolsa-454-g/p",
    "imageUrl": "https://wongfood.vteximg.com.br/arquivos/ids/732966/548854-01-32851.jpg?v=638658201805500000",
    "matchedBy": "searchTerm",
    "query": "quinua",
    "scrapedAt": "2026-11-15T00:22:22.265Z"
}
```

### Cost

You pay per product: **$1.50 per 1,000** on Free and Bronze plans, less on Silver and Gold, plus the Apify start fee ($0.00005 per run). No separate compute charges. Tracking 100 wines and spirits twice a week costs about $1.30 a month.

### How it behaves

- Reads the public catalog of wong.pe without a browser or login.
- One request per second at most, 50 products per request, automatic retries.
- Removes duplicates before charging and stops at your item or cost limit.
- Run details, including any error, are saved in `RUN_SUMMARY`.
- Alcohol products are listed as the store shows them publicly. Use the data according to local rules on alcohol advertising.

### Related scrapers

- [LatAm Supermarket & Pharmacy Price Scraper](https://apify.com/youthful_colleague/latam-supermarket-prices): Wong with 12 other stores in Peru, Colombia, Argentina, Mexico and Brazil.

### Disclaimer

Not affiliated with, endorsed by or sponsored by Wong or its parent company. The name identifies only the public website the data comes from. You are responsible for following the website's terms and applicable law.

Feedback: **Issues** tab.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search in Wong, in the store's language, for example "quinua", "pisco" or "cafe en grano". Each term is searched separately.

## `eans` (type: `array`):

Optional. Barcodes (8 to 14 digits) to look up in Wong. Use it to track the exact same product over time or to match it with other stores.

## `maxResultsPerQuery` (type: `integer`):

How many products to collect for each search term (or barcode) in each store. The store API allows up to 2,550.

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

Hard cap for the whole run. The run stops when it is reached, so you never pay for more than this.

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

Order in which the store returns products. Useful with a low product limit, for example to get only the biggest discounts.

## `onlyAvailable` (type: `boolean`):

Skip products the store shows as unavailable.

## `deduplicate` (type: `boolean`):

If the same product appears for two search terms in the same store, keep it only once (you are charged once).

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

Add the store's product description as plain text (up to 2,000 characters). Makes the dataset larger.

## `maxRequestsPerMinute` (type: `integer`):

Speed limit for the run, to stay polite with Wong. Each request returns up to 50 products, with at least 1 second between requests.

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

Usually not needed. Turn it on only if Wong blocks requests from your region.

## Actor input object example

```json
{
  "searchTerms": [
    "quinua"
  ],
  "maxResultsPerQuery": 10,
  "maxItems": 1000,
  "sort": "relevance",
  "onlyAvailable": false,
  "deduplicate": true,
  "includeDescription": false,
  "maxRequestsPerMinute": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per Wong product SKU, with price, list price, discount, stock and EAN.

## `runSummary` (type: `string`):

Products found, requests made and any errors.

# 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 = {
    "searchTerms": [
        "quinua"
    ],
    "maxResultsPerQuery": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("youthful_colleague/wong-peru-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 = {
    "searchTerms": ["quinua"],
    "maxResultsPerQuery": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("youthful_colleague/wong-peru-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 '{
  "searchTerms": [
    "quinua"
  ],
  "maxResultsPerQuery": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call youthful_colleague/wong-peru-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,youthful_colleague/wong-peru-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/BF6pwSgtkWCuzmgqi/builds/aTjc5d7H4dMzRdM8y/openapi.json
