# Weis Markets Scraper: Weekly Ad Prices & Club Deals (`moggedhq/weis-markets-scraper`) Actor

Monitor Weis Markets advertised products by ZIP or selected store: circular prices, Club terms, offer dates, pack descriptions, source SKU groups and printed price per pound. Search current ads or track ad item IDs. About $0.004 per product group: 1,000 cost $4. No login.

- **URL**: https://apify.com/moggedhq/weis-markets-scraper.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Weis Markets Scraper: Weekly Ad Prices & Club Deals

For retail price analysts, brands and comparison services monitoring **Weis Markets advertised products at selected stores**. Collect current weekly and monthly circular offers, Club terms, digital coupon wording, promotion dates, pack descriptions and source SKU groups. About **$0.004 per delivered product group**, or **$0.08 for 20 groups**, plus the minimum **$0.00005 Actor start charge**. No retailer login is required.

Choose a ZIP code or an exact Weis store code. The official circular selector supplies the store name, address and applicable flyers. Every observation carries that selection evidence, the flyer ID and its public source link. This makes the output useful for tracking regional promotions, building an advertised-price dashboard, and checking which package variants are featured in each store's circular.

### Understand the offer price

`price` preserves the amount printed for the advertised offer. Keep it together with `priceBasis`, `offerQuantity`, `prePriceText`, `priceText` and `saleStory`.

A live November 5, 2026 offer for Nestle baking morsels advertised **2 for $7**. Its row has `price: 7`, `offerQuantity: 2`, `priceBasis: "offer-total"` and `calculatedPricePerItem: 3.5`. The original offer remains intact while a separate, clearly calculated field helps comparisons.

A deli turkey offer advertised **$6.99 per pound**. That row has `price: 6.99`, `unitPrice: 6.99`, `unitOfMeasure: "lb"` and `priceBasis: "per-pound"`. The price of a particular weighed package is a separate quantity that the circular does not supply.

A Sunkist mandarins offer advertised an **eCoupon price of $3.99**, alongside a $2 digital-saving message. The Actor keeps `price: 3.99` and preserves the saving text separately. It does not subtract the $2 a second time. Use `couponRequired` and the full published conditions when displaying that offer.

An advertisement can cover several flavors, sizes or brands. It remains **one product group**, with all supplied codes in `skus`. `sku` contains a value only when the source supplies exactly one code. `gtin` stays null because source SKUs are not established GTINs. This preserves leading zeros and prevents a group advertisement from being presented as an exact individual SKU price.

### What you get

The common retail-family fields appear first, following a readable verdict. Missing values stay null. Each row has `recordType: "PRODUCT"`; free explanations have `recordType: "NOTE"`.

| Field | Meaning |
| --- | --- |
| `verdict` | Product, advertised amount, conditions and selected store in plain words. |
| `retailer`, `country`, `currency` | Weis Markets, US and USD. |
| `storeId`, `storeName`, `location` | Verified retailer store code, store name and requested ZIP. |
| `productId` | The circular's ad item ID. Useful for monitoring a currently advertised item. |
| `sku`, `gtin` | One original source SKU when exactly one is supplied; gtin remains null. |
| `title`, `brand`, `size` | Published name, brand and full package description. |
| `price`, `regularPrice`, `onSale` | Advertised amount; explicitly supplied original price; comparison when both exist. |
| `promoText`, `promoType` | Published conditions and circular, Club, coupon or rewards offer type. |
| `promoStart`, `promoEnd` | Source ad dates, retained in their original date or timestamp form. |
| `memberPrice`, `memberProgram` | Advertised amount and program when textual Club terms are supplied. |
| `unitPrice`, `unitOfMeasure` | Printed price per pound when the source explicitly labels it. |
| `inStock`, `stockLevel` | Null for this circular source. |
| `rating`, `reviewCount` | Null in the standard circular output. |
| `category`, `url`, `imageUrl` | Published categories, official circular/item link and product image. |
| `scrapedAt` | UTC observation timestamp. |

Additional fields preserve the context needed to interpret promotions:

| Field | Meaning |
| --- | --- |
| `priceScope` | `store-selected-circular-offer` on every product. |
| `priceBasis`, `offerQuantity` | Whether the amount is an offer total, printed weight price or other advertised amount, plus multi-buy quantity. |
| `calculatedPricePerItem` | Offer total divided by explicit quantity when the printed wording is unambiguous. |
| `skus`, `isProductGroup` | Every supplied source SKU code and whether several codes are grouped. |
| `flyerCategories` | Published circular category regions containing the ad, used for category browsing. |
| `department`, `dietaryLabels`, `weightedItem` | Source category, supplied dietary labels and explicit per-pound signal. |
| `couponRequired`, `priceRequiresMembership` | True when published text explicitly states the respective condition. |
| `priceRequiresRewardsPoints` | True when the wording mentions rewards points. |
| `prePriceText`, `priceText`, `saleStory`, `disclaimerText` | Original offer wording and qualifications. |
| `discountPercent`, `advertisedSavings` | Explicitly supplied discount information. |
| `flyerId`, `flyerName`, `flyerValidFrom`, `flyerValidTo` | The current selected-store flyer and its validity window. |
| `storeAddress`, `storeSelectionUrl`, `sourceUrl` | Store-selection evidence and the official structured flyer request. |
| `requestedLocations` | ZIP selections that resolved to the same store. |
| `offers` | Additional current advertisements merged into the same product group. |
| `details` | Optional public ad-item description, features and specifications. |

The overview dataset view puts prices, offer quantity, promotion text, member price, unit price and store together. The deals view emphasizes Club/coupon conditions and validity dates. The `DEALS` record links to the product dataset because every delivered product is a current circular offer.

Every run also saves `SUMMARY`: product count, resolved stores, applicable flyers, deals found, duplicate exclusions, input outcomes, free failures and spending-limit status. Read that record before treating a snapshot as complete.

### Start in three steps

1. Enter product search terms and ZIP codes, or choose exact store IDs.
2. Set a total product limit and an optional limit per search and store.
3. Run the Actor, inspect SUMMARY, and export the dataset as JSON, CSV or Excel.

The form prefill searches **milk near 17801**, with a 20-product cap. On November 5, 2026 its cloud test returned **7 current milk offers**, with **7 product charges and zero source failures**. The production prefill finished in **20.7 seconds**. An exact eggs lookup returned one advertised product with one product charge.

### Inputs and examples

| Input | Example and behavior |
| --- | --- |
| `searchTerms` | `["milk", "coffee"]`. Searches current ad titles, brands and package descriptions at each selected store. |
| `startUrls` | Official circular URLs. A numeric flyer path restricts coverage to that flyer when it belongs to the store. |
| `productIds` | Current circular ad IDs, such as `1051116501`. An exact numeric source SKU can also match a group. |
| `locations` | US ZIP codes, such as `17801`, `17101` and `21201`. |
| `storeIds` | Exact retailer store codes, such as `36`, `125` or `89`; these take precedence over ZIPs. |
| `maxItemsPerSearch` | Up to 1,000 new product groups per input source and store; default 20. |
| `maxItems` | Total product/store row cap; default 20, maximum 10,000. |
| `dealsOnly` | Every returned product is a current circular offer, so this retains the same coverage. |
| `includeDetails` | Adds available public ad-item metadata, with no extra product fee. |
| `proxyConfiguration` | Default Apify datacenter routing, with US residential retries only if required. |
| `postalCodes`, `categoryUrls` | Compatibility aliases for locations and startUrls. |

An overlapping search is deduplicated within the selected store:

```json
{
  "searchTerms": ["milk", "coffee", "cheese"],
  "locations": ["17801", "21201"],
  "maxItemsPerSearch": 20,
  "maxItems": 100
}
```

For the current official circular catalog at an exact store:

```json
{
  "startUrls": ["https://circulars.weismarkets.com/flyers/weis"],
  "storeIds": ["36"],
  "maxItemsPerSearch": 500,
  "maxItems": 500
}
```

For published category labels, use a circular URL with a category filter:

```json
{
  "startUrls": [
    "https://circulars.weismarkets.com/flyers/weis?category=Dairy",
    "https://circulars.weismarkets.com/flyers/weis?category=Health%20%26%20Beauty"
  ],
  "locations": ["17801"],
  "maxItemsPerSearch": 100,
  "maxItems": 150
}
```

Category matching uses product labels and the named category regions actually published in each flyer. The separate flyerCategories field records the applicable page-region labels; the original product category remains intact. A numeric path such as `/flyers/weis/8212278` selects a particular currently applicable flyer. The run's store selection controls applicability. Store or ZIP parameters in pasted links do not override explicit run selections.

For a current ad item, use `productIds: ["1051116501"]` and `storeIds: ["36"]`. Ad IDs can change when a new circular replaces the old one. For recurring monitoring across circular changes, search by product name or by an advertised source SKU instead.

### Real output example

Selected fields from the November 5, 2026 exact-eggs cloud run:

```json
{
  "retailer": "Weis Markets",
  "country": "US",
  "currency": "USD",
  "storeId": "36",
  "storeName": "Weis Markets Sunbury",
  "productId": "1051116501",
  "sku": "0071514150349",
  "gtin": null,
  "title": "Large White Eggs",
  "brand": "Eggland's Best",
  "size": "dozen",
  "price": 1.99,
  "regularPrice": null,
  "inStock": null,
  "promoStart": "2026-11-05",
  "promoEnd": "2026-11-11",
  "priceScope": "store-selected-circular-offer",
  "priceBasis": "advertised-price"
}
```

Keep source SKU fields as text when importing into spreadsheets. Keep the offer quantity and unit beside price when combining this Actor with other members of the US grocery family.

### Pricing and spending limits

One paid product means **one distinct advertised product group at one store**. The same group at two selected stores is two observations. Overlapping terms, flyer links and ad IDs do not create another charge for the same group at one store within a run. Notes, failures, excluded entries and SUMMARY have no product charge.

| Delivered groups | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.08 | $0.076 | $0.072 | $0.064 |
| 100 | $0.40 | $0.38 | $0.36 | $0.32 |
| 1,000 | $4.00 | $3.80 | $3.60 | $3.20 |

Add the minimum $0.00005 Actor start charge. Base price is $0.004 per group; Bronze is $0.0038, Silver $0.0036 and Gold $0.0032. There is one product event and no extra default dataset-row fee. Optional details have no add-on charge.

Set Apify's maximum total charge when starting a larger job. The Actor checks available product capacity before delivery and ends cleanly when the remaining charge allowance is used. `SUMMARY.spendingLimitReached` records that outcome. Restart recovery checks durable rows and acknowledged charges before resuming delivery.

### Monitor prices every day

Save a task using stable store IDs and product search terms or circular links. In Apify Console, create a schedule, select the task, choose your daily trigger and timezone, and connect the completed-run webhook to your database or automation.

Retain a fresh row for each observation date. Use `storeId`, source SKU group and `scrapedAt` to compare snapshots. Within a circular, `productId` identifies the advertisement. Across circulars, compare the complete `skus` set together with product name, package description, price basis and quantity. A changed group can represent changed advertised variants rather than a simple price movement.

Check `promoEnd` before showing an offer as current. Keep Club, coupon and points conditions in separate columns. Build a dashboard that lets an analyst distinguish a multi-buy total from a printed price per pound. Preserve nulls so missing original prices do not become invented discounts.

SUMMARY identifies incomplete source coverage. A run that delivered some stores and recorded a free failure for another should be stored as a partial snapshot. Each new scheduled run fetches current store-selection and circular data; run-local saved pages protect delivery during a reboot.

### API and automation

Use your own Apify token to start a run and read its completed dataset:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~weis-markets-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["milk"],"locations":["17801"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/weis-markets-scraper").call(
    run_input={"searchTerms": ["milk"], "storeIds": ["36"], "maxItems": 20}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/weis-markets-scraper').call({
  searchTerms: ['milk'], locations: ['17801'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Make, Zapier, n8n and Google Sheets workflows can consume the dataset URL after a successful run. Filter to `recordType == PRODUCT` for analysis. Inspect SUMMARY separately for source errors and spending limits. Keep credentials in your automation's secret storage.

### Use with AI agents (MCP)

Connect your agent to `https://mcp.apify.com`. Ask it to find Weis Markets circular prices and Club offers for specified ZIPs or store IDs. Include a product limit. For example: get current milk and coffee advertisements for Weis store 36, preserve coupon wording and multi-buy quantities, and return SUMMARY alongside the rows.

The standard input and family output names make this Actor suitable for a grocery comparison pipeline. Tell the agent to preserve `priceScope`, nulls, source SKU groups and source links. An analyst can then audit the observation against the same selected-store circular.

### Limits

Coverage is **current official Weis circular advertising**, including applicable weekly and monthly flyers. It does not read the full online-shop assortment, cart prices, physical shelf labels, inventory, individualized account offers or clipped-coupon status. Store selection proves circular applicability, not an independently checked checkout or shelf price.

Entries without a numeric advertised amount are omitted, including image-only promotions and some buy-one-get-one offers. Not every source item has a category, source SKU or complete condition text. Membership or price-unit conditions shown only as an image can leave the corresponding structured fields null. The full circular artwork remains the authority for conditions missing from structured text.

A grouped advertisement is not split into synthetic per-variant product rows. Multi-buy calculations do not determine whether a shopper can buy fewer items at the same rate. Regular prices, ratings, review counts, stock, ingredient lists and nutritional data are usually unavailable. Dietary labels remain null unless supplied explicitly.

Ad IDs and flyer IDs change with new circulars. Historical backfill and future ad previews are outside coverage. Empty locations use the circular website's default selection, which can depend on its visitor location; exact store IDs make a recurring job more repeatable. An invalid or unsupported selector yields free notes and a summary. Schema-invalid input can be refused by Apify before the Actor starts.

Public source outages, changed page structure or access refusals can reduce coverage. Requests use sequential pacing, fresh-session retries and a datacenter-first proxy policy. Saved rows and charge receipts support recovery, while ambiguous billing evidence stops further charging.

### FAQ

**Can I choose a particular Weis store?** Yes. Supply storeIds. The returned store code must match, and SUMMARY records the address and applicable flyers.

**Can I use several ZIPs?** Yes. Selections that resolve to the same store are combined. The requested ZIPs are retained in requestedLocations.

**Does price mean one package?** Read priceBasis and offerQuantity. A 2-for-$7 offer keeps the $7 total; calculatedPricePerItem is separate.

**Are eCoupons already included?** The printed eCoupon price is kept exactly as published, alongside the digital-saving text and couponRequired flag.

**Why is stock null?** The circular advertises products but does not report stock availability.

**Why do I get a SKU array?** One ad can include several source codes. The original codes stay in skus; gtin remains null.

**What happens on an empty search?** A free note explains that no current advertised products matched. There is no product charge.

**What is a useful scheduled input?** Stable exact store codes, familiar product names, a clear total product cap, and a workflow that checks SUMMARY before accepting the snapshot.

Weis Markets scraper for weekly ad prices, selected-store circulars, Club offers and dated product promotions.

# Actor input Schema

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

Find advertised products in current official circulars, such as milk, coffee or chicken. This searches ad titles, brands and descriptions. It does not query the online-shop catalog.

## `startUrls` (type: `array`):

Official circular links such as https://circulars.weismarkets.com/flyers/weis. A flyer ID path restricts the selected-store flyers. An item_id query selects an ad. A category query filters published categories such as Dairy. Online-shop URLs are outside coverage.

## `productIds` (type: `array`):

Current circular ad item IDs, such as 1051116501, or exact numeric source SKU codes from returned skus. These codes are not verified GTINs. Online-shop IDs are outside this source.

## `locations` (type: `array`):

US ZIP codes for the official Weis circular store selector, such as 17801, 17101 or 21201. The selected retailer store code and address are returned. Empty uses the circular website default.

## `storeIds` (type: `array`):

Exact Weis store codes, such as 36 or 89, checked against the public circular store selector. Takes precedence over ZIPs.

## `maxItemsPerSearch` (type: `integer`):

Maximum distinct advertised products from each source at one store, up to 1,000. A grouped ad with several source SKU codes remains one row.

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

Total advertised product/store rows in the run, up to 10,000. About $0.004 per product group: 20 cost about $0.08 plus the small start charge.

## `dealsOnly` (type: `boolean`):

Every returned product is a current circular offer, so enabling this preserves the same advertised coverage. A circular offer is not proof of a markdown from a regular shelf price.

## `includeDetails` (type: `boolean`):

Include additional public ad-item description, specifications and features when supplied, with no extra charge. These are ad details, not full product nutrition or ingredients.

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

Default Apify datacenter selection first. US residential retries only if needed. No named DATACENTER group. You may supply a custom proxy configuration.

## `postalCodes` (type: `array`):

Compatibility alias for locations. US ZIP codes for the official Weis circular store selector, such as 17801, 17101 or 21201. The selected retailer store code and address are returned. Empty uses the circular website default.

## `categoryUrls` (type: `array`):

Compatibility alias for startUrls. Official circular links such as https://circulars.weismarkets.com/flyers/weis. A flyer ID path restricts the selected-store flyers. An item_id query selects an ad. A category query filters published categories such as Dairy. Online-shop URLs are outside coverage.

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "locations": [
    "17801"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `dealsView` (type: `string`):

No description

## `dealsOnly` (type: `string`):

No description

## `summary` (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 = {
    "searchTerms": [
        "milk"
    ],
    "locations": [
        "17801"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/weis-markets-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": ["milk"],
    "locations": ["17801"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/weis-markets-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": [
    "milk"
  ],
  "locations": [
    "17801"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call moggedhq/weis-markets-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/weis-markets-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/fpO8q9T11sqKluI9Y/builds/qmaz4DwBQjJ4KbeLf/openapi.json
