/v1/tank
Recommended septic tank size
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}