# US Wine & Fine Wine Price Comparator (6 Stores) (`lonwabo/us-wine-price-comparator`) Actor

Compare wine prices across Zachys, ABC Fine Wine & Spirits, Chambers Street Wines, Remedy Liquor, Quality Liquor Store & Chips Liquor. Bottle size, vintage & spread analytics.

- **URL**: https://apify.com/lonwabo/us-wine-price-comparator.md
- **Developed by:** [Lonwabo Mfundisi](https://apify.com/lonwabo) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## US Wine & Fine Wine Price Comparator (6 Stores) 🍷

Live multi-store US wine price comparator built for **restaurants, hotels, sommeliers, clubs, wine shops, and collectors**. Queries **6 nationwide & major US wine merchants** in parallel with **zero IP/WAF blocks**, normalizes bottle volumes and vintages, filters out barware/minis, and ranks the biggest price spreads in USD.

***

### 🏪 Supported US Wine Merchants

| Store | Domain | Specialty | Toggle Flag |
| :--- | :--- | :--- | :--- |
| **Zachys** | `zachys.com` | Collectible, auction & Napa/Bordeaux fine wines | `includeZachys` |
| **ABC Fine Wine & Spirits** | `abcfws.com` | Major US beverage retailer with customer ratings & live stock | `includeAbcFineWine` |
| **Chambers Street Wines** | `chambersstwines.com` | NYC Burgundy, Loire, Italian & Old World wine specialist | `includeChambers` |
| **Remedy Liquor** | `remedyliquor.com` | Competitive California, Champagne & volume pricing | `includeRemedy` |
| **Quality Liquor Store** | `qualityliquorstore.com` | Nationwide domestic & imported wine fulfillment | `includeQualityLiquor` |
| **Chips Liquor** | `chipsliquor.com` | California Cabernet, Chardonnay & Champagne online store | `includeChipsLiquor` |

***

### ⚙️ How It Works

```text
[searchTerms] ──► Expanded Candidate Fetch across enabled stores (Zachys..Chips Liquor)
                       │
                       ▼
           [Bottle Volume & Vintage Parser]
      • Separates 375ml, 750ml, 1L, 1.5L Magnum, Cases
      • Isolates vintage years (2018 vs 2020 vs NV)
      • Filters corkscrews, glasses, gift bags & 50ml minis
                       │
                       ▼
           [Cross-Store Fuzzy Wine Matcher]
      • Calculates priceSpread ($), priceSpreadPercent (%),
        cheapestStore, dealVerdict, and store-tab columns
                       │
                       ▼
        [Apify Dataset (Overview + Matrix + 6 Store Tabs)]
```

***

### 📊 Output Views: Interactive HTML Report + 9 Dataset Tabs

In addition to exporting the structured Dataset in **JSON, CSV, Excel, or built-in HTML table (`format=html`)**, every run generates a standalone, self-contained **Interactive HTML Comparison Report (`report.html`)** directly inside the Apify Console **Output** tab (and via a shareable Key-Value Store URL) built for restaurants, hotels, sommeliers, and beverage buyers:

#### Inside the Interactive HTML Report

- **Horizontal View & Store Tabs** — Switch seamlessly between **Best Deals Cards**, **Side-by-Side Matrix**, and **6 dedicated individual merchant tabs** (**Zachys**, **ABC Fine Wine & Spirits**, **Chambers Street Wines**, **Remedy Liquor**, **Quality Liquor Store**, **Chips Liquor**), each displaying live result counts.
- **Deep-Linkable Tabs (`#tab=...`)** — Every tab updates the URL hash (e.g. `#tab=matrix` or `#tab=zachys`) so you can bookmark or share a specific merchant view directly.
- **Aligned Deal Cards & Bottle Specs** — Clean bottle thumbnails, uniform size & vintage badges, green cheapest-store highlights, spread savings pills, and clickable **View Best Deal** buttons.
- **Live Controls & Instant Exports** — Keyword search, merchant filter dropdown, multi-column sort (`Biggest Savings $`, `Biggest Savings %`, `Lowest Price`, `Most Stores`, `Title A-Z`), `2+ Stores Only` toggle, plus one-click **Download CSV**, **Download JSON**, **Print / PDF Quote**, and **Full Screen** buttons.

##### Best Deals Cards View

![US Wine Price Comparator — Best Deals Cards HTML View](https://api.apify.com/v2/key-value-stores/44gjIna4ipGc3tD78/records/wine-cards-v1.png?signature=y1shB1ETrn9j3vnQwZ20)

##### Side-by-Side Store Matrix View

![US Wine Price Comparator — Side-by-Side Matrix HTML View](https://api.apify.com/v2/key-value-stores/44gjIna4ipGc3tD78/records/wine-matrix-v1.png?signature=71ecS8dbpNRpXOJiphZV)

#### Dataset Tabs

1. **Best Deals Overview** — Thumbnail, wine label, winery, `bottleSize`, `vintageYear`, `bestPrice`, `cheapestStore`, `dealVerdict`, `priceSpread`, `priceSpreadPercent`, `highestPrice`, `storesCompared`, `bestDealUrl`.
2. **Side-by-Side Store Matrix** — Direct `<store>Price` and `<store>Url` across all 6 merchants.
3. **Zachys** — Standalone Zachys listings, discounts, stock status, and direct URLs.
4. **ABC Fine Wine & Spirits** — Standalone ABC listings with ratings & review counts.
5. **Chambers Street Wines** — Standalone Chambers Street listings & pricing.
6. **Remedy Liquor** — Standalone Remedy Liquor listings & discounts.
7. **Quality Liquor Store** — Standalone Quality Liquor listings & discounts.
8. **Chips Liquor** — Standalone Chips Liquor listings & pricing.
9. **All fields** — Full JSON output including `rawOffers`.

***

### 🚀 How to Use

#### Apify Console

1. Enter your `searchTerms` (e.g. `"Caymus Cabernet Sauvignon"`, `"Dom Perignon"`, `"Cloudy Bay Sauvignon Blanc"`).
2. Flip any of the 6 store ON/OFF toggles under **Stores to Compare**.
3. Optionally enable `onlyMultiStoreMatches` to see only wines matched on 2+ merchants.
4. Click **Start** and switch between **Best Deals Overview**, **Side-by-Side Store Matrix**, or individual store tabs.

#### Apify API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/lonwabo~us-wine-price-comparator/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchTerms": ["Caymus Cabernet Sauvignon", "Dom Perignon"],
    "onlyMultiStoreMatches": true,
    "sortBy": "priceSpreadDesc"
  }'
```

#### Automated Schedules & Email / Slack Alerts (Apify Integrations)

Want weekly or daily price updates delivered automatically? Instead of storing credentials inside the Actor, use Apify's built-in **Schedules** and **Integrations**:

1. Save your preferred wine list and store toggles as a **Task**, then set a recurring **Schedule** (e.g., every Monday morning).
2. Open the Actor/Task **Integrations** tab in Apify Console and connect **Send Email (`apify/send-mail`)**, **Slack (`apify/slack-alert`)**, **Google Sheets**, **Make**, **Zapier**, or a **Webhook** triggered on `Run succeeded`.
3. Include `{{links.apiDefaultKeyValueStoreUrl}}/records/report.html` or `{{links.apiDefaultDatasetUrl}}/items?format=csv` in your alert payload to receive the live HTML report or spreadsheet automatically after every scheduled run.

***

### 📥 Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `searchTerms` | Array | `["Caymus Cabernet Sauvignon", "Dom Perignon", "Cloudy Bay Sauvignon Blanc"]` | Wine labels, wineries, Champagnes, or varietals to compare. |
| `includeZachys` .. `includeChipsLiquor` | Boolean | `true` | Individual ON/OFF toggles for all 6 supported wine merchants. |
| `maxItemsPerStore` | Integer | `10` | Max wine offers inspected per merchant per query (1–50). |
| `minPrice` / `maxPrice` | Integer | `10` / `2000` | Filter USD price range bounds. |
| `excludeAccessories` | Boolean | `true` | Excludes corkscrews, decanters, wine glasses, gift bags, and 50ml mini splits unless searched directly. |
| `inStockOnly` | Boolean | `true` | Only include wine offers currently in stock. |
| `onlyMultiStoreMatches` | Boolean | `false` | Show only wines matched across 2 or more merchants. |
| `matchExactSize` | Boolean | `true` | Prevent mixing 375ml half bottles, 500ml bottles, 750ml bottles, and 1.5L magnums. |
| `matchVintage` | Boolean | `true` | Keep explicitly different vintage years separate during matching. |
| `sortBy` | String | `"priceSpreadDesc"` | Sort by Biggest Savings ($), Lowest Price ($), Most Stores Matched, or Highest Discount %. |
| `includeFields` | Array | All except `rawOffers` | Toggle optional columns while preserving core comparison fields. |
| `minSimilarityScore` | Number | `0.45` | Token similarity threshold (0.20–0.90) for clustering bottles. |
| `proxyConfiguration` | Object | `{"useApifyProxy":false}` | Optional proxy config (disabled by default — stores run directly without IP blocks). |

***

### 💡 Practical Use Cases

- **Hotels, Restaurants & Clubs:** Benchmark BTG (by-the-glass) and reserve wine list replacement costs before placing distributor reorders.
- **Wine Shops & Sommeliers:** Monitor competitor retail pricing on high-velocity Napa Cabernets, Provence Rosé, Sancerre, and Champagne.
- **Collectors & Hospitality Groups:** Track `750ml` vs `1.5L Magnum` availability and cross-merchant discounts.

***

### 🔗 Related Actors

Explore more US & global price comparators from [Lonwabo Mfundisi](https://apify.com/lonwabo):

- **[US Liquor & Spirits Price Comparator](https://apify.com/lonwabo/us-liquor-price-comparator)** — Compare spirits, bourbon, tequila, cognac, scotch, and bar inventory across 6 US liquor merchants.
- **[US Kitchen Appliances & Espresso Price Comparator](https://apify.com/lonwabo/us-kitchen-appliance-comparator)** — Compare espresso machines, blenders, and commercial kitchen appliances across 6 US retailers.
- **[US Electronics & PC Price Comparator](https://apify.com/lonwabo/us-retail-price-comparator)** — Side-by-side price comparison across Amazon, Best Buy, Walmart, and Newegg.
- **[US Retail Arbitrage Price Comparator](https://apify.com/lonwabo/us-arbitrage-price-comparator)** — Cross-store ROI & arbitrage deal finder across Amazon, Walmart, and Target.
- **[Global B2B Wholesale & Factory Price Comparator](https://apify.com/lonwabo/global-b2b-wholesale-comparator)** — Compare factory MOQs and wholesale quotes across Made-in-China, YiwuGo, and DHgate.

***

### 💬 Support & Feedback

Open an issue on the Actor's **Issues** tab in Apify Console to request additional US wine merchants or report site layout changes.

# Actor input Schema

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

List of wines, producers, varietals, or Champagne labels to compare across nationwide US wine merchants (e.g. 'Caymus Cabernet Sauvignon', 'Dom Perignon', 'Cloudy Bay Sauvignon Blanc', 'Opus One').

## `includeZachys` (type: `boolean`):

Include Zachys — prestigious fine, vintage, and collectible wine specialist.

## `includeAbcFineWine` (type: `boolean`):

Include ABC Fine Wine & Spirits — major US beverage & wine chain with customer ratings.

## `includeChambers` (type: `boolean`):

Include Chambers Street Wines — NYC Burgundy, Loire, Italian & Old World merchant.

## `includeRemedy` (type: `boolean`):

Include Remedy Liquor — aggressive volume & restaurant-grade wine pricing.

## `includeQualityLiquor` (type: `boolean`):

Include Quality Liquor Store — nationwide California & imported wine delivery.

## `includeChipsLiquor` (type: `boolean`):

Include Chips Liquor — nationwide wine & Champagne e-commerce merchant.

## `maxItemsPerStore` (type: `integer`):

Maximum wine listings to inspect per store for each search query.

## `minPrice` (type: `integer`):

Ignore cheap accessories or splits below this USD price threshold.

## `maxPrice` (type: `integer`):

Ignore ultra-high collector bottles above this USD price threshold.

## `excludeAccessories` (type: `boolean`):

Automatically filters out corkscrews, decanters, wine glasses, gift bags, and mini/50ml bottles unless explicitly searched.

## `inStockOnly` (type: `boolean`):

Only include wine offers currently in stock according to live merchant inventory.

## `matchExactSize` (type: `boolean`):

Prevents standard 750ml bottles from being matched against 375ml half bottles, 1.5L magnums, or multi-bottle packs.

## `matchVintage` (type: `boolean`):

When enabled, explicitly different vintage years (e.g. 2020 vs 2021) are kept separate rather than merged into one row.

## `onlyMultiStoreMatches` (type: `boolean`):

When enabled, outputs only wines found at 2 or more merchants for direct side-by-side price comparison.

## `sortBy` (type: `string`):

Choose how matched wine comparison rows are ordered.

## `includeFields` (type: `array`):

Toggle optional columns cleanly while preserving all core comparison pricing and buy links.

## `minSimilarityScore` (type: `number`):

Token overlap threshold (0.20 loose to 0.90 strict) used to cluster identical wines across merchants.

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

All 6 wine merchants run directly without IP blocks. Leave disabled unless routing high-volume scrapes via Apify Proxy.

## Actor input object example

```json
{
  "searchTerms": [
    "Caymus Cabernet Sauvignon",
    "Dom Perignon",
    "Cloudy Bay Sauvignon Blanc"
  ],
  "includeZachys": true,
  "includeAbcFineWine": true,
  "includeChambers": true,
  "includeRemedy": true,
  "includeQualityLiquor": true,
  "includeChipsLiquor": true,
  "maxItemsPerStore": 10,
  "minPrice": 10,
  "maxPrice": 2000,
  "excludeAccessories": true,
  "inStockOnly": true,
  "matchExactSize": true,
  "matchVintage": true,
  "onlyMultiStoreMatches": false,
  "sortBy": "priceSpreadDesc",
  "includeFields": [
    "productImage",
    "brand",
    "specs",
    "storeColumns",
    "dealVerdict"
  ],
  "minSimilarityScore": 0.5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `htmlReport` (type: `string`):

Visual side-by-side comparison cards, bottle thumbnails, savings KPIs, filter bar, and printable quote table.

## `results` (type: `string`):

Dataset containing matched US wine prices, spreads, bottle sizes, vintages, stock availability, and direct buy URLs.

# 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": [
        "Caymus Cabernet Sauvignon",
        "Dom Perignon",
        "Cloudy Bay Sauvignon Blanc"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lonwabo/us-wine-price-comparator").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": [
        "Caymus Cabernet Sauvignon",
        "Dom Perignon",
        "Cloudy Bay Sauvignon Blanc",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lonwabo/us-wine-price-comparator").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": [
    "Caymus Cabernet Sauvignon",
    "Dom Perignon",
    "Cloudy Bay Sauvignon Blanc"
  ]
}' |
apify call lonwabo/us-wine-price-comparator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lonwabo/us-wine-price-comparator"
        }
    }
}
```

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/Z3iV4ZRhopYxkMp6q/builds/DD3enfxwafEqr0NJ6/openapi.json
