Aller au contenu
GET /v1/max-heart-rate

Estimate max heart rate

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/heartrate-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "age": 30,
        "formulas": {
            "fox": {
                "note": "220 − age (classic, most common)",
                "value": 190
            },
            "gulati": {
                "note": "206 − 0.88 × age (validated for women)",
                "value": 180
            },
            "tanaka": {
                "note": "208 − 0.7 × age",
                "value": 187
            }
        },
        "max_heart_rate_bpm": 190
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:08.651Z",
        "request_id": "3de82ff3-b609-4f06-a86e-e481ab32fb88"
    },
    "status": "ok",
    "message": "Max heart rate",
    "success": true
}