Zum Inhalt springen
GET /v1/dfu

Total drainage fixture units

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}