/v1/dfu
Total drainage fixture units
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/plumbing-api/v1/dfu" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plumbing-api/v1/dfu", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plumbing-api/v1/dfu");
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/dfu",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Drainage fixture units (IPC Table 709.1, private use) weight each fixture by its discharge — a toilet is 3, a lavatory 1, a tub or shower 2. Sum them to size drains and vents. A grouped full bathroom counts as 6 rather than the sum of its parts. Public/commercial fixtures carry higher values.",
"inputs": {
"fixtures": "toilet:2,lavatory:3,shower:1,kitchen_sink:1"
},
"breakdown": {
"shower": 2,
"toilet": 6,
"lavatory": 3,
"kitchen_sink": 2
},
"total_dfu": 13
},
"meta": {
"timestamp": "2026-06-06T15:30:43.412Z",
"request_id": "ab649639-7329-4fc8-830c-71c23743d287"
},
"status": "ok",
"message": "DFU total",
"success": true
}