Skip to content

RMR Calculator API

Compute resting metabolic demand with dual-equation output and practical calorie targeting bands.

Endpoint

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

Parameters

Name Type Required In Description
sex string Yes Query/Body male or female.
age number (>0) Yes Query/Body Age in years.
height number (>0) Yes Query/Body Height in cm (metric) or inches (imperial).
weight number (>0) Yes Query/Body Weight in kg (metric) or lb (imperial).
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

  • Provide robust RMR estimation from two common formulas.
  • Surface equation variance for better interpretation.
  • Feed calorie planning and macro systems with cleaner baselines.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/rmr-calculator?sex=male&age=35&height=178&weight=82&unit=metric&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/rmr-calculator/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"sex":"female","age":30,"height":66,"weight":148,"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.

{
  "sex": "male",
  "age": 35.0,
  "height_cm": 178.0,
  "weight_kg": 82.0,
  "unit": "metric",
  "resting_metabolic_rate": {
    "mifflin_st_jeor_kcal_per_day": 1762.5,
    "harris_benedict_kcal_per_day": 1831.2,
    "blended_estimate_kcal_per_day": 1796.85,
    "equation_delta_kcal_per_day": 68.7
  },
  "metabolic_band": "moderate",
  "metabolic_band_label": "Moderate",
  "calorie_targets_kcal": {"fat_loss": 2246, "maintenance_proxy": 2605, "muscle_gain": 2875},
  "action_plan": ["Start from blended estimate then calibrate"],
  "monitoring_plan": "Review trend and adjust intake every 2-3 weeks.",
  "quality_notes": ["Energy expenditure varies by recovery and daily activity"],
  "_enterprise": {"client": "Acme Health", "plan": "pro", "request_id": "a739d2b585890f4f", "quota": 120, "usage_tracking": true},
  "_api_metadata_": {"endpoint_name": "rmr_calculator", "response_language": "en"}
}

Product Positioning

Core metabolic endpoint for nutrition engines, health apps, and digital coaching systems.

Note

Age, height, and weight must all be positive values.