/v1/abv
Mixed-drink ABV
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/abv-api/v1/abv" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/abv-api/v1/abv", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/abv-api/v1/abv");
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/abv",
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": "Final ABV = (sum of volume × abv) ÷ total volume. Mixers at 0 % dilute it. US proof is twice the ABV. This is the ABV before any ice melt — see /v1/dilution for that.",
"inputs": {
"ingredients": [
{
"abv": 40,
"volume": 2
},
{
"abv": 20,
"volume": 1
},
{
"abv": 0,
"volume": 1
}
]
},
"proof_us": 50,
"total_volume": 4,
"alcohol_volume": 1,
"final_abv_percent": 25
},
"meta": {
"timestamp": "2026-06-06T07:14:04.102Z",
"request_id": "3238dbae-4a2e-43ab-b04f-9abdb41a49c5"
},
"status": "ok",
"message": "Mixed ABV",
"success": true
}