Zum Inhalt springen
GET /v1/roughness

Manning roughness reference

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/manning-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Typical Manning roughness coefficients n. Pass material=<name> or an explicit n to the flow/normal-depth endpoints.",
        "manning_n": {
            "pvc": 0.009,
            "brick": 0.015,
            "glass": 0.01,
            "steel": 0.012,
            "gravel": 0.025,
            "riprap": 0.035,
            "plastic": 0.009,
            "concrete": 0.013,
            "cast_iron": 0.013,
            "earth_clean": 0.022,
            "earth_weedy": 0.035,
            "earth_gravel": 0.025,
            "natural_stream": 0.035,
            "smooth_concrete": 0.012,
            "corrugated_metal": 0.024,
            "finished_concrete": 0.012,
            "natural_stream_rocky": 0.05
        }
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:08.543Z",
        "request_id": "7f109609-21b5-477a-a743-727f5a7c9f7a"
    },
    "status": "ok",
    "message": "Manning roughness reference",
    "success": true
}