# Wine Searcher Merchant Price Database Scraper (`jungle_synthesizer/wine-searcher-merchant-price-database-scraper`) Actor

Scrape Wine-Searcher wine pages: average price, critic and user ratings, grape, style, a per-vintage price table, critic reviews and the visible merchant offers with price, vintage, bottle size and auction or in-bond type.

- **URL**: https://apify.com/jungle_synthesizer/wine-searcher-merchant-price-database-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Business, E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 record scrapeds

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

## Wine Searcher Merchant Price Database Scraper

Pull Wine-Searcher's wine price data into a spreadsheet or pipeline: the average market price of a wine, its critic and user scores, a price table for every vintage, the critic reviews, and the merchant offers listed on the wine's page. One record per wine.

### What you get

| Field                                                                     | Description |
|---------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|
| `wine_name`, `wine_id`, `wine_url`                                        | The wine and its Wine-Searcher page |
| `producer`, `region`, `country`                                           | Who makes it and where |
| `grape_variety`, `style`, `wine_type`, `food_pairing`                     | Grape or blend, Wine-Searcher style, colour and pairing |
| `average_price`, `price_currency`, `price_unit`                           | Average price across merchants, ex-tax, per bottle size |
| `critic_score`, `critic_review_count`, `user_rating`, `user_rating_count` | Aggregate scores |
| `vintage_prices`                                                          | One row per vintage: critic score and average price |
| `critic_reviews`                                                          | Per-critic scores with vintage, and the tasting note where it is public |
| `offers`                                                                  | Merchant offers shown on the page: merchant, country, vintage, bottle size, offer type (retail, auction, in-bond, en primeur), price, price per 750ml, tax note, link to the merchant's listing |
| `offer_count_total`                                                       | How many prices Wine-Searcher lists for the wine in all |

### Important: offers per wine

Wine-Searcher shows visitors who are not signed in the first 5 of a wine's prices. The `offers` array holds those, and `offer_count_total` tells you how many exist. Every other field, including the per-vintage price table, is complete.

### How to use it

1. Put wine names in **Wine names**, for example `Chateau Margaux` or `Opus One Napa Valley`.
2. Or paste Wine-Searcher pages into **Start URLs**: a wine page, or a grape, region or producer page, in which case every wine listed there is scraped.
3. Leave both empty to walk the grape encyclopedia.
4. Set **Max Items** and run.

```json
{
  "queries": ["Chateau Margaux"],
  "maxItems": 10
}
```

### Sample output

```json
{
  "wine_name": "Opus One",
  "producer": "Opus One",
  "region": "Napa Valley",
  "country": "USA",
  "grape_variety": "Bordeaux Blend Red",
  "wine_type": "Red",
  "average_price": 490,
  "price_currency": "USD",
  "price_unit": "750ml",
  "critic_score": 95,
  "user_rating": 4.5,
  "offer_count_total": 747,
  "vintage_prices": [{ "vintage": "2023", "critic_score": 97, "average_price": 499 }],
  "offers": [{ "merchant_name": "Zachys Wine Auctions", "vintage": "1993", "bottle_size": "Case of 3 Btls", "offer_type": "auction", "price": 600, "price_currency": "USD" }]
}
```

### Who uses it

Importers and distributors checking price parity, restaurant and retail buyers setting list prices, fine-wine funds and brokers marking portfolios, insurers and appraisers valuing cellars.

### Pricing

Pay per wine record. You are charged only for records saved.

### Questions

Write to actor-support@orbtop.com with the run link.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

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

Maximum number of wine records to scrape

## `queries` (type: `array`):

Wine names to look up, e.g. Chateau Margaux or Opus One Napa Valley. Each name returns the wine Wine-Searcher resolves it to. Leave empty, with no Start URLs, to walk the grape encyclopedia.

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

Wine-Searcher wine pages (https://www.wine-searcher.com/find/...) or grape, region and producer pages (e.g. https://www.wine-searcher.com/grape-261-malbec) whose listed wines are scraped.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "queries": [
    "Chateau Margaux"
  ]
}
```

# Actor output Schema

## `results` (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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "queries": [
        "Chateau Margaux"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/wine-searcher-merchant-price-database-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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "queries": ["Chateau Margaux"],
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/wine-searcher-merchant-price-database-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 '{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "queries": [
    "Chateau Margaux"
  ]
}' |
apify call jungle_synthesizer/wine-searcher-merchant-price-database-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/wine-searcher-merchant-price-database-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/cS0KMiNRw0OcCdBEa/builds/dh6BZuMnVN3wZgBKB/openapi.json
