/v1/sizing
Flow/head sizing
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}