# Vivino wine API

Look up Vivino wines by ID or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as country, id, output, and retrieve structured data including wine identifier across vintages, resolved vintage identifier, resolved record community rating, wine-level community rating, and available market price for wine catalogue, and market comparison.

Documentation: https://openany.si/vivino/vivino-wine-api/486c0bfa-dde8-4945-9ccb-b44f9309ddc8/
API ID: 486c0bfa-dde8-4945-9ccb-b44f9309ddc8
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/vivino/v1/wine
Page update time: 2026-12-03T02:45:39.390Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:37.943Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Vivino Wine API

Select the wine with id or url; year chooses one vintage, country selects the offer market and vintage\_prices=1 adds available market prices to vintages. Preserve wine\_id and vintage\_id as distinct identities.

## What You Can Build

- **Wine catalogue**: Keep wine and vintage identifiers separate.
- **Market comparison**: Attach vintage year and country to available offer data.

## Returned Data

| Field | Meaning |
| --- | --- |
| `wine_id` | Wine identifier across vintages |
| `vintage_id` | Resolved vintage identifier |
| `rating` | Resolved record community rating |
| `wine_rating` | Wine-level community rating |
| `price` | Available market price |
| `sold_out` | Source offer availability flag |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Vivino wine API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Wine id, the number in vivino.com/.../w/<id>. Or give `url`."
        },
        "url": {
          "type": "string",
          "description": "A vivino.com wine link instead of `id`."
        },
        "year": {
          "type": "string",
          "description": "One vintage year. Default the wine's page."
        },
        "country": {
          "type": "string",
          "description": "Market country for the offer price. Default US."
        },
        "vintage_prices": {
          "type": "string",
          "description": "Set to `1` to add each vintage's market price to `vintages`.",
          "enum": [
            "1",
            "0"
          ]
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "alcohol": {
      "type": "integer"
    },
    "awards": {
      "type": "array",
      "items": {}
    },
    "biodynamic": {
      "type": "null"
    },
    "cached": {
      "type": "boolean"
    },
    "closure": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "critic_reviews": {
      "type": "array",
      "items": {}
    },
    "description": {
      "type": "string"
    },
    "drinking_window": {
      "type": "object",
      "properties": {
        "end_year": {
          "type": "null"
        },
        "start_year": {
          "type": "null"
        },
        "status": {
          "type": "integer"
        }
      }
    },
    "food_pairings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "full_region": {
      "type": "null"
    },
    "grape_composition": {
      "type": "object",
      "properties": {
        "2": {
          "type": "integer"
        }
      }
    },
    "grapes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "highlights": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "image": {
      "type": "string"
    },
    "labels_count": {
      "type": "integer"
    },
    "merchant": {
      "type": "null"
    },
    "name": {
      "type": "string"
    },
    "natural": {
      "type": "boolean"
    },
    "organic_certification": {
      "type": "null"
    },
    "price": {
      "type": "null"
    },
    "ranking": {
      "type": "object",
      "properties": {
        "country": {
          "type": "object",
          "properties": {
            "description": {
              "type": "string"
            },
            "rank": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          }
        },
        "global": {
          "type": "object",
          "properties": {
            "description": {
              "type": "string"
            },
            "rank": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          }
        },
        "region": {
          "type": "object",
          "properties": {
            "description": {
              "type": "string"
            },
            "rank": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          }
        },
        "winery": {
          "type": "object",
          "properties": {
            "description": {
              "type": "string"
            },
            "rank": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          }
        }
      }
    },
    "rating": {
      "type": "number"
    },
    "ratings_count": {
      "type": "integer"
    },
    "ratings_distribution": {
      "type": "object",
      "properties": {
        "1": {
          "type": "integer"
        },
        "2": {
          "type": "integer"
        },
        "3": {
          "type": "integer"
        },
        "4": {
          "type": "integer"
        },
        "5": {
          "type": "integer"
        }
      }
    },
    "region": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string"
        },
        "country_name": {
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "reviews_count": {
      "type": "integer"
    },
    "sold_out": {
      "type": "boolean"
    },
    "style": {
      "type": "object",
      "properties": {
        "acidity": {
          "type": "integer"
        },
        "acidity_description": {
          "type": "string"
        },
        "body": {
          "type": "integer"
        },
        "body_description": {
          "type": "string"
        },
        "description": {
          "type": "null"
        },
        "grapes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "regional_name": {
          "type": "string"
        },
        "varietal": {
          "type": "string"
        }
      }
    },
    "taste": {
      "type": "object",
      "properties": {
        "acidity": {
          "type": "number"
        },
        "fizziness": {
          "type": "null"
        },
        "flavors": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "group": {
                    "type": "string"
                  },
                  "keywords": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "…": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  },
                  "mentions": {
                    "type": "integer"
                  }
                }
              },
              {
                "type": "string"
              }
            ]
          }
        },
        "intensity": {
          "type": "number"
        },
        "structure_votes": {
          "type": "integer"
        },
        "sweetness": {
          "type": "number"
        },
        "tannin": {
          "type": "number"
        }
      }
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "vintage_id": {
      "type": "integer"
    },
    "vintages": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "rating": {
                "type": "integer"
              },
              "ratings_count": {
                "type": "integer"
              },
              "year": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "wine_id": {
      "type": "integer"
    },
    "wine_name": {
      "type": "string"
    },
    "wine_rating": {
      "type": "number"
    },
    "wine_ratings_count": {
      "type": "integer"
    },
    "winemaker": {
      "type": "null"
    },
    "winery": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "year": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/vivino/v1/wine?country=US&id=3151741&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "alcohol": 15,
  "awards": [],
  "biodynamic": null,
  "cached": false,
  "closure": "cork",
  "credits_used": 1,
  "critic_reviews": [],
  "description": "",
  "drinking_window": {
    "end_year": null,
    "start_year": null,
    "status": 2
  },
  "food_pairings": [
    "Beef",
    "Lamb",
    "… 3 more"
  ],
  "full_region": null,
  "grape_composition": {
    "2": 100
  },
  "grapes": [
    "Cabernet Sauvignon"
  ],
  "highlights": [
    "This vintage rates better than any other year for this wine",
    "Popular among Vivino users. More than 100 ratings",
    "… 1 more"
  ],
  "image": "https://images.vivino.com/thumbs/_jt3dPPrSZKfVmV6J8YlLg_pb_x960.png",
  "labels_count": 21,
  "merchant": null,
  "name": "Schrader Cabernet Sauvignon CCS Beckstoffer To Kalon Vineyard",
  "natural": false,
  "organic_certification": null,
  "price": null,
  "ranking": {
    "country": {
      "description": "Rank within United States",
      "rank": 186,
      "total": 1343877
    },
    "global": {
      "description": "Global Rank",
      "rank": 581,
      "total": 12435802
    },
    "region": {
      "description": "Rank within Wine Region",
      "rank": 17,
      "total": 16094
    },
    "winery": {
      "description": "Rank within Winery",
      "rank": 10,
      "total": 360
    }
  },
  "rating": 4.7,
  "ratings_count": 1246,
  "ratings_distribution": {
    "1": 7,
    "2": 1,
    "3": 28,
    "4": 597,
    "5": 613
  },
  "region": {
    "country": "US",
    "country_name": "United States",
    "id": 42,
    "name": "Oakville"
  },
  "reviews_count": 7,
  "sold_out": true,
  "style": {
    "acidity": 2,
    "acidity_description": "Medium",
    "body": 5,
    "body_description": "Very full-bodied",
    "description": null,
    "grapes": [
      "Cabernet Sauvignon"
    ],
    "id": 289,
    "name": "Napa Valley Cabernet Sauvignon",
    "regional_name": "Napa Valley",
    "varietal": "Cabernet Sauvignon"
  },
  "taste": {
    "acidity": 3.3336406,
    "fizziness": null,
    "flavors": [
      {
        "group": "black_fruit",
        "keywords": [
          {
            "…": "2 fields"
          },
          {
            "…": "2 fields"
          },
          "… 10 more"
        ],
        "mentions": 60
      },
      {
        "group": "oak",
        "keywords": [
          {
            "…": "2 fields"
          },
          {
            "…": "2 fields"
          },
          "… 12 more"
        ],
        "mentions": 50
      },
      "… 8 more"
    ],
    "intensity": 4.53262,
    "structure_votes": 130,
    "sweetness": 1.8300478,
    "tannin": 3.197355
  },
  "type": "red",
  "url": "https://www.vivino.com/w/3151741",
  "vintage_id": 16913582,
  "vintages": [
    {
      "id": 184077941,
      "name": "Schrader Cabernet Sauvignon CCS Beckstoffer To Kalon Vineyard 2025",
      "rating": 0,
      "ratings_count": 1,
      "year": 2025
    },
    {
      "id": 180847719,
      "name": "Schrader Cabernet Sauvignon CCS Beckstoffer To Kalon Vineyard 2024",
      "rating": 0,
      "ratings_count": 0,
      "year": 2024
    },
    "… 30 more"
  ],
  "wine_id": 3151741,
  "wine_name": "Cabernet Sauvignon CCS Beckstoffer To Kalon Vineyard",
  "wine_rating": 4.7,
  "wine_ratings_count": 1246,
  "winemaker": null,
  "winery": {
    "id": 1287,
    "name": "Schrader",
    "url": "https://www.vivino.com/wineries/schrader-cellars"
  },
  "year": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Are wine_id and vintage_id interchangeable?
No. wine_id identifies the wine across vintages; vintage_id identifies a particular source vintage record.

### How do I select a vintage and market?
Use year for a vintage and country for the offer market, default US. Omitted year uses the wine page selection.

### Can I include prices for other vintages?
Set vintage_prices=1 to add available market prices to vintages. Missing prices remain unavailable rather than zero.

### Does price=null mean the wine is free?
No. Preserve null as an unavailable price and inspect sold_out and merchant context. Product offers are separate from OpenAny call billing.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/vivino/vivino-wine-api/486c0bfa-dde8-4945-9ccb-b44f9309ddc8/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
