# Chedraui Scraper - Prices, Discounts & Stock (Mexico) (`youthful_colleague/chedraui-scraper`) Actor

Scrape prices in Mexican pesos, list prices, discounts, stock and EAN barcodes from chedraui.com.mx (Mexico): supermercado, farmacia, vinos y licores, tecnologia, hogar. Search by keyword or barcode. No browser, no login. Pay per product.

- **URL**: https://apify.com/youthful_colleague/chedraui-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

## Chedraui Scraper - Prices, Discounts & Stock (Mexico)

Scrape **chedraui.com.mx** and get prices in Mexican pesos (MXN), regular prices, discounts, availability and EAN barcodes from Chedraui, one of Mexico's largest supermarket chains. Search the grocery aisle (supermercado), the pharmacy (farmacia), wines and liquors, electronics, appliances and home goods, by keyword or barcode.

En español: scraper de Chedraui para obtener **precios Chedraui México**, ofertas y disponibilidad en supermercado, farmacia, vinos y licores, tecnología y línea blanca, por palabra o código de barras.

### What you can search at Chedraui

| Department | Search ideas |
|---|---|
| Supermercado (despensa, lácteos, frutas y verduras) | "frijol", "tortillas de harina", "cafe soluble", "huevo" |
| Farmacia | "paracetamol", "suero oral" |
| Vinos y licores | "tequila", "cerveza" |
| Cuidado e higiene personal, Belleza | "papel higienico", "shampoo" |
| Bebés, Mascotas | "pañales", "croquetas" |
| Tecnología, Electrodomésticos y línea blanca | "pantalla 55", "refrigerador", "microondas" |
| Hogar y jardín, Papelería y oficina, Juguetería, Deportes | "sartén", "cuaderno", "bicicleta" |

Chedraui also has a **Catálogo extendido** with marketplace products. When a product has several sellers, the row uses the cheapest available offer and tells you `sellerName` and `sellerCount`.

### Products sold by weight

Fruit, vegetables, meat and bulk grains are sold by the kilo. For those rows, `measurementUnit` is `kg` and `unitMultiplier` shows the step the store sells in (for example `0.25`). Check one product page before you compare per-kilo prices with packaged products.

### Use cases

- **Canasta básica in Mexico**: follow frijol, arroz, tortillas, huevo, aceite and leche every week.
- **CPG brand monitoring**: see the shelf price and promotions of your SKUs versus brands like SOS, Verde Valle or Chedraui's own label.
- **Electronics and appliance pricing** around Buen Fin and the end-of-year season.
- **Pharmacy price checks** for over-the-counter medicines.
- **AI agents and chatbots** connected through the Apify MCP server ("how much is 900 g of black beans at Chedraui?").

### Input example

```json
{
    "searchTerms": ["frijol negro", "tortillas de harina", "pantalla 55"],
    "eans": ["7501372813357"],
    "maxResultsPerQuery": 40,
    "maxItems": 400,
    "sort": "bestDiscount"
}
```

### Output example

Real row from 15-nov-2026. Own-brand barcodes can have 14 digits, for example `17501253655707` for "Frijol Pinto Chedraui 900g".

```json
{
    "store": "chedraui-mx",
    "storeName": "Chedraui",
    "country": "MX",
    "currency": "MXN",
    "currencyGuessed": false,
    "productId": "3775953",
    "skuId": "3775953",
    "name": "Frijol Negro Michigan por Kg",
    "brand": "Frutas y Verduras",
    "ean": "2684480030245",
    "price": 38.5,
    "listPrice": 38.5,
    "discountPct": 0,
    "isAvailable": true,
    "sellerName": "Chedraui",
    "sellerCount": 1,
    "measurementUnit": "kg",
    "unitMultiplier": 0.25,
    "category": "Supermercado > Despensa > Granos y semillas",
    "url": "https://www.chedraui.com.mx/frijol-negro-michigan-por-kg-3775953/p",
    "imageUrl": "https://chedrauimx.vteximg.com.br/arquivos/ids/80739498/000002514053_00.jpg?v=639300426505000000",
    "matchedBy": "searchTerm",
    "query": "frijol",
    "scrapedAt": "2026-11-15T00:22:43.131Z"
}
```

### Pricing

Pay per event: **$1.50 per 1,000 products** ($0.0015 each) on Free and Bronze plans, lower on Silver and Gold, plus the Apify start fee of $0.00005 per run. No extra usage fees. Example: 500 products during Buen Fin week cost $0.75.

### How it works

- Uses the public product catalog that chedraui.com.mx uses for its own pages. No browser, no login, no cookies.
- 50 products per request and at least 1 second between requests.
- Stops at **Max products in total** or your maximum cost; duplicates are removed before charging.
- Prices are the online prices for the store's default location, which may differ from a specific branch.
- Each run saves a `RUN_SUMMARY` with requests and errors.

### Related scrapers

- [LatAm Supermarket & Pharmacy Price Scraper](https://apify.com/youthful_colleague/latam-supermarket-prices): compare Chedraui with supermarkets in Colombia, Argentina and Peru and with pharmacies in Colombia and Brazil, by EAN.

### Disclaimer

This Actor is not affiliated with, endorsed by or sponsored by Chedraui or its parent company. The name is used only to identify the public website the data comes from. You are responsible for complying with the website's terms and applicable law.

Questions and requests: **Issues** tab.

# Actor input Schema

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

Keywords to search in Chedraui, in the store's language, for example "frijol", "tortillas de harina" or "cafe soluble". Each term is searched separately.

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

Optional. Barcodes (8 to 14 digits) to look up in Chedraui. 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 Chedraui. 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 Chedraui blocks requests from your region.

## Actor input object example

```json
{
  "searchTerms": [
    "frijol"
  ],
  "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 Chedraui 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": [
        "frijol"
    ],
    "maxResultsPerQuery": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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