/v1/ideal-weight
Ideal body weight (4 formulas)
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/healthcalc-api/v1/ideal-weight" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/healthcalc-api/v1/ideal-weight", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/healthcalc-api/v1/ideal-weight");
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/healthcalc-api/v1/ideal-weight",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"gender": "male",
"height_cm": 180,
"ideal_weight_kg": {
"hamwi": 77.3,
"devine": 75,
"miller": 71.5,
"robinson": 72.6
},
"healthy_bmi_range_kg": {
"max": 80.7,
"min": 59.9
}
},
"meta": {
"timestamp": "2026-05-30T14:35:19.703Z",
"request_id": "e07fff32-0167-4c30-999d-e690de1310d6"
},
"status": "ok",
"message": "OK",
"success": true
}