Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/hydration-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}