BMI Imperial API¶
Calculate BMI from inches and pounds with route aliases for compatibility.
Endpoint¶
GET /api/v1/bmi_imperial(alias:/api/v1/bmi/imperial)POST /api/v1/bmi_imperial/post(alias:/api/v1/bmi/imperial/post)
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
height | number | Yes | Query/Body | Height in inches. |
weight | number | Yes | Query/Body | Weight in pounds. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Native imperial calculations without conversion drift.
- Faster integration for US-centric wellness products.
- Same risk/action structure as metric BMI endpoint.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/bmi_imperial?height=70&weight=181&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/bmi_imperial/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"height": 70, "weight": 181}'
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.
{
"height": "5.8 ft",
"weight": "181.0 lb",
"bmi": "26.0 lb/in2",
"weight_status": "Overweight",
"bmi_value": 25.97,
"weight_status_band": "overweight",
"weight_status_label": "Overweight",
"risk_signal": "Weight trend may increase long-term cardiometabolic risk.",
"action_plan": ["Improve dietary consistency", "Increase training frequency"],
"monitoring_plan": "Review body trend monthly.",
"language": "en",
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "09c93bfa40f2f30c",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"api_name": "Health Fitness API by Dakidarts®",
"endpoint_name": "bmi_imperial",
"response_language": "en"
}
}
Go-To-Market Angle¶
Perfect for US insurers, employer wellness apps, and direct-to-consumer fitness products that operate in imperial units.
Note
Height must be greater than zero; invalid height triggers HTTP 400.
Recommended Endpoints¶
GET /api/v1/ajbw_imperial- Ajbw Imperial APIGET /api/v1/bmi- Bmi APIGET /api/v1/bodyfat_imperial- Bodyfat Imperial APIGET /api/v1/geriatric-bmi- Geriatric Bmi APIGET /api/v1/tdee- Tdee APIGET /api/v1/bmr- Bmr API