Zum Inhalt springen
GET /v1/bsa

Body surface area

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

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