{
  "openapi": "3.0.1",
  "info": {
    "title": "Vivino Scraper - Wine Ratings, Prices & Vintages",
    "description": "Extract wine data from Vivino: ratings, reviews, prices, vintages, taste profiles. Filter by region (Burgundy, Bordeaux, Champagne...), grape variety, producer. Perfect for wine merchants, sommeliers, and collectors.",
    "version": "1.0",
    "x-build-id": "6xlVOWbz1Hy1dfj1x"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mrbridge~vivino-powerful-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mrbridge-vivino-powerful-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/mrbridge~vivino-powerful-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mrbridge-vivino-powerful-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/mrbridge~vivino-powerful-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mrbridge-vivino-powerful-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": {
          "region": {
            "title": "Wine Region",
            "enum": [
              "",
              "sep-france",
              "alsace",
              "cremant-dalsace",
              "alsace-grand-cru",
              "beaujolais",
              "brouilly",
              "cote-de-brouilly",
              "fleurie",
              "morgon",
              "moulin-a-vent",
              "saint-amour",
              "bordeaux",
              "castillon-cotes-de-bordeaux",
              "fronsac",
              "graves",
              "haut-medoc",
              "lalande-de-pomerol",
              "margaux",
              "medoc",
              "moulis-en-medoc",
              "pauillac",
              "pessac-leognan",
              "pomerol",
              "saint-emilion",
              "saint-estephe",
              "saint-julien",
              "sauternes",
              "bourgogne",
              "chablis",
              "chambolle-musigny",
              "chassagne-montrachet",
              "cote-de-beaune",
              "cote-de-nuits",
              "gevrey-chambertin",
              "maconnais",
              "marsannay",
              "meursault",
              "nuits-saint-georges",
              "pommard",
              "pouilly-fuisse",
              "puligny-montrachet",
              "saint-veran",
              "volnay",
              "vosne-romanee",
              "champagne",
              "cote-des-blancs",
              "champagne-grand-cru",
              "champagne-premier-cru",
              "corse",
              "patrimonio",
              "jura",
              "arbois",
              "banyuls",
              "corbieres",
              "faugeres",
              "fitou",
              "minervois",
              "picpoul-de-pinet",
              "saint-chinian",
              "languedoc-roussillon",
              "loire",
              "anjou",
              "bourgueil",
              "chinon",
              "coteaux-du-layon",
              "menetou-salon",
              "muscadet",
              "pouilly-fume",
              "sancerre",
              "saumur",
              "saumur-champigny",
              "savennieres",
              "touraine",
              "vouvray",
              "provence",
              "bandol",
              "cotes-de-provence",
              "les-baux-de-provence",
              "cairanne",
              "chateauneuf-du-pape",
              "condrieu",
              "cornas",
              "cote-rotie",
              "cotes-du-rhone",
              "crozes-hermitage",
              "gigondas",
              "hermitage",
              "lirac",
              "rasteau",
              "saint-joseph",
              "tavel",
              "vacqueyras",
              "ventoux",
              "savoie",
              "sud-ouest",
              "bergerac",
              "cahors",
              "gascogne",
              "jurancon",
              "madiran",
              "rhone",
              "sep-italy",
              "abruzzo",
              "montepulciano-dabruzzo",
              "basilicata",
              "calabria",
              "campania",
              "fiano-di-avellino",
              "greco-di-tufo",
              "taurasi",
              "emilia-romagna",
              "friuli-venezia-giulia",
              "colli-orientali-del-friuli",
              "collio",
              "friuli-grave",
              "lazio",
              "lombardia",
              "franciacorta",
              "lugana",
              "oltrepo-pavese",
              "valtellina",
              "marche",
              "piemonte",
              "barbaresco",
              "barbera-dalba",
              "barbera-dasti",
              "barolo",
              "gattinara",
              "gavi",
              "langhe",
              "moscato-dasti",
              "roero",
              "puglia",
              "primitivo-di-manduria",
              "salento",
              "salice-salentino",
              "sardegna",
              "sicilia",
              "cerasuolo-di-vittoria",
              "etna",
              "marsala",
              "toscana",
              "bolgheri",
              "brunello-di-montalcino",
              "carmignano",
              "chianti",
              "chianti-classico",
              "maremma-toscana",
              "morellino-di-scansano",
              "vernaccia-di-san-gimignano",
              "vino-nobile-di-montepulciano",
              "alto-adige",
              "trentino-alto-adige",
              "umbria",
              "montefalco-sagrantino",
              "orvieto",
              "valle-daosta",
              "veneto",
              "amarone",
              "bardolino",
              "conegliano-valdobbiadene",
              "prosecco",
              "soave",
              "valpolicella",
              "valpolicella-ripasso",
              "sep-spain",
              "jerez",
              "montilla-moriles",
              "calatayud",
              "campo-de-borja",
              "carinena",
              "somontano",
              "canaries",
              "castilla-y-leon",
              "bierzo",
              "rueda",
              "toro",
              "la-mancha",
              "manchuela",
              "valdepenas",
              "emporda",
              "montsant",
              "penedes",
              "terra-alta",
              "cava",
              "rias-baixas",
              "ribeira-sacra",
              "majorque",
              "jumilla",
              "yecla",
              "navarra",
              "priorat",
              "ribera-del-duero",
              "rioja",
              "rioja-alavesa",
              "rioja-alta",
              "txakoli",
              "alicante",
              "utiel-requena",
              "madrid",
              "sep-portugal",
              "alentejo",
              "bairrada",
              "dao",
              "douro",
              "lisboa",
              "madeira",
              "porto",
              "setubal",
              "vinho-verde",
              "sep-germany",
              "ahr",
              "baden",
              "franken",
              "mosel",
              "nahe",
              "pfalz",
              "rheingau",
              "rheinhessen",
              "wurttemberg",
              "sep-austria",
              "burgenland",
              "kamptal",
              "kremstal",
              "sudsteiermark",
              "wachau",
              "wagram",
              "weinviertel",
              "sep-usa",
              "alexander-valley",
              "central-coast",
              "columbia-valley",
              "lodi",
              "napa-valley",
              "paso-robles",
              "russian-river-valley",
              "santa-barbara-county",
              "sonoma-county",
              "stags-leap-district",
              "willamette-valley",
              "sep-argentina",
              "cafayate-valley",
              "lujan-de-cuyo",
              "mendoza",
              "patagonia",
              "salta",
              "uco-valley",
              "sep-chile",
              "aconcagua-valley",
              "casablanca-valley",
              "colchagua-valley",
              "leyda-valley",
              "limari-valley",
              "maipo-valley",
              "maule-valley",
              "rapel-valley",
              "sep-australia",
              "adelaide-hills",
              "barossa-valley",
              "clare-valley",
              "coonawarra",
              "eden-valley",
              "hunter-valley",
              "margaret-river",
              "mclaren-vale",
              "tasmania",
              "yarra-valley",
              "sep-new-zealand",
              "central-otago",
              "hawkes-bay",
              "marlborough",
              "martinborough",
              "waipara",
              "sep-south-africa",
              "constantia",
              "elgin",
              "franschhoek",
              "hemel-en-aarde-valley",
              "paarl",
              "stellenbosch",
              "swartland",
              "walker-bay",
              "sep-greece",
              "crete",
              "naoussa",
              "nemea",
              "peloponnesos",
              "santorini",
              "sep-hungary",
              "eger",
              "szekszard",
              "tokaj",
              "villany",
              "sep-georgia",
              "kakheti",
              "sep-lebanon",
              "bekaa-valley",
              "sep-croatia",
              "dalmatian-coast",
              "istria-croatia",
              "sep-israel",
              "galilee",
              "judean-hills",
              "sep-slovenia",
              "goriska-brda",
              "sep-canada",
              "niagara-peninsula",
              "okanagan-valley",
              "sep-brazil",
              "serra-gaucha",
              "sep-uruguay",
              "maldonado",
              "sep-mexico",
              "valle-de-guadalupe",
              "sep-united-kingdom",
              "england",
              "sep-romania",
              "transylvania",
              "sep-bulgaria",
              "thracian-valley",
              "sep-moldova",
              "moldova",
              "sep-turkey",
              "thrace-turkey",
              "sep-japan",
              "yamanashi",
              "sep-morocco",
              "meknes",
              "sep-india",
              "nashik"
            ],
            "type": "string",
            "description": "Select a wine region or appellation. 299 regions across 32 countries with detailed sub-regions for France, Italy, and Spain.",
            "default": ""
          },
          "wineType": {
            "title": "Wine Type",
            "enum": [
              "",
              "red",
              "white",
              "sparkling",
              "rose",
              "dessert",
              "fortified"
            ],
            "type": "string",
            "description": "Filter by wine style: Red, White, Sparkling, Rose, Dessert, or Fortified wines.",
            "default": ""
          },
          "grape": {
            "title": "Grape Variety",
            "enum": [
              "",
              "pinot-noir",
              "chardonnay",
              "cabernet-sauvignon",
              "merlot",
              "syrah",
              "grenache",
              "gamay",
              "cabernet-franc",
              "sauvignon-blanc",
              "riesling",
              "pinot-gris",
              "gewurztraminer",
              "viognier",
              "chenin-blanc",
              "muscadet",
              "semillon",
              "sangiovese",
              "nebbiolo",
              "tempranillo",
              "malbec",
              "mourvedre"
            ],
            "type": "string",
            "description": "Filter by grape variety (cepage). Popular options: Pinot Noir, Chardonnay, Cabernet Sauvignon, Merlot, Syrah, and more.",
            "default": ""
          },
          "wineryName": {
            "title": "Producer / Winery",
            "type": "string",
            "description": "Search by producer name. Examples: 'Coche-Dury', 'Romanee-Conti', 'Rayas'. Partial match supported.",
            "default": ""
          },
          "minRating": {
            "title": "Minimum Rating",
            "minimum": 1,
            "maximum": 5,
            "type": "number",
            "description": "Filter wines by minimum Vivino rating (1-5 stars). Example: 4.0 for highly-rated wines, 4.5 for exceptional wines.",
            "default": 3.5
          },
          "maxRating": {
            "title": "Maximum Rating",
            "minimum": 1,
            "maximum": 5,
            "type": "number",
            "description": "Filter wines by maximum rating. Leave empty for no upper limit.",
            "default": 5
          },
          "priceRangeMin": {
            "title": "Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price filter in selected currency. Leave empty for no minimum."
          },
          "priceRangeMax": {
            "title": "Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price filter. Example: 50 for wines under 50 EUR/USD. Leave empty for no maximum."
          },
          "countryCode": {
            "title": "Market Country",
            "enum": [
              "fr",
              "us",
              "gb",
              "de",
              "it",
              "es",
              "pt",
              "be",
              "nl",
              "ch",
              "at",
              "au",
              "ca",
              "br",
              "jp"
            ],
            "type": "string",
            "description": "Country for price availability and currency conversion",
            "default": "fr"
          },
          "currencyCode": {
            "title": "Currency",
            "enum": [
              "EUR",
              "USD",
              "GBP",
              "CHF",
              "AUD",
              "CAD",
              "JPY",
              "BRL"
            ],
            "type": "string",
            "description": "Currency for displaying prices",
            "default": "EUR"
          },
          "orderBy": {
            "title": "Sort By",
            "enum": [
              "ratings_average",
              "ratings_count",
              "price",
              "discount"
            ],
            "type": "string",
            "description": "Sort results by rating, popularity, price, or discount",
            "default": "ratings_average"
          },
          "order": {
            "title": "Sort Order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Ascending or descending order",
            "default": "desc"
          },
          "maxWines": {
            "title": "Maximum Wines",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of wines to scrape. Start small (50-100) to test filters, increase for larger datasets.",
            "default": 100
          },
          "includeAllVintages": {
            "title": "Include All Vintages",
            "type": "boolean",
            "description": "Get ratings for vintage years of each wine (default: 2005 to today, configurable via Vintage Start Year). Creates one row per vintage. Perfect for investment analysis and tracking vintage quality. Note: Significantly slower.",
            "default": false
          },
          "vintageStartYear": {
            "title": "Vintage Start Year",
            "minimum": 1970,
            "maximum": 2026,
            "type": "integer",
            "description": "Start year for vintage scanning. Default: 2005. Set lower (e.g., 1970) for older vintages.",
            "default": 2005
          },
          "debug": {
            "title": "Debug Mode",
            "type": "boolean",
            "description": "Enable verbose logging for troubleshooting",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}