/v1/salt
Salt for saltwater pool
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/pool-api/v1/salt" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pool-api/v1/salt", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pool-api/v1/salt");
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/salt",
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": "Salt to raise from current to target ppm. Typical saltwater target is ~2700–3400 ppm; check your chlorinator's spec.",
"input": {
"target_ppm": 3200,
"current_ppm": 0,
"increase_ppm": 3200,
"volume_litres": 18927.1
},
"salt_kg": 60.57,
"salt_lb": 133.53,
"bags_40lb": 4
},
"meta": {
"timestamp": "2026-06-03T17:41:58.370Z",
"request_id": "ad69916a-b0d3-4e3a-9f79-d802a252ae3e"
},
"status": "ok",
"message": "Salt for saltwater pool",
"success": true
}