AJBW API (Metric)¶
Compute Adjusted Body Weight (AjBW) and Robinson IBW from metric height/weight input with status classification.
Endpoint¶
GET /api/v1/ajbwPOST /api/v1/ajbw/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
sex | string (male,female) | Yes | Query/Body | Biological sex. |
height | number | Yes | Query/Body | Height in centimeters. |
weight | number | Yes | Query/Body | Weight in kilograms. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Standardize medication/nutrition planning inputs.
- Track deviation from ideal weight over time.
- Power automated care and nutrition adjustment flows.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/ajbw?sex=male&height=178&weight=96&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/ajbw/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"sex": "male",
"height": 178,
"weight": 96
}'
Response Example¶
Info
The response example below is for demonstration purposes only. Make a live request to this endpoint to receive the full, real-time, and potentially richer JSON structure.
{
"AjBW": "80.02 kg",
"IBW (Robinson)": "72.86 kg",
"Sex": "male",
"Height": 178.0,
"Weight": 96.0,
"ajbw_kg": 80.02,
"ibw_robinson_kg": 72.86,
"weight_delta_vs_ibw_kg": 23.14,
"weight_delta_vs_ibw_percent": 31.75,
"weight_status": "above_ibw",
"weight_status_label": "Above ideal weight",
"risk_signal": "Excess body-weight load may impact metabolic outcomes.",
"action_plan": ["Set gradual deficit", "Protect lean mass"],
"monitoring_plan": "Track every 2-4 weeks.",
"language": "en",
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "611afdf89f1c4ccb",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"api_name": "Health Fitness API by Dakidarts®",
"endpoint_name": "ajbw",
"response_language": "en"
}
}
Positioning¶
Ideal for clinical nutrition platforms and enterprise wellness stacks that need repeatable adjusted-weight logic.
Note
Use metric values only for this endpoint. For imperial input, use ajbw_imperial.
Recommended Endpoints¶
GET /api/v1/ajbw_imperial- Ajbw Imperial APIGET /api/v1/bmi- Bmi APIGET /api/v1/tdee- Tdee APIGET /api/v1/bmr- Bmr APIGET /api/v1/protein-calculator- Protein Calculator APIGET /api/v1/fitness/heart-rate-zones- Heart Rate Zones API