/v1/zone
Maximum heads per zone
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/irrigation-api/v1/zone" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/irrigation-api/v1/zone", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/irrigation-api/v1/zone");
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/irrigation-api/v1/zone",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Max heads per zone = available flow ÷ each head's GPM, rounded down — never exceed the supply or every head loses pressure and throw. Find available GPM from your service pipe size and pressure, and leave a margin. For drip, total emitter GPH must likewise stay under the zone's capacity.",
"inputs": {
"gpm_per_head": 2.6,
"available_gpm": 13
},
"used_gpm": 13,
"max_heads": 5,
"spare_gpm": 0
},
"meta": {
"timestamp": "2026-06-06T15:30:44.307Z",
"request_id": "572b3c5f-9f74-4cf3-9b4f-e3779ce91279"
},
"status": "ok",
"message": "Zone heads",
"success": true
}