Skip to content
GET /v1/carbonation

CO₂ pressure for carbonation

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/draftbeer-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/draftbeer-api/v1/carbonation" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/draftbeer-api/v1/carbonation", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/draftbeer-api/v1/carbonation");
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/draftbeer-api/v1/carbonation",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

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

{
    "data": {
        "note": "Regulator head pressure to hold the target CO₂ volumes at the serving temperature (the gas equilibrium). Colder beer holds CO₂ at lower pressure. British ales ~1.5–2.0 vols, US ales ~2.2–2.7, lagers ~2.4–2.8, many lagers/wheats higher.",
        "inputs": {
            "volumes": 2.5,
            "temp_unit": "f",
            "temperature_f": 38
        },
        "pressure_bar": 0.78,
        "pressure_kpa": 77.5,
        "pressure_psi": 11.2
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:00.221Z",
        "request_id": "414c3b58-cdfe-45ea-8157-0607914d8060"
    },
    "status": "ok",
    "message": "Carbonation pressure",
    "success": true
}