Skip to content

LBM Calculator API

Compute lean body mass using Boer-derived equations and return composition-level guidance for monitoring and planning.

Endpoint

  • GET /api/v1/lbm-calculator
  • POST /api/v1/lbm-calculator/post

Parameters

Name Type Required In Description
weight number Yes Query/Body Weight in kg (metric) or lb (imperial).
height number Yes Query/Body Height in cm (metric) or inches (imperial).
sex string Yes Query/Body male or female.
unit string No Query/Body metric (default) or imperial.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Standardize LBM computation across mobile and web apps.
  • Track composition quality with simple percentile-like banding.
  • Power progress dashboards with explainable composition insights.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/lbm-calculator?weight=80&height=178&sex=male&unit=metric&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/lbm-calculator/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"weight":150,"height":66,"sex":"female","unit":"imperial"}'

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.

{
  "lbm_kg": 76.326,
  "lbm_ratio_percent": 95.41,
  "formula_used": "Boer",
  "sex": "male",
  "composition_band": "high",
  "composition_band_label": "High",
  "risk_signal": "Lean mass profile currently favorable.",
  "action_plan": ["Maintain progressive training and protein consistency"],
  "monitoring_plan": "Re-check after each training block.",
  "_enterprise": {
    "client": "Acme Health",
    "plan": "pro",
    "request_id": "93fb7e2d06ac12f0",
    "quota": 120,
    "usage_tracking": true
  },
  "_api_metadata_": {
    "endpoint_name": "lbm_calculator",
    "response_language": "en"
  }
}

Product Positioning

Great fit for body recomposition products, coaching dashboards, and enterprise health scoring engines.

Note

Unit conversion is automatic when unit=imperial.