Μετάβαση στο περιεχόμενο
GET /v1/resting

Resting heart-rate method

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/vo2max-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}