/v1/daily
Daily fluid need
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/hydration-api/v1/daily" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydration-api/v1/daily", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydration-api/v1/daily");
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/hydration-api/v1/daily",
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": "≈ 35 ml/kg baseline + 12 ml per minute of exercise + climate adjustment (hot +500, very_hot +1000, cold −200 ml).",
"inputs": {
"weight": 70,
"climate": "temperate",
"ml_per_kg": 35,
"activity_minutes": 30
},
"total_ml": 2810,
"climate_ml": 0,
"activity_ml": 360,
"baseline_ml": 2450,
"total_litres": 2.81,
"glasses_250ml": 11.24
},
"meta": {
"timestamp": "2026-06-04T18:38:20.711Z",
"request_id": "1afd7374-cd5e-4daa-a80e-0e1ce7a67f83"
},
"status": "ok",
"message": "Daily fluid need",
"success": true
}