Skip to content
GET /v1/sizing

Flow/head sizing

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "Required flow Q = P / (ρ·g·H·η) to generate the target electrical power at the given head.",
        "inputs": {
            "head_m": 20,
            "efficiency": 0.85,
            "target_power_kw": 1667
        },
        "required_flow_rate_m3s": 9.999217
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:34.276Z",
        "request_id": "ce99182c-7c4c-40c0-83e9-4de28207676a"
    },
    "status": "ok",
    "message": "Flow/head sizing",
    "success": true
}