/v1/time-of-concentration
Time of concentration
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/runoff-api/v1/time-of-concentration" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/runoff-api/v1/time-of-concentration", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/runoff-api/v1/time-of-concentration");
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/runoff-api/v1/time-of-concentration",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Kirpich (1940): tc = 0.0195·L^0.77·S^(−0.385) minutes (L in m, S the channel slope). The time of concentration sets the design-storm duration in the Rational Method.",
"inputs": {
"slope": 0.02,
"length_m": 300
},
"time_of_concentration_s": 426.26,
"time_of_concentration_min": 7.1043
},
"meta": {
"timestamp": "2026-06-05T11:30:26.347Z",
"request_id": "7cc0bee9-b352-4c15-b194-cf3b47319949"
},
"status": "ok",
"message": "Time of concentration",
"success": true
}