/v1/chlorine
Chlorine dose to target ppm
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/poolchem-api/v1/chlorine" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/poolchem-api/v1/chlorine", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/poolchem-api/v1/chlorine");
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/poolchem-api/v1/chlorine",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Dose (g) = Δppm × volume(L) / 1000 ÷ available-chlorine fraction. ppm is mg/L; for a liquid product grams ≈ millilitres (density ≈ 1).",
"inputs": {
"volume": 50000,
"product": "liquid",
"target_ppm": 3,
"current_ppm": 1,
"strength_percent": 12.5
},
"delta_ppm": 2,
"dose_grams": 800,
"available_chlorine_grams": 100,
"dose_milliliters_if_liquid": 800
},
"meta": {
"timestamp": "2026-06-05T21:48:45.458Z",
"request_id": "61309f29-3003-4b32-98de-0ba8bbc1011f"
},
"status": "ok",
"message": "Chlorine dose",
"success": true
}