Zum Inhalt springen
GET /v1/meta

Spec

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

Beispiel-Response

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

{
    "data": {
        "notes": "Height and circumferences in cm, weight in kg. 'sex' (male/female) is required for lean mass and the WHR risk band. Distinct from BMI and ideal-weight calculators.",
        "service": "bodymetrics-api",
        "formulae": {
            "whr": "waist / hip",
            "whtr": "waist / height",
            "bsa_mosteller": "√(height_cm · weight_kg / 3600)",
            "lbm_boer_male": "0.407·W + 0.267·H − 19.2"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/lean-mass": "Lean body mass (Boer/James/Hume), fat mass and body-fat percent.",
            "GET /v1/waist-ratio": "Waist-to-hip and waist-to-height ratios with health-risk bands.",
            "GET /v1/body-surface-area": "Body surface area in m² by Mosteller, DuBois, Haycock, Gehan-George and Boyd."
        },
        "description": "Anthropometric body-metrics calculator: body surface area (five formulas), lean body mass (Boer/James/Hume) with fat mass, and waist-to-hip and waist-to-height ratios with risk bands."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:02.740Z",
        "request_id": "24c7b040-933a-443e-8227-79ee359e9a5a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}