/v1/resting
Resting heart-rate method
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}