# Kroger Scraper: Store Prices, Digital Deals & Stock (`vant47/kroger-store-price-scraper`) Actor

Get Kroger, Ralphs, Fry's Food, King Soopers, Fred Meyer and other Kroger banner products at your store: regular and sale price, digital deals with dates, unit price, size, aisle, UPC and pickup stock. Search, categories or product links for scheduled checks. About $0.0055 per product. No login.

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

## Pricing

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

## Kroger Scraper: Store Prices, Digital Deals & Stock

For retail price analysts, brands and comparison services tracking grocery prices at a chosen Kroger family store. Collect regular and sale prices, dated product offers, unit prices, package sizes, barcodes, aisle locations and pickup availability. About **$0.0055 per delivered product**: **20 products cost $0.11**, plus a minimum **$0.00005 Actor start charge**. No retailer login or retailer API key is needed.

Choose Kroger, Ralphs, Fry's, King Soopers, Fred Meyer, Smith's, QFC, Dillons, Mariano's, Pick 'n Save or Harris Teeter. Enter ZIP codes to find nearby stores, or use exact store IDs for a repeatable monitoring basket. Each row identifies its banner, store and collection time. Separate banner runs share the same retail field names, so they can enter one comparison table.

### What the prices mean

`price` is the current product amount supplied at `storeId`. The store lookup chooses pickup where the store supports it and its public in-store catalog otherwise. `modality` and `priceScope` identify that choice. `regularPrice` retains the regular amount, and `salePrice` holds an active sale amount. Every delivered price must carry the requested store ID in the source response. The Actor excludes a response that substitutes another store.

A multi-buy offer such as “Save $2 each when you buy 3 or more” remains in `promoText` and `offers`. The Actor preserves the product's advertised amount and the offer's purchase conditions. It does not subtract an additional offer from that amount or calculate your checkout total. Offers can require a particular quantity, a loyalty card, clipping or another eligible item.

`memberPrice` is filled only when the public product text explicitly identifies a card or member price. A sale label alone does not establish membership. Published offer dates remain attached to their original offer. `pricePromoEnd` separately retains the price promotion's expiration when supplied. This matters when a multi-buy offer and the underlying sale end at different times.

### What you get

The common retail fields come first, following a readable price verdict. Missing source values stay null.

| Field | What it tells you |
| --- | --- |
| `verdict` | Product, current amount, pickup availability and store in one sentence. |
| `retailer`, `country`, `currency` | Store banner, US and USD. |
| `storeId`, `storeName`, `location` | Exact source store, store name and requested ZIP when supplied. |
| `productId`, `sku` | Original 13-digit retailer product code, preserving leading zeros. |
| `gtin` | Source-labelled GTIN14 after check-digit validation. |
| `title`, `brand`, `size` | Product name, explicit brand and shopper-facing package size. |
| `price`, `regularPrice`, `onSale` | Current amount, regular amount and active sale flag. |
| `promoText`, `promoType` | Published product offer wording and promotion type. |
| `promoStart`, `promoEnd` | Dates supplied for the published product offer. |
| `memberPrice`, `memberProgram` | Explicit public member price and program label. |
| `unitPrice`, `unitOfMeasure` | Source unit amount in USD and its unit. |
| `inStock`, `stockLevel` | Pickup sellability and the source inventory label. |
| `rating`, `reviewCount` | Aggregate product review values when supplied. |
| `category`, `url`, `imageUrl` | Product categories, page link and front image. |
| `scrapedAt` | UTC observation timestamp. |

These additional fields preserve the retailer's detail:

| Field | Meaning |
| --- | --- |
| `banner` | Stable input banner key, such as `kroger` or `ralphs`. |
| `upc` | UPC-A representation when a validated source GTIN14 has the required leading padding. |
| `sourceProductCode`, `barcodeSource` | Original retailer code and the field proving the barcode's origin. |
| `salePrice`, `pricePromoEnd` | Active sale amount and its own supplied expiration. |
| `aisleLocation` | Source aisle, bay and shelf records for this store. |
| `pickupAvailable`, `deliveryAvailable` | Supplied fulfillment availability signals. |
| `availableQuantity` | Source available quantity, separate from its stock label. |
| `offers`, `isDeal` | Full product-linked offer records and combined deal flag. |
| `digitalCouponAvailable` | Whether the returned product offers explicitly mention a digital coupon or clipping. |
| `priceRequiresMembership` | Whether the published price text explicitly requires a card or membership. |
| `storeAddress`, `requestedLocations` | Store address and ZIP selections that resolved to this store. |
| `modality` | Supported shopping mode, PICKUP or IN_STORE. |
| `priceScope` | `selected-store-pickup` or `selected-store-in-store-catalog`. |
| `details` | Optional supplied nutrition, ingredients, claims and physical metadata. |
| `sourceUrl`, `recordType` | Collection page and product, note or summary record type. |

The overview, deals and full-data views organize the dataset. `DEALS` holds deal observations; large exports link to numbered parts. `SUMMARY` reports products, stores, deals, price coverage, duplicates, source outcomes, free failures and spending-limit status. Product rows have `recordType: "PRODUCT"`. Explanations have `recordType: "NOTE"`; the dataset also includes one free `SUMMARY` row. Filter by recordType before loading product observations into a warehouse.

### Start in three steps

1. Choose a banner and enter ZIP codes or exact store IDs.
2. Add search terms, category links, product links or product IDs, then set a row cap.
3. Start the run, inspect SUMMARY, and export JSON, CSV, Excel or your preferred dataset format.

Cloud checks on 13 November 2026 delivered 20 milk products in 15.1 seconds. Two larger runs each delivered 1,050 unique product/store observations with numeric prices on every row. Store, promotion and availability fields remain separate.

### Input reference

| Input | Example and behavior |
| --- | --- |
| `banner` | `kroger` by default. One banner per run. |
| `searchTerms` | `["milk", "coffee"]`; each term is collected at each selected store. |
| `startUrls` | Public product, category or search links from the selected banner. |
| `productIds` | `["0002550030407"]`, the source codes at the end of product URLs. |
| `locations` | `["45202", "30309"]`; nearest store of the banner per ZIP. ZIP+4 is accepted. |
| `postalCodes` | Alias of locations. Nonempty locations takes precedence when both are supplied. |
| `storeIds` | `["01400428"]` or `["kroger:01400428"]`; exact IDs take precedence over ZIPs. |
| `maxItemsPerSearch` | New rows per source and store; default 20, maximum 1,000. |
| `maxItems` | Global product/store row cap; default 20, maximum 10,000. |
| `dealsOnly` | Keep active sales and product-linked offers. |
| `includeDetails` | Include supplied nutrition and extra metadata without an extra product charge. |
| `includeUnpriced` | Include free catalog-only observations without a price or dated offer; off by default. |
| `proxyConfiguration` | Automatic datacenter routing with US residential fallback, or your explicit proxy choice. |

For coffee and milk at two stores, with a global cap of 80 observations:

```json
{
  "banner": "kroger",
  "searchTerms": ["coffee", "milk"],
  "storeIds": ["01400428", "01400943"],
  "maxItemsPerSearch": 20,
  "maxItems": 80
}
```

For exact items, use productIds with storeIds. For a category, use a link such as `https://www.kroger.com/pl/fresh-fruit/06111` in startUrls. A row cap is a maximum rather than a promise that the store carries that many matches. Deals-only filtering and overlapping searches can require additional source pages. Retries and duplicate products remain free.

### Example observation

Selected fields from a live 13 November 2026 store request:

```json
{
  "retailer": "Kroger",
  "banner": "kroger",
  "storeId": "01400428",
  "storeName": "St Bernard",
  "productId": "0081006334305",
  "gtin": "00810063343057",
  "title": "Death Wish Coffee® Organic Dark Roast Whole Bean Coffee",
  "size": "10 oz",
  "price": 10.99,
  "regularPrice": 13.99,
  "unitPrice": 1.10,
  "unitOfMeasure": "PER OUNCE",
  "promoText": "Save $2 each when you buy 3 or more",
  "promoStart": "2026-10-28T00:00:00.000Z",
  "promoEnd": "2026-11-17T23:59:59.000Z",
  "priceScope": "selected-store-pickup"
}
```

### Pricing and spending limits

One product at one store is one observation. The same product at two stores is two observations. Overlapping terms, category links and product IDs are deduplicated within a run. Each later scheduled run collects a new snapshot and charges for that snapshot's delivered products.

| Delivered products | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.11 | $0.1045 | $0.099 | $0.088 |
| 100 | $0.55 | $0.5225 | $0.495 | $0.44 |
| 1,000 | $5.50 | $5.225 | $4.95 | $4.40 |

Add the minimum $0.00005 start charge. Base price is $0.0055 per product, Bronze $0.005225, Silver $0.00495 and Gold $0.0044. There is no extra default dataset-row charge or product-details fee.

Only delivered rows with a numeric price or a dated product promotion have a product charge. Notes, summaries, refused requests, empty results, retries, duplicates and catalog-only rows without either are free. The Actor checks the spending limit before saving another paid observation. SUMMARY records a clean stop when the maximum charge leaves no room for another product.

### Monitor prices every day

Save a task with exact store IDs and your product basket, search terms or categories. In Apify Console, create a schedule, choose the task, select its daily time and timezone, then send completed-run data to your database with a webhook or integration.

Use `banner + storeId + productId` as the observation key and scrapedAt as the snapshot time. Compare sale prices, regular prices and conditions separately. Preserve the full offers array so a quantity-dependent promotion is not mistaken for an unconditional price reduction. Check freeFailures and outcomes before treating a snapshot as complete.

### API use

Start a run with your own Apify token, then fetch the completed dataset and SUMMARY:

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

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("vant47/kroger-store-price-scraper").call(
    run_input={"storeIds": ["01400428"], "searchTerms": ["coffee"], "maxItems": 20}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
products = [row for row in rows if row.get("recordType") == "PRODUCT"]
```

### Use with AI agents (MCP)

Connect your client to `https://mcp.apify.com`. Ask it to collect Kroger family store prices with a banner, ZIP or store IDs, search terms and product cap. Ask the agent to read SUMMARY, keep null values, retain promotion conditions and distinguish source product codes from validated GTINs.

### Limits

These observations describe the selected store's public pickup or in-store catalog. Physical shelf quantities, a final checkout total and every in-store promotion are outside coverage. Stock is the source's online availability signal and can change after collection. Available quantity and stock label can disagree, so both remain visible.

Product-linked public offers are included when returned. This is not a complete coupon directory. Personalized offers, clipped-account state and account-only prices require a login and are outside coverage. The Actor does not sign in, clip coupons or solve CAPTCHAs. Missing membership wording, dates, nutrition or delivery signals remain null.

The retailer can change or refuse its product response. Datacenter requests precede US residential fallback. Explicit buyer disables, proxy groups, countries and custom proxies are preserved. Requests are serial and paced; Retry-After is honored. Search and category HTML can repeat the first product batch on later pages. Collection stops when a page supplies no new products. Use several terms, categories or exact product IDs to cover a larger assortment. A persistent source failure appears as a free note and a SUMMARY failure count.

Store metadata and product identifiers must match before delivery. A source that returns another store's default price is excluded. Saved progress and dataset receipts allow a reboot to resume delivery. Ambiguous billing evidence stops further charges. Output cannot guarantee future source availability or unchanged prices.

### FAQ

**Can I select a store?** Yes. Use an eight-digit store ID or a ZIP. Exact IDs take precedence, and every product price is checked against that store.

**Are multi-buy savings subtracted?** No. The advertised product amount and the published conditions remain separate.

**Why can upc be null?** The original source code is not automatically a barcode. GTIN14 must have valid source provenance and a valid check digit before barcode fields are filled.

**Are optional details charged again?** No. Supplied nutrition and metadata have no extra product fee.

**What happens with bad input?** Parseable invalid selections generate free explanatory notes. Apify can reject schema-invalid input before starting a run.

**How do I check completeness?** Read SUMMARY, outcomes and freeFailures before importing a snapshot.

# Actor input Schema

## `banner` (type: `string`):

Choose a banner for the public store catalog and prices.

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

Find products such as milk, chicken or coffee. Each term is searched at every selected store. Leave empty when using only URLs or product IDs.

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

Optional public category, search or product URLs from the selected banner.

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

Optional 13-digit source product codes from the end of product URLs. These are retailer identifiers; barcode provenance is separate.

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

US ZIPs, such as 45202 or 30309. Chooses the nearest store of the banner, excluding fuel-only businesses. Explicit store IDs take precedence.

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

Exact eight-digit store IDs, such as 01400428, optionally prefixed kroger:01400428. Prefix must match banner. Takes precedence over ZIPs.

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

Maximum new product rows from each term, category or deals source at one store. Duplicates are free.

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

Global limit across all products and stores. About $0.0055 per product: 20 products cost about $0.11 plus the small start charge.

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

Keep current sales or dated product-linked offers. Published multi-buy conditions remain separate from the product price.

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

Include supplied ingredients, nutrition and product metadata. No extra product fee.

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

Default: datacenter first, with US residential only after refused datacenter attempts. You may supply your own proxy configuration.

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

Alias of locations. Nonempty locations takes precedence when both are supplied.

## `includeUnpriced` (type: `boolean`):

Include free catalog rows without a numeric price or dated offer. Off by default. Priced rows and dated promotions are charged.

## Actor input object example

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

# Actor output Schema

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("vant47/kroger-store-price-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 = {
    "banner": "kroger",
    "searchTerms": ["milk"],
    "locations": ["45202"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vant47/kroger-store-price-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 '{
  "banner": "kroger",
  "searchTerms": [
    "milk"
  ],
  "locations": [
    "45202"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call vant47/kroger-store-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vant47/kroger-store-price-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/2eaAjdLFwusXoXteg/builds/utteDV7uIOlDXgmPh/openapi.json
