/v1/daily
Daily fluid need
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"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
}