Aller au contenu
GET /v1/bsa

Body surface area

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/idealweight-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/idealweight-api/v1/bsa" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/idealweight-api/v1/bsa", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/idealweight-api/v1/bsa");
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/idealweight-api/v1/bsa",
    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": {
        "note": "Body surface area. Mosteller = √(height_cm·weight_kg/3600); Du Bois = 0.007184·cm^0.725·kg^0.425. A 180 cm, 80 kg adult is ≈2.0 m². Used for chemotherapy and cardiac-index dosing.",
        "inputs": {
            "height_cm": 180,
            "weight_kg": 80
        },
        "du_bois_m2": 1.9964,
        "haycock_m2": 2.0066,
        "mosteller_m2": 2
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:25.069Z",
        "request_id": "6d866726-631d-432e-a6db-1b1bff9cebe7"
    },
    "status": "ok",
    "message": "Body surface area",
    "success": true
}