Health
Total Daily Energy Expenditure API
Compute TDEE = Mifflin-St Jeor BMR × activity factor (sedentary 1.2 … veryActive 1.9) plus maintain/loss/gain calorie targets (±250/±500). Answers 'how many calories should I eat', 'maintenance calories', 'TDEE for an active 80kg male', 'calories to lose weight'.
Price$0.01per request
MethodPOST
Route/v1/health/tdee
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
healthtdeecaloriesmetabolismactivityweight-lossdietcalculator
API URL
Integration docshttps://x402.hexl.dev/v1/health/tdeeExample request
{
"weightKg": 80,
"heightCm": 180,
"ageYears": 30,
"sex": "male",
"activity": "moderate"
}Example response
{
"tdeeKcalPerDay": 2759,
"bmrKcalPerDay": 1780,
"activity": "moderate",
"activityFactor": 1.55,
"formula": "TDEE = BMR * activityFactor (Mifflin-St Jeor BMR)",
"targets": {
"maintain": 2759,
"mildLoss": 2509,
"loss": 2259,
"mildGain": 3009,
"gain": 3259
}
}Input schema
{
"type": "object",
"required": [
"weightKg",
"heightCm",
"ageYears",
"sex"
],
"properties": {
"weightKg": {
"type": "number",
"examples": [
80
]
},
"heightCm": {
"type": "number",
"examples": [
180
]
},
"ageYears": {
"type": "number",
"examples": [
30
]
},
"sex": {
"type": "string",
"enum": [
"male",
"female"
]
},
"activity": {
"type": "string",
"enum": [
"sedentary",
"light",
"moderate",
"active",
"veryActive"
],
"default": "moderate"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}