{
  "openapi": "3.0.1",
  "info": {
    "title": "Vivino Wine Scraper — Prices, Ratings, Wineries & Vintages",
    "description": "Scrape wine prices, ratings, vintages, wineries, regions, grape varietals, food pairings, taste profiles, and merchant links from Vivino across 15+ countries. Filter by wine type, origin country, rating, price range, and sort order for beverage pricing intelligence.",
    "version": "0.1",
    "x-build-id": "WbEGxsDAHC9xKbuM0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/haketa~vivino-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-haketa-vivino-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/haketa~vivino-scraper/runs": {
      "post": {
        "operationId": "runs-sync-haketa-vivino-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/haketa~vivino-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-haketa-vivino-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",
        "properties": {
          "searchTerms": {
            "title": "Search keywords (optional)",
            "type": "array",
            "description": "Search wines, wineries, grapes, or regions by keyword (e.g. \"Caymus\", \"Barolo\", \"Dom Perignon\", \"Opus One\"). Multiple keywords run sequentially and deduplicate automatically. Leave empty to browse all wines matching the market and filters below.",
            "items": {
              "type": "string"
            }
          },
          "marketCountry": {
            "title": "Market / shipping country",
            "enum": [
              "US",
              "GB",
              "FR",
              "DE",
              "IT",
              "ES",
              "CA",
              "AU",
              "NL",
              "CH",
              "BE",
              "AT",
              "PT",
              "DK",
              "SE",
              "SG",
              "HK",
              "JP",
              "BR"
            ],
            "type": "string",
            "description": "Target retail wine market country. Determines merchant availability, local retail pricing, and active wine offers.",
            "default": "US"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "",
              "USD",
              "GBP",
              "EUR",
              "CAD",
              "AUD",
              "CHF",
              "DKK",
              "SEK",
              "SGD",
              "HKD",
              "JPY",
              "BRL"
            ],
            "type": "string",
            "description": "Display and numeric currency for wine prices. Choose Auto to use the default currency of the selected market country.",
            "default": ""
          },
          "wineTypes": {
            "title": "Wine types",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by one or more wine styles (Red, White, Sparkling, Rosé, Dessert, Fortified). Leave empty to include all wine types.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "7",
                "24"
              ],
              "enumTitles": [
                "Red Wine",
                "White Wine",
                "Sparkling Wine",
                "Rosé Wine",
                "Dessert Wine",
                "Fortified Wine"
              ]
            }
          },
          "wineCountries": {
            "title": "Wine origin countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter wines by producing country of origin (e.g. France, Italy, United States, Spain). Leave empty for all wine-producing countries.",
            "items": {
              "type": "string",
              "enum": [
                "fr",
                "it",
                "us",
                "es",
                "ar",
                "au",
                "cl",
                "de",
                "pt",
                "nz",
                "za",
                "at",
                "gr",
                "hu"
              ],
              "enumTitles": [
                "France",
                "Italy",
                "United States",
                "Spain",
                "Argentina",
                "Australia",
                "Chile",
                "Germany",
                "Portugal",
                "New Zealand",
                "South Africa",
                "Austria",
                "Greece",
                "Hungary"
              ]
            }
          },
          "minRating": {
            "title": "Minimum Vivino rating",
            "enum": [
              "1",
              "3.0",
              "3.5",
              "3.8",
              "4.0",
              "4.2",
              "4.5"
            ],
            "type": "string",
            "description": "Minimum community star rating threshold (1.0 to 4.5+).",
            "default": "3.5"
          },
          "priceMin": {
            "title": "Minimum bottle price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum bottle price in the selected currency (optional)."
          },
          "priceMax": {
            "title": "Maximum bottle price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum bottle price in the selected currency (optional)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "ratings_count",
              "ratings_average",
              "price",
              "discount_percent",
              "best_picks",
              "relevance"
            ],
            "type": "string",
            "description": "Primary sort metric for wine results. Relevance is best when search keywords are provided.",
            "default": "ratings_count"
          },
          "sortOrder": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Sort direction: descending (highest first) or ascending (lowest first, e.g. lowest price).",
            "default": "desc"
          },
          "maxItems": {
            "title": "Max wines",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of unique wine vintages to extract across the run. Set to 0 for unlimited pagination.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Standard datacenter proxies work reliably at low cost.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}