/v1/sweat
Sweat rate
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/hydration-api/v1/sweat" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydration-api/v1/sweat", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydration-api/v1/sweat");
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/sweat",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Sweat loss = (pre − post) + fluid intake − urine, 1 kg ≈ 1 L. Performance drops noticeably past 2 % body-mass loss.",
"inputs": {
"duration": 1,
"pre_weight": 70,
"post_weight": 68.5,
"fluid_intake": 0.5
},
"dehydration_flag": "significant (>=2% body mass)",
"sweat_loss_litres": 2,
"sweat_rate_l_per_h": 2,
"body_mass_loss_percent": 2.143
},
"meta": {
"timestamp": "2026-06-04T18:38:20.901Z",
"request_id": "e7d1c448-f06a-4830-9216-31341aea5d0e"
},
"status": "ok",
"message": "Sweat rate",
"success": true
}