# Wegmans Grocery Catalog & Category Price Extractor (`nimbryxo-studio/wegmans-grocery-catalog-and-category-price`) Actor

Search or browse Wegmans grocery products by keyword, department category or featured collection for real prices, sizes, ratings and dietary tags.

- **URL**: https://apify.com/nimbryxo-studio/wegmans-grocery-catalog-and-category-price.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Wegmans Grocery Catalog & Category Price Extractor

Wegmans is a major US grocery chain with a full online storefront covering dairy, meat, produce, seafood, frozen and bakery departments. This actor pulls live product listings from that storefront by keyword search, by department category, or from Wegmans' curated featured collections.

### What this actor does

- Searches the full Wegmans catalog by free-text keyword
- Browses a single department category grid (32 curated categories across Dairy, Meat, Produce, Frozen, Seafood and Bakery)
- Browses one of Wegmans' evergreen featured/discovery collections
- Filters results by price range and minimum star rating
- Empty fields are omitted from records

### Output per product

- `productId` — Wegmans numeric product identifier
- `name` — product name
- `size` — package size/weight, e.g. `1 gallon`
- `price` — shelf price in USD
- `pricePerUnit` — price per standard unit, e.g. `$2.99/gallon`
- `category` — department category
- `rating` — average customer star rating
- `reviewCount` — number of customer reviews
- `badge` — merchandising badge shown on the tile, e.g. `New Item`, `Hot Zone`
- `dietaryTags` — wellness/dietary tags shown on the tile, e.g. `Gluten-Free`, `Organic`, `Vegan`, `Family Pack`
- `imageUrl` — product image URL
- `productUrl` — direct link to the product page
- `sourceUrl` — the search/category/collection URL the product was found on
- `recordType` — always `product`
- `scrapedAt` — timestamp of extraction

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search`, `byCategory` or `deals` |
| `searchQuery` | string | `milk` | Free-text product keyword (mode=search) |
| `category` | string | `milk` | Department category to browse (mode=byCategory) |
| `dealsCollection` | string | `seasonal_entertaining` | Featured collection to browse (mode=deals) |
| `minPrice` | number | – | Drop products cheaper than this (USD) |
| `maxPrice` | number | – | Drop products pricier than this (USD) |
| `minRating` | number | – | Drop products with a lower average star rating (0–5) |
| `maxItems` | integer | `30` | Hard cap on emitted records (1–150) |

#### Example: keyword search with price filter

```json
{
  "mode": "search",
  "searchQuery": "chicken breast",
  "minPrice": 2,
  "maxPrice": 15,
  "maxItems": 30
}
```

#### Example: browse a category

```json
{
  "mode": "byCategory",
  "category": "fresh_fish",
  "minRating": 4,
  "maxItems": 50
}
```

#### Example: browse a featured collection

```json
{
  "mode": "deals",
  "dealsCollection": "gluten_free",
  "maxItems": 20
}
```

### Use cases

- **Grocery price tracking** — monitor prices and unit prices across staple categories over time
- **Dietary-filtered shopping lists** — pull products tagged `Gluten-Free`, `Organic` or `Vegan` for meal planning
- **Catalog and assortment research** — see what's stocked in a given department
- **Competitive grocery analysis** — compare Wegmans pricing against other regional chains
- **Review-driven curation** — surface only highly rated products with `minRating`

### FAQ

**Is this affiliated with Wegmans?** No. This is an independent catalog extraction tool and is not affiliated with or endorsed by Wegmans Food Markets.

**Do I need an account to search products?** No. Search, category and collection pages are all publicly browsable without login.

**What are `dietaryTags`?** Wegmans marks some products with small wellness icons on the product tile — Gluten-Free, Organic, Vegan, Lactose Free and Family Pack are the most common. The field is omitted for products with no such tags.

**Does this include sale or clearance pricing?** Wegmans does not publish discount or "was/now" pricing on its public storefront, so `price` always reflects the real, publicly visible shelf price. The `deals` mode surfaces Wegmans' curated featured/discovery collections rather than discount data, since Wegmans doesn't publish one publicly.

**Which categories are available?** 32 categories spanning Dairy, Meat, Produce, Frozen, Seafood and Bakery — see the `category` input for the full list.

**Why does `category` sometimes show a different value than I selected?** When Wegmans' own tile data includes a more specific category label, that is used instead of the requested filter; otherwise the requested category is used as a fallback.

**How many products can one run return?** Up to `maxItems`, capped at 150 per run.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `searchQuery` (type: `string`):

Free-text product keyword (mode=search), e.g. `milk`, `chicken breast`, `ice cream`.

## `category` (type: `string`):

Product category to browse (mode=byCategory).

## `dealsCollection` (type: `string`):

Evergreen featured/discovery collection to browse (mode=deals). Wegmans does not publish clearance discount data publicly, so this surfaces its curated featured product sets instead.

## `minPrice` (type: `number`):

Drop products cheaper than this.

## `maxPrice` (type: `number`):

Drop products pricier than this.

## `minRating` (type: `number`):

Drop products with a lower average star rating.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "milk",
  "category": "milk",
  "dealsCollection": "seasonal_entertaining",
  "maxItems": 30
}
```

# Actor output Schema

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

Dataset containing all scraped Wegmans products.

# 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 = {
    "mode": "search",
    "searchQuery": "milk",
    "category": "milk",
    "dealsCollection": "seasonal_entertaining",
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/wegmans-grocery-catalog-and-category-price").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 = {
    "mode": "search",
    "searchQuery": "milk",
    "category": "milk",
    "dealsCollection": "seasonal_entertaining",
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/wegmans-grocery-catalog-and-category-price").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 '{
  "mode": "search",
  "searchQuery": "milk",
  "category": "milk",
  "dealsCollection": "seasonal_entertaining",
  "maxItems": 30
}' |
apify call nimbryxo-studio/wegmans-grocery-catalog-and-category-price --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/wegmans-grocery-catalog-and-category-price"
        }
    }
}
```

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/vty8XoQsLGKNegIwn/builds/FOxpYM9oNqm3xbq9n/openapi.json
