Ir al contenido
GET /v1/sugar

Chaptalization & potential ABV

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/winemaking-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/winemaking-api/v1/sugar" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/winemaking-api/v1/sugar", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/winemaking-api/v1/sugar");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/winemaking-api/v1/sugar",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Chaptalization: sugar (g) = volume(L) × ΔpotentialABV × 16.83. Potential ABV = (SG−1)×131.25; ~17 g/L of sugar ferments to ~1% ABV.",
        "inputs": {
            "sg": 1.0875,
            "brix": 21,
            "volume": 20
        },
        "specific_gravity": 1.0875,
        "sugar_to_add_grams": 512.24,
        "target_potential_abv": 13,
        "current_potential_abv": 11.478
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:13.089Z",
        "request_id": "87409d35-f72b-4ecb-a65c-3944a60fcfca"
    },
    "status": "ok",
    "message": "Chaptalization",
    "success": true
}