Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/plumbing-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/plumbing-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plumbing-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plumbing-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "notes": "Based on IPC Tables 709.1 / 710.1(1) and the Hunter demand curve. Slopes 0.125/0.25/0.5 in/ft. Estimates — verify against the code adopted in your jurisdiction; water closets need a 3-inch minimum drain.",
        "service": "plumbing-api",
        "endpoints": {
            "GET /v1/dfu": "Total drainage fixture units from a fixture list (type:count,...).",
            "GET /v1/meta": "This document.",
            "GET /v1/pipe-size": "Minimum building-drain size for a DFU load at a slope.",
            "GET /v1/supply-gpm": "Water-supply demand (GPM) from supply fixture units (Hunter curve)."
        },
        "description": "Plumbing-code maths: drainage fixture units for a fixture set, minimum building-drain size at a slope, and water-supply demand (GPM) from the Hunter curve."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:43.672Z",
        "request_id": "5c7e6bc8-b8d5-4b58-a240-90d23c605304"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}