/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/winemaking-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/winemaking-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/winemaking-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Metric: litres, grams, g/L, mg/L. Potential ABV = (SG−1)×131.25. Molecular SO2 = free/(1+10^(pH−1.81)). Tasting and lab numbers always override — this is a planning aid.",
"service": "winemaking-api",
"endpoints": {
"GET /v1/so2": "Free vs molecular SO2 at a pH, and the KMS/campden to reach a target free SO2.",
"GET /v1/acid": "Tartaric acid (or bicarbonate) to move titratable acidity to a target.",
"GET /v1/meta": "This document.",
"GET /v1/sugar": "Brix/SG → potential alcohol and the sugar to chaptalize to a target ABV."
},
"description": "Winemaking maths: chaptalization (sugar to target alcohol), SO2/sulfite additions (free vs molecular, KMS, campden) and acid (TA) adjustment."
},
"meta": {
"timestamp": "2026-06-06T07:14:13.180Z",
"request_id": "b0d24e85-277c-4727-a92f-b747ce9becc5"
},
"status": "ok",
"message": "Meta",
"success": true
}