/v1/standard
Standard drinks + units
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/abv-api/v1/standard" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/abv-api/v1/standard", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/abv-api/v1/standard");
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/standard",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Pure alcohol = volume × ABV. A US standard drink is 14 g (0.6 fl oz) of pure alcohol; a UK unit is 10 ml. A 12 fl oz beer at 5 % ≈ 1 standard drink; a 5 fl oz glass of 12 % wine ≈ 1 too.",
"inputs": {
"abv": 5,
"unit": "floz",
"volume": 12
},
"uk_units": 1.77,
"volume_ml": 354.88,
"pure_alcohol_ml": 17.74,
"pure_alcohol_grams": 14,
"us_standard_drinks": 1
},
"meta": {
"timestamp": "2026-06-06T07:14:04.310Z",
"request_id": "14bb5b32-2621-4c42-a535-d20fcf83006a"
},
"status": "ok",
"message": "Standard drinks",
"success": true
}