Skip to content
GET /v1/normal-depth

Normal depth for a discharge

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "Normal depth solved by bisection on Manning's equation; discharge_check should match the target.",
        "unit": "m",
        "shape": "rectangular",
        "slope": 0.001,
        "manning_n": 0.013,
        "flow_area_m2": 1.99766,
        "velocity_m_s": 1.5318,
        "normal_depth_m": 0.99883,
        "discharge_check": {
            "l_s": 3060,
            "m3_h": 11016,
            "m3_s": 3.06,
            "ft3_s": 108.0629,
            "us_gpm": 48502
        },
        "roughness_source": "explicit",
        "hydraulic_radius_m": 0.49971,
        "target_discharge_m3_s": 3.06
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:08.463Z",
        "request_id": "b6974b09-b314-440a-b8e9-54611f94da0f"
    },
    "status": "ok",
    "message": "Normal depth for a target discharge",
    "success": true
}