Zum Inhalt springen
GET /v1/resting

Resting heart-rate method

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/vo2max-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "VO2max = 15.3 × (HRmax/HRrest). HRmax from input or 220 − age. A lower resting HR raises the estimate.",
        "inputs": {
            "max_heart_rate": 190,
            "resting_heart_rate": 60
        },
        "rating": "good",
        "vo2max_ml_kg_min": 48.45
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:21.257Z",
        "request_id": "b76a1e12-3f47-4286-9d5a-4951e04e89a2"
    },
    "status": "ok",
    "message": "Resting HR method",
    "success": true
}