/v1/softener
Size a water softener
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/hardness-api/v1/softener" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hardness-api/v1/softener", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hardness-api/v1/softener");
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/hardness-api/v1/softener",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Grains/day = daily water (gal) × hardness (gpg). Required capacity covers the days between regenerations; size the softener above this.",
"input": {
"from": "gpg",
"people": 4,
"hardness": 10,
"regen_days": 7,
"hardness_gpg": 10,
"gallons_per_person": 80
},
"grains_per_day": 3200,
"daily_water_gallons": 320,
"required_grain_capacity": 22400
},
"meta": {
"timestamp": "2026-06-04T01:59:14.921Z",
"request_id": "4a021556-6d6c-4cee-922a-f2611d5eae1f"
},
"status": "ok",
"message": "Water softener sizing",
"success": true
}