# Vivino Wine Scraper — Ratings, Reviews & Prices (`bovi/vivino-wine-scraper`) Actor

Scrape Vivino wine data by name: ratings, reviews, taste profile, food pairings, region, grapes, and live merchant price. One rich row per wine. No API key. Pay per result.

- **URL**: https://apify.com/bovi/vivino-wine-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Business, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.43 / 1,000 wine-results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

**Pull rich wine data from Vivino by name, vintage, or URL — ratings, reviews, taste profiles, food pairings, grape varieties, region, and live merchant prices in one flat record per wine. No API key, no account required.**

Whether you're building a wine recommendation engine, tracking prices across vintages, or enriching a product catalog, this Vivino scraper delivers 31 structured fields per wine in seconds.

### Features

- **Name or URL input** — pass free-text queries like `"Caymus Cabernet Sauvignon 2019"`, bare names like `"Cloudy Bay Sauvignon Blanc"`, or direct Vivino wine URLs (`https://www.vivino.com/w/12345`).
- **Year-aware matching** — `"Caymus 2019"` resolves the 2019 vintage specifically; a query without a year returns the top current vintage.
- **31-field output** — catalog fields, community ratings, taste structure, food pairings, grape varieties, live merchant price, and up to 200 community reviews per wine.
- **Live prices, localized** — set `shipTo` to your target country (US, GB, FR, DE, …) and the actor fetches prices in the local currency via a residential proxy exit in that country.
- **No API key needed** — reads Vivino's public pages; runs on a residential proxy for reliable access out of the box.
- **Pay per result** — you are charged only for wines that successfully resolve and return data (`$0.0025 / wine`).
- **Configurable depth** — toggle taste profiles, food pairings, and community reviews on or off; cap reviews per wine (0–200).
- **Free preview** — free Apify plan users receive up to 5 wine records to evaluate data quality before committing to a paid run.

### What data you get

One record per wine, all fields populated on a verified cloud run (`parse_confidence = 1.0`):

| Field | Description |
|---|---|
| `name` | Full wine name (winery + label) |
| `winery` | Winery / producer name |
| `vintage` | Vintage year (integer) |
| `wine_type` | Red, White, Sparkling, Rosé, Dessert, Fortified |
| `region` | Region name (English) |
| `country` | Country of origin |
| `appellation` | Appellation / sub-region label |
| `grape_varieties` | List of grape variety names |
| `average_rating` | Community average rating for this vintage (0–5) |
| `ratings_count` | Number of community ratings for this vintage |
| `wine_average_rating` | All-vintage average rating for the wine label |
| `wine_ratings_count` | All-vintage ratings count |
| `price` | Live merchant price (numeric) |
| `currency` | Currency code (USD, EUR, GBP, …) |
| `discount_percent` | Discount off the reference price, if any |
| `taste_profile` | Object: `body`, `acidity`, `tannins`, `sweetness`, `fizziness` |
| `food_pairings` | List of recommended food pairing names |
| `wine_description` | Editorial description / tasting notes (plain text) |
| `alcohol` | Alcohol by volume (%) |
| `image_url` | Bottle/label image URL |
| `reviews` | List of community reviews (rating, note, user, date) |
| `vivino_url` | Canonical Vivino URL for this wine |
| `wineId` | Vivino internal wine ID |
| `vintageId` | Vivino internal vintage ID |
| `shipTo` | Country code used for price localisation |
| `query` | Your original input query (for traceability) |
| `parse_confidence` | Data completeness score (1.0 = all fields populated) |
| `warnings` | List of any missing-field warnings |
| `scraped_at` | ISO-8601 timestamp of the run |

### Input

Required field: `wines` — a list of wine names, search queries, or Vivino URLs.

```json
{
  "wines": [
    "Caymus Cabernet Sauvignon 2019",
    "Cloudy Bay Sauvignon Blanc",
    "Sassicaia 2018",
    "https://www.vivino.com/w/1140610"
  ],
  "shipTo": "US",
  "currency": "USD",
  "includeTasteProfile": true,
  "includeReviews": true,
  "maxReviewsPerWine": 20
}
````

| Parameter | Type | Default | Description |
|---|---|---|---|
| `wines` | list of strings | *(required)* | Wine names, queries, or Vivino URLs |
| `shipTo` | string | `"US"` | Two-letter country code for price localisation |
| `currency` | string | auto | Three-letter currency code; auto-selected from `shipTo` if omitted |
| `includeTasteProfile` | boolean | `true` | Fetch taste structure and food pairings |
| `includeReviews` | boolean | `true` | Fetch community reviews |
| `maxReviewsPerWine` | integer | `20` | Reviews per wine (0–200) |

### Pricing

This actor uses **pay-per-result** billing — you are charged only when a wine is successfully resolved and written to the dataset.

| Event | Price |
|---|---|
| `wine-result` — one wine record delivered | **$0.0025** |

That is **$2.50 per 1,000 wines**, or roughly **$1 per 400 wines**. Queries that return no match are not charged. This is approximately 17% cheaper than the comparable market leader on the Apify Store.

Apify platform compute costs (typically a few cents per run) are billed separately and are covered by your Apify plan.

### FAQ

**Do I need a Vivino API key or account?**
No. The actor reads Vivino's public pages and runs on a residential proxy for reliable access. You do not need to create a Vivino account or obtain any credentials.

**How does year/vintage matching work?**
If your query includes a year — e.g. `"Opus One 2017"` — the actor resolves that specific vintage and returns its ratings, price, and reviews. If no year is given — e.g. `"Opus One"` — the actor returns the top current vintage Vivino ranks for that label.

**Can I pass Vivino URLs directly?**
Yes. Any item in the `wines` list that contains `/w/` is treated as a direct Vivino wine URL and skips the search step entirely. This is the most precise way to target a specific wine.

**What countries and currencies are supported for pricing?**
The `shipTo` field accepts any two-letter country code. Common ones include `US`, `GB`, `FR`, `DE`, `ES`, `IT`, `AU`, `CA`, `JP`, `BR`, `CH`, `SE`. The currency auto-selects to the local default (USD for US, EUR for Eurozone countries, GBP for GB, etc.) but can be overridden with the `currency` parameter.

### Use cases

- **Wine retail & e-commerce** — enrich your product catalog with Vivino ratings, descriptions, grape varieties, and food pairing suggestions sourced from the world's largest wine community.
- **Price monitoring** — track live merchant prices across vintages and geographies; compare your own pricing against Vivino's merchant data.
- **Wine recommendation engines** — build or feed ML models with structured taste profiles (body, acidity, tannins, sweetness) and food pairing data across thousands of wines.
- **Market research & competitive intelligence** — analyze rating distributions, vintage quality trends, and regional price points for a segment of the market.
- **Content platforms & apps** — auto-populate tasting notes, food pairing guides, and winery profiles from verified community data.
- **AI agents & LLM pipelines** — supply structured wine data to an LLM for sommelier-style Q\&A, menu generation, or natural-language product descriptions.

# Actor input Schema

## `wines` (type: `array`):

Wine names to look up on Vivino. Each item is a free-text query — the more specific, the better the match. Example: \['Caymus Cabernet Sauvignon 2019', 'Cloudy Bay Sauvignon Blanc', 'Sassicaia 2018'].

## `shipTo` (type: `string`):

Two-letter country code used to localise prices and availability (e.g. US, GB, FR, DE). The actor proxies through this country's residential network.

## `currency` (type: `string`):

Three-letter currency code for prices (e.g. USD, EUR, GBP). Leave default to auto-pick from the ship-to country.

## `includeTasteProfile` (type: `boolean`):

Fetch the taste structure (body, acidity, tannins, sweetness, fizziness) and food pairings for each wine. Default: true.

## `includeReviews` (type: `boolean`):

Fetch community reviews (rating + note text) for each wine. Default: true.

## `maxReviewsPerWine` (type: `integer`):

When reviews are enabled: how many community reviews to collect per wine. Lower this to reduce result size. Default: 20.

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

Apify proxy settings. Defaults to RESIDENTIAL in the ship-to country, which is recommended for reliable access and localised prices.

## Actor input object example

```json
{
  "wines": [
    "Caymus Cabernet Sauvignon 2019",
    "Cloudy Bay Sauvignon Blanc"
  ],
  "shipTo": "US",
  "currency": "USD",
  "includeTasteProfile": true,
  "includeReviews": true,
  "maxReviewsPerWine": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset of wine records (name, winery, vintage, wine\_type, region, country, ratings, price, taste\_profile, reviews, food\_pairings, grape\_varieties, vivino\_url, parse\_confidence, scraped\_at).

# 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 = {
    "wines": [
        "Caymus Cabernet Sauvignon 2019",
        "Cloudy Bay Sauvignon Blanc"
    ],
    "shipTo": "US",
    "currency": "USD",
    "includeTasteProfile": true,
    "includeReviews": true,
    "maxReviewsPerWine": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/vivino-wine-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 = {
    "wines": [
        "Caymus Cabernet Sauvignon 2019",
        "Cloudy Bay Sauvignon Blanc",
    ],
    "shipTo": "US",
    "currency": "USD",
    "includeTasteProfile": True,
    "includeReviews": True,
    "maxReviewsPerWine": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/vivino-wine-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "wines": [
    "Caymus Cabernet Sauvignon 2019",
    "Cloudy Bay Sauvignon Blanc"
  ],
  "shipTo": "US",
  "currency": "USD",
  "includeTasteProfile": true,
  "includeReviews": true,
  "maxReviewsPerWine": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/vivino-wine-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/vivino-wine-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Vivino Wine Scraper — Ratings, Reviews & Prices",
        "description": "Scrape Vivino wine data by name: ratings, reviews, taste profile, food pairings, region, grapes, and live merchant price. One rich row per wine. No API key. Pay per result.",
        "version": "0.1",
        "x-build-id": "jY3f4sbN9aZlkgxYW"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~vivino-wine-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-vivino-wine-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~vivino-wine-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-vivino-wine-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~vivino-wine-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-vivino-wine-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "wines"
                ],
                "properties": {
                    "wines": {
                        "title": "Wine names / queries",
                        "type": "array",
                        "description": "Wine names to look up on Vivino. Each item is a free-text query — the more specific, the better the match. Example: ['Caymus Cabernet Sauvignon 2019', 'Cloudy Bay Sauvignon Blanc', 'Sassicaia 2018'].",
                        "items": {
                            "type": "string"
                        }
                    },
                    "shipTo": {
                        "title": "Ship-to country",
                        "type": "string",
                        "description": "Two-letter country code used to localise prices and availability (e.g. US, GB, FR, DE). The actor proxies through this country's residential network.",
                        "default": "US"
                    },
                    "currency": {
                        "title": "Currency",
                        "type": "string",
                        "description": "Three-letter currency code for prices (e.g. USD, EUR, GBP). Leave default to auto-pick from the ship-to country.",
                        "default": "USD"
                    },
                    "includeTasteProfile": {
                        "title": "Include taste profile & food pairings",
                        "type": "boolean",
                        "description": "Fetch the taste structure (body, acidity, tannins, sweetness, fizziness) and food pairings for each wine. Default: true.",
                        "default": true
                    },
                    "includeReviews": {
                        "title": "Include community reviews",
                        "type": "boolean",
                        "description": "Fetch community reviews (rating + note text) for each wine. Default: true.",
                        "default": true
                    },
                    "maxReviewsPerWine": {
                        "title": "Max reviews per wine",
                        "minimum": 0,
                        "maximum": 200,
                        "type": "integer",
                        "description": "When reviews are enabled: how many community reviews to collect per wine. Lower this to reduce result size. Default: 20.",
                        "default": 20
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy settings. Defaults to RESIDENTIAL in the ship-to country, which is recommended for reliable access and localised prices.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
