Body Fat Army API¶
Calculate Army-style body fat percentage and compliance status against age/sex standards.
Endpoint¶
GET /api/v1/bodyfat/armyPOST /api/v1/bodyfat/army/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
sex | string (male,female) | Yes | Query/Body | Biological sex. |
age | integer | Yes | Query/Body | Age in years. |
height | number | Yes | Query/Body | Height in centimeters. |
waist | number | Yes | Query/Body | Waist circumference in centimeters. |
neck | number | Yes | Query/Body | Neck circumference in centimeters. |
hip | number | Female only | Query/Body | Hip circumference required for female profile. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Add military-standard body-fat logic to readiness tools.
- Automate compliance checks by age/sex cohorts.
- Trigger intervention workflows using standardized risk bands.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/bodyfat/army?sex=male&age=29&height=178&waist=92&neck=40&hip=0&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/bodyfat/army/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"sex":"male","age":29,"height":178,"waist":92,"neck":40,"hip":0}'
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.
{
"Army_BFP": "19.82%",
"body_fat_percent": 19.82,
"Compliance": "Compliant",
"compliance_key": "compliant",
"risk_band": "moderate",
"risk_band_label": "Moderate",
"risk_signal": "Moderate body-fat risk profile.",
"action_plan": ["Maintain conditioning", "Monitor waist trend"],
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "2338467f48d10620",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"api_name": "Health Fitness API by Dakidarts®",
"endpoint_name": "bodyfat_army",
"response_language": "en"
}
}
Enterprise Use Cases¶
Supports defense readiness analytics, tactical performance products, and standard-compliance monitoring dashboards.
Note
For female requests, hip is mandatory; omitted hip value returns HTTP 400.
Recommended Endpoints¶
GET /api/v1/bodyfat- Bodyfat APIGET /api/v1/bodyfat_imperial- Bodyfat Imperial APIGET /api/v1/bodyfat/navy- Bodyfat Navy APIGET /api/v1/bmi- Bmi APIGET /api/v1/tdee- Tdee APIGET /api/v1/bmr- Bmr API