Vai al contenuto
GET /v1/supply-gpm

Water-supply demand from WSFU

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/plumbing-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}