Ir al contenido
GET /v1/tank

Recommended septic tank size

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/septic-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/septic-api/v1/tank" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/septic-api/v1/tank", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/septic-api/v1/tank");
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/septic-api/v1/tank",
    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": "Recommended = larger of (flow × retention days) and the typical bedroom-based minimum. Standard minimums: ≤3 BR 1000, 4 BR 1200, 5 BR 1500, 6 BR 2000 US gal.",
        "bedrooms": 3,
        "governing": "bedroom_minimum",
        "daily_flow": {
            "litres": 1362.7,
            "us_gallons": 360
        },
        "retention_days": 2,
        "bedroom_minimum": {
            "litres": 3785.4,
            "us_gallons": 1000
        },
        "retention_based_size": {
            "litres": 2725.5,
            "us_gallons": 720
        },
        "recommended_tank_size": {
            "litres": 3785.4,
            "us_gallons": 1000
        }
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:09.043Z",
        "request_id": "a76e2ffc-4cab-4ac6-ab60-f1aba866adde"
    },
    "status": "ok",
    "message": "Recommended septic tank size",
    "success": true
}