Skip to content
GET /v1/ideal

Ideal body weight

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/idealweight-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Ideal body weight formulas (Devine is the clinical standard for drug dosing). Each adds a per-inch increment for every inch of height above 5 ft (60 in). Devine ♂ at 5'10\" (70 in) = 73.0 kg.",
        "inputs": {
            "sex": "male",
            "height_cm": 178
        },
        "hamwi_kg": 75.213,
        "devine_kg": 73.181,
        "miller_kg": 70.411,
        "average_kg": 72.489,
        "robinson_kg": 71.15
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:25.162Z",
        "request_id": "4714aed1-c333-4f55-98e0-92e64cbe5261"
    },
    "status": "ok",
    "message": "Ideal body weight",
    "success": true
}