/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}