/v1/meta
Spec
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/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydration-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydration-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Weight in kg, volume in litres, time in hours, 1 kg of mass loss ≈ 1 L of fluid. General guidance — individual needs vary; not medical advice.",
"service": "hydration-api",
"formulae": {
"daily": "≈ 35 ml/kg + 12 ml/min activity + climate",
"sweat": "loss = (pre − post) + intake − urine, rate = loss/hours",
"rehydrate": "target = 1.5 × deficit"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/daily": "Daily fluid need from weight, exercise minutes and climate.",
"GET /v1/sweat": "Sweat rate and dehydration percentage from before/after weights.",
"GET /v1/rehydrate": "Rehydration volume (1.5× the fluid deficit) after exercise."
},
"description": "Hydration and fluid-balance calculator: daily water needs, sweat rate from body-mass change, and post-exercise rehydration targets."
},
"meta": {
"timestamp": "2026-06-04T18:38:21.008Z",
"request_id": "f65cc29e-80e7-4f79-8f74-16e52298aecd"
},
"status": "ok",
"message": "Meta",
"success": true
}