/v1/rooftypes
Runoff coefficient reference
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/rainwater-api/v1/rooftypes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rainwater-api/v1/rooftypes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rainwater-api/v1/rooftypes");
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/rainwater-api/v1/rooftypes",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Runoff (collection) coefficients are typical values; smooth metal roofs collect the most, green roofs the least.",
"roof_types": {
"metal": 0.9,
"gravel": 0.7,
"concrete": 0.8,
"clay_tile": 0.8,
"green_roof": 0.3,
"glazed_tile": 0.85,
"concrete_tile": 0.8,
"asphalt_shingle": 0.85
},
"default_coefficient": 0.85
},
"meta": {
"timestamp": "2026-06-04T01:59:12.201Z",
"request_id": "eaa13d47-233c-440b-a26e-4b2ed57b92f2"
},
"status": "ok",
"message": "Runoff coefficient reference",
"success": true
}