/v1/heat-time
Hours to heat by a temperature rise
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/poolheat-api/v1/heat-time" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/poolheat-api/v1/heat-time", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/poolheat-api/v1/heat-time");
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/poolheat-api/v1/heat-time",
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": "Energy to heat water = gallons × 8.34 lb/gal × the temperature rise in °F (that many BTU). Divide by the heater's BTU/hr output for the run-time. This is the ideal — real pools also lose heat from the surface as they warm, so allow extra, especially in wind or uncovered.",
"hours": 4.17,
"inputs": {
"temp_rise_f": 10,
"volume_gallons": 20000,
"heater_btu_per_hr": 400000
},
"minutes": 250,
"total_btu": 1668000
},
"meta": {
"timestamp": "2026-06-06T15:30:43.863Z",
"request_id": "b490fb06-fb79-409a-a11b-dbc517a60f4a"
},
"status": "ok",
"message": "Heat time",
"success": true
}