Skip to content
GET /v1/supply-gpm

Water-supply demand from WSFU

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/plumbing-api

It works. Grab an API key and use it in your project.

Get an API key

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

Example response

A real response from this endpoint, captured by the latest 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
}