/v1/dfu
Total drainage fixture units
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}