Skip to main content
All CollectionsDeveloper APIs
Wine Description API
Wine Description API

Generate descriptions for wines based on name and user-specified style and length preferences.

Updated over a year ago

Overview

Get detailed descriptions for wines base on the wine name. Customize the description's tone and length with the style and length parameters. Each request will deduct 1 credit from your available balance.

Request

Endpoint:

/v1/wine-description

Method:

GET

Headers:

Authorization: <Your-API-Key>

When forming your request, include a JSON payload with the specific parameters:

{ 
"wine_name": "your_wine_name",
"style": "your_selected_style", // optional
"length": "your_selected_length" // optional
}

Parameters

  • wine_name (required): The name of the wine you want to describe, e.g., "Sancerre, de Ladoucette Comte Lafond, Loire Valley, France (2019)".

  • style (optional): Define the tone and character of the description. Options are:

    • Classic

    • Casual

    • Poetic

    • Technical

    • Humorous

  • length (optional): Define the length of the description. Options are:

    • Short

    • Medium

    • Long

Response

The API returns a wine description based on the provided wine name, style, and length. The response also indicates the number of tokens remaining.

Example Request Body

{ 
"wine_name": "Sancerre, de Ladoucette Comte Lafond, Loire Valley, France (2019)",
"style": "Casual",
"length": "Medium"
}

Expected Response

{ 
"description": "Think juicy blackberries with a splash of oak. It's your go-to wine for a relaxed evening.",
"tokens_remaining": 49
}

Best Practices for Wine Naming

  1. Wine Producer/Domaine/Chateau

  2. Wine Name or Vineyard (if applicable)

  3. Varietal (especially for New World wines or if relevant)

  4. Region or Appellation

  5. Vintage (year)

For example:

  • Old World Example:

    • Domaine de la Romanée-Conti, La Tâche, Burgundy, 2019

  • New World Example:

    • Silver Oak, Cabernet Sauvignon, Alexander Valley, 2019

Did this answer your question?