/v1/dilution
Ice / stirring dilution
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/abv-api/v1/dilution" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/abv-api/v1/dilution", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/abv-api/v1/dilution");
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/abv-api/v1/dilution",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Ice melt adds water: final volume = volume × (1 + dilution); ABV drops by the same factor (alcohol amount is unchanged). Stirred drinks pick up ~20–25 %, shaken ~25–30 %, builds less. Defaults to 25 %.",
"inputs": {
"abv": 25,
"volume": 4,
"dilution_percent": 25
},
"water_added": 1,
"final_volume": 5,
"final_abv_percent": 20
},
"meta": {
"timestamp": "2026-06-06T07:14:04.205Z",
"request_id": "e8044773-ed1d-4b7a-b9c8-53272b3494fc"
},
"status": "ok",
"message": "Dilution",
"success": true
}