/v1/dose
Chemical dose to raise ppm
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/pool-api/v1/dose" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pool-api/v1/dose", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pool-api/v1/dose");
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/pool-api/v1/dose",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Dose to raise the level by the given ppm. 1 ppm = 1 mg/L. Add in stages, circulate and re-test — never overshoot.",
"grams": 58.24,
"input": {
"ppm": 2,
"chemical": "calhypo",
"volume_litres": 18927.1,
"strength_percent": 65
},
"ounces": 2.054,
"pounds": 0.1284,
"kilograms": 0.0582
},
"meta": {
"timestamp": "2026-06-03T17:41:58.252Z",
"request_id": "c9d8a9d6-de58-4ff6-a5a2-4329c3668c26"
},
"status": "ok",
"message": "Chemical dose",
"success": true
}