BMR and daily calorie needs (TDEE) with goal targets

Calculates BMR and daily calorie needs (TDEE) for an activity level, targets to lose or gain weight, and a macro split.

Request

GEThttps://health-fitness-calculators.p.apihiver.com/v1/calories?weight_kg=70&height_cm=175&age=30&sex=male
*
Number. Body weight in kilograms.
*
Number. Height in centimetres.
*
Number. Age in years (10–120).
*
String. male or female.
String. One of: sedentary, light, moderate, active, very_active (default moderate).
Language
Client
1curl --request GET \
2  --url 'https://health-fitness-calculators.p.apihiver.com/v1/calories?weight_kg=70&height_cm=175&age=30&sex=male&activity=%7Bactivity%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

BMR and daily calorie needs (TDEE) with goal targets: Health & Fitness Calculators API reference

Calculates BMR and daily calorie needs (TDEE) for an activity level, targets to lose or gain weight, and a macro split. This endpoint is part of the Health & Fitness Calculators API: BMI, daily calories (BMR/TDEE), ideal weight, body-fat percentage and water intake — using standard medical formulas.

Example response (200, application/json)

Success.

1{
2  "goals": {
3    "lose_0_5kg_per_week": 2006,
4    "gain_0_25kg_per_week": 2831,
5    "lose_0_25kg_per_week": 2281
6  },
7  "formula": "Mifflin-St Jeor",
8  "bmr_kcal": 1649,
9  "disclaimer": "For general information only; not a substitute for professional medical advice.",
10  "maintenance_kcal": 2556,
11  "macros_maintenance_g": {
12    "fat": 71,
13    "carbs": 367,
14    "protein": 112
15  }
16}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "weight_kg: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.