Skip to content
GET /v1/gas-volume

Evolved gas volume

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "Gas evolved: moles = Q/(n·F), volume = moles · molar volume (22.414 L/mol at STP). Water electrolysis gives 2 electrons per H₂ and 4 per O₂.",
        "moles": 0.0373113708,
        "inputs": {
            "time_s": 3600,
            "charge_c": 7200,
            "current_a": 2,
            "electrons": 2,
            "molar_volume_l": 22.414
        },
        "volume_ml": 836.29706,
        "volume_liters": 0.83629706
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:24.861Z",
        "request_id": "cf5314f0-8d6e-476f-9fab-5fb4121f8fa8"
    },
    "status": "ok",
    "message": "Gas volume",
    "success": true
}