/v1/sizing
Flow/head sizing
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}