Zum Inhalt springen
GET /v1/lean-mass

Lean body mass

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Lean body mass from Boer, James and Hume formulas (sex-specific). Fat mass = weight − average LBM.",
        "inputs": {
            "sex": "male",
            "height_cm": 180,
            "weight_kg": 75
        },
        "fat_mass_kg": 16.397,
        "body_fat_percent": 21.863,
        "lean_body_mass_kg": {
            "boer": 59.385,
            "hume": 56.146,
            "james": 60.278,
            "average": 58.603
        }
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:02.539Z",
        "request_id": "4e47d486-8ccd-4f27-bfc2-600429019038"
    },
    "status": "ok",
    "message": "Lean mass",
    "success": true
}