Zum Inhalt springen
GET /v1/supply-gpm

Water-supply demand from WSFU

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Probable peak water demand from supply fixture units, read off the Hunter curve (flush-tank predominant) — diversity means 100 WSFU draws only ~54 GPM, not the sum of every fixture at once. Use the demand GPM with the available pressure to size the water-service and distribution piping.",
        "inputs": {
            "wsfu": 100
        },
        "demand_gpm": 54
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:43.595Z",
        "request_id": "9f1c31b8-9fef-434e-bf7c-e794664d539f"
    },
    "status": "ok",
    "message": "Supply GPM",
    "success": true
}