Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/vo2max-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/vo2max-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vo2max-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vo2max-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/vo2max-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "VO2max in mL/kg/min. Distances in metres, weight in kg, time in minutes, heart rate in bpm. Ratings are broad bands — true fitness norms depend on age and sex. Estimates only, not medical advice.",
        "service": "vo2max-api",
        "formulae": {
            "cooper": "VO2 = (distance − 504.9)/44.73",
            "resting": "VO2 = 15.3 × HRmax/HRrest",
            "rockport": "VO2 = 132.853 − 0.0769·lb − 0.3877·age + 6.315·sex − 3.2649·time − 0.1565·HR"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/cooper": "VO2max from the Cooper 12-minute run distance.",
            "GET /v1/resting": "VO2max from the ratio of max to resting heart rate.",
            "GET /v1/rockport": "VO2max from the Rockport 1-mile walk test (age, weight, sex, time, HR)."
        },
        "description": "VO2 max (aerobic capacity) estimator: Cooper 12-minute run, resting heart-rate method and Rockport 1-mile walk test."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:21.444Z",
        "request_id": "870773b8-bd4c-4993-b330-d8d22b3ba843"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}