Skip to content
GET /v1/abv

Mixed-drink ABV

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/abv-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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
}