/v1/sugar
Chaptalization & potential ABV
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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
}