/v1/firstflush
First-flush diverter volume
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/rainwater-api/v1/firstflush" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rainwater-api/v1/firstflush", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rainwater-api/v1/firstflush");
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/firstflush",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "First-flush diverter discards the dirty first ~0.5–2 mm of rain. Volume = area(m²) × flush(mm).",
"flush_mm": 0.5,
"diverter_volume": {
"litres": 40,
"uk_gallons": 8.8,
"us_gallons": 10.6,
"cubic_metres": 0.04
},
"catchment_area_m2": 80
},
"meta": {
"timestamp": "2026-06-04T01:59:12.018Z",
"request_id": "a2d3cea7-ef25-4d88-b0b2-afff2006122d"
},
"status": "ok",
"message": "First-flush diverter volume",
"success": true
}